commit e3cca280be51996f15364f23099f6a62cfb7d287 Author: Pavel Torbeev Date: Sun Sep 10 00:19:19 2023 +0300 init diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..80f810a --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,8 @@ +{ + "plugins": [ + "office-addins" + ], + "extends": [ + "plugin:office-addins/react" + ] +} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4d29575 --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# production +/build + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local + +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..b58b603 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,5 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..4f5b5b6 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/cp-press-release-word-plugin.iml b/.idea/cp-press-release-word-plugin.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/cp-press-release-word-plugin.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..03d9549 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/jsLinters/eslint.xml b/.idea/jsLinters/eslint.xml new file mode 100644 index 0000000..541945b --- /dev/null +++ b/.idea/jsLinters/eslint.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..89281af --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/prettier.xml b/.idea/prettier.xml new file mode 100644 index 0000000..0c83ac4 --- /dev/null +++ b/.idea/prettier.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..b13ea08 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,14 @@ +{ + // See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. + // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp + + // List of extensions which should be recommended for users of this workspace. + "recommendations": [ + "ms-edgedevtools.vscode-edge-devtools", + "msoffice.microsoft-office-add-in-debugger", + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode" + ], + // List of extensions recommended by VS Code that should not be recommended for users of this workspace. + "unwantedRecommendations": [] +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..5ed3c08 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,93 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Excel Desktop (Edge Chromium)", + "type": "msedge", + "request": "attach", + "port": 9229, + "timeout": 600000, + "webRoot": "${workspaceRoot}", + "preLaunchTask": "Debug: Excel Desktop", + "postDebugTask": "Stop Debug" + }, + { + "name": "Excel Desktop (Edge Legacy)", + "type": "office-addin", + "request": "attach", + "url": "https://localhost:3000/taskpane.html?_host_Info=Excel$Win32$16.01$en-US$$$$0", + "port": 9222, + "timeout": 600000, + "webRoot": "${workspaceRoot}", + "preLaunchTask": "Debug: Excel Desktop", + "postDebugTask": "Stop Debug" + }, + { + "name": "Outlook Desktop (Edge Chromium)", + "type": "msedge", + "request": "attach", + "useWebView": true, + "port": 9229, + "timeout": 600000, + "webRoot": "${workspaceRoot}", + "preLaunchTask": "Debug: Outlook Desktop", + "postDebugTask": "Stop Debug" + }, + { + "name": "Outlook Desktop (Edge Legacy)", + "type": "office-addin", + "request": "attach", + "url": "https://localhost:3000/taskpane.html?_host_Info=Outlook$Win32$16.01$en-US$$$$0", + "port": 9222, + "timeout": 600000, + "webRoot": "${workspaceRoot}", + "preLaunchTask": "Debug: Outlook Desktop", + "postDebugTask": "Stop Debug" + }, + { + "name": "PowerPoint Desktop (Edge Chromium)", + "type": "msedge", + "request": "attach", + "port": 9229, + "timeout": 600000, + "webRoot": "${workspaceRoot}", + "preLaunchTask": "Debug: PowerPoint Desktop", + "postDebugTask": "Stop Debug" + }, + { + "name": "PowerPoint Desktop (Edge Legacy)", + "type": "office-addin", + "request": "attach", + "url": "https://localhost:3000/taskpane.html?_host_Info=PowerPoint$Win32$16.01$en-US$$$$0", + "port": 9222, + "timeout": 600000, + "webRoot": "${workspaceRoot}", + "preLaunchTask": "Debug: PowerPoint Desktop", + "postDebugTask": "Stop Debug" + }, + { + "name": "Word Desktop (Edge Chromium)", + "type": "msedge", + "request": "attach", + "port": 9229, + "timeout": 600000, + "webRoot": "${workspaceRoot}", + "preLaunchTask": "Debug: Word Desktop", + "postDebugTask": "Stop Debug" + }, + { + "name": "Word Desktop (Edge Legacy)", + "type": "office-addin", + "request": "attach", + "url": "https://localhost:3000/taskpane.html?_host_Info=Word$Win32$16.01$en-US$$$$0", + "port": 9222, + "timeout": 600000, + "webRoot": "${workspaceRoot}", + "preLaunchTask": "Debug: Word Desktop", + "postDebugTask": "Stop Debug" + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..5dec57b --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "eslint.validate": [ + "javascript", + "javascriptreact", + "typescript" + ] + } + \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..5ab9780 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,130 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build (Development)", + "type": "npm", + "script": "build:dev", + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "clear": true, + "panel": "shared", + "showReuseMessage": false + } + }, + { + "label": "Build (Production)", + "type": "npm", + "script": "build", + "group": "build", + "presentation": { + "clear": true, + "panel": "shared", + "showReuseMessage": false + } + }, + { + "label": "Debug: Excel Desktop", + "type": "npm", + "script": "start:desktop -- --app excel", + "presentation": { + "clear": true, + "panel": "dedicated", + }, + "problemMatcher": [] + }, + { + "label": "Debug: Outlook Desktop", + "type": "npm", + "script": "start:desktop -- --app outlook", + "presentation": { + "clear": true, + "panel": "dedicated", + }, + "problemMatcher": [] + }, + { + "label": "Debug: PowerPoint Desktop", + "type": "npm", + "script": "start:desktop -- --app powerpoint", + "presentation": { + "clear": true, + "panel": "dedicated", + }, + "problemMatcher": [] + }, + { + "label": "Debug: Word Desktop", + "type": "npm", + "script": "start:desktop -- --app word", + "presentation": { + "clear": true, + "panel": "dedicated", + }, + "problemMatcher": [] + }, + { + "label": "Dev Server", + "type": "npm", + "script": "dev-server", + "presentation": { + "clear": true, + "panel": "dedicated" + }, + "problemMatcher": [] + }, + { + "label": "Install", + "type": "npm", + "script": "install", + "presentation": { + "clear": true, + "panel": "shared", + "showReuseMessage": false + }, + "problemMatcher": [] + }, + { + "label": "Lint: Check for problems", + "type": "npm", + "script": "lint", + "problemMatcher": [ + "$eslint-stylish" + ] + }, + { + "label": "Lint: Fix all auto-fixable problems", + "type": "npm", + "script": "lint:fix", + "problemMatcher": [ + "$eslint-stylish" + ] + }, + { + "label": "Stop Debug", + "type": "npm", + "script": "stop", + "presentation": { + "clear": true, + "panel": "shared", + "showReuseMessage": false + }, + "problemMatcher": [] + }, + { + "label": "Watch", + "type": "npm", + "script": "watch", + "presentation": { + "clear": true, + "panel": "dedicated" + }, + "problemMatcher": [] + }, + ] +} diff --git a/assets/icon-128.png b/assets/icon-128.png new file mode 100644 index 0000000..37dfcd7 Binary files /dev/null and b/assets/icon-128.png differ diff --git a/assets/icon-16.png b/assets/icon-16.png new file mode 100644 index 0000000..b650979 Binary files /dev/null and b/assets/icon-16.png differ diff --git a/assets/icon-32.png b/assets/icon-32.png new file mode 100644 index 0000000..dcf56db Binary files /dev/null and b/assets/icon-32.png differ diff --git a/assets/icon-64.png b/assets/icon-64.png new file mode 100644 index 0000000..41051fc Binary files /dev/null and b/assets/icon-64.png differ diff --git a/assets/icon-80.png b/assets/icon-80.png new file mode 100644 index 0000000..5e63769 Binary files /dev/null and b/assets/icon-80.png differ diff --git a/assets/logo-filled.png b/assets/logo-filled.png new file mode 100644 index 0000000..5bf09cc Binary files /dev/null and b/assets/logo-filled.png differ diff --git a/babel.config.json b/babel.config.json new file mode 100644 index 0000000..f57bd9a --- /dev/null +++ b/babel.config.json @@ -0,0 +1,3 @@ +{ + "presets": ["@babel/preset-typescript"] +} \ No newline at end of file diff --git a/dist/8d9dfc10165c310961fd.css b/dist/8d9dfc10165c310961fd.css new file mode 100644 index 0000000..bc4ebf0 --- /dev/null +++ b/dist/8d9dfc10165c310961fd.css @@ -0,0 +1,80 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. + * See LICENSE in the project root for license information. + */ + +html, +body { + width: 100%; + height: 100%; + margin: 0; + padding: 0; +} + +ul { + margin: 0; + padding: 0; +} + +.ms-welcome__header { + padding: 20px; + display: -webkit-flex; + display: flex; + -webkit-flex-direction: column; + flex-direction: column; + align-items: center; +} + +.ms-welcome__main { + display: -webkit-flex; + display: flex; + -webkit-flex-direction: column; + flex-direction: column; + -webkit-flex-wrap: nowrap; + flex-wrap: nowrap; + /*-webkit-align-items: center;*/ + /*align-items: center;*/ + -webkit-flex: 1 0 0; + flex: 1 0 0; + padding: 10px 20px; +} + + +/* */ +/* .ms-welcome__main > h2 {*/ +/* width: 100%;*/ +/* text-align: center;*/ +/* }*/ +/* */ +/* .ms-welcome__features {*/ +/* list-style-type: none;*/ +/* margin-top: 20px;*/ +/* }*/ +/* */ +/* .ms-welcome__features.ms-List .ms-ListItem {*/ +/* padding-bottom: 20px;*/ +/* display: -webkit-flex;*/ +/* display: flex;*/ +/* }*/ +/* */ +/* .ms-welcome__features.ms-List .ms-ListItem > .ms-Icon {*/ +/* margin-right: 10px;*/ +/* }*/ +/* */ +/* .ms-welcome__action.ms-Button--hero {*/ +/* margin-top: 30px;*/ +/* }*/ +/* */ +/*.ms-Button.ms-Button--hero .ms-Button-label {*/ +/* color: #0078d7;*/ +/*}*/ + +/*.ms-Button.ms-Button--hero:hover .ms-Button-label,*/ +/*.ms-Button.ms-Button--hero:focus .ms-Button-label{*/ +/* color: #005a9e;*/ +/* cursor: pointer;*/ +/*}*/ + +/*b {*/ +/* font-weight: bold;*/ +/*}*/ \ No newline at end of file diff --git a/dist/assets/icon-128.png b/dist/assets/icon-128.png new file mode 100644 index 0000000..37dfcd7 Binary files /dev/null and b/dist/assets/icon-128.png differ diff --git a/dist/assets/icon-16.png b/dist/assets/icon-16.png new file mode 100644 index 0000000..b650979 Binary files /dev/null and b/dist/assets/icon-16.png differ diff --git a/dist/assets/icon-32.png b/dist/assets/icon-32.png new file mode 100644 index 0000000..dcf56db Binary files /dev/null and b/dist/assets/icon-32.png differ diff --git a/dist/assets/icon-64.png b/dist/assets/icon-64.png new file mode 100644 index 0000000..41051fc Binary files /dev/null and b/dist/assets/icon-64.png differ diff --git a/dist/assets/icon-80.png b/dist/assets/icon-80.png new file mode 100644 index 0000000..5e63769 Binary files /dev/null and b/dist/assets/icon-80.png differ diff --git a/dist/assets/logo-filled.png b/dist/assets/logo-filled.png new file mode 100644 index 0000000..5bf09cc Binary files /dev/null and b/dist/assets/logo-filled.png differ diff --git a/dist/commands.html b/dist/commands.html new file mode 100644 index 0000000..378efed --- /dev/null +++ b/dist/commands.html @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist/commands.js b/dist/commands.js new file mode 100644 index 0000000..1f68cc1 --- /dev/null +++ b/dist/commands.js @@ -0,0 +1,97 @@ +/******/ (function() { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./src/commands/commands.ts": +/*!**********************************!*\ + !*** ./src/commands/commands.ts ***! + \**********************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +/* + * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. + * See LICENSE in the project root for license information. + */ +/* global global, Office, self, window */ +Office.onReady(function () { + // If needed, Office.js is ready to be called +}); +/** + * Shows a notification when the add-in command is executed. + * @param event + */ +function action(event) { + var message = { + type: Office.MailboxEnums.ItemNotificationMessageType.InformationalMessage, + message: "Performed action.", + icon: "Icon.80x80", + persistent: true + }; + // Show a notification message + Office.context.mailbox.item.notificationMessages.replaceAsync("action", message); + // Be sure to indicate when the add-in command function is complete + event.completed(); +} +function getGlobal() { + return typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof __webpack_require__.g !== "undefined" ? __webpack_require__.g : undefined; +} +var g = getGlobal(); +// The add-in command functions need to be available in global scope +g.action = action; +void function register() { + /* react-hot-loader/webpack */var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined; + if (!reactHotLoader) { + return; + } /* eslint-disable camelcase, no-undef */ + var webpackExports = typeof __webpack_exports__ !== 'undefined' ? __webpack_exports__ : exports; /* eslint-enable camelcase, no-undef */ + if (!webpackExports) { + return; + } + if (typeof webpackExports === 'function') { + reactHotLoader.register(webpackExports, 'module.exports', "/Users/pavel/work/cp-press-release-word-plugin/src/commands/commands.ts"); + return; + } /* eslint-disable no-restricted-syntax */ + for (var key in webpackExports) { + /* eslint-enable no-restricted-syntax */if (!Object.prototype.hasOwnProperty.call(webpackExports, key)) { + continue; + } + var namedExport = void 0; + try { + namedExport = webpackExports[key]; + } catch (err) { + continue; + } + reactHotLoader.register(namedExport, key, "/Users/pavel/work/cp-press-release-word-plugin/src/commands/commands.ts"); + } +}(); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The require scope +/******/ var __webpack_require__ = {}; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/global */ +/******/ !function() { +/******/ __webpack_require__.g = (function() { +/******/ if (typeof globalThis === 'object') return globalThis; +/******/ try { +/******/ return this || new Function('return this')(); +/******/ } catch (e) { +/******/ if (typeof window === 'object') return window; +/******/ } +/******/ })(); +/******/ }(); +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module is referenced by other modules so it can't be inlined +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./src/commands/commands.ts"](0, __webpack_exports__, __webpack_require__); +/******/ +/******/ })() +; +//# sourceMappingURL=commands.js.map \ No newline at end of file diff --git a/dist/commands.js.map b/dist/commands.js.map new file mode 100644 index 0000000..7eea859 --- /dev/null +++ b/dist/commands.js.map @@ -0,0 +1 @@ +{"version":3,"file":"commands.js","mappings":";;;;;;;;;AAAA;;;;AAKA;AAEAA,MAAM,CAACC,OAAO,CAAC;EACb;AAAA,CACD,CAAC;AAEF;;;;AAIA,SAASC,MAAMA,CAACC,KAAiC;EAC/C,IAAMC,OAAO,GAAsC;IACjDC,IAAI,EAAEL,MAAM,CAACM,YAAY,CAACC,2BAA2B,CAACC,oBAAoB;IAC1EJ,OAAO,EAAE,mBAAmB;IAC5BK,IAAI,EAAE,YAAY;IAClBC,UAAU,EAAE;GACb;EAED;EACAV,MAAM,CAACW,OAAO,CAACC,OAAO,CAACC,IAAI,CAACC,oBAAoB,CAACC,YAAY,CAAC,QAAQ,EAAEX,OAAO,CAAC;EAEhF;EACAD,KAAK,CAACa,SAAS,EAAE;AACnB;AAEA,SAASC,SAASA,CAAA;EAChB,OAAO,OAAOC,IAAI,KAAK,WAAW,GAC9BA,IAAI,GACJ,OAAOC,MAAM,KAAK,WAAW,GAC7BA,MAAM,GACN,OAAOC,qBAAM,KAAK,WAAW,GAC7BA,qBAAM,GACNC,SAAS;AACf;AAEA,IAAMC,CAAC,GAAGL,SAAS,EAAS;AAE5B;AACAK,CAAC,CAACpB,MAAM,GAAGA,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UC3CjB;UACA;;;;;WCDA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;UEPD;UACA;UACA;UACA;UACA","sources":["webpack://office-addin-taskpane-react/./src/commands/commands.ts","webpack://office-addin-taskpane-react/webpack/bootstrap","webpack://office-addin-taskpane-react/webpack/runtime/global","webpack://office-addin-taskpane-react/webpack/before-startup","webpack://office-addin-taskpane-react/webpack/startup","webpack://office-addin-taskpane-react/webpack/after-startup"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n * See LICENSE in the project root for license information.\n */\n\n/* global global, Office, self, window */\n\nOffice.onReady(() => {\n // If needed, Office.js is ready to be called\n});\n\n/**\n * Shows a notification when the add-in command is executed.\n * @param event\n */\nfunction action(event: Office.AddinCommands.Event) {\n const message: Office.NotificationMessageDetails = {\n type: Office.MailboxEnums.ItemNotificationMessageType.InformationalMessage,\n message: \"Performed action.\",\n icon: \"Icon.80x80\",\n persistent: true,\n };\n\n // Show a notification message\n Office.context.mailbox.item.notificationMessages.replaceAsync(\"action\", message);\n\n // Be sure to indicate when the add-in command function is complete\n event.completed();\n}\n\nfunction getGlobal() {\n return typeof self !== \"undefined\"\n ? self\n : typeof window !== \"undefined\"\n ? window\n : typeof global !== \"undefined\"\n ? global\n : undefined;\n}\n\nconst g = getGlobal() as any;\n\n// The add-in command functions need to be available in global scope\ng.action = action;\n","// The require scope\nvar __webpack_require__ = {};\n\n","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = {};\n__webpack_modules__[\"./src/commands/commands.ts\"](0, __webpack_exports__, __webpack_require__);\n",""],"names":["Office","onReady","action","event","message","type","MailboxEnums","ItemNotificationMessageType","InformationalMessage","icon","persistent","context","mailbox","item","notificationMessages","replaceAsync","completed","getGlobal","self","window","global","undefined","g"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/manifest.xml b/dist/manifest.xml new file mode 100644 index 0000000..aa09b11 --- /dev/null +++ b/dist/manifest.xml @@ -0,0 +1,85 @@ + + + 9a463859-68ff-41ed-8f96-d418dffb73b3 + 1.0.0.0 + Contoso + en-US + + + + + + + https://www.contoso.com + + + + + + + + ReadWriteDocument + + + + + + + <Description resid="GetStarted.Description"/> + <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/> + </GetStarted> + <FunctionFile resid="Commands.Url"/> + <ExtensionPoint xsi:type="PrimaryCommandSurface"> + <OfficeTab id="TabHome"> + <Group id="CommandsGroup"> + <Label resid="CommandsGroup.Label"/> + <Icon> + <bt:Image size="16" resid="Icon.16x16"/> + <bt:Image size="32" resid="Icon.32x32"/> + <bt:Image size="80" resid="Icon.80x80"/> + </Icon> + <Control xsi:type="Button" id="TaskpaneButton"> + <Label resid="TaskpaneButton.Label"/> + <Supertip> + <Title resid="TaskpaneButton.Label"/> + <Description resid="TaskpaneButton.Tooltip"/> + </Supertip> + <Icon> + <bt:Image size="16" resid="Icon.16x16"/> + <bt:Image size="32" resid="Icon.32x32"/> + <bt:Image size="80" resid="Icon.80x80"/> + </Icon> + <Action xsi:type="ShowTaskpane"> + <TaskpaneId>ButtonId1</TaskpaneId> + <SourceLocation resid="Taskpane.Url"/> + </Action> + </Control> + </Group> + </OfficeTab> + </ExtensionPoint> + </DesktopFormFactor> + </Host> + </Hosts> + <Resources> + <bt:Images> + <bt:Image id="Icon.16x16" DefaultValue="https://localhost:3000/assets/icon-16.png"/> + <bt:Image id="Icon.32x32" DefaultValue="https://localhost:3000/assets/icon-32.png"/> + <bt:Image id="Icon.80x80" DefaultValue="https://localhost:3000/assets/icon-80.png"/> + </bt:Images> + <bt:Urls> + <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812"/> + <bt:Url id="Commands.Url" DefaultValue="https://localhost:3000/commands.html"/> + <bt:Url id="Taskpane.Url" DefaultValue="https://localhost:3000/taskpane.html"/> + </bt:Urls> + <bt:ShortStrings> + <bt:String id="GetStarted.Title" DefaultValue="Get started with your sample add-in!"/> + <bt:String id="CommandsGroup.Label" DefaultValue="Commands Group"/> + <bt:String id="TaskpaneButton.Label" DefaultValue="Show Taskpane"/> + </bt:ShortStrings> + <bt:LongStrings> + <bt:String id="GetStarted.Description" DefaultValue="Your sample add-in loaded succesfully. Go to the HOME tab and click the 'Show Taskpane' button to get started."/> + <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Click to Show a Taskpane"/> + </bt:LongStrings> + </Resources> + </VersionOverrides> +</OfficeApp> \ No newline at end of file diff --git a/dist/polyfill.js b/dist/polyfill.js new file mode 100644 index 0000000..56017db --- /dev/null +++ b/dist/polyfill.js @@ -0,0 +1,23118 @@ +/******/ (function() { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./node_modules/core-js/internals/a-callable.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/a-callable.js ***! + \******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); + +var $TypeError = TypeError; + +// `Assert: IsCallable(argument) is true` +module.exports = function (argument) { + if (isCallable(argument)) return argument; + throw $TypeError(tryToString(argument) + ' is not a function'); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/a-constructor.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/a-constructor.js ***! + \*********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/core-js/internals/is-constructor.js"); +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); + +var $TypeError = TypeError; + +// `Assert: IsConstructor(argument) is true` +module.exports = function (argument) { + if (isConstructor(argument)) return argument; + throw $TypeError(tryToString(argument) + ' is not a constructor'); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/a-possible-prototype.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/a-possible-prototype.js ***! + \****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); + +var $String = String; +var $TypeError = TypeError; + +module.exports = function (argument) { + if (typeof argument == 'object' || isCallable(argument)) return argument; + throw $TypeError("Can't set " + $String(argument) + ' as a prototype'); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/add-to-unscopables.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/add-to-unscopables.js ***! + \**************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); + +var UNSCOPABLES = wellKnownSymbol('unscopables'); +var ArrayPrototype = Array.prototype; + +// Array.prototype[@@unscopables] +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +if (ArrayPrototype[UNSCOPABLES] === undefined) { + defineProperty(ArrayPrototype, UNSCOPABLES, { + configurable: true, + value: create(null) + }); +} + +// add a key to Array.prototype[@@unscopables] +module.exports = function (key) { + ArrayPrototype[UNSCOPABLES][key] = true; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/advance-string-index.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/advance-string-index.js ***! + \****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var charAt = (__webpack_require__(/*! ../internals/string-multibyte */ "./node_modules/core-js/internals/string-multibyte.js").charAt); + +// `AdvanceStringIndex` abstract operation +// https://tc39.es/ecma262/#sec-advancestringindex +module.exports = function (S, index, unicode) { + return index + (unicode ? charAt(S, index).length : 1); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/an-instance.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/an-instance.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); + +var $TypeError = TypeError; + +module.exports = function (it, Prototype) { + if (isPrototypeOf(Prototype, it)) return it; + throw $TypeError('Incorrect invocation'); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/an-object.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/an-object.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); + +var $String = String; +var $TypeError = TypeError; + +// `Assert: Type(argument) is Object` +module.exports = function (argument) { + if (isObject(argument)) return argument; + throw $TypeError($String(argument) + ' is not an object'); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-buffer-basic-detection.js": +/*!************************************************************************!*\ + !*** ./node_modules/core-js/internals/array-buffer-basic-detection.js ***! + \************************************************************************/ +/***/ (function(module) { + +"use strict"; + +// eslint-disable-next-line es/no-typed-arrays -- safe +module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined'; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-buffer-non-extensible.js": +/*!***********************************************************************!*\ + !*** ./node_modules/core-js/internals/array-buffer-non-extensible.js ***! + \***********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +module.exports = fails(function () { + if (typeof ArrayBuffer == 'function') { + var buffer = new ArrayBuffer(8); + // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe + if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 }); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-buffer-view-core.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/internals/array-buffer-view-core.js ***! + \******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var NATIVE_ARRAY_BUFFER = __webpack_require__(/*! ../internals/array-buffer-basic-detection */ "./node_modules/core-js/internals/array-buffer-basic-detection.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js/internals/uid.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); + +var enforceInternalState = InternalStateModule.enforce; +var getInternalState = InternalStateModule.get; +var Int8Array = global.Int8Array; +var Int8ArrayPrototype = Int8Array && Int8Array.prototype; +var Uint8ClampedArray = global.Uint8ClampedArray; +var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; +var TypedArray = Int8Array && getPrototypeOf(Int8Array); +var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); +var ObjectPrototype = Object.prototype; +var TypeError = global.TypeError; + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); +var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor'; +// Fixing native typed arrays in Opera Presto crashes the browser, see #595 +var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera'; +var TYPED_ARRAY_TAG_REQUIRED = false; +var NAME, Constructor, Prototype; + +var TypedArrayConstructorsList = { + Int8Array: 1, + Uint8Array: 1, + Uint8ClampedArray: 1, + Int16Array: 2, + Uint16Array: 2, + Int32Array: 4, + Uint32Array: 4, + Float32Array: 4, + Float64Array: 8 +}; + +var BigIntArrayConstructorsList = { + BigInt64Array: 8, + BigUint64Array: 8 +}; + +var isView = function isView(it) { + if (!isObject(it)) return false; + var klass = classof(it); + return klass === 'DataView' + || hasOwn(TypedArrayConstructorsList, klass) + || hasOwn(BigIntArrayConstructorsList, klass); +}; + +var getTypedArrayConstructor = function (it) { + var proto = getPrototypeOf(it); + if (!isObject(proto)) return; + var state = getInternalState(proto); + return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto); +}; + +var isTypedArray = function (it) { + if (!isObject(it)) return false; + var klass = classof(it); + return hasOwn(TypedArrayConstructorsList, klass) + || hasOwn(BigIntArrayConstructorsList, klass); +}; + +var aTypedArray = function (it) { + if (isTypedArray(it)) return it; + throw TypeError('Target is not a typed array'); +}; + +var aTypedArrayConstructor = function (C) { + if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C; + throw TypeError(tryToString(C) + ' is not a typed array constructor'); +}; + +var exportTypedArrayMethod = function (KEY, property, forced, options) { + if (!DESCRIPTORS) return; + if (forced) for (var ARRAY in TypedArrayConstructorsList) { + var TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try { + delete TypedArrayConstructor.prototype[KEY]; + } catch (error) { + // old WebKit bug - some methods are non-configurable + try { + TypedArrayConstructor.prototype[KEY] = property; + } catch (error2) { /* empty */ } + } + } + if (!TypedArrayPrototype[KEY] || forced) { + defineBuiltIn(TypedArrayPrototype, KEY, forced ? property + : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options); + } +}; + +var exportTypedArrayStaticMethod = function (KEY, property, forced) { + var ARRAY, TypedArrayConstructor; + if (!DESCRIPTORS) return; + if (setPrototypeOf) { + if (forced) for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try { + delete TypedArrayConstructor[KEY]; + } catch (error) { /* empty */ } + } + if (!TypedArray[KEY] || forced) { + // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable + try { + return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); + } catch (error) { /* empty */ } + } else return; + } + for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { + defineBuiltIn(TypedArrayConstructor, KEY, property); + } + } +}; + +for (NAME in TypedArrayConstructorsList) { + Constructor = global[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; + else NATIVE_ARRAY_BUFFER_VIEWS = false; +} + +for (NAME in BigIntArrayConstructorsList) { + Constructor = global[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; +} + +// WebKit bug - typed arrays constructors prototype is Object.prototype +if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) { + // eslint-disable-next-line no-shadow -- safe + TypedArray = function TypedArray() { + throw TypeError('Incorrect invocation'); + }; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { + if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); + } +} + +if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { + TypedArrayPrototype = TypedArray.prototype; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { + if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); + } +} + +// WebKit bug - one more object in Uint8ClampedArray prototype chain +if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { + setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); +} + +if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) { + TYPED_ARRAY_TAG_REQUIRED = true; + defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, { + configurable: true, + get: function () { + return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; + } + }); + for (NAME in TypedArrayConstructorsList) if (global[NAME]) { + createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME); + } +} + +module.exports = { + NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, + TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG, + aTypedArray: aTypedArray, + aTypedArrayConstructor: aTypedArrayConstructor, + exportTypedArrayMethod: exportTypedArrayMethod, + exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, + getTypedArrayConstructor: getTypedArrayConstructor, + isView: isView, + isTypedArray: isTypedArray, + TypedArray: TypedArray, + TypedArrayPrototype: TypedArrayPrototype +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-buffer.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/array-buffer.js ***! + \********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var NATIVE_ARRAY_BUFFER = __webpack_require__(/*! ../internals/array-buffer-basic-detection */ "./node_modules/core-js/internals/array-buffer-basic-detection.js"); +var FunctionName = __webpack_require__(/*! ../internals/function-name */ "./node_modules/core-js/internals/function-name.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ "./node_modules/core-js/internals/define-built-ins.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/core-js/internals/an-instance.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); +var toIndex = __webpack_require__(/*! ../internals/to-index */ "./node_modules/core-js/internals/to-index.js"); +var IEEE754 = __webpack_require__(/*! ../internals/ieee754 */ "./node_modules/core-js/internals/ieee754.js"); +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); +var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js").f); +var arrayFill = __webpack_require__(/*! ../internals/array-fill */ "./node_modules/core-js/internals/array-fill.js"); +var arraySlice = __webpack_require__(/*! ../internals/array-slice-simple */ "./node_modules/core-js/internals/array-slice-simple.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); + +var PROPER_FUNCTION_NAME = FunctionName.PROPER; +var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; +var ARRAY_BUFFER = 'ArrayBuffer'; +var DATA_VIEW = 'DataView'; +var PROTOTYPE = 'prototype'; +var WRONG_LENGTH = 'Wrong length'; +var WRONG_INDEX = 'Wrong index'; +var getInternalArrayBufferState = InternalStateModule.getterFor(ARRAY_BUFFER); +var getInternalDataViewState = InternalStateModule.getterFor(DATA_VIEW); +var setInternalState = InternalStateModule.set; +var NativeArrayBuffer = global[ARRAY_BUFFER]; +var $ArrayBuffer = NativeArrayBuffer; +var ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE]; +var $DataView = global[DATA_VIEW]; +var DataViewPrototype = $DataView && $DataView[PROTOTYPE]; +var ObjectPrototype = Object.prototype; +var Array = global.Array; +var RangeError = global.RangeError; +var fill = uncurryThis(arrayFill); +var reverse = uncurryThis([].reverse); + +var packIEEE754 = IEEE754.pack; +var unpackIEEE754 = IEEE754.unpack; + +var packInt8 = function (number) { + return [number & 0xFF]; +}; + +var packInt16 = function (number) { + return [number & 0xFF, number >> 8 & 0xFF]; +}; + +var packInt32 = function (number) { + return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF]; +}; + +var unpackInt32 = function (buffer) { + return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]; +}; + +var packFloat32 = function (number) { + return packIEEE754(number, 23, 4); +}; + +var packFloat64 = function (number) { + return packIEEE754(number, 52, 8); +}; + +var addGetter = function (Constructor, key, getInternalState) { + defineBuiltInAccessor(Constructor[PROTOTYPE], key, { + configurable: true, + get: function () { + return getInternalState(this)[key]; + } + }); +}; + +var get = function (view, count, index, isLittleEndian) { + var store = getInternalDataViewState(view); + var intIndex = toIndex(index); + var boolIsLittleEndian = !!isLittleEndian; + if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); + var bytes = store.bytes; + var start = intIndex + store.byteOffset; + var pack = arraySlice(bytes, start, start + count); + return boolIsLittleEndian ? pack : reverse(pack); +}; + +var set = function (view, count, index, conversion, value, isLittleEndian) { + var store = getInternalDataViewState(view); + var intIndex = toIndex(index); + var pack = conversion(+value); + var boolIsLittleEndian = !!isLittleEndian; + if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); + var bytes = store.bytes; + var start = intIndex + store.byteOffset; + for (var i = 0; i < count; i++) bytes[start + i] = pack[boolIsLittleEndian ? i : count - i - 1]; +}; + +if (!NATIVE_ARRAY_BUFFER) { + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, ArrayBufferPrototype); + var byteLength = toIndex(length); + setInternalState(this, { + type: ARRAY_BUFFER, + bytes: fill(Array(byteLength), 0), + byteLength: byteLength + }); + if (!DESCRIPTORS) { + this.byteLength = byteLength; + this.detached = false; + } + }; + + ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE]; + + $DataView = function DataView(buffer, byteOffset, byteLength) { + anInstance(this, DataViewPrototype); + anInstance(buffer, ArrayBufferPrototype); + var bufferState = getInternalArrayBufferState(buffer); + var bufferLength = bufferState.byteLength; + var offset = toIntegerOrInfinity(byteOffset); + if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset'); + byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); + if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); + setInternalState(this, { + type: DATA_VIEW, + buffer: buffer, + byteLength: byteLength, + byteOffset: offset, + bytes: bufferState.bytes + }); + if (!DESCRIPTORS) { + this.buffer = buffer; + this.byteLength = byteLength; + this.byteOffset = offset; + } + }; + + DataViewPrototype = $DataView[PROTOTYPE]; + + if (DESCRIPTORS) { + addGetter($ArrayBuffer, 'byteLength', getInternalArrayBufferState); + addGetter($DataView, 'buffer', getInternalDataViewState); + addGetter($DataView, 'byteLength', getInternalDataViewState); + addGetter($DataView, 'byteOffset', getInternalDataViewState); + } + + defineBuiltIns(DataViewPrototype, { + getInt8: function getInt8(byteOffset) { + return get(this, 1, byteOffset)[0] << 24 >> 24; + }, + getUint8: function getUint8(byteOffset) { + return get(this, 1, byteOffset)[0]; + }, + getInt16: function getInt16(byteOffset /* , littleEndian */) { + var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false); + return (bytes[1] << 8 | bytes[0]) << 16 >> 16; + }, + getUint16: function getUint16(byteOffset /* , littleEndian */) { + var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false); + return bytes[1] << 8 | bytes[0]; + }, + getInt32: function getInt32(byteOffset /* , littleEndian */) { + return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false)); + }, + getUint32: function getUint32(byteOffset /* , littleEndian */) { + return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false)) >>> 0; + }, + getFloat32: function getFloat32(byteOffset /* , littleEndian */) { + return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false), 23); + }, + getFloat64: function getFloat64(byteOffset /* , littleEndian */) { + return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : false), 52); + }, + setInt8: function setInt8(byteOffset, value) { + set(this, 1, byteOffset, packInt8, value); + }, + setUint8: function setUint8(byteOffset, value) { + set(this, 1, byteOffset, packInt8, value); + }, + setInt16: function setInt16(byteOffset, value /* , littleEndian */) { + set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false); + }, + setUint16: function setUint16(byteOffset, value /* , littleEndian */) { + set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false); + }, + setInt32: function setInt32(byteOffset, value /* , littleEndian */) { + set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false); + }, + setUint32: function setUint32(byteOffset, value /* , littleEndian */) { + set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false); + }, + setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { + set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : false); + }, + setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { + set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : false); + } + }); +} else { + var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER; + /* eslint-disable no-new -- required for testing */ + if (!fails(function () { + NativeArrayBuffer(1); + }) || !fails(function () { + new NativeArrayBuffer(-1); + }) || fails(function () { + new NativeArrayBuffer(); + new NativeArrayBuffer(1.5); + new NativeArrayBuffer(NaN); + return NativeArrayBuffer.length !== 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME; + })) { + /* eslint-enable no-new -- required for testing */ + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, ArrayBufferPrototype); + return new NativeArrayBuffer(toIndex(length)); + }; + + $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype; + + for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) { + if (!((key = keys[j++]) in $ArrayBuffer)) { + createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]); + } + } + + ArrayBufferPrototype.constructor = $ArrayBuffer; + } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) { + createNonEnumerableProperty(NativeArrayBuffer, 'name', ARRAY_BUFFER); + } + + // WebKit bug - the same parent prototype for typed arrays and data view + if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) { + setPrototypeOf(DataViewPrototype, ObjectPrototype); + } + + // iOS Safari 7.x bug + var testView = new $DataView(new $ArrayBuffer(2)); + var $setInt8 = uncurryThis(DataViewPrototype.setInt8); + testView.setInt8(0, 2147483648); + testView.setInt8(1, 2147483649); + if (testView.getInt8(0) || !testView.getInt8(1)) defineBuiltIns(DataViewPrototype, { + setInt8: function setInt8(byteOffset, value) { + $setInt8(this, byteOffset, value << 24 >> 24); + }, + setUint8: function setUint8(byteOffset, value) { + $setInt8(this, byteOffset, value << 24 >> 24); + } + }, { unsafe: true }); +} + +setToStringTag($ArrayBuffer, ARRAY_BUFFER); +setToStringTag($DataView, DATA_VIEW); + +module.exports = { + ArrayBuffer: $ArrayBuffer, + DataView: $DataView +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-copy-within.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/array-copy-within.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ "./node_modules/core-js/internals/delete-property-or-throw.js"); + +var min = Math.min; + +// `Array.prototype.copyWithin` method implementation +// https://tc39.es/ecma262/#sec-array.prototype.copywithin +// eslint-disable-next-line es/no-array-prototype-copywithin -- safe +module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var to = toAbsoluteIndex(target, len); + var from = toAbsoluteIndex(start, len); + var end = arguments.length > 2 ? arguments[2] : undefined; + var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); + var inc = 1; + if (from < to && to < from + count) { + inc = -1; + from += count - 1; + to += count - 1; + } + while (count-- > 0) { + if (from in O) O[to] = O[from]; + else deletePropertyOrThrow(O, to); + to += inc; + from += inc; + } return O; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-fill.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/array-fill.js ***! + \******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); + +// `Array.prototype.fill` method implementation +// https://tc39.es/ecma262/#sec-array.prototype.fill +module.exports = function fill(value /* , start = 0, end = @length */) { + var O = toObject(this); + var length = lengthOfArrayLike(O); + var argumentsLength = arguments.length; + var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length); + var end = argumentsLength > 2 ? arguments[2] : undefined; + var endPos = end === undefined ? length : toAbsoluteIndex(end, length); + while (endPos > index) O[index++] = value; + return O; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-for-each.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/array-for-each.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $forEach = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").forEach); +var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js"); + +var STRICT_METHOD = arrayMethodIsStrict('forEach'); + +// `Array.prototype.forEach` method implementation +// https://tc39.es/ecma262/#sec-array.prototype.foreach +module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) { + return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); +// eslint-disable-next-line es/no-array-prototype-foreach -- safe +} : [].forEach; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-from-constructor-and-list.js": +/*!***************************************************************************!*\ + !*** ./node_modules/core-js/internals/array-from-constructor-and-list.js ***! + \***************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); + +module.exports = function (Constructor, list) { + var index = 0; + var length = lengthOfArrayLike(list); + var result = new Constructor(length); + while (length > index) result[index] = list[index++]; + return result; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-from.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/array-from.js ***! + \******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "./node_modules/core-js/internals/call-with-safe-iteration-closing.js"); +var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "./node_modules/core-js/internals/is-array-iterator-method.js"); +var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/core-js/internals/is-constructor.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); +var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "./node_modules/core-js/internals/get-iterator.js"); +var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "./node_modules/core-js/internals/get-iterator-method.js"); + +var $Array = Array; + +// `Array.from` method implementation +// https://tc39.es/ecma262/#sec-array.from +module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { + var O = toObject(arrayLike); + var IS_CONSTRUCTOR = isConstructor(this); + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined); + var iteratorMethod = getIteratorMethod(O); + var index = 0; + var length, result, step, iterator, next, value; + // if the target is not iterable or it's an array with the default iterator - use a simple case + if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) { + iterator = getIterator(O, iteratorMethod); + next = iterator.next; + result = IS_CONSTRUCTOR ? new this() : []; + for (;!(step = call(next, iterator)).done; index++) { + value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; + createProperty(result, index, value); + } + } else { + length = lengthOfArrayLike(O); + result = IS_CONSTRUCTOR ? new this(length) : $Array(length); + for (;length > index; index++) { + value = mapping ? mapfn(O[index], index) : O[index]; + createProperty(result, index, value); + } + } + result.length = index; + return result; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-includes.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/array-includes.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); + +// `Array.prototype.{ indexOf, includes }` methods implementation +var createMethod = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIndexedObject($this); + var length = lengthOfArrayLike(O); + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare -- NaN check + if (IS_INCLUDES && el !== el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare -- NaN check + if (value !== value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) { + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; +}; + +module.exports = { + // `Array.prototype.includes` method + // https://tc39.es/ecma262/#sec-array.prototype.includes + includes: createMethod(true), + // `Array.prototype.indexOf` method + // https://tc39.es/ecma262/#sec-array.prototype.indexof + indexOf: createMethod(false) +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-iteration-from-last.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/internals/array-iteration-from-last.js ***! + \*********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); +var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/core-js/internals/indexed-object.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); + +// `Array.prototype.{ findLast, findLastIndex }` methods implementation +var createMethod = function (TYPE) { + var IS_FIND_LAST_INDEX = TYPE === 1; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IndexedObject(O); + var boundFunction = bind(callbackfn, that); + var index = lengthOfArrayLike(self); + var value, result; + while (index-- > 0) { + value = self[index]; + result = boundFunction(value, index, O); + if (result) switch (TYPE) { + case 0: return value; // findLast + case 1: return index; // findLastIndex + } + } + return IS_FIND_LAST_INDEX ? -1 : undefined; + }; +}; + +module.exports = { + // `Array.prototype.findLast` method + // https://github.com/tc39/proposal-array-find-from-last + findLast: createMethod(0), + // `Array.prototype.findLastIndex` method + // https://github.com/tc39/proposal-array-find-from-last + findLastIndex: createMethod(1) +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-iteration.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/array-iteration.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/core-js/internals/indexed-object.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/core-js/internals/array-species-create.js"); + +var push = uncurryThis([].push); + +// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation +var createMethod = function (TYPE) { + var IS_MAP = TYPE === 1; + var IS_FILTER = TYPE === 2; + var IS_SOME = TYPE === 3; + var IS_EVERY = TYPE === 4; + var IS_FIND_INDEX = TYPE === 6; + var IS_FILTER_REJECT = TYPE === 7; + var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; + return function ($this, callbackfn, that, specificCreate) { + var O = toObject($this); + var self = IndexedObject(O); + var boundFunction = bind(callbackfn, that); + var length = lengthOfArrayLike(self); + var index = 0; + var create = specificCreate || arraySpeciesCreate; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; + var value, result; + for (;length > index; index++) if (NO_HOLES || index in self) { + value = self[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) target[index] = result; // map + else if (result) switch (TYPE) { + case 3: return true; // some + case 5: return value; // find + case 6: return index; // findIndex + case 2: push(target, value); // filter + } else switch (TYPE) { + case 4: return false; // every + case 7: push(target, value); // filterReject + } + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; +}; + +module.exports = { + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod(6), + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + filterReject: createMethod(7) +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-last-index-of.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/internals/array-last-index-of.js ***! + \***************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable es/no-array-prototype-lastindexof -- safe */ +var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js"); + +var min = Math.min; +var $lastIndexOf = [].lastIndexOf; +var NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0; +var STRICT_METHOD = arrayMethodIsStrict('lastIndexOf'); +var FORCED = NEGATIVE_ZERO || !STRICT_METHOD; + +// `Array.prototype.lastIndexOf` method implementation +// https://tc39.es/ecma262/#sec-array.prototype.lastindexof +module.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { + // convert -0 to +0 + if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0; + var O = toIndexedObject(this); + var length = lengthOfArrayLike(O); + var index = length - 1; + if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1])); + if (index < 0) index = length + index; + for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0; + return -1; +} : $lastIndexOf; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-method-has-species-support.js": +/*!****************************************************************************!*\ + !*** ./node_modules/core-js/internals/array-method-has-species-support.js ***! + \****************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); + +var SPECIES = wellKnownSymbol('species'); + +module.exports = function (METHOD_NAME) { + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/677 + return V8_VERSION >= 51 || !fails(function () { + var array = []; + var constructor = array.constructor = {}; + constructor[SPECIES] = function () { + return { foo: 1 }; + }; + return array[METHOD_NAME](Boolean).foo !== 1; + }); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-method-is-strict.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/internals/array-method-is-strict.js ***! + \******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +module.exports = function (METHOD_NAME, argument) { + var method = [][METHOD_NAME]; + return !!method && fails(function () { + // eslint-disable-next-line no-useless-call -- required for testing + method.call(null, argument || function () { return 1; }, 1); + }); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-reduce.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/array-reduce.js ***! + \********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/core-js/internals/indexed-object.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); + +var $TypeError = TypeError; + +// `Array.prototype.{ reduce, reduceRight }` methods implementation +var createMethod = function (IS_RIGHT) { + return function (that, callbackfn, argumentsLength, memo) { + aCallable(callbackfn); + var O = toObject(that); + var self = IndexedObject(O); + var length = lengthOfArrayLike(O); + var index = IS_RIGHT ? length - 1 : 0; + var i = IS_RIGHT ? -1 : 1; + if (argumentsLength < 2) while (true) { + if (index in self) { + memo = self[index]; + index += i; + break; + } + index += i; + if (IS_RIGHT ? index < 0 : length <= index) { + throw $TypeError('Reduce of empty array with no initial value'); + } + } + for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { + memo = callbackfn(memo, self[index], index, O); + } + return memo; + }; +}; + +module.exports = { + // `Array.prototype.reduce` method + // https://tc39.es/ecma262/#sec-array.prototype.reduce + left: createMethod(false), + // `Array.prototype.reduceRight` method + // https://tc39.es/ecma262/#sec-array.prototype.reduceright + right: createMethod(true) +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-set-length.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/array-set-length.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); + +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + +// Safari < 13 does not throw an error in this case +var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { + // makes no sense without proper strict mode support + if (this !== undefined) return true; + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).length = 1; + } catch (error) { + return error instanceof TypeError; + } +}(); + +module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { + if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { + throw $TypeError('Cannot set read only .length'); + } return O.length = length; +} : function (O, length) { + return O.length = length; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-slice-simple.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/array-slice-simple.js ***! + \**************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); + +var $Array = Array; +var max = Math.max; + +module.exports = function (O, start, end) { + var length = lengthOfArrayLike(O); + var k = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === undefined ? length : end, length); + var result = $Array(max(fin - k, 0)); + var n = 0; + for (; k < fin; k++, n++) createProperty(result, n, O[k]); + result.length = n; + return result; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-slice.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/array-slice.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +module.exports = uncurryThis([].slice); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-sort.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/array-sort.js ***! + \******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var arraySlice = __webpack_require__(/*! ../internals/array-slice-simple */ "./node_modules/core-js/internals/array-slice-simple.js"); + +var floor = Math.floor; + +var mergeSort = function (array, comparefn) { + var length = array.length; + var middle = floor(length / 2); + return length < 8 ? insertionSort(array, comparefn) : merge( + array, + mergeSort(arraySlice(array, 0, middle), comparefn), + mergeSort(arraySlice(array, middle), comparefn), + comparefn + ); +}; + +var insertionSort = function (array, comparefn) { + var length = array.length; + var i = 1; + var element, j; + + while (i < length) { + j = i; + element = array[i]; + while (j && comparefn(array[j - 1], element) > 0) { + array[j] = array[--j]; + } + if (j !== i++) array[j] = element; + } return array; +}; + +var merge = function (array, left, right, comparefn) { + var llength = left.length; + var rlength = right.length; + var lindex = 0; + var rindex = 0; + + while (lindex < llength || rindex < rlength) { + array[lindex + rindex] = (lindex < llength && rindex < rlength) + ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] + : lindex < llength ? left[lindex++] : right[rindex++]; + } return array; +}; + +module.exports = mergeSort; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-species-constructor.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/internals/array-species-constructor.js ***! + \*********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); +var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/core-js/internals/is-constructor.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var SPECIES = wellKnownSymbol('species'); +var $Array = Array; + +// a part of `ArraySpeciesCreate` abstract operation +// https://tc39.es/ecma262/#sec-arrayspeciescreate +module.exports = function (originalArray) { + var C; + if (isArray(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined; + else if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array : C; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-species-create.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/array-species-create.js ***! + \****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var arraySpeciesConstructor = __webpack_require__(/*! ../internals/array-species-constructor */ "./node_modules/core-js/internals/array-species-constructor.js"); + +// `ArraySpeciesCreate` abstract operation +// https://tc39.es/ecma262/#sec-arrayspeciescreate +module.exports = function (originalArray, length) { + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-to-reversed.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/array-to-reversed.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); + +// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed +// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed +module.exports = function (O, C) { + var len = lengthOfArrayLike(O); + var A = new C(len); + var k = 0; + for (; k < len; k++) A[k] = O[len - k - 1]; + return A; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/array-with.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/array-with.js ***! + \******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); + +var $RangeError = RangeError; + +// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with +// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with +module.exports = function (O, C, index, value) { + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex; + if (actualIndex >= len || actualIndex < 0) throw $RangeError('Incorrect index'); + var A = new C(len); + var k = 0; + for (; k < len; k++) A[k] = k === actualIndex ? value : O[k]; + return A; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/base64-map.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/base64-map.js ***! + \******************************************************/ +/***/ (function(module) { + +"use strict"; + +var itoc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; +var ctoi = {}; + +for (var index = 0; index < 66; index++) ctoi[itoc.charAt(index)] = index; + +module.exports = { + itoc: itoc, + ctoi: ctoi +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/call-with-safe-iteration-closing.js": +/*!****************************************************************************!*\ + !*** ./node_modules/core-js/internals/call-with-safe-iteration-closing.js ***! + \****************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "./node_modules/core-js/internals/iterator-close.js"); + +// call something on iterator step with safe closing on error +module.exports = function (iterator, fn, value, ENTRIES) { + try { + return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); + } catch (error) { + iteratorClose(iterator, 'throw', error); + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/check-correctness-of-iteration.js": +/*!**************************************************************************!*\ + !*** ./node_modules/core-js/internals/check-correctness-of-iteration.js ***! + \**************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var ITERATOR = wellKnownSymbol('iterator'); +var SAFE_CLOSING = false; + +try { + var called = 0; + var iteratorWithReturn = { + next: function () { + return { done: !!called++ }; + }, + 'return': function () { + SAFE_CLOSING = true; + } + }; + iteratorWithReturn[ITERATOR] = function () { + return this; + }; + // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing + Array.from(iteratorWithReturn, function () { throw 2; }); +} catch (error) { /* empty */ } + +module.exports = function (exec, SKIP_CLOSING) { + try { + if (!SKIP_CLOSING && !SAFE_CLOSING) return false; + } catch (error) { return false; } // workaround of old WebKit + `eval` bug + var ITERATION_SUPPORT = false; + try { + var object = {}; + object[ITERATOR] = function () { + return { + next: function () { + return { done: ITERATION_SUPPORT = true }; + } + }; + }; + exec(object); + } catch (error) { /* empty */ } + return ITERATION_SUPPORT; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/classof-raw.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/classof-raw.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +var toString = uncurryThis({}.toString); +var stringSlice = uncurryThis(''.slice); + +module.exports = function (it) { + return stringSlice(toString(it), 8, -1); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/classof.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/internals/classof.js ***! + \***************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "./node_modules/core-js/internals/to-string-tag-support.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var $Object = Object; + +// ES3 wrong here +var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; + +// fallback for IE11 Script Access Denied error +var tryGet = function (it, key) { + try { + return it[key]; + } catch (error) { /* empty */ } +}; + +// getting tag from ES6+ `Object.prototype.toString` +module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { + var O, tag, result; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag + // builtinTag case + : CORRECT_ARGUMENTS ? classofRaw(O) + // ES3 arguments fallback + : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/collection-strong.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/collection-strong.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ "./node_modules/core-js/internals/define-built-ins.js"); +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); +var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/core-js/internals/an-instance.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); +var defineIterator = __webpack_require__(/*! ../internals/iterator-define */ "./node_modules/core-js/internals/iterator-define.js"); +var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "./node_modules/core-js/internals/create-iter-result-object.js"); +var setSpecies = __webpack_require__(/*! ../internals/set-species */ "./node_modules/core-js/internals/set-species.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var fastKey = (__webpack_require__(/*! ../internals/internal-metadata */ "./node_modules/core-js/internals/internal-metadata.js").fastKey); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); + +var setInternalState = InternalStateModule.set; +var internalStateGetterFor = InternalStateModule.getterFor; + +module.exports = { + getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var Constructor = wrapper(function (that, iterable) { + anInstance(that, Prototype); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + index: create(null), + first: undefined, + last: undefined, + size: 0 + }); + if (!DESCRIPTORS) that.size = 0; + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + }); + + var Prototype = Constructor.prototype; + + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + + var define = function (that, key, value) { + var state = getInternalState(that); + var entry = getEntry(that, key); + var previous, index; + // change existing entry + if (entry) { + entry.value = value; + // create new entry + } else { + state.last = entry = { + index: index = fastKey(key, true), + key: key, + value: value, + previous: previous = state.last, + next: undefined, + removed: false + }; + if (!state.first) state.first = entry; + if (previous) previous.next = entry; + if (DESCRIPTORS) state.size++; + else that.size++; + // add to index + if (index !== 'F') state.index[index] = entry; + } return that; + }; + + var getEntry = function (that, key) { + var state = getInternalState(that); + // fast case + var index = fastKey(key); + var entry; + if (index !== 'F') return state.index[index]; + // frozen object case + for (entry = state.first; entry; entry = entry.next) { + if (entry.key === key) return entry; + } + }; + + defineBuiltIns(Prototype, { + // `{ Map, Set }.prototype.clear()` methods + // https://tc39.es/ecma262/#sec-map.prototype.clear + // https://tc39.es/ecma262/#sec-set.prototype.clear + clear: function clear() { + var that = this; + var state = getInternalState(that); + var data = state.index; + var entry = state.first; + while (entry) { + entry.removed = true; + if (entry.previous) entry.previous = entry.previous.next = undefined; + delete data[entry.index]; + entry = entry.next; + } + state.first = state.last = undefined; + if (DESCRIPTORS) state.size = 0; + else that.size = 0; + }, + // `{ Map, Set }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.delete + // https://tc39.es/ecma262/#sec-set.prototype.delete + 'delete': function (key) { + var that = this; + var state = getInternalState(that); + var entry = getEntry(that, key); + if (entry) { + var next = entry.next; + var prev = entry.previous; + delete state.index[entry.index]; + entry.removed = true; + if (prev) prev.next = next; + if (next) next.previous = prev; + if (state.first === entry) state.first = next; + if (state.last === entry) state.last = prev; + if (DESCRIPTORS) state.size--; + else that.size--; + } return !!entry; + }, + // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods + // https://tc39.es/ecma262/#sec-map.prototype.foreach + // https://tc39.es/ecma262/#sec-set.prototype.foreach + forEach: function forEach(callbackfn /* , that = undefined */) { + var state = getInternalState(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var entry; + while (entry = entry ? entry.next : state.first) { + boundFunction(entry.value, entry.key, this); + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + } + }, + // `{ Map, Set}.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.has + // https://tc39.es/ecma262/#sec-set.prototype.has + has: function has(key) { + return !!getEntry(this, key); + } + }); + + defineBuiltIns(Prototype, IS_MAP ? { + // `Map.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-map.prototype.get + get: function get(key) { + var entry = getEntry(this, key); + return entry && entry.value; + }, + // `Map.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-map.prototype.set + set: function set(key, value) { + return define(this, key === 0 ? 0 : key, value); + } + } : { + // `Set.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-set.prototype.add + add: function add(value) { + return define(this, value = value === 0 ? 0 : value, value); + } + }); + if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', { + configurable: true, + get: function () { + return getInternalState(this).size; + } + }); + return Constructor; + }, + setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) { + var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; + var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); + var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); + // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods + // https://tc39.es/ecma262/#sec-map.prototype.entries + // https://tc39.es/ecma262/#sec-map.prototype.keys + // https://tc39.es/ecma262/#sec-map.prototype.values + // https://tc39.es/ecma262/#sec-map.prototype-@@iterator + // https://tc39.es/ecma262/#sec-set.prototype.entries + // https://tc39.es/ecma262/#sec-set.prototype.keys + // https://tc39.es/ecma262/#sec-set.prototype.values + // https://tc39.es/ecma262/#sec-set.prototype-@@iterator + defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) { + setInternalState(this, { + type: ITERATOR_NAME, + target: iterated, + state: getInternalCollectionState(iterated), + kind: kind, + last: undefined + }); + }, function () { + var state = getInternalIteratorState(this); + var kind = state.kind; + var entry = state.last; + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + // get next entry + if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { + // or finish the iteration + state.target = undefined; + return createIterResultObject(undefined, true); + } + // return step by kind + if (kind === 'keys') return createIterResultObject(entry.key, false); + if (kind === 'values') return createIterResultObject(entry.value, false); + return createIterResultObject([entry.key, entry.value], false); + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); + + // `{ Map, Set }.prototype[@@species]` accessors + // https://tc39.es/ecma262/#sec-get-map-@@species + // https://tc39.es/ecma262/#sec-get-set-@@species + setSpecies(CONSTRUCTOR_NAME); + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/collection-weak.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/collection-weak.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ "./node_modules/core-js/internals/define-built-ins.js"); +var getWeakData = (__webpack_require__(/*! ../internals/internal-metadata */ "./node_modules/core-js/internals/internal-metadata.js").getWeakData); +var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/core-js/internals/an-instance.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); +var ArrayIterationModule = __webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); + +var setInternalState = InternalStateModule.set; +var internalStateGetterFor = InternalStateModule.getterFor; +var find = ArrayIterationModule.find; +var findIndex = ArrayIterationModule.findIndex; +var splice = uncurryThis([].splice); +var id = 0; + +// fallback for uncaught frozen keys +var uncaughtFrozenStore = function (state) { + return state.frozen || (state.frozen = new UncaughtFrozenStore()); +}; + +var UncaughtFrozenStore = function () { + this.entries = []; +}; + +var findUncaughtFrozen = function (store, key) { + return find(store.entries, function (it) { + return it[0] === key; + }); +}; + +UncaughtFrozenStore.prototype = { + get: function (key) { + var entry = findUncaughtFrozen(this, key); + if (entry) return entry[1]; + }, + has: function (key) { + return !!findUncaughtFrozen(this, key); + }, + set: function (key, value) { + var entry = findUncaughtFrozen(this, key); + if (entry) entry[1] = value; + else this.entries.push([key, value]); + }, + 'delete': function (key) { + var index = findIndex(this.entries, function (it) { + return it[0] === key; + }); + if (~index) splice(this.entries, index, 1); + return !!~index; + } +}; + +module.exports = { + getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var Constructor = wrapper(function (that, iterable) { + anInstance(that, Prototype); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + id: id++, + frozen: undefined + }); + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + }); + + var Prototype = Constructor.prototype; + + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + + var define = function (that, key, value) { + var state = getInternalState(that); + var data = getWeakData(anObject(key), true); + if (data === true) uncaughtFrozenStore(state).set(key, value); + else data[state.id] = value; + return that; + }; + + defineBuiltIns(Prototype, { + // `{ WeakMap, WeakSet }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-weakmap.prototype.delete + // https://tc39.es/ecma262/#sec-weakset.prototype.delete + 'delete': function (key) { + var state = getInternalState(this); + if (!isObject(key)) return false; + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state)['delete'](key); + return data && hasOwn(data, state.id) && delete data[state.id]; + }, + // `{ WeakMap, WeakSet }.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-weakmap.prototype.has + // https://tc39.es/ecma262/#sec-weakset.prototype.has + has: function has(key) { + var state = getInternalState(this); + if (!isObject(key)) return false; + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state).has(key); + return data && hasOwn(data, state.id); + } + }); + + defineBuiltIns(Prototype, IS_MAP ? { + // `WeakMap.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-weakmap.prototype.get + get: function get(key) { + var state = getInternalState(this); + if (isObject(key)) { + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state).get(key); + return data ? data[state.id] : undefined; + } + }, + // `WeakMap.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-weakmap.prototype.set + set: function set(key, value) { + return define(this, key, value); + } + } : { + // `WeakSet.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-weakset.prototype.add + add: function add(value) { + return define(this, value, true); + } + }); + + return Constructor; + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/collection.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/collection.js ***! + \******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/core-js/internals/is-forced.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ "./node_modules/core-js/internals/internal-metadata.js"); +var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); +var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/core-js/internals/an-instance.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "./node_modules/core-js/internals/check-correctness-of-iteration.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); +var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "./node_modules/core-js/internals/inherit-if-required.js"); + +module.exports = function (CONSTRUCTOR_NAME, wrapper, common) { + var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; + var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; + var ADDER = IS_MAP ? 'set' : 'add'; + var NativeConstructor = global[CONSTRUCTOR_NAME]; + var NativePrototype = NativeConstructor && NativeConstructor.prototype; + var Constructor = NativeConstructor; + var exported = {}; + + var fixMethod = function (KEY) { + var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]); + defineBuiltIn(NativePrototype, KEY, + KEY === 'add' ? function add(value) { + uncurriedNativeMethod(this, value === 0 ? 0 : value); + return this; + } : KEY === 'delete' ? function (key) { + return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : KEY === 'get' ? function get(key) { + return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : KEY === 'has' ? function has(key) { + return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : function set(key, value) { + uncurriedNativeMethod(this, key === 0 ? 0 : key, value); + return this; + } + ); + }; + + var REPLACE = isForced( + CONSTRUCTOR_NAME, + !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () { + new NativeConstructor().entries().next(); + })) + ); + + if (REPLACE) { + // create collection constructor + Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); + InternalMetadataModule.enable(); + } else if (isForced(CONSTRUCTOR_NAME, true)) { + var instance = new Constructor(); + // early implementations not supports chaining + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance; + // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false + var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); + // most early implementations doesn't supports iterables, most modern - not close it correctly + // eslint-disable-next-line no-new -- required for testing + var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); + // for early implementations -0 and +0 not the same + var BUGGY_ZERO = !IS_WEAK && fails(function () { + // V8 ~ Chromium 42- fails only with 5+ elements + var $instance = new NativeConstructor(); + var index = 5; + while (index--) $instance[ADDER](index, index); + return !$instance.has(-0); + }); + + if (!ACCEPT_ITERABLES) { + Constructor = wrapper(function (dummy, iterable) { + anInstance(dummy, NativePrototype); + var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + return that; + }); + Constructor.prototype = NativePrototype; + NativePrototype.constructor = Constructor; + } + + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); + } + + if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); + + // weak collections should not contains .clear method + if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; + } + + exported[CONSTRUCTOR_NAME] = Constructor; + $({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported); + + setToStringTag(Constructor, CONSTRUCTOR_NAME); + + if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); + + return Constructor; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/copy-constructor-properties.js": +/*!***********************************************************************!*\ + !*** ./node_modules/core-js/internals/copy-constructor-properties.js ***! + \***********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "./node_modules/core-js/internals/own-keys.js"); +var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); + +module.exports = function (target, source, exceptions) { + var keys = ownKeys(source); + var defineProperty = definePropertyModule.f; + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/correct-is-regexp-logic.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/internals/correct-is-regexp-logic.js ***! + \*******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var MATCH = wellKnownSymbol('match'); + +module.exports = function (METHOD_NAME) { + var regexp = /./; + try { + '/./'[METHOD_NAME](regexp); + } catch (error1) { + try { + regexp[MATCH] = false; + return '/./'[METHOD_NAME](regexp); + } catch (error2) { /* empty */ } + } return false; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/correct-prototype-getter.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/correct-prototype-getter.js ***! + \********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +module.exports = !fails(function () { + function F() { /* empty */ } + F.prototype.constructor = null; + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing + return Object.getPrototypeOf(new F()) !== F.prototype; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/create-html.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/create-html.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); + +var quot = /"/g; +var replace = uncurryThis(''.replace); + +// `CreateHTML` abstract operation +// https://tc39.es/ecma262/#sec-createhtml +module.exports = function (string, tag, attribute, value) { + var S = toString(requireObjectCoercible(string)); + var p1 = '<' + tag; + if (attribute !== '') p1 += ' ' + attribute + '="' + replace(toString(value), quot, '"') + '"'; + return p1 + '>' + S + '</' + tag + '>'; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/create-iter-result-object.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/internals/create-iter-result-object.js ***! + \*********************************************************************/ +/***/ (function(module) { + +"use strict"; + +// `CreateIterResultObject` abstract operation +// https://tc39.es/ecma262/#sec-createiterresultobject +module.exports = function (value, done) { + return { value: value, done: done }; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/create-non-enumerable-property.js": +/*!**************************************************************************!*\ + !*** ./node_modules/core-js/internals/create-non-enumerable-property.js ***! + \**************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); + +module.exports = DESCRIPTORS ? function (object, key, value) { + return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/create-property-descriptor.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/internals/create-property-descriptor.js ***! + \**********************************************************************/ +/***/ (function(module) { + +"use strict"; + +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/create-property.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/create-property.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); + +module.exports = function (object, key, value) { + var propertyKey = toPropertyKey(key); + if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); + else object[propertyKey] = value; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/date-to-iso-string.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/date-to-iso-string.js ***! + \**************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var padStart = (__webpack_require__(/*! ../internals/string-pad */ "./node_modules/core-js/internals/string-pad.js").start); + +var $RangeError = RangeError; +var $isFinite = isFinite; +var abs = Math.abs; +var DatePrototype = Date.prototype; +var nativeDateToISOString = DatePrototype.toISOString; +var thisTimeValue = uncurryThis(DatePrototype.getTime); +var getUTCDate = uncurryThis(DatePrototype.getUTCDate); +var getUTCFullYear = uncurryThis(DatePrototype.getUTCFullYear); +var getUTCHours = uncurryThis(DatePrototype.getUTCHours); +var getUTCMilliseconds = uncurryThis(DatePrototype.getUTCMilliseconds); +var getUTCMinutes = uncurryThis(DatePrototype.getUTCMinutes); +var getUTCMonth = uncurryThis(DatePrototype.getUTCMonth); +var getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds); + +// `Date.prototype.toISOString` method implementation +// https://tc39.es/ecma262/#sec-date.prototype.toisostring +// PhantomJS / old WebKit fails here: +module.exports = (fails(function () { + return nativeDateToISOString.call(new Date(-5e13 - 1)) !== '0385-07-25T07:06:39.999Z'; +}) || !fails(function () { + nativeDateToISOString.call(new Date(NaN)); +})) ? function toISOString() { + if (!$isFinite(thisTimeValue(this))) throw $RangeError('Invalid time value'); + var date = this; + var year = getUTCFullYear(date); + var milliseconds = getUTCMilliseconds(date); + var sign = year < 0 ? '-' : year > 9999 ? '+' : ''; + return sign + padStart(abs(year), sign ? 6 : 4, 0) + + '-' + padStart(getUTCMonth(date) + 1, 2, 0) + + '-' + padStart(getUTCDate(date), 2, 0) + + 'T' + padStart(getUTCHours(date), 2, 0) + + ':' + padStart(getUTCMinutes(date), 2, 0) + + ':' + padStart(getUTCSeconds(date), 2, 0) + + '.' + padStart(milliseconds, 3, 0) + + 'Z'; +} : nativeDateToISOString; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/date-to-primitive.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/date-to-primitive.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "./node_modules/core-js/internals/ordinary-to-primitive.js"); + +var $TypeError = TypeError; + +// `Date.prototype[@@toPrimitive](hint)` method implementation +// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive +module.exports = function (hint) { + anObject(this); + if (hint === 'string' || hint === 'default') hint = 'string'; + else if (hint !== 'number') throw $TypeError('Incorrect hint'); + return ordinaryToPrimitive(this, hint); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/define-built-in-accessor.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/define-built-in-accessor.js ***! + \********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "./node_modules/core-js/internals/make-built-in.js"); +var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); + +module.exports = function (target, name, descriptor) { + if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); + if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); + return defineProperty.f(target, name, descriptor); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/define-built-in.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/define-built-in.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); +var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "./node_modules/core-js/internals/make-built-in.js"); +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "./node_modules/core-js/internals/define-global-property.js"); + +module.exports = function (O, key, value, options) { + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; + if (isCallable(value)) makeBuiltIn(value, name, options); + if (options.global) { + if (simple) O[key] = value; + else defineGlobalProperty(key, value); + } else { + try { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + } catch (error) { /* empty */ } + if (simple) O[key] = value; + else definePropertyModule.f(O, key, { + value: value, + enumerable: false, + configurable: !options.nonConfigurable, + writable: !options.nonWritable + }); + } return O; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/define-built-ins.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/define-built-ins.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); + +module.exports = function (target, src, options) { + for (var key in src) defineBuiltIn(target, key, src[key], options); + return target; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/define-global-property.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/internals/define-global-property.js ***! + \******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); + +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; + +module.exports = function (key, value) { + try { + defineProperty(global, key, { value: value, configurable: true, writable: true }); + } catch (error) { + global[key] = value; + } return value; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/delete-property-or-throw.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/delete-property-or-throw.js ***! + \********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); + +var $TypeError = TypeError; + +module.exports = function (O, P) { + if (!delete O[P]) throw $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O)); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/descriptors.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/descriptors.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +// Detect IE8's incomplete defineProperty implementation +module.exports = !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/document-all.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/document-all.js ***! + \********************************************************/ +/***/ (function(module) { + +"use strict"; + +var documentAll = typeof document == 'object' && document.all; + +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot +// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing +var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined; + +module.exports = { + all: documentAll, + IS_HTMLDDA: IS_HTMLDDA +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/document-create-element.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/internals/document-create-element.js ***! + \*******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); + +var document = global.document; +// typeof document.createElement is 'object' in old IE +var EXISTS = isObject(document) && isObject(document.createElement); + +module.exports = function (it) { + return EXISTS ? document.createElement(it) : {}; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/does-not-exceed-safe-integer.js": +/*!************************************************************************!*\ + !*** ./node_modules/core-js/internals/does-not-exceed-safe-integer.js ***! + \************************************************************************/ +/***/ (function(module) { + +"use strict"; + +var $TypeError = TypeError; +var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + +module.exports = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); + return it; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/dom-exception-constants.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/internals/dom-exception-constants.js ***! + \*******************************************************************/ +/***/ (function(module) { + +"use strict"; + +module.exports = { + IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 }, + DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 }, + HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 }, + WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 }, + InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 }, + NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 }, + NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 }, + NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 }, + NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 }, + InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 }, + InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 }, + SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 }, + InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 }, + NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 }, + InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 }, + ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 }, + TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 }, + SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 }, + NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 }, + AbortError: { s: 'ABORT_ERR', c: 20, m: 1 }, + URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 }, + QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 }, + TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 }, + InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 }, + DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/dom-iterables.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/dom-iterables.js ***! + \*********************************************************/ +/***/ (function(module) { + +"use strict"; + +// iterable DOM collections +// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods +module.exports = { + CSSRuleList: 0, + CSSStyleDeclaration: 0, + CSSValueList: 0, + ClientRectList: 0, + DOMRectList: 0, + DOMStringList: 0, + DOMTokenList: 1, + DataTransferItemList: 0, + FileList: 0, + HTMLAllCollection: 0, + HTMLCollection: 0, + HTMLFormElement: 0, + HTMLSelectElement: 0, + MediaList: 0, + MimeTypeArray: 0, + NamedNodeMap: 0, + NodeList: 1, + PaintRequestList: 0, + Plugin: 0, + PluginArray: 0, + SVGLengthList: 0, + SVGNumberList: 0, + SVGPathSegList: 0, + SVGPointList: 0, + SVGStringList: 0, + SVGTransformList: 0, + SourceBufferList: 0, + StyleSheetList: 0, + TextTrackCueList: 0, + TextTrackList: 0, + TouchList: 0 +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/dom-token-list-prototype.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/dom-token-list-prototype.js ***! + \********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList` +var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/core-js/internals/document-create-element.js"); + +var classList = documentCreateElement('span').classList; +var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype; + +module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-ff-version.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/engine-ff-version.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); + +var firefox = userAgent.match(/firefox\/(\d+)/i); + +module.exports = !!firefox && +firefox[1]; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-is-browser.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/engine-is-browser.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var IS_DENO = __webpack_require__(/*! ../internals/engine-is-deno */ "./node_modules/core-js/internals/engine-is-deno.js"); +var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); + +module.exports = !IS_DENO && !IS_NODE + && typeof window == 'object' + && typeof document == 'object'; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-is-bun.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/engine-is-bun.js ***! + \*********************************************************/ +/***/ (function(module) { + +"use strict"; + +/* global Bun -- Deno case */ +module.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string'; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-is-deno.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/engine-is-deno.js ***! + \**********************************************************/ +/***/ (function(module) { + +"use strict"; + +/* global Deno -- Deno case */ +module.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object'; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-is-ie-or-edge.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/engine-is-ie-or-edge.js ***! + \****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var UA = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); + +module.exports = /MSIE|Trident/.test(UA); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-is-ios-pebble.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/engine-is-ios-pebble.js ***! + \****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); + +module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined'; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-is-ios.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/engine-is-ios.js ***! + \*********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); + +// eslint-disable-next-line redos/no-vulnerable -- safe +module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-is-node.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/engine-is-node.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); + +module.exports = classof(global.process) === 'process'; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-is-webos-webkit.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/internals/engine-is-webos-webkit.js ***! + \******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); + +module.exports = /web0s(?!.*chrome)/i.test(userAgent); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-user-agent.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/engine-user-agent.js ***! + \*************************************************************/ +/***/ (function(module) { + +"use strict"; + +module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-v8-version.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/engine-v8-version.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); + +var process = global.process; +var Deno = global.Deno; +var versions = process && process.versions || Deno && Deno.version; +var v8 = versions && versions.v8; +var match, version; + +if (v8) { + match = v8.split('.'); + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 + // but their correct versions are not interesting for us + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); +} + +// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` +// so check `userAgent` even if `.v8` exists, but 0 +if (!version && userAgent) { + match = userAgent.match(/Edge\/(\d+)/); + if (!match || match[1] >= 74) { + match = userAgent.match(/Chrome\/(\d+)/); + if (match) version = +match[1]; + } +} + +module.exports = version; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/engine-webkit-version.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/internals/engine-webkit-version.js ***! + \*****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); + +var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); + +module.exports = !!webkit && +webkit[1]; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/entry-virtual.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/entry-virtual.js ***! + \*********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); + +module.exports = function (CONSTRUCTOR) { + return global[CONSTRUCTOR].prototype; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/enum-bug-keys.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/enum-bug-keys.js ***! + \*********************************************************/ +/***/ (function(module) { + +"use strict"; + +// IE8- don't enum bug keys +module.exports = [ + 'constructor', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'toLocaleString', + 'toString', + 'valueOf' +]; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/error-stack-clear.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/error-stack-clear.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +var $Error = Error; +var replace = uncurryThis(''.replace); + +var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd'); +// eslint-disable-next-line redos/no-vulnerable -- safe +var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; +var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); + +module.exports = function (stack, dropEntries) { + if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { + while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); + } return stack; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/error-stack-install.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/internals/error-stack-install.js ***! + \***************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ "./node_modules/core-js/internals/error-stack-clear.js"); +var ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ "./node_modules/core-js/internals/error-stack-installable.js"); + +// non-standard V8 +var captureStackTrace = Error.captureStackTrace; + +module.exports = function (error, C, stack, dropEntries) { + if (ERROR_STACK_INSTALLABLE) { + if (captureStackTrace) captureStackTrace(error, C); + else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries)); + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/error-stack-installable.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/internals/error-stack-installable.js ***! + \*******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); + +module.exports = !fails(function () { + var error = Error('a'); + if (!('stack' in error)) return true; + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7)); + return error.stack !== 7; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/error-to-string.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/error-to-string.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "./node_modules/core-js/internals/normalize-string-argument.js"); + +var nativeErrorToString = Error.prototype.toString; + +var INCORRECT_TO_STRING = fails(function () { + if (DESCRIPTORS) { + // Chrome 32- incorrectly call accessor + // eslint-disable-next-line es/no-object-defineproperty -- safe + var object = create(Object.defineProperty({}, 'name', { get: function () { + return this === object; + } })); + if (nativeErrorToString.call(object) !== 'true') return true; + } + // FF10- does not properly handle non-strings + return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1' + // IE8 does not properly handle defaults + || nativeErrorToString.call({}) !== 'Error'; +}); + +module.exports = INCORRECT_TO_STRING ? function toString() { + var O = anObject(this); + var name = normalizeStringArgument(O.name, 'Error'); + var message = normalizeStringArgument(O.message); + return !name ? message : !message ? name : name + ': ' + message; +} : nativeErrorToString; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/export.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/internals/export.js ***! + \**************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "./node_modules/core-js/internals/define-global-property.js"); +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "./node_modules/core-js/internals/copy-constructor-properties.js"); +var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/core-js/internals/is-forced.js"); + +/* + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key +*/ +module.exports = function (options, source) { + var TARGET = options.target; + var GLOBAL = options.global; + var STATIC = options.stat; + var FORCED, target, key, targetProperty, sourceProperty, descriptor; + if (GLOBAL) { + target = global; + } else if (STATIC) { + target = global[TARGET] || defineGlobalProperty(TARGET, {}); + } else { + target = (global[TARGET] || {}).prototype; + } + if (target) for (key in source) { + sourceProperty = source[key]; + if (options.dontCallGetSet) { + descriptor = getOwnPropertyDescriptor(target, key); + targetProperty = descriptor && descriptor.value; + } else targetProperty = target[key]; + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); + // contained in target + if (!FORCED && targetProperty !== undefined) { + if (typeof sourceProperty == typeof targetProperty) continue; + copyConstructorProperties(sourceProperty, targetProperty); + } + // add a flag to not completely full polyfills + if (options.sham || (targetProperty && targetProperty.sham)) { + createNonEnumerableProperty(sourceProperty, 'sham', true); + } + defineBuiltIn(target, key, sourceProperty, options); + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/fails.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/internals/fails.js ***! + \*************************************************/ +/***/ (function(module) { + +"use strict"; + +module.exports = function (exec) { + try { + return !!exec(); + } catch (error) { + return true; + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js": +/*!******************************************************************************!*\ + !*** ./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js ***! + \******************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove from `core-js@4` since it's moved to entry points +__webpack_require__(/*! ../modules/es.regexp.exec */ "./node_modules/core-js/modules/es.regexp.exec.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js/internals/function-uncurry-this-clause.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ "./node_modules/core-js/internals/regexp-exec.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); + +var SPECIES = wellKnownSymbol('species'); +var RegExpPrototype = RegExp.prototype; + +module.exports = function (KEY, exec, FORCED, SHAM) { + var SYMBOL = wellKnownSymbol(KEY); + + var DELEGATES_TO_SYMBOL = !fails(function () { + // String methods call symbol-named RegEp methods + var O = {}; + O[SYMBOL] = function () { return 7; }; + return ''[KEY](O) !== 7; + }); + + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { + // Symbol-named RegExp methods call .exec + var execCalled = false; + var re = /a/; + + if (KEY === 'split') { + // We can't use real regex here since it causes deoptimization + // and serious performance degradation in V8 + // https://github.com/zloirock/core-js/issues/306 + re = {}; + // RegExp[@@split] doesn't call the regex's exec method, but first creates + // a new one. We need to return the patched regex when creating the new one. + re.constructor = {}; + re.constructor[SPECIES] = function () { return re; }; + re.flags = ''; + re[SYMBOL] = /./[SYMBOL]; + } + + re.exec = function () { + execCalled = true; + return null; + }; + + re[SYMBOL](''); + return !execCalled; + }); + + if ( + !DELEGATES_TO_SYMBOL || + !DELEGATES_TO_EXEC || + FORCED + ) { + var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]); + var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { + var uncurriedNativeMethod = uncurryThis(nativeMethod); + var $exec = regexp.exec; + if ($exec === regexpExec || $exec === RegExpPrototype.exec) { + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { + // The native String method already delegates to @@method (this + // polyfilled function), leasing to infinite recursion. + // We avoid it by directly calling the native @@method method. + return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) }; + } + return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; + } + return { done: false }; + }); + + defineBuiltIn(String.prototype, KEY, methods[0]); + defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); + } + + if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/flatten-into-array.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/flatten-into-array.js ***! + \**************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "./node_modules/core-js/internals/does-not-exceed-safe-integer.js"); +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); + +// `FlattenIntoArray` abstract operation +// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray +var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { + var targetIndex = start; + var sourceIndex = 0; + var mapFn = mapper ? bind(mapper, thisArg) : false; + var element, elementLen; + + while (sourceIndex < sourceLen) { + if (sourceIndex in source) { + element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; + + if (depth > 0 && isArray(element)) { + elementLen = lengthOfArrayLike(element); + targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1; + } else { + doesNotExceedSafeInteger(targetIndex + 1); + target[targetIndex] = element; + } + + targetIndex++; + } + sourceIndex++; + } + return targetIndex; +}; + +module.exports = flattenIntoArray; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/freezing.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/internals/freezing.js ***! + \****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +module.exports = !fails(function () { + // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing + return Object.isExtensible(Object.preventExtensions({})); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/function-apply.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/function-apply.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js/internals/function-bind-native.js"); + +var FunctionPrototype = Function.prototype; +var apply = FunctionPrototype.apply; +var call = FunctionPrototype.call; + +// eslint-disable-next-line es/no-reflect -- safe +module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { + return call.apply(apply, arguments); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/function-bind-context.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/internals/function-bind-context.js ***! + \*****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js/internals/function-uncurry-this-clause.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js/internals/function-bind-native.js"); + +var bind = uncurryThis(uncurryThis.bind); + +// optional / simple context binding +module.exports = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { + return fn.apply(that, arguments); + }; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/function-bind-native.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/function-bind-native.js ***! + \****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +module.exports = !fails(function () { + // eslint-disable-next-line es/no-function-prototype-bind -- safe + var test = (function () { /* empty */ }).bind(); + // eslint-disable-next-line no-prototype-builtins -- safe + return typeof test != 'function' || test.hasOwnProperty('prototype'); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/function-bind.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/function-bind.js ***! + \*********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/core-js/internals/array-slice.js"); +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js/internals/function-bind-native.js"); + +var $Function = Function; +var concat = uncurryThis([].concat); +var join = uncurryThis([].join); +var factories = {}; + +var construct = function (C, argsLength, args) { + if (!hasOwn(factories, argsLength)) { + var list = []; + var i = 0; + for (; i < argsLength; i++) list[i] = 'a[' + i + ']'; + factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')'); + } return factories[argsLength](C, args); +}; + +// `Function.prototype.bind` method implementation +// https://tc39.es/ecma262/#sec-function.prototype.bind +// eslint-disable-next-line es/no-function-prototype-bind -- detection +module.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) { + var F = aCallable(this); + var Prototype = F.prototype; + var partArgs = arraySlice(arguments, 1); + var boundFunction = function bound(/* args... */) { + var args = concat(partArgs, arraySlice(arguments)); + return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args); + }; + if (isObject(Prototype)) boundFunction.prototype = Prototype; + return boundFunction; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/function-call.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/function-call.js ***! + \*********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js/internals/function-bind-native.js"); + +var call = Function.prototype.call; + +module.exports = NATIVE_BIND ? call.bind(call) : function () { + return call.apply(call, arguments); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/function-name.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/function-name.js ***! + \*********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); + +var FunctionPrototype = Function.prototype; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; + +var EXISTS = hasOwn(FunctionPrototype, 'name'); +// additional protection from minified / mangled / dropped function names +var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; +var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); + +module.exports = { + EXISTS: EXISTS, + PROPER: PROPER, + CONFIGURABLE: CONFIGURABLE +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/function-uncurry-this-accessor.js": +/*!**************************************************************************!*\ + !*** ./node_modules/core-js/internals/function-uncurry-this-accessor.js ***! + \**************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); + +module.exports = function (object, key, method) { + try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); + } catch (error) { /* empty */ } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/function-uncurry-this-clause.js": +/*!************************************************************************!*\ + !*** ./node_modules/core-js/internals/function-uncurry-this-clause.js ***! + \************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +module.exports = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis(fn); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/function-uncurry-this.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/internals/function-uncurry-this.js ***! + \*****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/core-js/internals/function-bind-native.js"); + +var FunctionPrototype = Function.prototype; +var call = FunctionPrototype.call; +var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); + +module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { + return function () { + return call.apply(fn, arguments); + }; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/get-built-in.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/get-built-in.js ***! + \********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); + +var aFunction = function (argument) { + return isCallable(argument) ? argument : undefined; +}; + +module.exports = function (namespace, method) { + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/get-iterator-method.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/internals/get-iterator-method.js ***! + \***************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); +var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var ITERATOR = wellKnownSymbol('iterator'); + +module.exports = function (it) { + if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) + || getMethod(it, '@@iterator') + || Iterators[classof(it)]; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/get-iterator.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/get-iterator.js ***! + \********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); +var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "./node_modules/core-js/internals/get-iterator-method.js"); + +var $TypeError = TypeError; + +module.exports = function (argument, usingIterator) { + var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; + if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); + throw $TypeError(tryToString(argument) + ' is not iterable'); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/get-json-replacer-function.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/internals/get-json-replacer-function.js ***! + \**********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); + +var push = uncurryThis([].push); + +module.exports = function (replacer) { + if (isCallable(replacer)) return replacer; + if (!isArray(replacer)) return; + var rawLength = replacer.length; + var keys = []; + for (var i = 0; i < rawLength; i++) { + var element = replacer[i]; + if (typeof element == 'string') push(keys, element); + else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element)); + } + var keysLength = keys.length; + var root = true; + return function (key, value) { + if (root) { + root = false; + return value; + } + if (isArray(this)) return value; + for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value; + }; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/get-method.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/get-method.js ***! + \******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); + +// `GetMethod` abstract operation +// https://tc39.es/ecma262/#sec-getmethod +module.exports = function (V, P) { + var func = V[P]; + return isNullOrUndefined(func) ? undefined : aCallable(func); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/get-substitution.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/get-substitution.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); + +var floor = Math.floor; +var charAt = uncurryThis(''.charAt); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); +// eslint-disable-next-line redos/no-vulnerable -- safe +var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; + +// `GetSubstitution` abstract operation +// https://tc39.es/ecma262/#sec-getsubstitution +module.exports = function (matched, str, position, captures, namedCaptures, replacement) { + var tailPos = position + matched.length; + var m = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== undefined) { + namedCaptures = toObject(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return replace(replacement, symbols, function (match, ch) { + var capture; + switch (charAt(ch, 0)) { + case '$': return '$'; + case '&': return matched; + case '`': return stringSlice(str, 0, position); + case "'": return stringSlice(str, tailPos); + case '<': + capture = namedCaptures[stringSlice(ch, 1, -1)]; + break; + default: // \d\d? + var n = +ch; + if (n === 0) return match; + if (n > m) { + var f = floor(n / 10); + if (f === 0) return match; + if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1); + return match; + } + capture = captures[n - 1]; + } + return capture === undefined ? '' : capture; + }); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/global.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/internals/global.js ***! + \**************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var check = function (it) { + return it && it.Math === Math && it; +}; + +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 +module.exports = + // eslint-disable-next-line es/no-global-this -- safe + check(typeof globalThis == 'object' && globalThis) || + check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe + check(typeof self == 'object' && self) || + check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || + // eslint-disable-next-line no-new-func -- fallback + (function () { return this; })() || this || Function('return this')(); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/has-own-property.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/has-own-property.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); + +var hasOwnProperty = uncurryThis({}.hasOwnProperty); + +// `HasOwnProperty` abstract operation +// https://tc39.es/ecma262/#sec-hasownproperty +// eslint-disable-next-line es/no-object-hasown -- safe +module.exports = Object.hasOwn || function hasOwn(it, key) { + return hasOwnProperty(toObject(it), key); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/hidden-keys.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/hidden-keys.js ***! + \*******************************************************/ +/***/ (function(module) { + +"use strict"; + +module.exports = {}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/host-report-errors.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/host-report-errors.js ***! + \**************************************************************/ +/***/ (function(module) { + +"use strict"; + +module.exports = function (a, b) { + try { + // eslint-disable-next-line no-console -- safe + arguments.length === 1 ? console.error(a) : console.error(a, b); + } catch (error) { /* empty */ } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/html.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/internals/html.js ***! + \************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); + +module.exports = getBuiltIn('document', 'documentElement'); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/ie8-dom-define.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/ie8-dom-define.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var createElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/core-js/internals/document-create-element.js"); + +// Thanks to IE8 for its funny defineProperty +module.exports = !DESCRIPTORS && !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(createElement('div'), 'a', { + get: function () { return 7; } + }).a !== 7; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/ieee754.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/internals/ieee754.js ***! + \***************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// IEEE754 conversions based on https://github.com/feross/ieee754 +var sign = __webpack_require__(/*! ../internals/math-sign */ "./node_modules/core-js/internals/math-sign.js"); +var trunc = __webpack_require__(/*! ../internals/math-trunc */ "./node_modules/core-js/internals/math-trunc.js"); + +var $Array = Array; +var abs = Math.abs; +var pow = Math.pow; +var floor = Math.floor; +var log = Math.log; +var LN2 = Math.LN2; + +var roundToEven = function (number) { + var truncated = trunc(number); + var delta = abs(number - truncated); + if (delta > 0.5 || delta === 0.5 && truncated % 2 !== 0) { + return truncated + sign(number); + } return truncated; +}; + +var pack = function (number, mantissaLength, bytes) { + var buffer = $Array(bytes); + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0; + var s = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; + var index = 0; + var exponent, mantissa, c; + number = abs(number); + // eslint-disable-next-line no-self-compare -- NaN check + if (number !== number || number === Infinity) { + // eslint-disable-next-line no-self-compare -- NaN check + mantissa = number !== number ? 1 : 0; + exponent = eMax; + } else { + exponent = floor(log(number) / LN2); + c = pow(2, -exponent); + if (number * c < 1) { + exponent--; + c *= 2; + } + if (exponent + eBias >= 1) { + number += rt / c; + } else { + number += rt * pow(2, 1 - eBias); + } + if (number * c >= 2) { + exponent++; + c /= 2; + } + if (exponent + eBias >= eMax) { + mantissa = 0; + exponent = eMax; + } else if (exponent + eBias >= 1) { + mantissa = roundToEven((number * c - 1) * pow(2, mantissaLength)); + exponent += eBias; + } else { + mantissa = roundToEven(number * pow(2, eBias - 1) * pow(2, mantissaLength)); + exponent = 0; + } + } + while (mantissaLength >= 8) { + buffer[index++] = mantissa & 255; + mantissa /= 256; + mantissaLength -= 8; + } + exponent = exponent << mantissaLength | mantissa; + exponentLength += mantissaLength; + while (exponentLength > 0) { + buffer[index++] = exponent & 255; + exponent /= 256; + exponentLength -= 8; + } + buffer[--index] |= s * 128; + return buffer; +}; + +var unpack = function (buffer, mantissaLength) { + var bytes = buffer.length; + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var nBits = exponentLength - 7; + var index = bytes - 1; + var s = buffer[index--]; + var exponent = s & 127; + var mantissa; + s >>= 7; + while (nBits > 0) { + exponent = exponent * 256 + buffer[index--]; + nBits -= 8; + } + mantissa = exponent & (1 << -nBits) - 1; + exponent >>= -nBits; + nBits += mantissaLength; + while (nBits > 0) { + mantissa = mantissa * 256 + buffer[index--]; + nBits -= 8; + } + if (exponent === 0) { + exponent = 1 - eBias; + } else if (exponent === eMax) { + return mantissa ? NaN : s ? -Infinity : Infinity; + } else { + mantissa += pow(2, mantissaLength); + exponent -= eBias; + } return (s ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength); +}; + +module.exports = { + pack: pack, + unpack: unpack +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/indexed-object.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/indexed-object.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); + +var $Object = Object; +var split = uncurryThis(''.split); + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +module.exports = fails(function () { + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 + // eslint-disable-next-line no-prototype-builtins -- safe + return !$Object('z').propertyIsEnumerable(0); +}) ? function (it) { + return classof(it) === 'String' ? split(it, '') : $Object(it); +} : $Object; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/inherit-if-required.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/internals/inherit-if-required.js ***! + \***************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); + +// makes subclassing work correct for wrapped built-ins +module.exports = function ($this, dummy, Wrapper) { + var NewTarget, NewTargetPrototype; + if ( + // it can work only with native `setPrototypeOf` + setPrototypeOf && + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this + isCallable(NewTarget = dummy.constructor) && + NewTarget !== Wrapper && + isObject(NewTargetPrototype = NewTarget.prototype) && + NewTargetPrototype !== Wrapper.prototype + ) setPrototypeOf($this, NewTargetPrototype); + return $this; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/inspect-source.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/inspect-source.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var store = __webpack_require__(/*! ../internals/shared-store */ "./node_modules/core-js/internals/shared-store.js"); + +var functionToString = uncurryThis(Function.toString); + +// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper +if (!isCallable(store.inspectSource)) { + store.inspectSource = function (it) { + return functionToString(it); + }; +} + +module.exports = store.inspectSource; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/install-error-cause.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/internals/install-error-cause.js ***! + \***************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); + +// `InstallErrorCause` abstract operation +// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause +module.exports = function (O, options) { + if (isObject(options) && 'cause' in options) { + createNonEnumerableProperty(O, 'cause', options.cause); + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/internal-metadata.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/internal-metadata.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); +var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js"); +var getOwnPropertyNamesExternalModule = __webpack_require__(/*! ../internals/object-get-own-property-names-external */ "./node_modules/core-js/internals/object-get-own-property-names-external.js"); +var isExtensible = __webpack_require__(/*! ../internals/object-is-extensible */ "./node_modules/core-js/internals/object-is-extensible.js"); +var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js/internals/uid.js"); +var FREEZING = __webpack_require__(/*! ../internals/freezing */ "./node_modules/core-js/internals/freezing.js"); + +var REQUIRED = false; +var METADATA = uid('meta'); +var id = 0; + +var setMetadata = function (it) { + defineProperty(it, METADATA, { value: { + objectID: 'O' + id++, // object ID + weakData: {} // weak collections IDs + } }); +}; + +var fastKey = function (it, create) { + // return a primitive with prefix + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!hasOwn(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMetadata(it); + // return object ID + } return it[METADATA].objectID; +}; + +var getWeakData = function (it, create) { + if (!hasOwn(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMetadata(it); + // return the store of weak collections IDs + } return it[METADATA].weakData; +}; + +// add metadata on freeze-family methods calling +var onFreeze = function (it) { + if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it); + return it; +}; + +var enable = function () { + meta.enable = function () { /* empty */ }; + REQUIRED = true; + var getOwnPropertyNames = getOwnPropertyNamesModule.f; + var splice = uncurryThis([].splice); + var test = {}; + test[METADATA] = 1; + + // prevent exposing of metadata key + if (getOwnPropertyNames(test).length) { + getOwnPropertyNamesModule.f = function (it) { + var result = getOwnPropertyNames(it); + for (var i = 0, length = result.length; i < length; i++) { + if (result[i] === METADATA) { + splice(result, i, 1); + break; + } + } return result; + }; + + $({ target: 'Object', stat: true, forced: true }, { + getOwnPropertyNames: getOwnPropertyNamesExternalModule.f + }); + } +}; + +var meta = module.exports = { + enable: enable, + fastKey: fastKey, + getWeakData: getWeakData, + onFreeze: onFreeze +}; + +hiddenKeys[METADATA] = true; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/internal-state.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/internal-state.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "./node_modules/core-js/internals/weak-map-basic-detection.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var shared = __webpack_require__(/*! ../internals/shared-store */ "./node_modules/core-js/internals/shared-store.js"); +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "./node_modules/core-js/internals/shared-key.js"); +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); + +var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; +var TypeError = global.TypeError; +var WeakMap = global.WeakMap; +var set, get, has; + +var enforce = function (it) { + return has(it) ? get(it) : set(it, {}); +}; + +var getterFor = function (TYPE) { + return function (it) { + var state; + if (!isObject(it) || (state = get(it)).type !== TYPE) { + throw TypeError('Incompatible receiver, ' + TYPE + ' required'); + } return state; + }; +}; + +if (NATIVE_WEAK_MAP || shared.state) { + var store = shared.state || (shared.state = new WeakMap()); + /* eslint-disable no-self-assign -- prototype methods protection */ + store.get = store.get; + store.has = store.has; + store.set = store.set; + /* eslint-enable no-self-assign -- prototype methods protection */ + set = function (it, metadata) { + if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + store.set(it, metadata); + return metadata; + }; + get = function (it) { + return store.get(it) || {}; + }; + has = function (it) { + return store.has(it); + }; +} else { + var STATE = sharedKey('state'); + hiddenKeys[STATE] = true; + set = function (it, metadata) { + if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + createNonEnumerableProperty(it, STATE, metadata); + return metadata; + }; + get = function (it) { + return hasOwn(it, STATE) ? it[STATE] : {}; + }; + has = function (it) { + return hasOwn(it, STATE); + }; +} + +module.exports = { + set: set, + get: get, + has: has, + enforce: enforce, + getterFor: getterFor +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-array-iterator-method.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/is-array-iterator-method.js ***! + \********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); + +var ITERATOR = wellKnownSymbol('iterator'); +var ArrayPrototype = Array.prototype; + +// check on default Array iterator +module.exports = function (it) { + return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-array.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/internals/is-array.js ***! + \****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); + +// `IsArray` abstract operation +// https://tc39.es/ecma262/#sec-isarray +// eslint-disable-next-line es/no-array-isarray -- safe +module.exports = Array.isArray || function isArray(argument) { + return classof(argument) === 'Array'; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-big-int-array.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/is-big-int-array.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); + +module.exports = function (it) { + var klass = classof(it); + return klass === 'BigInt64Array' || klass === 'BigUint64Array'; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-callable.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/is-callable.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "./node_modules/core-js/internals/document-all.js"); + +var documentAll = $documentAll.all; + +// `IsCallable` abstract operation +// https://tc39.es/ecma262/#sec-iscallable +module.exports = $documentAll.IS_HTMLDDA ? function (argument) { + return typeof argument == 'function' || argument === documentAll; +} : function (argument) { + return typeof argument == 'function'; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-constructor.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/is-constructor.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "./node_modules/core-js/internals/inspect-source.js"); + +var noop = function () { /* empty */ }; +var empty = []; +var construct = getBuiltIn('Reflect', 'construct'); +var constructorRegExp = /^\s*(?:class|function)\b/; +var exec = uncurryThis(constructorRegExp.exec); +var INCORRECT_TO_STRING = !constructorRegExp.exec(noop); + +var isConstructorModern = function isConstructor(argument) { + if (!isCallable(argument)) return false; + try { + construct(noop, empty, argument); + return true; + } catch (error) { + return false; + } +}; + +var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable(argument)) return false; + switch (classof(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } +}; + +isConstructorLegacy.sham = true; + +// `IsConstructor` abstract operation +// https://tc39.es/ecma262/#sec-isconstructor +module.exports = !construct || fails(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; +}) ? isConstructorLegacy : isConstructorModern; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-data-descriptor.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/is-data-descriptor.js ***! + \**************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); + +module.exports = function (descriptor) { + return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable')); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-forced.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/is-forced.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); + +var replacement = /#|\.prototype\./; + +var isForced = function (feature, detection) { + var value = data[normalize(feature)]; + return value === POLYFILL ? true + : value === NATIVE ? false + : isCallable(detection) ? fails(detection) + : !!detection; +}; + +var normalize = isForced.normalize = function (string) { + return String(string).replace(replacement, '.').toLowerCase(); +}; + +var data = isForced.data = {}; +var NATIVE = isForced.NATIVE = 'N'; +var POLYFILL = isForced.POLYFILL = 'P'; + +module.exports = isForced; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-integral-number.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/is-integral-number.js ***! + \**************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); + +var floor = Math.floor; + +// `IsIntegralNumber` abstract operation +// https://tc39.es/ecma262/#sec-isintegralnumber +// eslint-disable-next-line es/no-number-isinteger -- safe +module.exports = Number.isInteger || function isInteger(it) { + return !isObject(it) && isFinite(it) && floor(it) === it; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-null-or-undefined.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/is-null-or-undefined.js ***! + \****************************************************************/ +/***/ (function(module) { + +"use strict"; + +// we can't use just `it == null` since of `document.all` special case +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec +module.exports = function (it) { + return it === null || it === undefined; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-object.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/is-object.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var $documentAll = __webpack_require__(/*! ../internals/document-all */ "./node_modules/core-js/internals/document-all.js"); + +var documentAll = $documentAll.all; + +module.exports = $documentAll.IS_HTMLDDA ? function (it) { + return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll; +} : function (it) { + return typeof it == 'object' ? it !== null : isCallable(it); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-pure.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/internals/is-pure.js ***! + \***************************************************/ +/***/ (function(module) { + +"use strict"; + +module.exports = false; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-regexp.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/is-regexp.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var MATCH = wellKnownSymbol('match'); + +// `IsRegExp` abstract operation +// https://tc39.es/ecma262/#sec-isregexp +module.exports = function (it) { + var isRegExp; + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp'); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/is-symbol.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/is-symbol.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); +var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "./node_modules/core-js/internals/use-symbol-as-uid.js"); + +var $Object = Object; + +module.exports = USE_SYMBOL_AS_UID ? function (it) { + return typeof it == 'symbol'; +} : function (it) { + var $Symbol = getBuiltIn('Symbol'); + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/iterate.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/internals/iterate.js ***! + \***************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); +var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "./node_modules/core-js/internals/is-array-iterator-method.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); +var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "./node_modules/core-js/internals/get-iterator.js"); +var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "./node_modules/core-js/internals/get-iterator-method.js"); +var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "./node_modules/core-js/internals/iterator-close.js"); + +var $TypeError = TypeError; + +var Result = function (stopped, result) { + this.stopped = stopped; + this.result = result; +}; + +var ResultPrototype = Result.prototype; + +module.exports = function (iterable, unboundFunction, options) { + var that = options && options.that; + var AS_ENTRIES = !!(options && options.AS_ENTRIES); + var IS_RECORD = !!(options && options.IS_RECORD); + var IS_ITERATOR = !!(options && options.IS_ITERATOR); + var INTERRUPTED = !!(options && options.INTERRUPTED); + var fn = bind(unboundFunction, that); + var iterator, iterFn, index, length, result, next, step; + + var stop = function (condition) { + if (iterator) iteratorClose(iterator, 'normal', condition); + return new Result(true, condition); + }; + + var callFn = function (value) { + if (AS_ENTRIES) { + anObject(value); + return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); + } return INTERRUPTED ? fn(value, stop) : fn(value); + }; + + if (IS_RECORD) { + iterator = iterable.iterator; + } else if (IS_ITERATOR) { + iterator = iterable; + } else { + iterFn = getIteratorMethod(iterable); + if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable'); + // optimisation for array iterators + if (isArrayIteratorMethod(iterFn)) { + for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { + result = callFn(iterable[index]); + if (result && isPrototypeOf(ResultPrototype, result)) return result; + } return new Result(false); + } + iterator = getIterator(iterable, iterFn); + } + + next = IS_RECORD ? iterable.next : iterator.next; + while (!(step = call(next, iterator)).done) { + try { + result = callFn(step.value); + } catch (error) { + iteratorClose(iterator, 'throw', error); + } + if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; + } return new Result(false); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/iterator-close.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/iterator-close.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); + +module.exports = function (iterator, kind, value) { + var innerResult, innerError; + anObject(iterator); + try { + innerResult = getMethod(iterator, 'return'); + if (!innerResult) { + if (kind === 'throw') throw value; + return value; + } + innerResult = call(innerResult, iterator); + } catch (error) { + innerError = true; + innerResult = error; + } + if (kind === 'throw') throw value; + if (innerError) throw innerResult; + anObject(innerResult); + return value; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/iterator-create-constructor.js": +/*!***********************************************************************!*\ + !*** ./node_modules/core-js/internals/iterator-create-constructor.js ***! + \***********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "./node_modules/core-js/internals/iterators-core.js").IteratorPrototype); +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); +var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); + +var returnThis = function () { return this; }; + +module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { + var TO_STRING_TAG = NAME + ' Iterator'; + IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); + setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); + Iterators[TO_STRING_TAG] = returnThis; + return IteratorConstructor; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/iterator-define.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/iterator-define.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var FunctionName = __webpack_require__(/*! ../internals/function-name */ "./node_modules/core-js/internals/function-name.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ "./node_modules/core-js/internals/iterator-create-constructor.js"); +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); +var IteratorsCore = __webpack_require__(/*! ../internals/iterators-core */ "./node_modules/core-js/internals/iterators-core.js"); + +var PROPER_FUNCTION_NAME = FunctionName.PROPER; +var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; +var IteratorPrototype = IteratorsCore.IteratorPrototype; +var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; +var ITERATOR = wellKnownSymbol('iterator'); +var KEYS = 'keys'; +var VALUES = 'values'; +var ENTRIES = 'entries'; + +var returnThis = function () { return this; }; + +module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { + createIteratorConstructor(IteratorConstructor, NAME, next); + + var getIterationMethod = function (KIND) { + if (KIND === DEFAULT && defaultIterator) return defaultIterator; + if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND]; + + switch (KIND) { + case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; + case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; + case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; + } + + return function () { return new IteratorConstructor(this); }; + }; + + var TO_STRING_TAG = NAME + ' Iterator'; + var INCORRECT_VALUES_NAME = false; + var IterablePrototype = Iterable.prototype; + var nativeIterator = IterablePrototype[ITERATOR] + || IterablePrototype['@@iterator'] + || DEFAULT && IterablePrototype[DEFAULT]; + var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); + var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; + var CurrentIteratorPrototype, methods, KEY; + + // fix native + if (anyNativeIterator) { + CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); + if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { + if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { + if (setPrototypeOf) { + setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); + } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { + defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis); + } + } + // Set @@toStringTag to native iterators + setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); + if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; + } + } + + // fix Array.prototype.{ values, @@iterator }.name in V8 / FF + if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) { + if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { + createNonEnumerableProperty(IterablePrototype, 'name', VALUES); + } else { + INCORRECT_VALUES_NAME = true; + defaultIterator = function values() { return call(nativeIterator, this); }; + } + } + + // export additional methods + if (DEFAULT) { + methods = { + values: getIterationMethod(VALUES), + keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), + entries: getIterationMethod(ENTRIES) + }; + if (FORCED) for (KEY in methods) { + if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { + defineBuiltIn(IterablePrototype, KEY, methods[KEY]); + } + } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); + } + + // define iterator + if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { + defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); + } + Iterators[NAME] = defaultIterator; + + return methods; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/iterators-core.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/iterators-core.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); + +var ITERATOR = wellKnownSymbol('iterator'); +var BUGGY_SAFARI_ITERATORS = false; + +// `%IteratorPrototype%` object +// https://tc39.es/ecma262/#sec-%iteratorprototype%-object +var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; + +/* eslint-disable es/no-array-prototype-keys -- safe */ +if ([].keys) { + arrayIterator = [].keys(); + // Safari 8 has buggy iterators w/o `next` + if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; + else { + PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); + if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; + } +} + +var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { + var test = {}; + // FF44- legacy iterators case + return IteratorPrototype[ITERATOR].call(test) !== test; +}); + +if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; +else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); + +// `%IteratorPrototype%[@@iterator]()` method +// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator +if (!isCallable(IteratorPrototype[ITERATOR])) { + defineBuiltIn(IteratorPrototype, ITERATOR, function () { + return this; + }); +} + +module.exports = { + IteratorPrototype: IteratorPrototype, + BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/iterators.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/iterators.js ***! + \*****************************************************/ +/***/ (function(module) { + +"use strict"; + +module.exports = {}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/length-of-array-like.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/length-of-array-like.js ***! + \****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); + +// `LengthOfArrayLike` abstract operation +// https://tc39.es/ecma262/#sec-lengthofarraylike +module.exports = function (obj) { + return toLength(obj.length); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/make-built-in.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/make-built-in.js ***! + \*********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "./node_modules/core-js/internals/function-name.js").CONFIGURABLE); +var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "./node_modules/core-js/internals/inspect-source.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); + +var enforceInternalState = InternalStateModule.enforce; +var getInternalState = InternalStateModule.get; +var $String = String; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; +var stringSlice = uncurryThis(''.slice); +var replace = uncurryThis(''.replace); +var join = uncurryThis([].join); + +var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; +}); + +var TEMPLATE = String(String).split('String'); + +var makeBuiltIn = module.exports = function (value, name, options) { + if (stringSlice($String(name), 0, 7) === 'Symbol(') { + name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; + } + if (options && options.getter) name = 'get ' + name; + if (options && options.setter) name = 'set ' + name; + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); + else value.name = name; + } + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { + defineProperty(value, 'length', { value: options.arity }); + } + try { + if (options && hasOwn(options, 'constructor') && options.constructor) { + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } + var state = enforceInternalState(value); + if (!hasOwn(state, 'source')) { + state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); + } return value; +}; + +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +// eslint-disable-next-line no-extend-native -- required +Function.prototype.toString = makeBuiltIn(function toString() { + return isCallable(this) && getInternalState(this).source || inspectSource(this); +}, 'toString'); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/map-helpers.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/map-helpers.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +// eslint-disable-next-line es/no-map -- safe +var MapPrototype = Map.prototype; + +module.exports = { + // eslint-disable-next-line es/no-map -- safe + Map: Map, + set: uncurryThis(MapPrototype.set), + get: uncurryThis(MapPrototype.get), + has: uncurryThis(MapPrototype.has), + remove: uncurryThis(MapPrototype['delete']), + proto: MapPrototype +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/math-expm1.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/math-expm1.js ***! + \******************************************************/ +/***/ (function(module) { + +"use strict"; + +// eslint-disable-next-line es/no-math-expm1 -- safe +var $expm1 = Math.expm1; +var exp = Math.exp; + +// `Math.expm1` method implementation +// https://tc39.es/ecma262/#sec-math.expm1 +module.exports = (!$expm1 + // Old FF bug + // eslint-disable-next-line no-loss-of-precision -- required for old engines + || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 + // Tor Browser bug + || $expm1(-2e-17) !== -2e-17 +) ? function expm1(x) { + var n = +x; + return n === 0 ? n : n > -1e-6 && n < 1e-6 ? n + n * n / 2 : exp(n) - 1; +} : $expm1; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/math-fround.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/math-fround.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var sign = __webpack_require__(/*! ../internals/math-sign */ "./node_modules/core-js/internals/math-sign.js"); + +var abs = Math.abs; +var pow = Math.pow; +var EPSILON = pow(2, -52); +var EPSILON32 = pow(2, -23); +var MAX32 = pow(2, 127) * (2 - EPSILON32); +var MIN32 = pow(2, -126); + +var roundTiesToEven = function (n) { + return n + 1 / EPSILON - 1 / EPSILON; +}; + +// `Math.fround` method implementation +// https://tc39.es/ecma262/#sec-math.fround +// eslint-disable-next-line es/no-math-fround -- safe +module.exports = Math.fround || function fround(x) { + var n = +x; + var $abs = abs(n); + var $sign = sign(n); + var a, result; + if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; + a = (1 + EPSILON32 / EPSILON) * $abs; + result = a - (a - $abs); + // eslint-disable-next-line no-self-compare -- NaN check + if (result > MAX32 || result !== result) return $sign * Infinity; + return $sign * result; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/math-log10.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/math-log10.js ***! + \******************************************************/ +/***/ (function(module) { + +"use strict"; + +var log = Math.log; +var LOG10E = Math.LOG10E; + +// eslint-disable-next-line es/no-math-log10 -- safe +module.exports = Math.log10 || function log10(x) { + return log(x) * LOG10E; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/math-log1p.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/math-log1p.js ***! + \******************************************************/ +/***/ (function(module) { + +"use strict"; + +var log = Math.log; + +// `Math.log1p` method implementation +// https://tc39.es/ecma262/#sec-math.log1p +// eslint-disable-next-line es/no-math-log1p -- safe +module.exports = Math.log1p || function log1p(x) { + var n = +x; + return n > -1e-8 && n < 1e-8 ? n - n * n / 2 : log(1 + n); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/math-sign.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/math-sign.js ***! + \*****************************************************/ +/***/ (function(module) { + +"use strict"; + +// `Math.sign` method implementation +// https://tc39.es/ecma262/#sec-math.sign +// eslint-disable-next-line es/no-math-sign -- safe +module.exports = Math.sign || function sign(x) { + var n = +x; + // eslint-disable-next-line no-self-compare -- NaN check + return n === 0 || n !== n ? n : n < 0 ? -1 : 1; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/math-trunc.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/math-trunc.js ***! + \******************************************************/ +/***/ (function(module) { + +"use strict"; + +var ceil = Math.ceil; +var floor = Math.floor; + +// `Math.trunc` method +// https://tc39.es/ecma262/#sec-math.trunc +// eslint-disable-next-line es/no-math-trunc -- safe +module.exports = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor : ceil)(n); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/microtask.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/microtask.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); +var macrotask = (__webpack_require__(/*! ../internals/task */ "./node_modules/core-js/internals/task.js").set); +var Queue = __webpack_require__(/*! ../internals/queue */ "./node_modules/core-js/internals/queue.js"); +var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "./node_modules/core-js/internals/engine-is-ios.js"); +var IS_IOS_PEBBLE = __webpack_require__(/*! ../internals/engine-is-ios-pebble */ "./node_modules/core-js/internals/engine-is-ios-pebble.js"); +var IS_WEBOS_WEBKIT = __webpack_require__(/*! ../internals/engine-is-webos-webkit */ "./node_modules/core-js/internals/engine-is-webos-webkit.js"); +var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); + +var MutationObserver = global.MutationObserver || global.WebKitMutationObserver; +var document = global.document; +var process = global.process; +var Promise = global.Promise; +// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask` +var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask'); +var microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; +var notify, toggle, node, promise, then; + +// modern engines have queueMicrotask method +if (!microtask) { + var queue = new Queue(); + + var flush = function () { + var parent, fn; + if (IS_NODE && (parent = process.domain)) parent.exit(); + while (fn = queue.get()) try { + fn(); + } catch (error) { + if (queue.head) notify(); + throw error; + } + if (parent) parent.enter(); + }; + + // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 + // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 + if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) { + toggle = true; + node = document.createTextNode(''); + new MutationObserver(flush).observe(node, { characterData: true }); + notify = function () { + node.data = toggle = !toggle; + }; + // environments with maybe non-completely correct, but existent Promise + } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) { + // Promise.resolve without an argument throws an error in LG WebOS 2 + promise = Promise.resolve(undefined); + // workaround of WebKit ~ iOS Safari 10.1 bug + promise.constructor = Promise; + then = bind(promise.then, promise); + notify = function () { + then(flush); + }; + // Node.js without promises + } else if (IS_NODE) { + notify = function () { + process.nextTick(flush); + }; + // for other environments - macrotask based on: + // - setImmediate + // - MessageChannel + // - window.postMessage + // - onreadystatechange + // - setTimeout + } else { + // `webpack` dev server bug on IE global methods - use bind(fn, global) + macrotask = bind(macrotask, global); + notify = function () { + macrotask(flush); + }; + } + + microtask = function (fn) { + if (!queue.head) notify(); + queue.add(fn); + }; +} + +module.exports = microtask; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/new-promise-capability.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/internals/new-promise-capability.js ***! + \******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); + +var $TypeError = TypeError; + +var PromiseCapability = function (C) { + var resolve, reject; + this.promise = new C(function ($$resolve, $$reject) { + if (resolve !== undefined || reject !== undefined) throw $TypeError('Bad Promise constructor'); + resolve = $$resolve; + reject = $$reject; + }); + this.resolve = aCallable(resolve); + this.reject = aCallable(reject); +}; + +// `NewPromiseCapability` abstract operation +// https://tc39.es/ecma262/#sec-newpromisecapability +module.exports.f = function (C) { + return new PromiseCapability(C); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/normalize-string-argument.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/internals/normalize-string-argument.js ***! + \*********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); + +module.exports = function (argument, $default) { + return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/not-a-regexp.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/not-a-regexp.js ***! + \********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "./node_modules/core-js/internals/is-regexp.js"); + +var $TypeError = TypeError; + +module.exports = function (it) { + if (isRegExp(it)) { + throw $TypeError("The method doesn't accept regular expressions"); + } return it; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/number-is-finite.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/number-is-finite.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); + +var globalIsFinite = global.isFinite; + +// `Number.isFinite` method +// https://tc39.es/ecma262/#sec-number.isfinite +// eslint-disable-next-line es/no-number-isfinite -- safe +module.exports = Number.isFinite || function isFinite(it) { + return typeof it == 'number' && globalIsFinite(it); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/number-parse-float.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/number-parse-float.js ***! + \**************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var trim = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/core-js/internals/string-trim.js").trim); +var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "./node_modules/core-js/internals/whitespaces.js"); + +var charAt = uncurryThis(''.charAt); +var $parseFloat = global.parseFloat; +var Symbol = global.Symbol; +var ITERATOR = Symbol && Symbol.iterator; +var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity + // MS Edge 18- broken with boxed symbols + || (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); })); + +// `parseFloat` method +// https://tc39.es/ecma262/#sec-parsefloat-string +module.exports = FORCED ? function parseFloat(string) { + var trimmedString = trim(toString(string)); + var result = $parseFloat(trimmedString); + return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result; +} : $parseFloat; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/number-parse-int.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/number-parse-int.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var trim = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/core-js/internals/string-trim.js").trim); +var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "./node_modules/core-js/internals/whitespaces.js"); + +var $parseInt = global.parseInt; +var Symbol = global.Symbol; +var ITERATOR = Symbol && Symbol.iterator; +var hex = /^[+-]?0x/i; +var exec = uncurryThis(hex.exec); +var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22 + // MS Edge 18- broken with boxed symbols + || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); })); + +// `parseInt` method +// https://tc39.es/ecma262/#sec-parseint-string-radix +module.exports = FORCED ? function parseInt(string, radix) { + var S = trim(toString(string)); + return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10)); +} : $parseInt; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-assign.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/object-assign.js ***! + \*********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "./node_modules/core-js/internals/object-keys.js"); +var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "./node_modules/core-js/internals/object-get-own-property-symbols.js"); +var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "./node_modules/core-js/internals/object-property-is-enumerable.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/core-js/internals/indexed-object.js"); + +// eslint-disable-next-line es/no-object-assign -- safe +var $assign = Object.assign; +// eslint-disable-next-line es/no-object-defineproperty -- required for testing +var defineProperty = Object.defineProperty; +var concat = uncurryThis([].concat); + +// `Object.assign` method +// https://tc39.es/ecma262/#sec-object.assign +module.exports = !$assign || fails(function () { + // should have correct order of operations (Edge bug) + if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { + enumerable: true, + get: function () { + defineProperty(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol('assign detection'); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet; +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` + var T = toObject(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + var propertyIsEnumerable = propertyIsEnumerableModule.f; + while (argumentsLength > index) { + var S = IndexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key]; + } + } return T; +} : $assign; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-create.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/object-create.js ***! + \*********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +/* global ActiveXObject -- old IE, WSH */ +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "./node_modules/core-js/internals/object-define-properties.js"); +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "./node_modules/core-js/internals/enum-bug-keys.js"); +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); +var html = __webpack_require__(/*! ../internals/html */ "./node_modules/core-js/internals/html.js"); +var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/core-js/internals/document-create-element.js"); +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "./node_modules/core-js/internals/shared-key.js"); + +var GT = '>'; +var LT = '<'; +var PROTOTYPE = 'prototype'; +var SCRIPT = 'script'; +var IE_PROTO = sharedKey('IE_PROTO'); + +var EmptyConstructor = function () { /* empty */ }; + +var scriptTag = function (content) { + return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; +}; + +// Create object with fake `null` prototype: use ActiveX Object with cleared prototype +var NullProtoObjectViaActiveX = function (activeXDocument) { + activeXDocument.write(scriptTag('')); + activeXDocument.close(); + var temp = activeXDocument.parentWindow.Object; + activeXDocument = null; // avoid memory leak + return temp; +}; + +// Create object with fake `null` prototype: use iframe Object with cleared prototype +var NullProtoObjectViaIFrame = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = documentCreateElement('iframe'); + var JS = 'java' + SCRIPT + ':'; + var iframeDocument; + iframe.style.display = 'none'; + html.appendChild(iframe); + // https://github.com/zloirock/core-js/issues/475 + iframe.src = String(JS); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(scriptTag('document.F=Object')); + iframeDocument.close(); + return iframeDocument.F; +}; + +// Check for document.domain and active x support +// No need to use active x approach when document.domain is not set +// see https://github.com/es-shims/es5-shim/issues/150 +// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 +// avoid IE GC bug +var activeXDocument; +var NullProtoObject = function () { + try { + activeXDocument = new ActiveXObject('htmlfile'); + } catch (error) { /* ignore */ } + NullProtoObject = typeof document != 'undefined' + ? document.domain && activeXDocument + ? NullProtoObjectViaActiveX(activeXDocument) // old IE + : NullProtoObjectViaIFrame() + : NullProtoObjectViaActiveX(activeXDocument); // WSH + var length = enumBugKeys.length; + while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; + return NullProtoObject(); +}; + +hiddenKeys[IE_PROTO] = true; + +// `Object.create` method +// https://tc39.es/ecma262/#sec-object.create +// eslint-disable-next-line es/no-object-create -- safe +module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + EmptyConstructor[PROTOTYPE] = anObject(O); + result = new EmptyConstructor(); + EmptyConstructor[PROTOTYPE] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO] = O; + } else result = NullProtoObject(); + return Properties === undefined ? result : definePropertiesModule.f(result, Properties); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-define-properties.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/object-define-properties.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "./node_modules/core-js/internals/v8-prototype-define-bug.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "./node_modules/core-js/internals/object-keys.js"); + +// `Object.defineProperties` method +// https://tc39.es/ecma262/#sec-object.defineproperties +// eslint-disable-next-line es/no-object-defineproperties -- safe +exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var props = toIndexedObject(Properties); + var keys = objectKeys(Properties); + var length = keys.length; + var index = 0; + var key; + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); + return O; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-define-property.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/internals/object-define-property.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "./node_modules/core-js/internals/ie8-dom-define.js"); +var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "./node_modules/core-js/internals/v8-prototype-define-bug.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); + +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var $defineProperty = Object.defineProperty; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +var ENUMERABLE = 'enumerable'; +var CONFIGURABLE = 'configurable'; +var WRITABLE = 'writable'; + +// `Object.defineProperty` method +// https://tc39.es/ecma262/#sec-object.defineproperty +exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { + var current = $getOwnPropertyDescriptor(O, P); + if (current && current[WRITABLE]) { + O[P] = Attributes.value; + Attributes = { + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], + writable: false + }; + } + } return $defineProperty(O, P, Attributes); +} : $defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return $defineProperty(O, P, Attributes); + } catch (error) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-get-own-property-descriptor.js": +/*!******************************************************************************!*\ + !*** ./node_modules/core-js/internals/object-get-own-property-descriptor.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "./node_modules/core-js/internals/object-property-is-enumerable.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "./node_modules/core-js/internals/ie8-dom-define.js"); + +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + +// `Object.getOwnPropertyDescriptor` method +// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor +exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { + O = toIndexedObject(O); + P = toPropertyKey(P); + if (IE8_DOM_DEFINE) try { + return $getOwnPropertyDescriptor(O, P); + } catch (error) { /* empty */ } + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-get-own-property-names-external.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/core-js/internals/object-get-own-property-names-external.js ***! + \**********************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable es/no-object-getownpropertynames -- safe */ +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var $getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js").f); +var arraySlice = __webpack_require__(/*! ../internals/array-slice-simple */ "./node_modules/core-js/internals/array-slice-simple.js"); + +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames + ? Object.getOwnPropertyNames(window) : []; + +var getWindowNames = function (it) { + try { + return $getOwnPropertyNames(it); + } catch (error) { + return arraySlice(windowNames); + } +}; + +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window +module.exports.f = function getOwnPropertyNames(it) { + return windowNames && classof(it) === 'Window' + ? getWindowNames(it) + : $getOwnPropertyNames(toIndexedObject(it)); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-get-own-property-names.js": +/*!*************************************************************************!*\ + !*** ./node_modules/core-js/internals/object-get-own-property-names.js ***! + \*************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "./node_modules/core-js/internals/object-keys-internal.js"); +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "./node_modules/core-js/internals/enum-bug-keys.js"); + +var hiddenKeys = enumBugKeys.concat('length', 'prototype'); + +// `Object.getOwnPropertyNames` method +// https://tc39.es/ecma262/#sec-object.getownpropertynames +// eslint-disable-next-line es/no-object-getownpropertynames -- safe +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return internalObjectKeys(O, hiddenKeys); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-get-own-property-symbols.js": +/*!***************************************************************************!*\ + !*** ./node_modules/core-js/internals/object-get-own-property-symbols.js ***! + \***************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe +exports.f = Object.getOwnPropertySymbols; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-get-prototype-of.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/internals/object-get-prototype-of.js ***! + \*******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "./node_modules/core-js/internals/shared-key.js"); +var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "./node_modules/core-js/internals/correct-prototype-getter.js"); + +var IE_PROTO = sharedKey('IE_PROTO'); +var $Object = Object; +var ObjectPrototype = $Object.prototype; + +// `Object.getPrototypeOf` method +// https://tc39.es/ecma262/#sec-object.getprototypeof +// eslint-disable-next-line es/no-object-getprototypeof -- safe +module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { + var object = toObject(O); + if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; + var constructor = object.constructor; + if (isCallable(constructor) && object instanceof constructor) { + return constructor.prototype; + } return object instanceof $Object ? ObjectPrototype : null; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-is-extensible.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/object-is-extensible.js ***! + \****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(/*! ../internals/array-buffer-non-extensible */ "./node_modules/core-js/internals/array-buffer-non-extensible.js"); + +// eslint-disable-next-line es/no-object-isextensible -- safe +var $isExtensible = Object.isExtensible; +var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); }); + +// `Object.isExtensible` method +// https://tc39.es/ecma262/#sec-object.isextensible +module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) { + if (!isObject(it)) return false; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false; + return $isExtensible ? $isExtensible(it) : true; +} : $isExtensible; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-is-prototype-of.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/internals/object-is-prototype-of.js ***! + \******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +module.exports = uncurryThis({}.isPrototypeOf); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-keys-internal.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/object-keys-internal.js ***! + \****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "./node_modules/core-js/internals/array-includes.js").indexOf); +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); + +var push = uncurryThis([].push); + +module.exports = function (object, names) { + var O = toIndexedObject(object); + var i = 0; + var result = []; + var key; + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); + // Don't enum bug & hidden keys + while (names.length > i) if (hasOwn(O, key = names[i++])) { + ~indexOf(result, key) || push(result, key); + } + return result; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-keys.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/object-keys.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "./node_modules/core-js/internals/object-keys-internal.js"); +var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "./node_modules/core-js/internals/enum-bug-keys.js"); + +// `Object.keys` method +// https://tc39.es/ecma262/#sec-object.keys +// eslint-disable-next-line es/no-object-keys -- safe +module.exports = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-property-is-enumerable.js": +/*!*************************************************************************!*\ + !*** ./node_modules/core-js/internals/object-property-is-enumerable.js ***! + \*************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +var $propertyIsEnumerable = {}.propertyIsEnumerable; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + +// Nashorn ~ JDK8 bug +var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); + +// `Object.prototype.propertyIsEnumerable` method implementation +// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable +exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { + var descriptor = getOwnPropertyDescriptor(this, V); + return !!descriptor && descriptor.enumerable; +} : $propertyIsEnumerable; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-prototype-accessors-forced.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/core-js/internals/object-prototype-accessors-forced.js ***! + \*****************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var WEBKIT = __webpack_require__(/*! ../internals/engine-webkit-version */ "./node_modules/core-js/internals/engine-webkit-version.js"); + +// Forced replacement object prototype accessors methods +module.exports = IS_PURE || !fails(function () { + // This feature detection crashes old WebKit + // https://github.com/zloirock/core-js/issues/232 + if (WEBKIT && WEBKIT < 535) return; + var key = Math.random(); + // In FF throws only define methods + // eslint-disable-next-line no-undef, no-useless-call, es/no-legacy-object-prototype-accessor-methods -- required for testing + __defineSetter__.call(null, key, function () { /* empty */ }); + delete global[key]; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-set-prototype-of.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/internals/object-set-prototype-of.js ***! + \*******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable no-proto -- safe */ +var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ "./node_modules/core-js/internals/function-uncurry-this-accessor.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "./node_modules/core-js/internals/a-possible-prototype.js"); + +// `Object.setPrototypeOf` method +// https://tc39.es/ecma262/#sec-object.setprototypeof +// Works with __proto__ only. Old v8 can't work with null proto objects. +// eslint-disable-next-line es/no-object-setprototypeof -- safe +module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { + var CORRECT_SETTER = false; + var test = {}; + var setter; + try { + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); + setter(test, []); + CORRECT_SETTER = test instanceof Array; + } catch (error) { /* empty */ } + return function setPrototypeOf(O, proto) { + anObject(O); + aPossiblePrototype(proto); + if (CORRECT_SETTER) setter(O, proto); + else O.__proto__ = proto; + return O; + }; +}() : undefined); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-to-array.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/object-to-array.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var objectGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "./node_modules/core-js/internals/object-keys.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var $propertyIsEnumerable = (__webpack_require__(/*! ../internals/object-property-is-enumerable */ "./node_modules/core-js/internals/object-property-is-enumerable.js").f); + +var propertyIsEnumerable = uncurryThis($propertyIsEnumerable); +var push = uncurryThis([].push); + +// in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys +// of `null` prototype objects +var IE_BUG = DESCRIPTORS && fails(function () { + // eslint-disable-next-line es/no-object-create -- safe + var O = Object.create(null); + O[2] = 2; + return !propertyIsEnumerable(O, 2); +}); + +// `Object.{ entries, values }` methods implementation +var createMethod = function (TO_ENTRIES) { + return function (it) { + var O = toIndexedObject(it); + var keys = objectKeys(O); + var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null; + var length = keys.length; + var i = 0; + var result = []; + var key; + while (length > i) { + key = keys[i++]; + if (!DESCRIPTORS || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) { + push(result, TO_ENTRIES ? [key, O[key]] : O[key]); + } + } + return result; + }; +}; + +module.exports = { + // `Object.entries` method + // https://tc39.es/ecma262/#sec-object.entries + entries: createMethod(true), + // `Object.values` method + // https://tc39.es/ecma262/#sec-object.values + values: createMethod(false) +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/object-to-string.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/object-to-string.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "./node_modules/core-js/internals/to-string-tag-support.js"); +var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); + +// `Object.prototype.toString` method implementation +// https://tc39.es/ecma262/#sec-object.prototype.tostring +module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { + return '[object ' + classof(this) + ']'; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/ordinary-to-primitive.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/internals/ordinary-to-primitive.js ***! + \*****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); + +var $TypeError = TypeError; + +// `OrdinaryToPrimitive` abstract operation +// https://tc39.es/ecma262/#sec-ordinarytoprimitive +module.exports = function (input, pref) { + var fn, val; + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + throw $TypeError("Can't convert object to primitive value"); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/own-keys.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/internals/own-keys.js ***! + \****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js"); +var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "./node_modules/core-js/internals/object-get-own-property-symbols.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); + +var concat = uncurryThis([].concat); + +// all object keys, includes non-enumerable and symbols +module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { + var keys = getOwnPropertyNamesModule.f(anObject(it)); + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/path.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/internals/path.js ***! + \************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); + +module.exports = global; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/perform.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/internals/perform.js ***! + \***************************************************/ +/***/ (function(module) { + +"use strict"; + +module.exports = function (exec) { + try { + return { error: false, value: exec() }; + } catch (error) { + return { error: true, value: error }; + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/promise-constructor-detection.js": +/*!*************************************************************************!*\ + !*** ./node_modules/core-js/internals/promise-constructor-detection.js ***! + \*************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/core-js/internals/promise-native-constructor.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/core-js/internals/is-forced.js"); +var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "./node_modules/core-js/internals/inspect-source.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var IS_BROWSER = __webpack_require__(/*! ../internals/engine-is-browser */ "./node_modules/core-js/internals/engine-is-browser.js"); +var IS_DENO = __webpack_require__(/*! ../internals/engine-is-deno */ "./node_modules/core-js/internals/engine-is-deno.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); + +var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; +var SPECIES = wellKnownSymbol('species'); +var SUBCLASSING = false; +var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent); + +var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () { + var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor); + var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor); + // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 + // We can't detect it synchronously, so just check versions + if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true; + // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution + if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true; + // We can't use @@species feature detection in V8 since it causes + // deoptimization and performance degradation + // https://github.com/zloirock/core-js/issues/679 + if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) { + // Detect correctness of subclassing with @@species support + var promise = new NativePromiseConstructor(function (resolve) { resolve(1); }); + var FakePromise = function (exec) { + exec(function () { /* empty */ }, function () { /* empty */ }); + }; + var constructor = promise.constructor = {}; + constructor[SPECIES] = FakePromise; + SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise; + if (!SUBCLASSING) return true; + // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test + } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT; +}); + +module.exports = { + CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR, + REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT, + SUBCLASSING: SUBCLASSING +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/promise-native-constructor.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/internals/promise-native-constructor.js ***! + \**********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); + +module.exports = global.Promise; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/promise-resolve.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/promise-resolve.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var newPromiseCapability = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); + +module.exports = function (C, x) { + anObject(C); + if (isObject(x) && x.constructor === C) return x; + var promiseCapability = newPromiseCapability.f(C); + var resolve = promiseCapability.resolve; + resolve(x); + return promiseCapability.promise; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/promise-statics-incorrect-iteration.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/core-js/internals/promise-statics-incorrect-iteration.js ***! + \*******************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/core-js/internals/promise-native-constructor.js"); +var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "./node_modules/core-js/internals/check-correctness-of-iteration.js"); +var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR); + +module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) { + NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ }); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/proxy-accessor.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/proxy-accessor.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); + +module.exports = function (Target, Source, key) { + key in Target || defineProperty(Target, key, { + configurable: true, + get: function () { return Source[key]; }, + set: function (it) { Source[key] = it; } + }); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/queue.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/internals/queue.js ***! + \*************************************************/ +/***/ (function(module) { + +"use strict"; + +var Queue = function () { + this.head = null; + this.tail = null; +}; + +Queue.prototype = { + add: function (item) { + var entry = { item: item, next: null }; + var tail = this.tail; + if (tail) tail.next = entry; + else this.head = entry; + this.tail = entry; + }, + get: function () { + var entry = this.head; + if (entry) { + var next = this.head = entry.next; + if (next === null) this.tail = null; + return entry.item; + } + } +}; + +module.exports = Queue; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/regexp-exec-abstract.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/regexp-exec-abstract.js ***! + \****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ "./node_modules/core-js/internals/regexp-exec.js"); + +var $TypeError = TypeError; + +// `RegExpExec` abstract operation +// https://tc39.es/ecma262/#sec-regexpexec +module.exports = function (R, S) { + var exec = R.exec; + if (isCallable(exec)) { + var result = call(exec, R, S); + if (result !== null) anObject(result); + return result; + } + if (classof(R) === 'RegExp') return call(regexpExec, R, S); + throw $TypeError('RegExp#exec called on incompatible receiver'); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/regexp-exec.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/regexp-exec.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ +/* eslint-disable regexp/no-useless-quantifier -- testing */ +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var regexpFlags = __webpack_require__(/*! ../internals/regexp-flags */ "./node_modules/core-js/internals/regexp-flags.js"); +var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ "./node_modules/core-js/internals/regexp-sticky-helpers.js"); +var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var getInternalState = (__webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js").get); +var UNSUPPORTED_DOT_ALL = __webpack_require__(/*! ../internals/regexp-unsupported-dot-all */ "./node_modules/core-js/internals/regexp-unsupported-dot-all.js"); +var UNSUPPORTED_NCG = __webpack_require__(/*! ../internals/regexp-unsupported-ncg */ "./node_modules/core-js/internals/regexp-unsupported-ncg.js"); + +var nativeReplace = shared('native-string-replace', String.prototype.replace); +var nativeExec = RegExp.prototype.exec; +var patchedExec = nativeExec; +var charAt = uncurryThis(''.charAt); +var indexOf = uncurryThis(''.indexOf); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); + +var UPDATES_LAST_INDEX_WRONG = (function () { + var re1 = /a/; + var re2 = /b*/g; + call(nativeExec, re1, 'a'); + call(nativeExec, re2, 'a'); + return re1.lastIndex !== 0 || re2.lastIndex !== 0; +})(); + +var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; + +// nonparticipating capturing group, copied from es5-shim's String#split patch. +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; + +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; + +if (PATCH) { + patchedExec = function exec(string) { + var re = this; + var state = getInternalState(re); + var str = toString(string); + var raw = state.raw; + var result, reCopy, lastIndex, match, i, object, group; + + if (raw) { + raw.lastIndex = re.lastIndex; + result = call(patchedExec, raw, str); + re.lastIndex = raw.lastIndex; + return result; + } + + var groups = state.groups; + var sticky = UNSUPPORTED_Y && re.sticky; + var flags = call(regexpFlags, re); + var source = re.source; + var charsAdded = 0; + var strCopy = str; + + if (sticky) { + flags = replace(flags, 'y', ''); + if (indexOf(flags, 'g') === -1) { + flags += 'g'; + } + + strCopy = stringSlice(str, re.lastIndex); + // Support anchored sticky behavior. + if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) { + source = '(?: ' + source + ')'; + strCopy = ' ' + strCopy; + charsAdded++; + } + // ^(? + rx + ) is needed, in combination with some str slicing, to + // simulate the 'y' flag. + reCopy = new RegExp('^(?:' + source + ')', flags); + } + + if (NPCG_INCLUDED) { + reCopy = new RegExp('^' + source + '$(?!\\s)', flags); + } + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; + + match = call(nativeExec, sticky ? reCopy : re, strCopy); + + if (sticky) { + if (match) { + match.input = stringSlice(match.input, charsAdded); + match[0] = stringSlice(match[0], charsAdded); + match.index = re.lastIndex; + re.lastIndex += match[0].length; + } else re.lastIndex = 0; + } else if (UPDATES_LAST_INDEX_WRONG && match) { + re.lastIndex = re.global ? match.index + match[0].length : lastIndex; + } + if (NPCG_INCLUDED && match && match.length > 1) { + // Fix browsers whose `exec` methods don't consistently return `undefined` + // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ + call(nativeReplace, match[0], reCopy, function () { + for (i = 1; i < arguments.length - 2; i++) { + if (arguments[i] === undefined) match[i] = undefined; + } + }); + } + + if (match && groups) { + match.groups = object = create(null); + for (i = 0; i < groups.length; i++) { + group = groups[i]; + object[group[0]] = match[group[1]]; + } + } + + return match; + }; +} + +module.exports = patchedExec; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/regexp-flags.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/regexp-flags.js ***! + \********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); + +// `RegExp.prototype.flags` getter implementation +// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags +module.exports = function () { + var that = anObject(this); + var result = ''; + if (that.hasIndices) result += 'd'; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.dotAll) result += 's'; + if (that.unicode) result += 'u'; + if (that.unicodeSets) result += 'v'; + if (that.sticky) result += 'y'; + return result; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/regexp-get-flags.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/regexp-get-flags.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); +var regExpFlags = __webpack_require__(/*! ../internals/regexp-flags */ "./node_modules/core-js/internals/regexp-flags.js"); + +var RegExpPrototype = RegExp.prototype; + +module.exports = function (R) { + var flags = R.flags; + return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R) + ? call(regExpFlags, R) : flags; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/regexp-sticky-helpers.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/internals/regexp-sticky-helpers.js ***! + \*****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); + +// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError +var $RegExp = global.RegExp; + +var UNSUPPORTED_Y = fails(function () { + var re = $RegExp('a', 'y'); + re.lastIndex = 2; + return re.exec('abcd') !== null; +}); + +// UC Browser bug +// https://github.com/zloirock/core-js/issues/1008 +var MISSED_STICKY = UNSUPPORTED_Y || fails(function () { + return !$RegExp('a', 'y').sticky; +}); + +var BROKEN_CARET = UNSUPPORTED_Y || fails(function () { + // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 + var re = $RegExp('^r', 'gy'); + re.lastIndex = 2; + return re.exec('str') !== null; +}); + +module.exports = { + BROKEN_CARET: BROKEN_CARET, + MISSED_STICKY: MISSED_STICKY, + UNSUPPORTED_Y: UNSUPPORTED_Y +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/regexp-unsupported-dot-all.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/internals/regexp-unsupported-dot-all.js ***! + \**********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); + +// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError +var $RegExp = global.RegExp; + +module.exports = fails(function () { + var re = $RegExp('.', 's'); + return !(re.dotAll && re.exec('\n') && re.flags === 's'); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/regexp-unsupported-ncg.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/internals/regexp-unsupported-ncg.js ***! + \******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); + +// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError +var $RegExp = global.RegExp; + +module.exports = fails(function () { + var re = $RegExp('(?<a>b)', 'g'); + return re.exec('b').groups.a !== 'b' || + 'b'.replace(re, '$<a>c') !== 'bc'; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/require-object-coercible.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/require-object-coercible.js ***! + \********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); + +var $TypeError = TypeError; + +// `RequireObjectCoercible` abstract operation +// https://tc39.es/ecma262/#sec-requireobjectcoercible +module.exports = function (it) { + if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it); + return it; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/same-value.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/same-value.js ***! + \******************************************************/ +/***/ (function(module) { + +"use strict"; + +// `SameValue` abstract operation +// https://tc39.es/ecma262/#sec-samevalue +// eslint-disable-next-line es/no-object-is -- safe +module.exports = Object.is || function is(x, y) { + // eslint-disable-next-line no-self-compare -- NaN check + return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/schedulers-fix.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/schedulers-fix.js ***! + \**********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var ENGINE_IS_BUN = __webpack_require__(/*! ../internals/engine-is-bun */ "./node_modules/core-js/internals/engine-is-bun.js"); +var USER_AGENT = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); +var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/core-js/internals/array-slice.js"); +var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); + +var Function = global.Function; +// dirty IE9- and Bun 0.3.0- checks +var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () { + var version = global.Bun.version.split('.'); + return version.length < 3 || version[0] === '0' && (version[1] < 3 || version[1] === '3' && version[2] === '0'); +})(); + +// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix +// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers +// https://github.com/oven-sh/bun/issues/1633 +module.exports = function (scheduler, hasTimeArg) { + var firstParamIndex = hasTimeArg ? 2 : 1; + return WRAP ? function (handler, timeout /* , ...arguments */) { + var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex; + var fn = isCallable(handler) ? handler : Function(handler); + var params = boundArgs ? arraySlice(arguments, firstParamIndex) : []; + var callback = boundArgs ? function () { + apply(fn, this, params); + } : fn; + return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback); + } : scheduler; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/set-helpers.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/set-helpers.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +// eslint-disable-next-line es/no-set -- safe +var SetPrototype = Set.prototype; + +module.exports = { + // eslint-disable-next-line es/no-set -- safe + Set: Set, + add: uncurryThis(SetPrototype.add), + has: uncurryThis(SetPrototype.has), + remove: uncurryThis(SetPrototype['delete']), + proto: SetPrototype +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/set-species.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/set-species.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); + +var SPECIES = wellKnownSymbol('species'); + +module.exports = function (CONSTRUCTOR_NAME) { + var Constructor = getBuiltIn(CONSTRUCTOR_NAME); + + if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { + defineBuiltInAccessor(Constructor, SPECIES, { + configurable: true, + get: function () { return this; } + }); + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/set-to-string-tag.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/set-to-string-tag.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + +module.exports = function (target, TAG, STATIC) { + if (target && !STATIC) target = target.prototype; + if (target && !hasOwn(target, TO_STRING_TAG)) { + defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG }); + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/shared-key.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/shared-key.js ***! + \******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); +var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js/internals/uid.js"); + +var keys = shared('keys'); + +module.exports = function (key) { + return keys[key] || (keys[key] = uid(key)); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/shared-store.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/shared-store.js ***! + \********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "./node_modules/core-js/internals/define-global-property.js"); + +var SHARED = '__core-js_shared__'; +var store = global[SHARED] || defineGlobalProperty(SHARED, {}); + +module.exports = store; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/shared.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/internals/shared.js ***! + \**************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var store = __webpack_require__(/*! ../internals/shared-store */ "./node_modules/core-js/internals/shared-store.js"); + +(module.exports = function (key, value) { + return store[key] || (store[key] = value !== undefined ? value : {}); +})('versions', []).push({ + version: '3.32.2', + mode: IS_PURE ? 'pure' : 'global', + copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE', + source: 'https://github.com/zloirock/core-js' +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/species-constructor.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/internals/species-constructor.js ***! + \***************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var aConstructor = __webpack_require__(/*! ../internals/a-constructor */ "./node_modules/core-js/internals/a-constructor.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var SPECIES = wellKnownSymbol('species'); + +// `SpeciesConstructor` abstract operation +// https://tc39.es/ecma262/#sec-speciesconstructor +module.exports = function (O, defaultConstructor) { + var C = anObject(O).constructor; + var S; + return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/string-html-forced.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/string-html-forced.js ***! + \**************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +// check the existence of a method, lowercase +// of a tag and escaping quotes in arguments +module.exports = function (METHOD_NAME) { + return fails(function () { + var test = ''[METHOD_NAME]('"'); + return test !== test.toLowerCase() || test.split('"').length > 3; + }); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/string-multibyte.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/string-multibyte.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); + +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var stringSlice = uncurryThis(''.slice); + +var createMethod = function (CONVERT_TO_STRING) { + return function ($this, pos) { + var S = toString(requireObjectCoercible($this)); + var position = toIntegerOrInfinity(pos); + var size = S.length; + var first, second; + if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; + first = charCodeAt(S, position); + return first < 0xD800 || first > 0xDBFF || position + 1 === size + || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF + ? CONVERT_TO_STRING + ? charAt(S, position) + : first + : CONVERT_TO_STRING + ? stringSlice(S, position, position + 2) + : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; + }; +}; + +module.exports = { + // `String.prototype.codePointAt` method + // https://tc39.es/ecma262/#sec-string.prototype.codepointat + codeAt: createMethod(false), + // `String.prototype.at` method + // https://github.com/mathiasbynens/String.prototype.at + charAt: createMethod(true) +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/string-pad-webkit-bug.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/internals/string-pad-webkit-bug.js ***! + \*****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// https://github.com/zloirock/core-js/issues/280 +var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "./node_modules/core-js/internals/engine-user-agent.js"); + +module.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/string-pad.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/string-pad.js ***! + \******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// https://github.com/tc39/proposal-string-pad-start-end +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var $repeat = __webpack_require__(/*! ../internals/string-repeat */ "./node_modules/core-js/internals/string-repeat.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); + +var repeat = uncurryThis($repeat); +var stringSlice = uncurryThis(''.slice); +var ceil = Math.ceil; + +// `String.prototype.{ padStart, padEnd }` methods implementation +var createMethod = function (IS_END) { + return function ($this, maxLength, fillString) { + var S = toString(requireObjectCoercible($this)); + var intMaxLength = toLength(maxLength); + var stringLength = S.length; + var fillStr = fillString === undefined ? ' ' : toString(fillString); + var fillLen, stringFiller; + if (intMaxLength <= stringLength || fillStr === '') return S; + fillLen = intMaxLength - stringLength; + stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length)); + if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen); + return IS_END ? S + stringFiller : stringFiller + S; + }; +}; + +module.exports = { + // `String.prototype.padStart` method + // https://tc39.es/ecma262/#sec-string.prototype.padstart + start: createMethod(false), + // `String.prototype.padEnd` method + // https://tc39.es/ecma262/#sec-string.prototype.padend + end: createMethod(true) +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/string-punycode-to-ascii.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/string-punycode-to-ascii.js ***! + \********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1 +var base = 36; +var tMin = 1; +var tMax = 26; +var skew = 38; +var damp = 700; +var initialBias = 72; +var initialN = 128; // 0x80 +var delimiter = '-'; // '\x2D' +var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars +var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators +var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process'; +var baseMinusTMin = base - tMin; + +var $RangeError = RangeError; +var exec = uncurryThis(regexSeparators.exec); +var floor = Math.floor; +var fromCharCode = String.fromCharCode; +var charCodeAt = uncurryThis(''.charCodeAt); +var join = uncurryThis([].join); +var push = uncurryThis([].push); +var replace = uncurryThis(''.replace); +var split = uncurryThis(''.split); +var toLowerCase = uncurryThis(''.toLowerCase); + +/** + * Creates an array containing the numeric code points of each Unicode + * character in the string. While JavaScript uses UCS-2 internally, + * this function will convert a pair of surrogate halves (each of which + * UCS-2 exposes as separate characters) into a single code point, + * matching UTF-16. + */ +var ucs2decode = function (string) { + var output = []; + var counter = 0; + var length = string.length; + while (counter < length) { + var value = charCodeAt(string, counter++); + if (value >= 0xD800 && value <= 0xDBFF && counter < length) { + // It's a high surrogate, and there is a next character. + var extra = charCodeAt(string, counter++); + if ((extra & 0xFC00) === 0xDC00) { // Low surrogate. + push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); + } else { + // It's an unmatched surrogate; only append this code unit, in case the + // next code unit is the high surrogate of a surrogate pair. + push(output, value); + counter--; + } + } else { + push(output, value); + } + } + return output; +}; + +/** + * Converts a digit/integer into a basic code point. + */ +var digitToBasic = function (digit) { + // 0..25 map to ASCII a..z or A..Z + // 26..35 map to ASCII 0..9 + return digit + 22 + 75 * (digit < 26); +}; + +/** + * Bias adaptation function as per section 3.4 of RFC 3492. + * https://tools.ietf.org/html/rfc3492#section-3.4 + */ +var adapt = function (delta, numPoints, firstTime) { + var k = 0; + delta = firstTime ? floor(delta / damp) : delta >> 1; + delta += floor(delta / numPoints); + while (delta > baseMinusTMin * tMax >> 1) { + delta = floor(delta / baseMinusTMin); + k += base; + } + return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); +}; + +/** + * Converts a string of Unicode symbols (e.g. a domain name label) to a + * Punycode string of ASCII-only symbols. + */ +var encode = function (input) { + var output = []; + + // Convert the input in UCS-2 to an array of Unicode code points. + input = ucs2decode(input); + + // Cache the length. + var inputLength = input.length; + + // Initialize the state. + var n = initialN; + var delta = 0; + var bias = initialBias; + var i, currentValue; + + // Handle the basic code points. + for (i = 0; i < input.length; i++) { + currentValue = input[i]; + if (currentValue < 0x80) { + push(output, fromCharCode(currentValue)); + } + } + + var basicLength = output.length; // number of basic code points. + var handledCPCount = basicLength; // number of code points that have been handled; + + // Finish the basic string with a delimiter unless it's empty. + if (basicLength) { + push(output, delimiter); + } + + // Main encoding loop: + while (handledCPCount < inputLength) { + // All non-basic code points < n have been handled already. Find the next larger one: + var m = maxInt; + for (i = 0; i < input.length; i++) { + currentValue = input[i]; + if (currentValue >= n && currentValue < m) { + m = currentValue; + } + } + + // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow. + var handledCPCountPlusOne = handledCPCount + 1; + if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { + throw $RangeError(OVERFLOW_ERROR); + } + + delta += (m - n) * handledCPCountPlusOne; + n = m; + + for (i = 0; i < input.length; i++) { + currentValue = input[i]; + if (currentValue < n && ++delta > maxInt) { + throw $RangeError(OVERFLOW_ERROR); + } + if (currentValue === n) { + // Represent delta as a generalized variable-length integer. + var q = delta; + var k = base; + while (true) { + var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias; + if (q < t) break; + var qMinusT = q - t; + var baseMinusT = base - t; + push(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT))); + q = floor(qMinusT / baseMinusT); + k += base; + } + + push(output, fromCharCode(digitToBasic(q))); + bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength); + delta = 0; + handledCPCount++; + } + } + + delta++; + n++; + } + return join(output, ''); +}; + +module.exports = function (input) { + var encoded = []; + var labels = split(replace(toLowerCase(input), regexSeparators, '\u002E'), '.'); + var i, label; + for (i = 0; i < labels.length; i++) { + label = labels[i]; + push(encoded, exec(regexNonASCII, label) ? 'xn--' + encode(label) : label); + } + return join(encoded, '.'); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/string-repeat.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/string-repeat.js ***! + \*********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); + +var $RangeError = RangeError; + +// `String.prototype.repeat` method implementation +// https://tc39.es/ecma262/#sec-string.prototype.repeat +module.exports = function repeat(count) { + var str = toString(requireObjectCoercible(this)); + var result = ''; + var n = toIntegerOrInfinity(count); + if (n < 0 || n === Infinity) throw $RangeError('Wrong number of repetitions'); + for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; + return result; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/string-trim-end.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/string-trim-end.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $trimEnd = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/core-js/internals/string-trim.js").end); +var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ "./node_modules/core-js/internals/string-trim-forced.js"); + +// `String.prototype.{ trimEnd, trimRight }` method +// https://tc39.es/ecma262/#sec-string.prototype.trimend +// https://tc39.es/ecma262/#String.prototype.trimright +module.exports = forcedStringTrimMethod('trimEnd') ? function trimEnd() { + return $trimEnd(this); +// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe +} : ''.trimEnd; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/string-trim-forced.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/string-trim-forced.js ***! + \**************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var PROPER_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "./node_modules/core-js/internals/function-name.js").PROPER); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "./node_modules/core-js/internals/whitespaces.js"); + +var non = '\u200B\u0085\u180E'; + +// check that a method works with the correct list +// of whitespaces and has a correct name +module.exports = function (METHOD_NAME) { + return fails(function () { + return !!whitespaces[METHOD_NAME]() + || non[METHOD_NAME]() !== non + || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME); + }); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/string-trim-start.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/string-trim-start.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $trimStart = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/core-js/internals/string-trim.js").start); +var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ "./node_modules/core-js/internals/string-trim-forced.js"); + +// `String.prototype.{ trimStart, trimLeft }` method +// https://tc39.es/ecma262/#sec-string.prototype.trimstart +// https://tc39.es/ecma262/#String.prototype.trimleft +module.exports = forcedStringTrimMethod('trimStart') ? function trimStart() { + return $trimStart(this); +// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe +} : ''.trimStart; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/string-trim.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/string-trim.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "./node_modules/core-js/internals/whitespaces.js"); + +var replace = uncurryThis(''.replace); +var ltrim = RegExp('^[' + whitespaces + ']+'); +var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$'); + +// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation +var createMethod = function (TYPE) { + return function ($this) { + var string = toString(requireObjectCoercible($this)); + if (TYPE & 1) string = replace(string, ltrim, ''); + if (TYPE & 2) string = replace(string, rtrim, '$1'); + return string; + }; +}; + +module.exports = { + // `String.prototype.{ trimLeft, trimStart }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimstart + start: createMethod(1), + // `String.prototype.{ trimRight, trimEnd }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimend + end: createMethod(2), + // `String.prototype.trim` method + // https://tc39.es/ecma262/#sec-string.prototype.trim + trim: createMethod(3) +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/structured-clone-proper-transfer.js": +/*!****************************************************************************!*\ + !*** ./node_modules/core-js/internals/structured-clone-proper-transfer.js ***! + \****************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var V8 = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); +var IS_BROWSER = __webpack_require__(/*! ../internals/engine-is-browser */ "./node_modules/core-js/internals/engine-is-browser.js"); +var IS_DENO = __webpack_require__(/*! ../internals/engine-is-deno */ "./node_modules/core-js/internals/engine-is-deno.js"); +var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); + +var structuredClone = global.structuredClone; + +module.exports = !!structuredClone && !fails(function () { + // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation + // https://github.com/zloirock/core-js/issues/679 + if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false; + var buffer = new ArrayBuffer(8); + var clone = structuredClone(buffer, { transfer: [buffer] }); + return buffer.byteLength !== 0 || clone.byteLength !== 8; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/symbol-constructor-detection.js": +/*!************************************************************************!*\ + !*** ./node_modules/core-js/internals/symbol-constructor-detection.js ***! + \************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable es/no-symbol -- required for testing */ +var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); + +var $String = global.String; + +// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing +module.exports = !!Object.getOwnPropertySymbols && !fails(function () { + var symbol = Symbol('symbol detection'); + // Chrome 38 Symbol has incorrect toString conversion + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances + // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, + // of course, fail. + return !$String(symbol) || !(Object(symbol) instanceof Symbol) || + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances + !Symbol.sham && V8_VERSION && V8_VERSION < 41; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/symbol-define-to-primitive.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/internals/symbol-define-to-primitive.js ***! + \**********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); + +module.exports = function () { + var Symbol = getBuiltIn('Symbol'); + var SymbolPrototype = Symbol && Symbol.prototype; + var valueOf = SymbolPrototype && SymbolPrototype.valueOf; + var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); + + if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) { + // `Symbol.prototype[@@toPrimitive]` method + // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive + // eslint-disable-next-line no-unused-vars -- required for .length + defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) { + return call(valueOf, this); + }, { arity: 1 }); + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/symbol-registry-detection.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/internals/symbol-registry-detection.js ***! + \*********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); + +/* eslint-disable es/no-symbol -- safe */ +module.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/task.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/internals/task.js ***! + \************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var html = __webpack_require__(/*! ../internals/html */ "./node_modules/core-js/internals/html.js"); +var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/core-js/internals/array-slice.js"); +var createElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/core-js/internals/document-create-element.js"); +var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); +var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "./node_modules/core-js/internals/engine-is-ios.js"); +var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); + +var set = global.setImmediate; +var clear = global.clearImmediate; +var process = global.process; +var Dispatch = global.Dispatch; +var Function = global.Function; +var MessageChannel = global.MessageChannel; +var String = global.String; +var counter = 0; +var queue = {}; +var ONREADYSTATECHANGE = 'onreadystatechange'; +var $location, defer, channel, port; + +fails(function () { + // Deno throws a ReferenceError on `location` access without `--location` flag + $location = global.location; +}); + +var run = function (id) { + if (hasOwn(queue, id)) { + var fn = queue[id]; + delete queue[id]; + fn(); + } +}; + +var runner = function (id) { + return function () { + run(id); + }; +}; + +var eventListener = function (event) { + run(event.data); +}; + +var globalPostMessageDefer = function (id) { + // old engines have not location.origin + global.postMessage(String(id), $location.protocol + '//' + $location.host); +}; + +// Node.js 0.9+ & IE10+ has setImmediate, otherwise: +if (!set || !clear) { + set = function setImmediate(handler) { + validateArgumentsLength(arguments.length, 1); + var fn = isCallable(handler) ? handler : Function(handler); + var args = arraySlice(arguments, 1); + queue[++counter] = function () { + apply(fn, undefined, args); + }; + defer(counter); + return counter; + }; + clear = function clearImmediate(id) { + delete queue[id]; + }; + // Node.js 0.8- + if (IS_NODE) { + defer = function (id) { + process.nextTick(runner(id)); + }; + // Sphere (JS game engine) Dispatch API + } else if (Dispatch && Dispatch.now) { + defer = function (id) { + Dispatch.now(runner(id)); + }; + // Browsers with MessageChannel, includes WebWorkers + // except iOS - https://github.com/zloirock/core-js/issues/624 + } else if (MessageChannel && !IS_IOS) { + channel = new MessageChannel(); + port = channel.port2; + channel.port1.onmessage = eventListener; + defer = bind(port.postMessage, port); + // Browsers with postMessage, skip WebWorkers + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' + } else if ( + global.addEventListener && + isCallable(global.postMessage) && + !global.importScripts && + $location && $location.protocol !== 'file:' && + !fails(globalPostMessageDefer) + ) { + defer = globalPostMessageDefer; + global.addEventListener('message', eventListener, false); + // IE8- + } else if (ONREADYSTATECHANGE in createElement('script')) { + defer = function (id) { + html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () { + html.removeChild(this); + run(id); + }; + }; + // Rest old browsers + } else { + defer = function (id) { + setTimeout(runner(id), 0); + }; + } +} + +module.exports = { + set: set, + clear: clear +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/this-number-value.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/this-number-value.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +// `thisNumberValue` abstract operation +// https://tc39.es/ecma262/#sec-thisnumbervalue +module.exports = uncurryThis(1.0.valueOf); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-absolute-index.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/to-absolute-index.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); + +var max = Math.max; +var min = Math.min; + +// Helper for a popular repeating case of the spec: +// Let integer be ? ToInteger(index). +// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). +module.exports = function (index, length) { + var integer = toIntegerOrInfinity(index); + return integer < 0 ? max(integer + length, 0) : min(integer, length); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-big-int.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/to-big-int.js ***! + \******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "./node_modules/core-js/internals/to-primitive.js"); + +var $TypeError = TypeError; + +// `ToBigInt` abstract operation +// https://tc39.es/ecma262/#sec-tobigint +module.exports = function (argument) { + var prim = toPrimitive(argument, 'number'); + if (typeof prim == 'number') throw $TypeError("Can't convert number to bigint"); + // eslint-disable-next-line es/no-bigint -- safe + return BigInt(prim); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-index.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/internals/to-index.js ***! + \****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); + +var $RangeError = RangeError; + +// `ToIndex` abstract operation +// https://tc39.es/ecma262/#sec-toindex +module.exports = function (it) { + if (it === undefined) return 0; + var number = toIntegerOrInfinity(it); + var length = toLength(number); + if (number !== length) throw $RangeError('Wrong length or index'); + return length; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-indexed-object.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/to-indexed-object.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// toObject with fallback for non-array-like ES3 strings +var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/core-js/internals/indexed-object.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); + +module.exports = function (it) { + return IndexedObject(requireObjectCoercible(it)); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-integer-or-infinity.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/internals/to-integer-or-infinity.js ***! + \******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var trunc = __webpack_require__(/*! ../internals/math-trunc */ "./node_modules/core-js/internals/math-trunc.js"); + +// `ToIntegerOrInfinity` abstract operation +// https://tc39.es/ecma262/#sec-tointegerorinfinity +module.exports = function (argument) { + var number = +argument; + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-length.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/to-length.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); + +var min = Math.min; + +// `ToLength` abstract operation +// https://tc39.es/ecma262/#sec-tolength +module.exports = function (argument) { + return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-object.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/to-object.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); + +var $Object = Object; + +// `ToObject` abstract operation +// https://tc39.es/ecma262/#sec-toobject +module.exports = function (argument) { + return $Object(requireObjectCoercible(argument)); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-offset.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/to-offset.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ "./node_modules/core-js/internals/to-positive-integer.js"); + +var $RangeError = RangeError; + +module.exports = function (it, BYTES) { + var offset = toPositiveInteger(it); + if (offset % BYTES) throw $RangeError('Wrong offset'); + return offset; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-positive-integer.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/internals/to-positive-integer.js ***! + \***************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); + +var $RangeError = RangeError; + +module.exports = function (it) { + var result = toIntegerOrInfinity(it); + if (result < 0) throw $RangeError("The argument can't be less than 0"); + return result; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-primitive.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/to-primitive.js ***! + \********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); +var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); +var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "./node_modules/core-js/internals/ordinary-to-primitive.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var $TypeError = TypeError; +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); + +// `ToPrimitive` abstract operation +// https://tc39.es/ecma262/#sec-toprimitive +module.exports = function (input, pref) { + if (!isObject(input) || isSymbol(input)) return input; + var exoticToPrim = getMethod(input, TO_PRIMITIVE); + var result; + if (exoticToPrim) { + if (pref === undefined) pref = 'default'; + result = call(exoticToPrim, input, pref); + if (!isObject(result) || isSymbol(result)) return result; + throw $TypeError("Can't convert object to primitive value"); + } + if (pref === undefined) pref = 'number'; + return ordinaryToPrimitive(input, pref); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-property-key.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/to-property-key.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "./node_modules/core-js/internals/to-primitive.js"); +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); + +// `ToPropertyKey` abstract operation +// https://tc39.es/ecma262/#sec-topropertykey +module.exports = function (argument) { + var key = toPrimitive(argument, 'string'); + return isSymbol(key) ? key : key + ''; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-string-tag-support.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/internals/to-string-tag-support.js ***! + \*****************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var test = {}; + +test[TO_STRING_TAG] = 'z'; + +module.exports = String(test) === '[object z]'; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-string.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/to-string.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); + +var $String = String; + +module.exports = function (argument) { + if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/to-uint8-clamped.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/to-uint8-clamped.js ***! + \************************************************************/ +/***/ (function(module) { + +"use strict"; + +var round = Math.round; + +module.exports = function (it) { + var value = round(it); + return value < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/try-node-require.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/try-node-require.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); + +module.exports = function (name) { + try { + // eslint-disable-next-line no-new-func -- safe + if (IS_NODE) return Function('return require("' + name + '")')(); + } catch (error) { /* empty */ } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/try-to-string.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/try-to-string.js ***! + \*********************************************************/ +/***/ (function(module) { + +"use strict"; + +var $String = String; + +module.exports = function (argument) { + try { + return $String(argument); + } catch (error) { + return 'Object'; + } +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/typed-array-constructor.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/internals/typed-array-constructor.js ***! + \*******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(/*! ../internals/typed-array-constructors-require-wrappers */ "./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js"); +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var ArrayBufferModule = __webpack_require__(/*! ../internals/array-buffer */ "./node_modules/core-js/internals/array-buffer.js"); +var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/core-js/internals/an-instance.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var isIntegralNumber = __webpack_require__(/*! ../internals/is-integral-number */ "./node_modules/core-js/internals/is-integral-number.js"); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); +var toIndex = __webpack_require__(/*! ../internals/to-index */ "./node_modules/core-js/internals/to-index.js"); +var toOffset = __webpack_require__(/*! ../internals/to-offset */ "./node_modules/core-js/internals/to-offset.js"); +var toUint8Clamped = __webpack_require__(/*! ../internals/to-uint8-clamped */ "./node_modules/core-js/internals/to-uint8-clamped.js"); +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); +var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js").f); +var typedArrayFrom = __webpack_require__(/*! ../internals/typed-array-from */ "./node_modules/core-js/internals/typed-array-from.js"); +var forEach = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").forEach); +var setSpecies = __webpack_require__(/*! ../internals/set-species */ "./node_modules/core-js/internals/set-species.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); +var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); +var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "./node_modules/core-js/internals/inherit-if-required.js"); + +var getInternalState = InternalStateModule.get; +var setInternalState = InternalStateModule.set; +var enforceInternalState = InternalStateModule.enforce; +var nativeDefineProperty = definePropertyModule.f; +var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; +var RangeError = global.RangeError; +var ArrayBuffer = ArrayBufferModule.ArrayBuffer; +var ArrayBufferPrototype = ArrayBuffer.prototype; +var DataView = ArrayBufferModule.DataView; +var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; +var TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG; +var TypedArray = ArrayBufferViewCore.TypedArray; +var TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype; +var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; +var isTypedArray = ArrayBufferViewCore.isTypedArray; +var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; +var WRONG_LENGTH = 'Wrong length'; + +var fromList = function (C, list) { + aTypedArrayConstructor(C); + var index = 0; + var length = list.length; + var result = new C(length); + while (length > index) result[index] = list[index++]; + return result; +}; + +var addGetter = function (it, key) { + defineBuiltInAccessor(it, key, { + configurable: true, + get: function () { + return getInternalState(this)[key]; + } + }); +}; + +var isArrayBuffer = function (it) { + var klass; + return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) === 'ArrayBuffer' || klass === 'SharedArrayBuffer'; +}; + +var isTypedArrayIndex = function (target, key) { + return isTypedArray(target) + && !isSymbol(key) + && key in target + && isIntegralNumber(+key) + && key >= 0; +}; + +var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) { + key = toPropertyKey(key); + return isTypedArrayIndex(target, key) + ? createPropertyDescriptor(2, target[key]) + : nativeGetOwnPropertyDescriptor(target, key); +}; + +var wrappedDefineProperty = function defineProperty(target, key, descriptor) { + key = toPropertyKey(key); + if (isTypedArrayIndex(target, key) + && isObject(descriptor) + && hasOwn(descriptor, 'value') + && !hasOwn(descriptor, 'get') + && !hasOwn(descriptor, 'set') + // TODO: add validation descriptor w/o calling accessors + && !descriptor.configurable + && (!hasOwn(descriptor, 'writable') || descriptor.writable) + && (!hasOwn(descriptor, 'enumerable') || descriptor.enumerable) + ) { + target[key] = descriptor.value; + return target; + } return nativeDefineProperty(target, key, descriptor); +}; + +if (DESCRIPTORS) { + if (!NATIVE_ARRAY_BUFFER_VIEWS) { + getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor; + definePropertyModule.f = wrappedDefineProperty; + addGetter(TypedArrayPrototype, 'buffer'); + addGetter(TypedArrayPrototype, 'byteOffset'); + addGetter(TypedArrayPrototype, 'byteLength'); + addGetter(TypedArrayPrototype, 'length'); + } + + $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { + getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor, + defineProperty: wrappedDefineProperty + }); + + module.exports = function (TYPE, wrapper, CLAMPED) { + var BYTES = TYPE.match(/\d+/)[0] / 8; + var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array'; + var GETTER = 'get' + TYPE; + var SETTER = 'set' + TYPE; + var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME]; + var TypedArrayConstructor = NativeTypedArrayConstructor; + var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; + var exported = {}; + + var getter = function (that, index) { + var data = getInternalState(that); + return data.view[GETTER](index * BYTES + data.byteOffset, true); + }; + + var setter = function (that, index, value) { + var data = getInternalState(that); + data.view[SETTER](index * BYTES + data.byteOffset, CLAMPED ? toUint8Clamped(value) : value, true); + }; + + var addElement = function (that, index) { + nativeDefineProperty(that, index, { + get: function () { + return getter(this, index); + }, + set: function (value) { + return setter(this, index, value); + }, + enumerable: true + }); + }; + + if (!NATIVE_ARRAY_BUFFER_VIEWS) { + TypedArrayConstructor = wrapper(function (that, data, offset, $length) { + anInstance(that, TypedArrayConstructorPrototype); + var index = 0; + var byteOffset = 0; + var buffer, byteLength, length; + if (!isObject(data)) { + length = toIndex(data); + byteLength = length * BYTES; + buffer = new ArrayBuffer(byteLength); + } else if (isArrayBuffer(data)) { + buffer = data; + byteOffset = toOffset(offset, BYTES); + var $len = data.byteLength; + if ($length === undefined) { + if ($len % BYTES) throw RangeError(WRONG_LENGTH); + byteLength = $len - byteOffset; + if (byteLength < 0) throw RangeError(WRONG_LENGTH); + } else { + byteLength = toLength($length) * BYTES; + if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH); + } + length = byteLength / BYTES; + } else if (isTypedArray(data)) { + return fromList(TypedArrayConstructor, data); + } else { + return call(typedArrayFrom, TypedArrayConstructor, data); + } + setInternalState(that, { + buffer: buffer, + byteOffset: byteOffset, + byteLength: byteLength, + length: length, + view: new DataView(buffer) + }); + while (index < length) addElement(that, index++); + }); + + if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); + TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype); + } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) { + TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) { + anInstance(dummy, TypedArrayConstructorPrototype); + return inheritIfRequired(function () { + if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data)); + if (isArrayBuffer(data)) return $length !== undefined + ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) + : typedArrayOffset !== undefined + ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) + : new NativeTypedArrayConstructor(data); + if (isTypedArray(data)) return fromList(TypedArrayConstructor, data); + return call(typedArrayFrom, TypedArrayConstructor, data); + }(), dummy, TypedArrayConstructor); + }); + + if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); + forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) { + if (!(key in TypedArrayConstructor)) { + createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]); + } + }); + TypedArrayConstructor.prototype = TypedArrayConstructorPrototype; + } + + if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor); + } + + enforceInternalState(TypedArrayConstructorPrototype).TypedArrayConstructor = TypedArrayConstructor; + + if (TYPED_ARRAY_TAG) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); + } + + var FORCED = TypedArrayConstructor !== NativeTypedArrayConstructor; + + exported[CONSTRUCTOR_NAME] = TypedArrayConstructor; + + $({ global: true, constructor: true, forced: FORCED, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported); + + if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) { + createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES); + } + + if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES); + } + + setSpecies(CONSTRUCTOR_NAME); + }; +} else module.exports = function () { /* empty */ }; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js ***! + \*************************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable no-new -- required for testing */ +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "./node_modules/core-js/internals/check-correctness-of-iteration.js"); +var NATIVE_ARRAY_BUFFER_VIEWS = (__webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js").NATIVE_ARRAY_BUFFER_VIEWS); + +var ArrayBuffer = global.ArrayBuffer; +var Int8Array = global.Int8Array; + +module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () { + Int8Array(1); +}) || !fails(function () { + new Int8Array(-1); +}) || !checkCorrectnessOfIteration(function (iterable) { + new Int8Array(); + new Int8Array(null); + new Int8Array(1.5); + new Int8Array(iterable); +}, true) || fails(function () { + // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill + return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/typed-array-from-species-and-list.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/core-js/internals/typed-array-from-species-and-list.js ***! + \*****************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var arrayFromConstructorAndList = __webpack_require__(/*! ../internals/array-from-constructor-and-list */ "./node_modules/core-js/internals/array-from-constructor-and-list.js"); +var typedArraySpeciesConstructor = __webpack_require__(/*! ../internals/typed-array-species-constructor */ "./node_modules/core-js/internals/typed-array-species-constructor.js"); + +module.exports = function (instance, list) { + return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/typed-array-from.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/typed-array-from.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var aConstructor = __webpack_require__(/*! ../internals/a-constructor */ "./node_modules/core-js/internals/a-constructor.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "./node_modules/core-js/internals/get-iterator.js"); +var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "./node_modules/core-js/internals/get-iterator-method.js"); +var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "./node_modules/core-js/internals/is-array-iterator-method.js"); +var isBigIntArray = __webpack_require__(/*! ../internals/is-big-int-array */ "./node_modules/core-js/internals/is-big-int-array.js"); +var aTypedArrayConstructor = (__webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js").aTypedArrayConstructor); +var toBigInt = __webpack_require__(/*! ../internals/to-big-int */ "./node_modules/core-js/internals/to-big-int.js"); + +module.exports = function from(source /* , mapfn, thisArg */) { + var C = aConstructor(this); + var O = toObject(source); + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + var iteratorMethod = getIteratorMethod(O); + var i, length, result, thisIsBigIntArray, value, step, iterator, next; + if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) { + iterator = getIterator(O, iteratorMethod); + next = iterator.next; + O = []; + while (!(step = call(next, iterator)).done) { + O.push(step.value); + } + } + if (mapping && argumentsLength > 2) { + mapfn = bind(mapfn, arguments[2]); + } + length = lengthOfArrayLike(O); + result = new (aTypedArrayConstructor(C))(length); + thisIsBigIntArray = isBigIntArray(result); + for (i = 0; length > i; i++) { + value = mapping ? mapfn(O[i], i) : O[i]; + // FF30- typed arrays doesn't properly convert objects to typed array values + result[i] = thisIsBigIntArray ? toBigInt(value) : +value; + } + return result; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/typed-array-species-constructor.js": +/*!***************************************************************************!*\ + !*** ./node_modules/core-js/internals/typed-array-species-constructor.js ***! + \***************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "./node_modules/core-js/internals/species-constructor.js"); + +var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; +var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + +// a part of `TypedArraySpeciesCreate` abstract operation +// https://tc39.es/ecma262/#typedarray-species-create +module.exports = function (originalArray) { + return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray))); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/uid.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/internals/uid.js ***! + \***********************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +var id = 0; +var postfix = Math.random(); +var toString = uncurryThis(1.0.toString); + +module.exports = function (key) { + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/url-constructor-detection.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/internals/url-constructor-detection.js ***! + \*********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); + +var ITERATOR = wellKnownSymbol('iterator'); + +module.exports = !fails(function () { + // eslint-disable-next-line unicorn/relative-url-style -- required for testing + var url = new URL('b?a=1&b=2&c=3', 'http://a'); + var params = url.searchParams; + var params2 = new URLSearchParams('a=1&a=2&b=3'); + var result = ''; + url.pathname = 'c%20d'; + params.forEach(function (value, key) { + params['delete']('b'); + result += key + value; + }); + params2['delete']('a', 2); + // `undefined` case is a Chromium 117 bug + // https://bugs.chromium.org/p/v8/issues/detail?id=14222 + params2['delete']('b', undefined); + return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b'))) + || (!params.size && (IS_PURE || !DESCRIPTORS)) + || !params.sort + || url.href !== 'http://a/c%20d?a=1&c=3' + || params.get('c') !== '3' + || String(new URLSearchParams('?a=1')) !== 'a=1' + || !params[ITERATOR] + // throws in Edge + || new URL('https://a@b').username !== 'a' + || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' + // not punycoded in Edge + || new URL('http://тест').host !== 'xn--e1aybc' + // not escaped in Chrome 62- + || new URL('http://a#б').hash !== '#%D0%B1' + // fails in Chrome 66- + || result !== 'a1c3' + // throws in Safari + || new URL('http://x', undefined).host !== 'x'; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/use-symbol-as-uid.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/use-symbol-as-uid.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable es/no-symbol -- required for testing */ +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); + +module.exports = NATIVE_SYMBOL + && !Symbol.sham + && typeof Symbol.iterator == 'symbol'; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/v8-prototype-define-bug.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/internals/v8-prototype-define-bug.js ***! + \*******************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +// V8 ~ Chrome 36- +// https://bugs.chromium.org/p/v8/issues/detail?id=3334 +module.exports = DESCRIPTORS && fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(function () { /* empty */ }, 'prototype', { + value: 42, + writable: false + }).prototype !== 42; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/validate-arguments-length.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/internals/validate-arguments-length.js ***! + \*********************************************************************/ +/***/ (function(module) { + +"use strict"; + +var $TypeError = TypeError; + +module.exports = function (passed, required) { + if (passed < required) throw $TypeError('Not enough arguments'); + return passed; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/weak-map-basic-detection.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/weak-map-basic-detection.js ***! + \********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); + +var WeakMap = global.WeakMap; + +module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); + + +/***/ }), + +/***/ "./node_modules/core-js/internals/well-known-symbol-define.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/well-known-symbol-define.js ***! + \********************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var path = __webpack_require__(/*! ../internals/path */ "./node_modules/core-js/internals/path.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ "./node_modules/core-js/internals/well-known-symbol-wrapped.js"); +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); + +module.exports = function (NAME) { + var Symbol = path.Symbol || (path.Symbol = {}); + if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, { + value: wrappedWellKnownSymbolModule.f(NAME) + }); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/well-known-symbol-wrapped.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/internals/well-known-symbol-wrapped.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +exports.f = wellKnownSymbol; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/well-known-symbol.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/well-known-symbol.js ***! + \*************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js/internals/uid.js"); +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); +var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "./node_modules/core-js/internals/use-symbol-as-uid.js"); + +var Symbol = global.Symbol; +var WellKnownSymbolsStore = shared('wks'); +var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; + +module.exports = function (name) { + if (!hasOwn(WellKnownSymbolsStore, name)) { + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) + ? Symbol[name] + : createWellKnownSymbol('Symbol.' + name); + } return WellKnownSymbolsStore[name]; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/whitespaces.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/whitespaces.js ***! + \*******************************************************/ +/***/ (function(module) { + +"use strict"; + +// a string of all valid unicode whitespaces +module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; + + +/***/ }), + +/***/ "./node_modules/core-js/internals/wrap-error-constructor-with-cause.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/core-js/internals/wrap-error-constructor-with-cause.js ***! + \*****************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "./node_modules/core-js/internals/copy-constructor-properties.js"); +var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ "./node_modules/core-js/internals/proxy-accessor.js"); +var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "./node_modules/core-js/internals/inherit-if-required.js"); +var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "./node_modules/core-js/internals/normalize-string-argument.js"); +var installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ "./node_modules/core-js/internals/install-error-cause.js"); +var installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ "./node_modules/core-js/internals/error-stack-install.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); + +module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { + var STACK_TRACE_LIMIT = 'stackTraceLimit'; + var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; + var path = FULL_NAME.split('.'); + var ERROR_NAME = path[path.length - 1]; + var OriginalError = getBuiltIn.apply(null, path); + + if (!OriginalError) return; + + var OriginalErrorPrototype = OriginalError.prototype; + + // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006 + if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause; + + if (!FORCED) return OriginalError; + + var BaseError = getBuiltIn('Error'); + + var WrappedError = wrapper(function (a, b) { + var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined); + var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError(); + if (message !== undefined) createNonEnumerableProperty(result, 'message', message); + installErrorStack(result, WrappedError, result.stack, 2); + if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError); + if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]); + return result; + }); + + WrappedError.prototype = OriginalErrorPrototype; + + if (ERROR_NAME !== 'Error') { + if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError); + else copyConstructorProperties(WrappedError, BaseError, { name: true }); + } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) { + proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT); + proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace'); + } + + copyConstructorProperties(WrappedError, OriginalError); + + if (!IS_PURE) try { + // Safari 13- bug: WebAssembly errors does not have a proper `.name` + if (OriginalErrorPrototype.name !== ERROR_NAME) { + createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME); + } + OriginalErrorPrototype.constructor = WrappedError; + } catch (error) { /* empty */ } + + return WrappedError; +}; + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.aggregate-error.cause.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.aggregate-error.cause.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var wrapErrorConstructorWithCause = __webpack_require__(/*! ../internals/wrap-error-constructor-with-cause */ "./node_modules/core-js/internals/wrap-error-constructor-with-cause.js"); + +var AGGREGATE_ERROR = 'AggregateError'; +var $AggregateError = getBuiltIn(AGGREGATE_ERROR); + +var FORCED = !fails(function () { + return $AggregateError([1]).errors[0] !== 1; +}) && fails(function () { + return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7; +}); + +// https://tc39.es/ecma262/#sec-aggregate-error +$({ global: true, constructor: true, arity: 2, forced: FORCED }, { + AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) { + // eslint-disable-next-line no-unused-vars -- required for functions `.length` + return function AggregateError(errors, message) { return apply(init, this, arguments); }; + }, FORCED, true) +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.aggregate-error.constructor.js": +/*!************************************************************************!*\ + !*** ./node_modules/core-js/modules/es.aggregate-error.constructor.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "./node_modules/core-js/internals/copy-constructor-properties.js"); +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); +var installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ "./node_modules/core-js/internals/install-error-cause.js"); +var installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ "./node_modules/core-js/internals/error-stack-install.js"); +var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); +var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "./node_modules/core-js/internals/normalize-string-argument.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var $Error = Error; +var push = [].push; + +var $AggregateError = function AggregateError(errors, message /* , options */) { + var isInstance = isPrototypeOf(AggregateErrorPrototype, this); + var that; + if (setPrototypeOf) { + that = setPrototypeOf($Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype); + } else { + that = isInstance ? this : create(AggregateErrorPrototype); + createNonEnumerableProperty(that, TO_STRING_TAG, 'Error'); + } + if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message)); + installErrorStack(that, $AggregateError, that.stack, 1); + if (arguments.length > 2) installErrorCause(that, arguments[2]); + var errorsArray = []; + iterate(errors, push, { that: errorsArray }); + createNonEnumerableProperty(that, 'errors', errorsArray); + return that; +}; + +if (setPrototypeOf) setPrototypeOf($AggregateError, $Error); +else copyConstructorProperties($AggregateError, $Error, { name: true }); + +var AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, { + constructor: createPropertyDescriptor(1, $AggregateError), + message: createPropertyDescriptor(1, ''), + name: createPropertyDescriptor(1, 'AggregateError') +}); + +// `AggregateError` constructor +// https://tc39.es/ecma262/#sec-aggregate-error-constructor +$({ global: true, constructor: true, arity: 2 }, { + AggregateError: $AggregateError +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.aggregate-error.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.aggregate-error.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's replaced to module below +__webpack_require__(/*! ../modules/es.aggregate-error.constructor */ "./node_modules/core-js/modules/es.aggregate-error.constructor.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array-buffer.constructor.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array-buffer.constructor.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var arrayBufferModule = __webpack_require__(/*! ../internals/array-buffer */ "./node_modules/core-js/internals/array-buffer.js"); +var setSpecies = __webpack_require__(/*! ../internals/set-species */ "./node_modules/core-js/internals/set-species.js"); + +var ARRAY_BUFFER = 'ArrayBuffer'; +var ArrayBuffer = arrayBufferModule[ARRAY_BUFFER]; +var NativeArrayBuffer = global[ARRAY_BUFFER]; + +// `ArrayBuffer` constructor +// https://tc39.es/ecma262/#sec-arraybuffer-constructor +$({ global: true, constructor: true, forced: NativeArrayBuffer !== ArrayBuffer }, { + ArrayBuffer: ArrayBuffer +}); + +setSpecies(ARRAY_BUFFER); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array-buffer.is-view.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array-buffer.is-view.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); + +var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; + +// `ArrayBuffer.isView` method +// https://tc39.es/ecma262/#sec-arraybuffer.isview +$({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { + isView: ArrayBufferViewCore.isView +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array-buffer.slice.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array-buffer.slice.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js/internals/function-uncurry-this-clause.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var ArrayBufferModule = __webpack_require__(/*! ../internals/array-buffer */ "./node_modules/core-js/internals/array-buffer.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); +var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "./node_modules/core-js/internals/species-constructor.js"); + +var ArrayBuffer = ArrayBufferModule.ArrayBuffer; +var DataView = ArrayBufferModule.DataView; +var DataViewPrototype = DataView.prototype; +var nativeArrayBufferSlice = uncurryThis(ArrayBuffer.prototype.slice); +var getUint8 = uncurryThis(DataViewPrototype.getUint8); +var setUint8 = uncurryThis(DataViewPrototype.setUint8); + +var INCORRECT_SLICE = fails(function () { + return !new ArrayBuffer(2).slice(1, undefined).byteLength; +}); + +// `ArrayBuffer.prototype.slice` method +// https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice +$({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, { + slice: function slice(start, end) { + if (nativeArrayBufferSlice && end === undefined) { + return nativeArrayBufferSlice(anObject(this), start); // FF fix + } + var length = anObject(this).byteLength; + var first = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === undefined ? length : end, length); + var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first)); + var viewSource = new DataView(this); + var viewTarget = new DataView(result); + var index = 0; + while (first < fin) { + setUint8(viewTarget, index++, getUint8(viewSource, first++)); + } return result; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.at.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.at.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +// `Array.prototype.at` method +// https://tc39.es/ecma262/#sec-array.prototype.at +$({ target: 'Array', proto: true }, { + at: function at(index) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : O[k]; + } +}); + +addToUnscopables('at'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.concat.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.concat.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "./node_modules/core-js/internals/does-not-exceed-safe-integer.js"); +var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); +var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/core-js/internals/array-species-create.js"); +var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); + +var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); + +// We can't use this feature detection in V8 since it causes +// deoptimization and serious performance degradation +// https://github.com/zloirock/core-js/issues/679 +var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { + var array = []; + array[IS_CONCAT_SPREADABLE] = false; + return array.concat()[0] !== array; +}); + +var isConcatSpreadable = function (O) { + if (!isObject(O)) return false; + var spreadable = O[IS_CONCAT_SPREADABLE]; + return spreadable !== undefined ? !!spreadable : isArray(O); +}; + +var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat'); + +// `Array.prototype.concat` method +// https://tc39.es/ecma262/#sec-array.prototype.concat +// with adding support of @@isConcatSpreadable and @@species +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { + var O = toObject(this); + var A = arraySpeciesCreate(O, 0); + var n = 0; + var i, k, length, len, E; + for (i = -1, length = arguments.length; i < length; i++) { + E = i === -1 ? O : arguments[i]; + if (isConcatSpreadable(E)) { + len = lengthOfArrayLike(E); + doesNotExceedSafeInteger(n + len); + for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); + } else { + doesNotExceedSafeInteger(n + 1); + createProperty(A, n++, E); + } + } + A.length = n; + return A; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.copy-within.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.copy-within.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var copyWithin = __webpack_require__(/*! ../internals/array-copy-within */ "./node_modules/core-js/internals/array-copy-within.js"); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +// `Array.prototype.copyWithin` method +// https://tc39.es/ecma262/#sec-array.prototype.copywithin +$({ target: 'Array', proto: true }, { + copyWithin: copyWithin +}); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('copyWithin'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.every.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.every.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $every = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").every); +var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js"); + +var STRICT_METHOD = arrayMethodIsStrict('every'); + +// `Array.prototype.every` method +// https://tc39.es/ecma262/#sec-array.prototype.every +$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, { + every: function every(callbackfn /* , thisArg */) { + return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.fill.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.fill.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fill = __webpack_require__(/*! ../internals/array-fill */ "./node_modules/core-js/internals/array-fill.js"); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +// `Array.prototype.fill` method +// https://tc39.es/ecma262/#sec-array.prototype.fill +$({ target: 'Array', proto: true }, { + fill: fill +}); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('fill'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.filter.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.filter.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $filter = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").filter); +var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js"); + +var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); + +// `Array.prototype.filter` method +// https://tc39.es/ecma262/#sec-array.prototype.filter +// with adding support of @@species +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + filter: function filter(callbackfn /* , thisArg */) { + return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.find-index.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.find-index.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $findIndex = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").findIndex); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +var FIND_INDEX = 'findIndex'; +var SKIPS_HOLES = true; + +// Shouldn't skip holes +// eslint-disable-next-line es/no-array-prototype-findindex -- testing +if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; }); + +// `Array.prototype.findIndex` method +// https://tc39.es/ecma262/#sec-array.prototype.findindex +$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + findIndex: function findIndex(callbackfn /* , that = undefined */) { + return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables(FIND_INDEX); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.find-last-index.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.find-last-index.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $findLastIndex = (__webpack_require__(/*! ../internals/array-iteration-from-last */ "./node_modules/core-js/internals/array-iteration-from-last.js").findLastIndex); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +// `Array.prototype.findLastIndex` method +// https://tc39.es/ecma262/#sec-array.prototype.findlastindex +$({ target: 'Array', proto: true }, { + findLastIndex: function findLastIndex(callbackfn /* , that = undefined */) { + return $findLastIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +addToUnscopables('findLastIndex'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.find-last.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.find-last.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $findLast = (__webpack_require__(/*! ../internals/array-iteration-from-last */ "./node_modules/core-js/internals/array-iteration-from-last.js").findLast); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +// `Array.prototype.findLast` method +// https://tc39.es/ecma262/#sec-array.prototype.findlast +$({ target: 'Array', proto: true }, { + findLast: function findLast(callbackfn /* , that = undefined */) { + return $findLast(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +addToUnscopables('findLast'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.find.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.find.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $find = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").find); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +var FIND = 'find'; +var SKIPS_HOLES = true; + +// Shouldn't skip holes +// eslint-disable-next-line es/no-array-prototype-find -- testing +if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); + +// `Array.prototype.find` method +// https://tc39.es/ecma262/#sec-array.prototype.find +$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + find: function find(callbackfn /* , that = undefined */) { + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables(FIND); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.flat-map.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.flat-map.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var flattenIntoArray = __webpack_require__(/*! ../internals/flatten-into-array */ "./node_modules/core-js/internals/flatten-into-array.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/core-js/internals/array-species-create.js"); + +// `Array.prototype.flatMap` method +// https://tc39.es/ecma262/#sec-array.prototype.flatmap +$({ target: 'Array', proto: true }, { + flatMap: function flatMap(callbackfn /* , thisArg */) { + var O = toObject(this); + var sourceLen = lengthOfArrayLike(O); + var A; + aCallable(callbackfn); + A = arraySpeciesCreate(O, 0); + A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return A; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.flat.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.flat.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var flattenIntoArray = __webpack_require__(/*! ../internals/flatten-into-array */ "./node_modules/core-js/internals/flatten-into-array.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/core-js/internals/array-species-create.js"); + +// `Array.prototype.flat` method +// https://tc39.es/ecma262/#sec-array.prototype.flat +$({ target: 'Array', proto: true }, { + flat: function flat(/* depthArg = 1 */) { + var depthArg = arguments.length ? arguments[0] : undefined; + var O = toObject(this); + var sourceLen = lengthOfArrayLike(O); + var A = arraySpeciesCreate(O, 0); + A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg)); + return A; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.for-each.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.for-each.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var forEach = __webpack_require__(/*! ../internals/array-for-each */ "./node_modules/core-js/internals/array-for-each.js"); + +// `Array.prototype.forEach` method +// https://tc39.es/ecma262/#sec-array.prototype.foreach +// eslint-disable-next-line es/no-array-prototype-foreach -- safe +$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, { + forEach: forEach +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.from.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.from.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var from = __webpack_require__(/*! ../internals/array-from */ "./node_modules/core-js/internals/array-from.js"); +var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "./node_modules/core-js/internals/check-correctness-of-iteration.js"); + +var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) { + // eslint-disable-next-line es/no-array-from -- required for testing + Array.from(iterable); +}); + +// `Array.from` method +// https://tc39.es/ecma262/#sec-array.from +$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { + from: from +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.includes.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.includes.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $includes = (__webpack_require__(/*! ../internals/array-includes */ "./node_modules/core-js/internals/array-includes.js").includes); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +// FF99+ bug +var BROKEN_ON_SPARSE = fails(function () { + // eslint-disable-next-line es/no-array-prototype-includes -- detection + return !Array(1).includes(); +}); + +// `Array.prototype.includes` method +// https://tc39.es/ecma262/#sec-array.prototype.includes +$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { + includes: function includes(el /* , fromIndex = 0 */) { + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('includes'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.index-of.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.index-of.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable es/no-array-prototype-indexof -- required for testing */ +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js/internals/function-uncurry-this-clause.js"); +var $indexOf = (__webpack_require__(/*! ../internals/array-includes */ "./node_modules/core-js/internals/array-includes.js").indexOf); +var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js"); + +var nativeIndexOf = uncurryThis([].indexOf); + +var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; +var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf'); + +// `Array.prototype.indexOf` method +// https://tc39.es/ecma262/#sec-array.prototype.indexof +$({ target: 'Array', proto: true, forced: FORCED }, { + indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { + var fromIndex = arguments.length > 1 ? arguments[1] : undefined; + return NEGATIVE_ZERO + // convert -0 to +0 + ? nativeIndexOf(this, searchElement, fromIndex) || 0 + : $indexOf(this, searchElement, fromIndex); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.is-array.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.is-array.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); + +// `Array.isArray` method +// https://tc39.es/ecma262/#sec-array.isarray +$({ target: 'Array', stat: true }, { + isArray: isArray +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.iterator.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.iterator.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); +var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); +var defineIterator = __webpack_require__(/*! ../internals/iterator-define */ "./node_modules/core-js/internals/iterator-define.js"); +var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "./node_modules/core-js/internals/create-iter-result-object.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); + +var ARRAY_ITERATOR = 'Array Iterator'; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); + +// `Array.prototype.entries` method +// https://tc39.es/ecma262/#sec-array.prototype.entries +// `Array.prototype.keys` method +// https://tc39.es/ecma262/#sec-array.prototype.keys +// `Array.prototype.values` method +// https://tc39.es/ecma262/#sec-array.prototype.values +// `Array.prototype[@@iterator]` method +// https://tc39.es/ecma262/#sec-array.prototype-@@iterator +// `CreateArrayIterator` internal method +// https://tc39.es/ecma262/#sec-createarrayiterator +module.exports = defineIterator(Array, 'Array', function (iterated, kind) { + setInternalState(this, { + type: ARRAY_ITERATOR, + target: toIndexedObject(iterated), // target + index: 0, // next index + kind: kind // kind + }); +// `%ArrayIteratorPrototype%.next` method +// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next +}, function () { + var state = getInternalState(this); + var target = state.target; + var kind = state.kind; + var index = state.index++; + if (!target || index >= target.length) { + state.target = undefined; + return createIterResultObject(undefined, true); + } + switch (kind) { + case 'keys': return createIterResultObject(index, false); + case 'values': return createIterResultObject(target[index], false); + } return createIterResultObject([index, target[index]], false); +}, 'values'); + +// argumentsList[@@iterator] is %ArrayProto_values% +// https://tc39.es/ecma262/#sec-createunmappedargumentsobject +// https://tc39.es/ecma262/#sec-createmappedargumentsobject +var values = Iterators.Arguments = Iterators.Array; + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('keys'); +addToUnscopables('values'); +addToUnscopables('entries'); + +// V8 ~ Chrome 45- bug +if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try { + defineProperty(values, 'name', { value: 'values' }); +} catch (error) { /* empty */ } + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.join.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.join.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/core-js/internals/indexed-object.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js"); + +var nativeJoin = uncurryThis([].join); + +var ES3_STRINGS = IndexedObject !== Object; +var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ','); + +// `Array.prototype.join` method +// https://tc39.es/ecma262/#sec-array.prototype.join +$({ target: 'Array', proto: true, forced: FORCED }, { + join: function join(separator) { + return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.last-index-of.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.last-index-of.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var lastIndexOf = __webpack_require__(/*! ../internals/array-last-index-of */ "./node_modules/core-js/internals/array-last-index-of.js"); + +// `Array.prototype.lastIndexOf` method +// https://tc39.es/ecma262/#sec-array.prototype.lastindexof +// eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing +$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, { + lastIndexOf: lastIndexOf +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.map.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.map.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $map = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").map); +var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js"); + +var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map'); + +// `Array.prototype.map` method +// https://tc39.es/ecma262/#sec-array.prototype.map +// with adding support of @@species +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + map: function map(callbackfn /* , thisArg */) { + return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.of.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.of.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/core-js/internals/is-constructor.js"); +var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); + +var $Array = Array; + +var ISNT_GENERIC = fails(function () { + function F() { /* empty */ } + // eslint-disable-next-line es/no-array-of -- safe + return !($Array.of.call(F) instanceof F); +}); + +// `Array.of` method +// https://tc39.es/ecma262/#sec-array.of +// WebKit Array.of isn't generic +$({ target: 'Array', stat: true, forced: ISNT_GENERIC }, { + of: function of(/* ...args */) { + var index = 0; + var argumentsLength = arguments.length; + var result = new (isConstructor(this) ? this : $Array)(argumentsLength); + while (argumentsLength > index) createProperty(result, index, arguments[index++]); + result.length = argumentsLength; + return result; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.push.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.push.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ "./node_modules/core-js/internals/array-set-length.js"); +var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "./node_modules/core-js/internals/does-not-exceed-safe-integer.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +var INCORRECT_TO_LENGTH = fails(function () { + return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; +}); + +// V8 and Safari <= 15.4, FF < 23 throws InternalError +// https://bugs.chromium.org/p/v8/issues/detail?id=12681 +var properErrorOnNonWritableLength = function () { + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).push(); + } catch (error) { + return error instanceof TypeError; + } +}; + +var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); + +// `Array.prototype.push` method +// https://tc39.es/ecma262/#sec-array.prototype.push +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + push: function push(item) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var argCount = arguments.length; + doesNotExceedSafeInteger(len + argCount); + for (var i = 0; i < argCount; i++) { + O[len] = arguments[i]; + len++; + } + setArrayLength(O, len); + return len; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.reduce-right.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.reduce-right.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $reduceRight = (__webpack_require__(/*! ../internals/array-reduce */ "./node_modules/core-js/internals/array-reduce.js").right); +var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js"); +var CHROME_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); +var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); + +// Chrome 80-82 has a critical bug +// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 +var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; +var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduceRight'); + +// `Array.prototype.reduceRight` method +// https://tc39.es/ecma262/#sec-array.prototype.reduceright +$({ target: 'Array', proto: true, forced: FORCED }, { + reduceRight: function reduceRight(callbackfn /* , initialValue */) { + return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.reduce.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.reduce.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $reduce = (__webpack_require__(/*! ../internals/array-reduce */ "./node_modules/core-js/internals/array-reduce.js").left); +var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js"); +var CHROME_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); +var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); + +// Chrome 80-82 has a critical bug +// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 +var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; +var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce'); + +// `Array.prototype.reduce` method +// https://tc39.es/ecma262/#sec-array.prototype.reduce +$({ target: 'Array', proto: true, forced: FORCED }, { + reduce: function reduce(callbackfn /* , initialValue */) { + var length = arguments.length; + return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.reverse.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.reverse.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); + +var nativeReverse = uncurryThis([].reverse); +var test = [1, 2]; + +// `Array.prototype.reverse` method +// https://tc39.es/ecma262/#sec-array.prototype.reverse +// fix for Safari 12.0 bug +// https://bugs.webkit.org/show_bug.cgi?id=188794 +$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, { + reverse: function reverse() { + // eslint-disable-next-line no-self-assign -- dirty hack + if (isArray(this)) this.length = this.length; + return nativeReverse(this); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.slice.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.slice.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/core-js/internals/is-array.js"); +var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/core-js/internals/is-constructor.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js"); +var nativeSlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/core-js/internals/array-slice.js"); + +var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); + +var SPECIES = wellKnownSymbol('species'); +var $Array = Array; +var max = Math.max; + +// `Array.prototype.slice` method +// https://tc39.es/ecma262/#sec-array.prototype.slice +// fallback for not array-like ES3 strings and DOM objects +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + slice: function slice(start, end) { + var O = toIndexedObject(this); + var length = lengthOfArrayLike(O); + var k = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === undefined ? length : end, length); + // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible + var Constructor, result, n; + if (isArray(O)) { + Constructor = O.constructor; + // cross-realm fallback + if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) { + Constructor = undefined; + } else if (isObject(Constructor)) { + Constructor = Constructor[SPECIES]; + if (Constructor === null) Constructor = undefined; + } + if (Constructor === $Array || Constructor === undefined) { + return nativeSlice(O, k, fin); + } + } + result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0)); + for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); + result.length = n; + return result; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.some.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.some.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $some = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").some); +var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js"); + +var STRICT_METHOD = arrayMethodIsStrict('some'); + +// `Array.prototype.some` method +// https://tc39.es/ecma262/#sec-array.prototype.some +$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, { + some: function some(callbackfn /* , thisArg */) { + return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.sort.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.sort.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ "./node_modules/core-js/internals/delete-property-or-throw.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var internalSort = __webpack_require__(/*! ../internals/array-sort */ "./node_modules/core-js/internals/array-sort.js"); +var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/core-js/internals/array-method-is-strict.js"); +var FF = __webpack_require__(/*! ../internals/engine-ff-version */ "./node_modules/core-js/internals/engine-ff-version.js"); +var IE_OR_EDGE = __webpack_require__(/*! ../internals/engine-is-ie-or-edge */ "./node_modules/core-js/internals/engine-is-ie-or-edge.js"); +var V8 = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); +var WEBKIT = __webpack_require__(/*! ../internals/engine-webkit-version */ "./node_modules/core-js/internals/engine-webkit-version.js"); + +var test = []; +var nativeSort = uncurryThis(test.sort); +var push = uncurryThis(test.push); + +// IE8- +var FAILS_ON_UNDEFINED = fails(function () { + test.sort(undefined); +}); +// V8 bug +var FAILS_ON_NULL = fails(function () { + test.sort(null); +}); +// Old WebKit +var STRICT_METHOD = arrayMethodIsStrict('sort'); + +var STABLE_SORT = !fails(function () { + // feature detection can be too slow, so check engines versions + if (V8) return V8 < 70; + if (FF && FF > 3) return; + if (IE_OR_EDGE) return true; + if (WEBKIT) return WEBKIT < 603; + + var result = ''; + var code, chr, value, index; + + // generate an array with more 512 elements (Chakra and old V8 fails only in this case) + for (code = 65; code < 76; code++) { + chr = String.fromCharCode(code); + + switch (code) { + case 66: case 69: case 70: case 72: value = 3; break; + case 68: case 71: value = 4; break; + default: value = 2; + } + + for (index = 0; index < 47; index++) { + test.push({ k: chr + index, v: value }); + } + } + + test.sort(function (a, b) { return b.v - a.v; }); + + for (index = 0; index < test.length; index++) { + chr = test[index].k.charAt(0); + if (result.charAt(result.length - 1) !== chr) result += chr; + } + + return result !== 'DGBEFHACIJK'; +}); + +var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT; + +var getSortCompare = function (comparefn) { + return function (x, y) { + if (y === undefined) return -1; + if (x === undefined) return 1; + if (comparefn !== undefined) return +comparefn(x, y) || 0; + return toString(x) > toString(y) ? 1 : -1; + }; +}; + +// `Array.prototype.sort` method +// https://tc39.es/ecma262/#sec-array.prototype.sort +$({ target: 'Array', proto: true, forced: FORCED }, { + sort: function sort(comparefn) { + if (comparefn !== undefined) aCallable(comparefn); + + var array = toObject(this); + + if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn); + + var items = []; + var arrayLength = lengthOfArrayLike(array); + var itemsLength, index; + + for (index = 0; index < arrayLength; index++) { + if (index in array) push(items, array[index]); + } + + internalSort(items, getSortCompare(comparefn)); + + itemsLength = lengthOfArrayLike(items); + index = 0; + + while (index < itemsLength) array[index] = items[index++]; + while (index < arrayLength) deletePropertyOrThrow(array, index++); + + return array; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.species.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.species.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var setSpecies = __webpack_require__(/*! ../internals/set-species */ "./node_modules/core-js/internals/set-species.js"); + +// `Array[@@species]` getter +// https://tc39.es/ecma262/#sec-get-array-@@species +setSpecies('Array'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.splice.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.splice.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ "./node_modules/core-js/internals/array-set-length.js"); +var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "./node_modules/core-js/internals/does-not-exceed-safe-integer.js"); +var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/core-js/internals/array-species-create.js"); +var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); +var deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ "./node_modules/core-js/internals/delete-property-or-throw.js"); +var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "./node_modules/core-js/internals/array-method-has-species-support.js"); + +var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); + +var max = Math.max; +var min = Math.min; + +// `Array.prototype.splice` method +// https://tc39.es/ecma262/#sec-array.prototype.splice +// with adding support of @@species +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + splice: function splice(start, deleteCount /* , ...items */) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var insertCount, actualDeleteCount, A, k, from, to; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + } + doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); + A = arraySpeciesCreate(O, actualDeleteCount); + for (k = 0; k < actualDeleteCount; k++) { + from = actualStart + k; + if (from in O) createProperty(A, k, O[from]); + } + A.length = actualDeleteCount; + if (insertCount < actualDeleteCount) { + for (k = actualStart; k < len - actualDeleteCount; k++) { + from = k + actualDeleteCount; + to = k + insertCount; + if (from in O) O[to] = O[from]; + else deletePropertyOrThrow(O, to); + } + for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1); + } else if (insertCount > actualDeleteCount) { + for (k = len - actualDeleteCount; k > actualStart; k--) { + from = k + actualDeleteCount - 1; + to = k + insertCount - 1; + if (from in O) O[to] = O[from]; + else deletePropertyOrThrow(O, to); + } + } + for (k = 0; k < insertCount; k++) { + O[k + actualStart] = arguments[k + 2]; + } + setArrayLength(O, len - actualDeleteCount + insertCount); + return A; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.to-reversed.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.to-reversed.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var arrayToReversed = __webpack_require__(/*! ../internals/array-to-reversed */ "./node_modules/core-js/internals/array-to-reversed.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +var $Array = Array; + +// `Array.prototype.toReversed` method +// https://tc39.es/ecma262/#sec-array.prototype.toreversed +$({ target: 'Array', proto: true }, { + toReversed: function toReversed() { + return arrayToReversed(toIndexedObject(this), $Array); + } +}); + +addToUnscopables('toReversed'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.to-sorted.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.to-sorted.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var arrayFromConstructorAndList = __webpack_require__(/*! ../internals/array-from-constructor-and-list */ "./node_modules/core-js/internals/array-from-constructor-and-list.js"); +var getVirtual = __webpack_require__(/*! ../internals/entry-virtual */ "./node_modules/core-js/internals/entry-virtual.js"); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +var $Array = Array; +var sort = uncurryThis(getVirtual('Array').sort); + +// `Array.prototype.toSorted` method +// https://tc39.es/ecma262/#sec-array.prototype.tosorted +$({ target: 'Array', proto: true }, { + toSorted: function toSorted(compareFn) { + if (compareFn !== undefined) aCallable(compareFn); + var O = toIndexedObject(this); + var A = arrayFromConstructorAndList($Array, O); + return sort(A, compareFn); + } +}); + +addToUnscopables('toSorted'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.to-spliced.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.to-spliced.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); +var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "./node_modules/core-js/internals/does-not-exceed-safe-integer.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); + +var $Array = Array; +var max = Math.max; +var min = Math.min; + +// `Array.prototype.toSpliced` method +// https://tc39.es/ecma262/#sec-array.prototype.tospliced +$({ target: 'Array', proto: true }, { + toSpliced: function toSpliced(start, deleteCount /* , ...items */) { + var O = toIndexedObject(this); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var k = 0; + var insertCount, actualDeleteCount, newLen, A; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + } + newLen = doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); + A = $Array(newLen); + + for (; k < actualStart; k++) A[k] = O[k]; + for (; k < actualStart + insertCount; k++) A[k] = arguments[k - actualStart + 2]; + for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount]; + + return A; + } +}); + +addToUnscopables('toSpliced'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.unscopables.flat-map.js": +/*!***********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.unscopables.flat-map.js ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// this method was added to unscopables after implementation +// in popular engines, so it's moved to a separate module +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('flatMap'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.unscopables.flat.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.unscopables.flat.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// this method was added to unscopables after implementation +// in popular engines, so it's moved to a separate module +var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/core-js/internals/add-to-unscopables.js"); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('flat'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.unshift.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.unshift.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ "./node_modules/core-js/internals/array-set-length.js"); +var deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ "./node_modules/core-js/internals/delete-property-or-throw.js"); +var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "./node_modules/core-js/internals/does-not-exceed-safe-integer.js"); + +// IE8- +var INCORRECT_RESULT = [].unshift(0) !== 1; + +// V8 ~ Chrome < 71 and Safari <= 15.4, FF < 23 throws InternalError +var properErrorOnNonWritableLength = function () { + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).unshift(); + } catch (error) { + return error instanceof TypeError; + } +}; + +var FORCED = INCORRECT_RESULT || !properErrorOnNonWritableLength(); + +// `Array.prototype.unshift` method +// https://tc39.es/ecma262/#sec-array.prototype.unshift +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + unshift: function unshift(item) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var argCount = arguments.length; + if (argCount) { + doesNotExceedSafeInteger(len + argCount); + var k = len; + while (k--) { + var to = k + argCount; + if (k in O) O[to] = O[k]; + else deletePropertyOrThrow(O, to); + } + for (var j = 0; j < argCount; j++) { + O[j] = arguments[j]; + } + } return setArrayLength(O, len + argCount); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.array.with.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.with.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var arrayWith = __webpack_require__(/*! ../internals/array-with */ "./node_modules/core-js/internals/array-with.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); + +var $Array = Array; + +// `Array.prototype.with` method +// https://tc39.es/ecma262/#sec-array.prototype.with +$({ target: 'Array', proto: true }, { + 'with': function (index, value) { + return arrayWith(toIndexedObject(this), $Array, index, value); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.data-view.constructor.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.data-view.constructor.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var ArrayBufferModule = __webpack_require__(/*! ../internals/array-buffer */ "./node_modules/core-js/internals/array-buffer.js"); +var NATIVE_ARRAY_BUFFER = __webpack_require__(/*! ../internals/array-buffer-basic-detection */ "./node_modules/core-js/internals/array-buffer-basic-detection.js"); + +// `DataView` constructor +// https://tc39.es/ecma262/#sec-dataview-constructor +$({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, { + DataView: ArrayBufferModule.DataView +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.data-view.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.data-view.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's replaced to module below +__webpack_require__(/*! ../modules/es.data-view.constructor */ "./node_modules/core-js/modules/es.data-view.constructor.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.date.get-year.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.date.get-year.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +// IE8- non-standard case +var FORCED = fails(function () { + // eslint-disable-next-line es/no-date-prototype-getyear-setyear -- detection + return new Date(16e11).getYear() !== 120; +}); + +var getFullYear = uncurryThis(Date.prototype.getFullYear); + +// `Date.prototype.getYear` method +// https://tc39.es/ecma262/#sec-date.prototype.getyear +$({ target: 'Date', proto: true, forced: FORCED }, { + getYear: function getYear() { + return getFullYear(this) - 1900; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.date.now.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/es.date.now.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove from `core-js@4` +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +var $Date = Date; +var thisTimeValue = uncurryThis($Date.prototype.getTime); + +// `Date.now` method +// https://tc39.es/ecma262/#sec-date.now +$({ target: 'Date', stat: true }, { + now: function now() { + return thisTimeValue(new $Date()); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.date.set-year.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.date.set-year.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); + +var DatePrototype = Date.prototype; +var thisTimeValue = uncurryThis(DatePrototype.getTime); +var setFullYear = uncurryThis(DatePrototype.setFullYear); + +// `Date.prototype.setYear` method +// https://tc39.es/ecma262/#sec-date.prototype.setyear +$({ target: 'Date', proto: true }, { + setYear: function setYear(year) { + // validate + thisTimeValue(this); + var yi = toIntegerOrInfinity(year); + var yyyy = yi >= 0 && yi <= 99 ? yi + 1900 : yi; + return setFullYear(this, yyyy); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.date.to-gmt-string.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.date.to-gmt-string.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); + +// `Date.prototype.toGMTString` method +// https://tc39.es/ecma262/#sec-date.prototype.togmtstring +$({ target: 'Date', proto: true }, { + toGMTString: Date.prototype.toUTCString +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.date.to-iso-string.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.date.to-iso-string.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var toISOString = __webpack_require__(/*! ../internals/date-to-iso-string */ "./node_modules/core-js/internals/date-to-iso-string.js"); + +// `Date.prototype.toISOString` method +// https://tc39.es/ecma262/#sec-date.prototype.toisostring +// PhantomJS / old WebKit has a broken implementations +$({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, { + toISOString: toISOString +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.date.to-json.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.date.to-json.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "./node_modules/core-js/internals/to-primitive.js"); + +var FORCED = fails(function () { + return new Date(NaN).toJSON() !== null + || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; +}); + +// `Date.prototype.toJSON` method +// https://tc39.es/ecma262/#sec-date.prototype.tojson +$({ target: 'Date', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + toJSON: function toJSON(key) { + var O = toObject(this); + var pv = toPrimitive(O, 'number'); + return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.date.to-primitive.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es.date.to-primitive.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var dateToPrimitive = __webpack_require__(/*! ../internals/date-to-primitive */ "./node_modules/core-js/internals/date-to-primitive.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); +var DatePrototype = Date.prototype; + +// `Date.prototype[@@toPrimitive]` method +// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive +if (!hasOwn(DatePrototype, TO_PRIMITIVE)) { + defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.date.to-string.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.date.to-string.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove from `core-js@4` +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); + +var DatePrototype = Date.prototype; +var INVALID_DATE = 'Invalid Date'; +var TO_STRING = 'toString'; +var nativeDateToString = uncurryThis(DatePrototype[TO_STRING]); +var thisTimeValue = uncurryThis(DatePrototype.getTime); + +// `Date.prototype.toString` method +// https://tc39.es/ecma262/#sec-date.prototype.tostring +if (String(new Date(NaN)) !== INVALID_DATE) { + defineBuiltIn(DatePrototype, TO_STRING, function toString() { + var value = thisTimeValue(this); + // eslint-disable-next-line no-self-compare -- NaN check + return value === value ? nativeDateToString(this) : INVALID_DATE; + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.error.cause.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.error.cause.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable no-unused-vars -- required for functions `.length` */ +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var wrapErrorConstructorWithCause = __webpack_require__(/*! ../internals/wrap-error-constructor-with-cause */ "./node_modules/core-js/internals/wrap-error-constructor-with-cause.js"); + +var WEB_ASSEMBLY = 'WebAssembly'; +var WebAssembly = global[WEB_ASSEMBLY]; + +var FORCED = Error('e', { cause: 7 }).cause !== 7; + +var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); + $({ global: true, constructor: true, arity: 1, forced: FORCED }, O); +}; + +var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { + if (WebAssembly && WebAssembly[ERROR_NAME]) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED); + $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O); + } +}; + +// https://tc39.es/ecma262/#sec-nativeerror +exportGlobalErrorCauseWrapper('Error', function (init) { + return function Error(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('EvalError', function (init) { + return function EvalError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('RangeError', function (init) { + return function RangeError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('ReferenceError', function (init) { + return function ReferenceError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('SyntaxError', function (init) { + return function SyntaxError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('TypeError', function (init) { + return function TypeError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('URIError', function (init) { + return function URIError(message) { return apply(init, this, arguments); }; +}); +exportWebAssemblyErrorCauseWrapper('CompileError', function (init) { + return function CompileError(message) { return apply(init, this, arguments); }; +}); +exportWebAssemblyErrorCauseWrapper('LinkError', function (init) { + return function LinkError(message) { return apply(init, this, arguments); }; +}); +exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { + return function RuntimeError(message) { return apply(init, this, arguments); }; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.error.to-string.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.error.to-string.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var errorToString = __webpack_require__(/*! ../internals/error-to-string */ "./node_modules/core-js/internals/error-to-string.js"); + +var ErrorPrototype = Error.prototype; + +// `Error.prototype.toString` method fix +// https://tc39.es/ecma262/#sec-error.prototype.tostring +if (ErrorPrototype.toString !== errorToString) { + defineBuiltIn(ErrorPrototype, 'toString', errorToString); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.escape.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/es.escape.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); + +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var exec = uncurryThis(/./.exec); +var numberToString = uncurryThis(1.0.toString); +var toUpperCase = uncurryThis(''.toUpperCase); + +var raw = /[\w*+\-./@]/; + +var hex = function (code, length) { + var result = numberToString(code, 16); + while (result.length < length) result = '0' + result; + return result; +}; + +// `escape` method +// https://tc39.es/ecma262/#sec-escape-string +$({ global: true }, { + escape: function escape(string) { + var str = toString(string); + var result = ''; + var length = str.length; + var index = 0; + var chr, code; + while (index < length) { + chr = charAt(str, index++); + if (exec(raw, chr)) { + result += chr; + } else { + code = charCodeAt(chr, 0); + if (code < 256) { + result += '%' + hex(code, 2); + } else { + result += '%u' + toUpperCase(hex(code, 4)); + } + } + } return result; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.function.bind.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.function.bind.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove from `core-js@4` +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var bind = __webpack_require__(/*! ../internals/function-bind */ "./node_modules/core-js/internals/function-bind.js"); + +// `Function.prototype.bind` method +// https://tc39.es/ecma262/#sec-function.prototype.bind +// eslint-disable-next-line es/no-function-prototype-bind -- detection +$({ target: 'Function', proto: true, forced: Function.bind !== bind }, { + bind: bind +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.function.has-instance.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.function.has-instance.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "./node_modules/core-js/internals/make-built-in.js"); + +var HAS_INSTANCE = wellKnownSymbol('hasInstance'); +var FunctionPrototype = Function.prototype; + +// `Function.prototype[@@hasInstance]` method +// https://tc39.es/ecma262/#sec-function.prototype-@@hasinstance +if (!(HAS_INSTANCE in FunctionPrototype)) { + definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: makeBuiltIn(function (O) { + if (!isCallable(this) || !isObject(O)) return false; + var P = this.prototype; + if (!isObject(P)) return O instanceof this; + // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: + while (O = getPrototypeOf(O)) if (P === O) return true; + return false; + }, HAS_INSTANCE) }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.function.name.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.function.name.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var FUNCTION_NAME_EXISTS = (__webpack_require__(/*! ../internals/function-name */ "./node_modules/core-js/internals/function-name.js").EXISTS); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); + +var FunctionPrototype = Function.prototype; +var functionToString = uncurryThis(FunctionPrototype.toString); +var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/; +var regExpExec = uncurryThis(nameRE.exec); +var NAME = 'name'; + +// Function instances `.name` property +// https://tc39.es/ecma262/#sec-function-instances-name +if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) { + defineBuiltInAccessor(FunctionPrototype, NAME, { + configurable: true, + get: function () { + try { + return regExpExec(nameRE, functionToString(this))[1]; + } catch (error) { + return ''; + } + } + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.global-this.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.global-this.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); + +// `globalThis` object +// https://tc39.es/ecma262/#sec-globalthis +$({ global: true, forced: global.globalThis !== global }, { + globalThis: global +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.json.stringify.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.json.stringify.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); +var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/core-js/internals/array-slice.js"); +var getReplacerFunction = __webpack_require__(/*! ../internals/get-json-replacer-function */ "./node_modules/core-js/internals/get-json-replacer-function.js"); +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); + +var $String = String; +var $stringify = getBuiltIn('JSON', 'stringify'); +var exec = uncurryThis(/./.exec); +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var replace = uncurryThis(''.replace); +var numberToString = uncurryThis(1.0.toString); + +var tester = /[\uD800-\uDFFF]/g; +var low = /^[\uD800-\uDBFF]$/; +var hi = /^[\uDC00-\uDFFF]$/; + +var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () { + var symbol = getBuiltIn('Symbol')('stringify detection'); + // MS Edge converts symbol values to JSON as {} + return $stringify([symbol]) !== '[null]' + // WebKit converts symbol values to JSON as null + || $stringify({ a: symbol }) !== '{}' + // V8 throws on boxed symbols + || $stringify(Object(symbol)) !== '{}'; +}); + +// https://github.com/tc39/proposal-well-formed-stringify +var ILL_FORMED_UNICODE = fails(function () { + return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' + || $stringify('\uDEAD') !== '"\\udead"'; +}); + +var stringifyWithSymbolsFix = function (it, replacer) { + var args = arraySlice(arguments); + var $replacer = getReplacerFunction(replacer); + if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined + args[1] = function (key, value) { + // some old implementations (like WebKit) could pass numbers as keys + if (isCallable($replacer)) value = call($replacer, this, $String(key), value); + if (!isSymbol(value)) return value; + }; + return apply($stringify, null, args); +}; + +var fixIllFormed = function (match, offset, string) { + var prev = charAt(string, offset - 1); + var next = charAt(string, offset + 1); + if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) { + return '\\u' + numberToString(charCodeAt(match, 0), 16); + } return match; +}; + +if ($stringify) { + // `JSON.stringify` method + // https://tc39.es/ecma262/#sec-json.stringify + $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + stringify: function stringify(it, replacer, space) { + var args = arraySlice(arguments); + var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args); + return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result; + } + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.json.to-string-tag.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.json.to-string-tag.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); + +// JSON[@@toStringTag] property +// https://tc39.es/ecma262/#sec-json-@@tostringtag +setToStringTag(global.JSON, 'JSON', true); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.map.constructor.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.map.constructor.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var collection = __webpack_require__(/*! ../internals/collection */ "./node_modules/core-js/internals/collection.js"); +var collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ "./node_modules/core-js/internals/collection-strong.js"); + +// `Map` constructor +// https://tc39.es/ecma262/#sec-map-objects +collection('Map', function (init) { + return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; +}, collectionStrong); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.map.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/modules/es.map.js ***! + \************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's replaced to module below +__webpack_require__(/*! ../modules/es.map.constructor */ "./node_modules/core-js/modules/es.map.constructor.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.acosh.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.acosh.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var log1p = __webpack_require__(/*! ../internals/math-log1p */ "./node_modules/core-js/internals/math-log1p.js"); + +// eslint-disable-next-line es/no-math-acosh -- required for testing +var $acosh = Math.acosh; +var log = Math.log; +var sqrt = Math.sqrt; +var LN2 = Math.LN2; + +var FORCED = !$acosh + // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 + || Math.floor($acosh(Number.MAX_VALUE)) !== 710 + // Tor Browser bug: Math.acosh(Infinity) -> NaN + || $acosh(Infinity) !== Infinity; + +// `Math.acosh` method +// https://tc39.es/ecma262/#sec-math.acosh +$({ target: 'Math', stat: true, forced: FORCED }, { + acosh: function acosh(x) { + var n = +x; + return n < 1 ? NaN : n > 94906265.62425156 + ? log(n) + LN2 + : log1p(n - 1 + sqrt(n - 1) * sqrt(n + 1)); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.asinh.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.asinh.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); + +// eslint-disable-next-line es/no-math-asinh -- required for testing +var $asinh = Math.asinh; +var log = Math.log; +var sqrt = Math.sqrt; + +function asinh(x) { + var n = +x; + return !isFinite(n) || n === 0 ? n : n < 0 ? -asinh(-n) : log(n + sqrt(n * n + 1)); +} + +var FORCED = !($asinh && 1 / $asinh(0) > 0); + +// `Math.asinh` method +// https://tc39.es/ecma262/#sec-math.asinh +// Tor Browser bug: Math.asinh(0) -> -0 +$({ target: 'Math', stat: true, forced: FORCED }, { + asinh: asinh +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.atanh.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.atanh.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); + +// eslint-disable-next-line es/no-math-atanh -- required for testing +var $atanh = Math.atanh; +var log = Math.log; + +var FORCED = !($atanh && 1 / $atanh(-0) < 0); + +// `Math.atanh` method +// https://tc39.es/ecma262/#sec-math.atanh +// Tor Browser bug: Math.atanh(-0) -> 0 +$({ target: 'Math', stat: true, forced: FORCED }, { + atanh: function atanh(x) { + var n = +x; + return n === 0 ? n : log((1 + n) / (1 - n)) / 2; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.cbrt.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.cbrt.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var sign = __webpack_require__(/*! ../internals/math-sign */ "./node_modules/core-js/internals/math-sign.js"); + +var abs = Math.abs; +var pow = Math.pow; + +// `Math.cbrt` method +// https://tc39.es/ecma262/#sec-math.cbrt +$({ target: 'Math', stat: true }, { + cbrt: function cbrt(x) { + var n = +x; + return sign(n) * pow(abs(n), 1 / 3); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.clz32.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.clz32.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); + +var floor = Math.floor; +var log = Math.log; +var LOG2E = Math.LOG2E; + +// `Math.clz32` method +// https://tc39.es/ecma262/#sec-math.clz32 +$({ target: 'Math', stat: true }, { + clz32: function clz32(x) { + var n = x >>> 0; + return n ? 31 - floor(log(n + 0.5) * LOG2E) : 32; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.cosh.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.cosh.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ "./node_modules/core-js/internals/math-expm1.js"); + +// eslint-disable-next-line es/no-math-cosh -- required for testing +var $cosh = Math.cosh; +var abs = Math.abs; +var E = Math.E; + +var FORCED = !$cosh || $cosh(710) === Infinity; + +// `Math.cosh` method +// https://tc39.es/ecma262/#sec-math.cosh +$({ target: 'Math', stat: true, forced: FORCED }, { + cosh: function cosh(x) { + var t = expm1(abs(x) - 1) + 1; + return (t + 1 / (t * E * E)) * (E / 2); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.expm1.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.expm1.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ "./node_modules/core-js/internals/math-expm1.js"); + +// `Math.expm1` method +// https://tc39.es/ecma262/#sec-math.expm1 +// eslint-disable-next-line es/no-math-expm1 -- required for testing +$({ target: 'Math', stat: true, forced: expm1 !== Math.expm1 }, { expm1: expm1 }); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.fround.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.fround.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fround = __webpack_require__(/*! ../internals/math-fround */ "./node_modules/core-js/internals/math-fround.js"); + +// `Math.fround` method +// https://tc39.es/ecma262/#sec-math.fround +$({ target: 'Math', stat: true }, { fround: fround }); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.hypot.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.hypot.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); + +// eslint-disable-next-line es/no-math-hypot -- required for testing +var $hypot = Math.hypot; +var abs = Math.abs; +var sqrt = Math.sqrt; + +// Chrome 77 bug +// https://bugs.chromium.org/p/v8/issues/detail?id=9546 +var FORCED = !!$hypot && $hypot(Infinity, NaN) !== Infinity; + +// `Math.hypot` method +// https://tc39.es/ecma262/#sec-math.hypot +$({ target: 'Math', stat: true, arity: 2, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + hypot: function hypot(value1, value2) { + var sum = 0; + var i = 0; + var aLen = arguments.length; + var larg = 0; + var arg, div; + while (i < aLen) { + arg = abs(arguments[i++]); + if (larg < arg) { + div = larg / arg; + sum = sum * div * div + 1; + larg = arg; + } else if (arg > 0) { + div = arg / larg; + sum += div * div; + } else sum += arg; + } + return larg === Infinity ? Infinity : larg * sqrt(sum); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.imul.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.imul.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +// eslint-disable-next-line es/no-math-imul -- required for testing +var $imul = Math.imul; + +var FORCED = fails(function () { + return $imul(0xFFFFFFFF, 5) !== -5 || $imul.length !== 2; +}); + +// `Math.imul` method +// https://tc39.es/ecma262/#sec-math.imul +// some WebKit versions fails with big numbers, some has wrong arity +$({ target: 'Math', stat: true, forced: FORCED }, { + imul: function imul(x, y) { + var UINT16 = 0xFFFF; + var xn = +x; + var yn = +y; + var xl = UINT16 & xn; + var yl = UINT16 & yn; + return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.log10.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.log10.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var log10 = __webpack_require__(/*! ../internals/math-log10 */ "./node_modules/core-js/internals/math-log10.js"); + +// `Math.log10` method +// https://tc39.es/ecma262/#sec-math.log10 +$({ target: 'Math', stat: true }, { + log10: log10 +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.log1p.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.log1p.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var log1p = __webpack_require__(/*! ../internals/math-log1p */ "./node_modules/core-js/internals/math-log1p.js"); + +// `Math.log1p` method +// https://tc39.es/ecma262/#sec-math.log1p +$({ target: 'Math', stat: true }, { log1p: log1p }); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.log2.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.log2.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); + +var log = Math.log; +var LN2 = Math.LN2; + +// `Math.log2` method +// https://tc39.es/ecma262/#sec-math.log2 +$({ target: 'Math', stat: true }, { + log2: function log2(x) { + return log(x) / LN2; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.sign.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.sign.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var sign = __webpack_require__(/*! ../internals/math-sign */ "./node_modules/core-js/internals/math-sign.js"); + +// `Math.sign` method +// https://tc39.es/ecma262/#sec-math.sign +$({ target: 'Math', stat: true }, { + sign: sign +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.sinh.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.sinh.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ "./node_modules/core-js/internals/math-expm1.js"); + +var abs = Math.abs; +var exp = Math.exp; +var E = Math.E; + +var FORCED = fails(function () { + // eslint-disable-next-line es/no-math-sinh -- required for testing + return Math.sinh(-2e-17) !== -2e-17; +}); + +// `Math.sinh` method +// https://tc39.es/ecma262/#sec-math.sinh +// V8 near Chromium 38 has a problem with very small numbers +$({ target: 'Math', stat: true, forced: FORCED }, { + sinh: function sinh(x) { + var n = +x; + return abs(n) < 1 ? (expm1(n) - expm1(-n)) / 2 : (exp(n - 1) - exp(-n - 1)) * (E / 2); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.tanh.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.tanh.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ "./node_modules/core-js/internals/math-expm1.js"); + +var exp = Math.exp; + +// `Math.tanh` method +// https://tc39.es/ecma262/#sec-math.tanh +$({ target: 'Math', stat: true }, { + tanh: function tanh(x) { + var n = +x; + var a = expm1(n); + var b = expm1(-n); + return a === Infinity ? 1 : b === Infinity ? -1 : (a - b) / (exp(n) + exp(-n)); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.to-string-tag.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.to-string-tag.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); + +// Math[@@toStringTag] property +// https://tc39.es/ecma262/#sec-math-@@tostringtag +setToStringTag(Math, 'Math', true); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.math.trunc.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.math.trunc.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var trunc = __webpack_require__(/*! ../internals/math-trunc */ "./node_modules/core-js/internals/math-trunc.js"); + +// `Math.trunc` method +// https://tc39.es/ecma262/#sec-math.trunc +$({ target: 'Math', stat: true }, { + trunc: trunc +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.constructor.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.constructor.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var path = __webpack_require__(/*! ../internals/path */ "./node_modules/core-js/internals/path.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/core-js/internals/is-forced.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "./node_modules/core-js/internals/inherit-if-required.js"); +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); +var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "./node_modules/core-js/internals/to-primitive.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js").f); +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); +var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ "./node_modules/core-js/internals/this-number-value.js"); +var trim = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/core-js/internals/string-trim.js").trim); + +var NUMBER = 'Number'; +var NativeNumber = global[NUMBER]; +var PureNumberNamespace = path[NUMBER]; +var NumberPrototype = NativeNumber.prototype; +var TypeError = global.TypeError; +var stringSlice = uncurryThis(''.slice); +var charCodeAt = uncurryThis(''.charCodeAt); + +// `ToNumeric` abstract operation +// https://tc39.es/ecma262/#sec-tonumeric +var toNumeric = function (value) { + var primValue = toPrimitive(value, 'number'); + return typeof primValue == 'bigint' ? primValue : toNumber(primValue); +}; + +// `ToNumber` abstract operation +// https://tc39.es/ecma262/#sec-tonumber +var toNumber = function (argument) { + var it = toPrimitive(argument, 'number'); + var first, third, radix, maxCode, digits, length, index, code; + if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number'); + if (typeof it == 'string' && it.length > 2) { + it = trim(it); + first = charCodeAt(it, 0); + if (first === 43 || first === 45) { + third = charCodeAt(it, 2); + if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix + } else if (first === 48) { + switch (charCodeAt(it, 1)) { + // fast equal of /^0b[01]+$/i + case 66: + case 98: + radix = 2; + maxCode = 49; + break; + // fast equal of /^0o[0-7]+$/i + case 79: + case 111: + radix = 8; + maxCode = 55; + break; + default: + return +it; + } + digits = stringSlice(it, 2); + length = digits.length; + for (index = 0; index < length; index++) { + code = charCodeAt(digits, index); + // parseInt parses a string to a first unavailable symbol + // but ToNumber should return NaN if a string contains unavailable symbols + if (code < 48 || code > maxCode) return NaN; + } return parseInt(digits, radix); + } + } return +it; +}; + +var FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1')); + +var calledWithNew = function (dummy) { + // includes check on 1..constructor(foo) case + return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); }); +}; + +// `Number` constructor +// https://tc39.es/ecma262/#sec-number-constructor +var NumberWrapper = function Number(value) { + var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); + return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n; +}; + +NumberWrapper.prototype = NumberPrototype; +if (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper; + +$({ global: true, constructor: true, wrap: true, forced: FORCED }, { + Number: NumberWrapper +}); + +// Use `internal/copy-constructor-properties` helper in `core-js@4` +var copyConstructorProperties = function (target, source) { + for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : ( + // ES3: + 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + + // ES2015 (in case, if modules with ES2015 Number statics required before): + 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' + + // ESNext + 'fromString,range' + ).split(','), j = 0, key; keys.length > j; j++) { + if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + } +}; + +if (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace); +if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.epsilon.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.epsilon.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); + +// `Number.EPSILON` constant +// https://tc39.es/ecma262/#sec-number.epsilon +$({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { + EPSILON: Math.pow(2, -52) +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.is-finite.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.is-finite.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var numberIsFinite = __webpack_require__(/*! ../internals/number-is-finite */ "./node_modules/core-js/internals/number-is-finite.js"); + +// `Number.isFinite` method +// https://tc39.es/ecma262/#sec-number.isfinite +$({ target: 'Number', stat: true }, { isFinite: numberIsFinite }); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.is-integer.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.is-integer.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var isIntegralNumber = __webpack_require__(/*! ../internals/is-integral-number */ "./node_modules/core-js/internals/is-integral-number.js"); + +// `Number.isInteger` method +// https://tc39.es/ecma262/#sec-number.isinteger +$({ target: 'Number', stat: true }, { + isInteger: isIntegralNumber +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.is-nan.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.is-nan.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); + +// `Number.isNaN` method +// https://tc39.es/ecma262/#sec-number.isnan +$({ target: 'Number', stat: true }, { + isNaN: function isNaN(number) { + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.is-safe-integer.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.is-safe-integer.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var isIntegralNumber = __webpack_require__(/*! ../internals/is-integral-number */ "./node_modules/core-js/internals/is-integral-number.js"); + +var abs = Math.abs; + +// `Number.isSafeInteger` method +// https://tc39.es/ecma262/#sec-number.issafeinteger +$({ target: 'Number', stat: true }, { + isSafeInteger: function isSafeInteger(number) { + return isIntegralNumber(number) && abs(number) <= 0x1FFFFFFFFFFFFF; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.max-safe-integer.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.max-safe-integer.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); + +// `Number.MAX_SAFE_INTEGER` constant +// https://tc39.es/ecma262/#sec-number.max_safe_integer +$({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { + MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.min-safe-integer.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.min-safe-integer.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); + +// `Number.MIN_SAFE_INTEGER` constant +// https://tc39.es/ecma262/#sec-number.min_safe_integer +$({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { + MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.parse-float.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.parse-float.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var parseFloat = __webpack_require__(/*! ../internals/number-parse-float */ "./node_modules/core-js/internals/number-parse-float.js"); + +// `Number.parseFloat` method +// https://tc39.es/ecma262/#sec-number.parseFloat +// eslint-disable-next-line es/no-number-parsefloat -- required for testing +$({ target: 'Number', stat: true, forced: Number.parseFloat !== parseFloat }, { + parseFloat: parseFloat +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.parse-int.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.parse-int.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var parseInt = __webpack_require__(/*! ../internals/number-parse-int */ "./node_modules/core-js/internals/number-parse-int.js"); + +// `Number.parseInt` method +// https://tc39.es/ecma262/#sec-number.parseint +// eslint-disable-next-line es/no-number-parseint -- required for testing +$({ target: 'Number', stat: true, forced: Number.parseInt !== parseInt }, { + parseInt: parseInt +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.to-exponential.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.to-exponential.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ "./node_modules/core-js/internals/this-number-value.js"); +var $repeat = __webpack_require__(/*! ../internals/string-repeat */ "./node_modules/core-js/internals/string-repeat.js"); +var log10 = __webpack_require__(/*! ../internals/math-log10 */ "./node_modules/core-js/internals/math-log10.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +var $RangeError = RangeError; +var $String = String; +var $isFinite = isFinite; +var abs = Math.abs; +var floor = Math.floor; +var pow = Math.pow; +var round = Math.round; +var nativeToExponential = uncurryThis(1.0.toExponential); +var repeat = uncurryThis($repeat); +var stringSlice = uncurryThis(''.slice); + +// Edge 17- +var ROUNDS_PROPERLY = nativeToExponential(-6.9e-11, 4) === '-6.9000e-11' + // IE11- && Edge 14- + && nativeToExponential(1.255, 2) === '1.25e+0' + // FF86-, V8 ~ Chrome 49-50 + && nativeToExponential(12345, 3) === '1.235e+4' + // FF86-, V8 ~ Chrome 49-50 + && nativeToExponential(25, 0) === '3e+1'; + +// IE8- +var throwsOnInfinityFraction = function () { + return fails(function () { + nativeToExponential(1, Infinity); + }) && fails(function () { + nativeToExponential(1, -Infinity); + }); +}; + +// Safari <11 && FF <50 +var properNonFiniteThisCheck = function () { + return !fails(function () { + nativeToExponential(Infinity, Infinity); + nativeToExponential(NaN, Infinity); + }); +}; + +var FORCED = !ROUNDS_PROPERLY || !throwsOnInfinityFraction() || !properNonFiniteThisCheck(); + +// `Number.prototype.toExponential` method +// https://tc39.es/ecma262/#sec-number.prototype.toexponential +$({ target: 'Number', proto: true, forced: FORCED }, { + toExponential: function toExponential(fractionDigits) { + var x = thisNumberValue(this); + if (fractionDigits === undefined) return nativeToExponential(x); + var f = toIntegerOrInfinity(fractionDigits); + if (!$isFinite(x)) return String(x); + // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation + if (f < 0 || f > 20) throw $RangeError('Incorrect fraction digits'); + if (ROUNDS_PROPERLY) return nativeToExponential(x, f); + var s = ''; + var m = ''; + var e = 0; + var c = ''; + var d = ''; + if (x < 0) { + s = '-'; + x = -x; + } + if (x === 0) { + e = 0; + m = repeat('0', f + 1); + } else { + // this block is based on https://gist.github.com/SheetJSDev/1100ad56b9f856c95299ed0e068eea08 + // TODO: improve accuracy with big fraction digits + var l = log10(x); + e = floor(l); + var n = 0; + var w = pow(10, e - f); + n = round(x / w); + if (2 * x >= (2 * n + 1) * w) { + n += 1; + } + if (n >= pow(10, f + 1)) { + n /= 10; + e += 1; + } + m = $String(n); + } + if (f !== 0) { + m = stringSlice(m, 0, 1) + '.' + stringSlice(m, 1); + } + if (e === 0) { + c = '+'; + d = '0'; + } else { + c = e > 0 ? '+' : '-'; + d = $String(abs(e)); + } + m += 'e' + c + d; + return s + m; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.to-fixed.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.to-fixed.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ "./node_modules/core-js/internals/this-number-value.js"); +var $repeat = __webpack_require__(/*! ../internals/string-repeat */ "./node_modules/core-js/internals/string-repeat.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +var $RangeError = RangeError; +var $String = String; +var floor = Math.floor; +var repeat = uncurryThis($repeat); +var stringSlice = uncurryThis(''.slice); +var nativeToFixed = uncurryThis(1.0.toFixed); + +var pow = function (x, n, acc) { + return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); +}; + +var log = function (x) { + var n = 0; + var x2 = x; + while (x2 >= 4096) { + n += 12; + x2 /= 4096; + } + while (x2 >= 2) { + n += 1; + x2 /= 2; + } return n; +}; + +var multiply = function (data, n, c) { + var index = -1; + var c2 = c; + while (++index < 6) { + c2 += n * data[index]; + data[index] = c2 % 1e7; + c2 = floor(c2 / 1e7); + } +}; + +var divide = function (data, n) { + var index = 6; + var c = 0; + while (--index >= 0) { + c += data[index]; + data[index] = floor(c / n); + c = (c % n) * 1e7; + } +}; + +var dataToString = function (data) { + var index = 6; + var s = ''; + while (--index >= 0) { + if (s !== '' || index === 0 || data[index] !== 0) { + var t = $String(data[index]); + s = s === '' ? t : s + repeat('0', 7 - t.length) + t; + } + } return s; +}; + +var FORCED = fails(function () { + return nativeToFixed(0.00008, 3) !== '0.000' || + nativeToFixed(0.9, 0) !== '1' || + nativeToFixed(1.255, 2) !== '1.25' || + nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128'; +}) || !fails(function () { + // V8 ~ Android 4.3- + nativeToFixed({}); +}); + +// `Number.prototype.toFixed` method +// https://tc39.es/ecma262/#sec-number.prototype.tofixed +$({ target: 'Number', proto: true, forced: FORCED }, { + toFixed: function toFixed(fractionDigits) { + var number = thisNumberValue(this); + var fractDigits = toIntegerOrInfinity(fractionDigits); + var data = [0, 0, 0, 0, 0, 0]; + var sign = ''; + var result = '0'; + var e, z, j, k; + + // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation + if (fractDigits < 0 || fractDigits > 20) throw $RangeError('Incorrect fraction digits'); + // eslint-disable-next-line no-self-compare -- NaN check + if (number !== number) return 'NaN'; + if (number <= -1e21 || number >= 1e21) return $String(number); + if (number < 0) { + sign = '-'; + number = -number; + } + if (number > 1e-21) { + e = log(number * pow(2, 69, 1)) - 69; + z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1); + z *= 0x10000000000000; + e = 52 - e; + if (e > 0) { + multiply(data, 0, z); + j = fractDigits; + while (j >= 7) { + multiply(data, 1e7, 0); + j -= 7; + } + multiply(data, pow(10, j, 1), 0); + j = e - 1; + while (j >= 23) { + divide(data, 1 << 23); + j -= 23; + } + divide(data, 1 << j); + multiply(data, 1, 1); + divide(data, 2); + result = dataToString(data); + } else { + multiply(data, 0, z); + multiply(data, 1 << -e, 0); + result = dataToString(data) + repeat('0', fractDigits); + } + } + if (fractDigits > 0) { + k = result.length; + result = sign + (k <= fractDigits + ? '0.' + repeat('0', fractDigits - k) + result + : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits)); + } else { + result = sign + result; + } return result; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.number.to-precision.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.to-precision.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ "./node_modules/core-js/internals/this-number-value.js"); + +var nativeToPrecision = uncurryThis(1.0.toPrecision); + +var FORCED = fails(function () { + // IE7- + return nativeToPrecision(1, undefined) !== '1'; +}) || !fails(function () { + // V8 ~ Android 4.3- + nativeToPrecision({}); +}); + +// `Number.prototype.toPrecision` method +// https://tc39.es/ecma262/#sec-number.prototype.toprecision +$({ target: 'Number', proto: true, forced: FORCED }, { + toPrecision: function toPrecision(precision) { + return precision === undefined + ? nativeToPrecision(thisNumberValue(this)) + : nativeToPrecision(thisNumberValue(this), precision); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.assign.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.assign.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var assign = __webpack_require__(/*! ../internals/object-assign */ "./node_modules/core-js/internals/object-assign.js"); + +// `Object.assign` method +// https://tc39.es/ecma262/#sec-object.assign +// eslint-disable-next-line es/no-object-assign -- required for testing +$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { + assign: assign +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.create.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.create.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove from `core-js@4` +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); + +// `Object.create` method +// https://tc39.es/ecma262/#sec-object.create +$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { + create: create +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.define-getter.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.define-getter.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ "./node_modules/core-js/internals/object-prototype-accessors-forced.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); + +// `Object.prototype.__defineGetter__` method +// https://tc39.es/ecma262/#sec-object.prototype.__defineGetter__ +if (DESCRIPTORS) { + $({ target: 'Object', proto: true, forced: FORCED }, { + __defineGetter__: function __defineGetter__(P, getter) { + definePropertyModule.f(toObject(this), P, { get: aCallable(getter), enumerable: true, configurable: true }); + } + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.define-properties.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.define-properties.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var defineProperties = (__webpack_require__(/*! ../internals/object-define-properties */ "./node_modules/core-js/internals/object-define-properties.js").f); + +// `Object.defineProperties` method +// https://tc39.es/ecma262/#sec-object.defineproperties +// eslint-disable-next-line es/no-object-defineproperties -- safe +$({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, { + defineProperties: defineProperties +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.define-property.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.define-property.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); + +// `Object.defineProperty` method +// https://tc39.es/ecma262/#sec-object.defineproperty +// eslint-disable-next-line es/no-object-defineproperty -- safe +$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, { + defineProperty: defineProperty +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.define-setter.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.define-setter.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ "./node_modules/core-js/internals/object-prototype-accessors-forced.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); + +// `Object.prototype.__defineSetter__` method +// https://tc39.es/ecma262/#sec-object.prototype.__defineSetter__ +if (DESCRIPTORS) { + $({ target: 'Object', proto: true, forced: FORCED }, { + __defineSetter__: function __defineSetter__(P, setter) { + definePropertyModule.f(toObject(this), P, { set: aCallable(setter), enumerable: true, configurable: true }); + } + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.entries.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.entries.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $entries = (__webpack_require__(/*! ../internals/object-to-array */ "./node_modules/core-js/internals/object-to-array.js").entries); + +// `Object.entries` method +// https://tc39.es/ecma262/#sec-object.entries +$({ target: 'Object', stat: true }, { + entries: function entries(O) { + return $entries(O); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.freeze.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.freeze.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var FREEZING = __webpack_require__(/*! ../internals/freezing */ "./node_modules/core-js/internals/freezing.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var onFreeze = (__webpack_require__(/*! ../internals/internal-metadata */ "./node_modules/core-js/internals/internal-metadata.js").onFreeze); + +// eslint-disable-next-line es/no-object-freeze -- safe +var $freeze = Object.freeze; +var FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); }); + +// `Object.freeze` method +// https://tc39.es/ecma262/#sec-object.freeze +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { + freeze: function freeze(it) { + return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.from-entries.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.from-entries.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); +var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); + +// `Object.fromEntries` method +// https://github.com/tc39/proposal-object-from-entries +$({ target: 'Object', stat: true }, { + fromEntries: function fromEntries(iterable) { + var obj = {}; + iterate(iterable, function (k, v) { + createProperty(obj, k, v); + }, { AS_ENTRIES: true }); + return obj; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.get-own-property-descriptor.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.get-own-property-descriptor.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var nativeGetOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); + +var FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); }); + +// `Object.getOwnPropertyDescriptor` method +// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor +$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) { + return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.get-own-property-descriptors.js": +/*!********************************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.get-own-property-descriptors.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "./node_modules/core-js/internals/own-keys.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js"); +var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); + +// `Object.getOwnPropertyDescriptors` method +// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors +$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { + getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { + var O = toIndexedObject(object); + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; + var keys = ownKeys(O); + var result = {}; + var index = 0; + var key, descriptor; + while (keys.length > index) { + descriptor = getOwnPropertyDescriptor(O, key = keys[index++]); + if (descriptor !== undefined) createProperty(result, key, descriptor); + } + return result; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.get-own-property-names.js": +/*!**************************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.get-own-property-names.js ***! + \**************************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names-external */ "./node_modules/core-js/internals/object-get-own-property-names-external.js").f); + +// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing +var FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); }); + +// `Object.getOwnPropertyNames` method +// https://tc39.es/ecma262/#sec-object.getownpropertynames +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { + getOwnPropertyNames: getOwnPropertyNames +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.get-own-property-symbols.js": +/*!****************************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.get-own-property-symbols.js ***! + \****************************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "./node_modules/core-js/internals/object-get-own-property-symbols.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); + +// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 +var FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); }); + +// `Object.getOwnPropertySymbols` method +// https://tc39.es/ecma262/#sec-object.getownpropertysymbols +$({ target: 'Object', stat: true, forced: FORCED }, { + getOwnPropertySymbols: function getOwnPropertySymbols(it) { + var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : []; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.get-prototype-of.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.get-prototype-of.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var nativeGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "./node_modules/core-js/internals/correct-prototype-getter.js"); + +var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); }); + +// `Object.getPrototypeOf` method +// https://tc39.es/ecma262/#sec-object.getprototypeof +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, { + getPrototypeOf: function getPrototypeOf(it) { + return nativeGetPrototypeOf(toObject(it)); + } +}); + + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.has-own.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.has-own.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); + +// `Object.hasOwn` method +// https://tc39.es/ecma262/#sec-object.hasown +$({ target: 'Object', stat: true }, { + hasOwn: hasOwn +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.is-extensible.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.is-extensible.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $isExtensible = __webpack_require__(/*! ../internals/object-is-extensible */ "./node_modules/core-js/internals/object-is-extensible.js"); + +// `Object.isExtensible` method +// https://tc39.es/ecma262/#sec-object.isextensible +// eslint-disable-next-line es/no-object-isextensible -- safe +$({ target: 'Object', stat: true, forced: Object.isExtensible !== $isExtensible }, { + isExtensible: $isExtensible +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.is-frozen.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.is-frozen.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(/*! ../internals/array-buffer-non-extensible */ "./node_modules/core-js/internals/array-buffer-non-extensible.js"); + +// eslint-disable-next-line es/no-object-isfrozen -- safe +var $isFrozen = Object.isFrozen; + +var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isFrozen(1); }); + +// `Object.isFrozen` method +// https://tc39.es/ecma262/#sec-object.isfrozen +$({ target: 'Object', stat: true, forced: FORCED }, { + isFrozen: function isFrozen(it) { + if (!isObject(it)) return true; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true; + return $isFrozen ? $isFrozen(it) : false; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.is-sealed.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.is-sealed.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(/*! ../internals/array-buffer-non-extensible */ "./node_modules/core-js/internals/array-buffer-non-extensible.js"); + +// eslint-disable-next-line es/no-object-issealed -- safe +var $isSealed = Object.isSealed; + +var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isSealed(1); }); + +// `Object.isSealed` method +// https://tc39.es/ecma262/#sec-object.issealed +$({ target: 'Object', stat: true, forced: FORCED }, { + isSealed: function isSealed(it) { + if (!isObject(it)) return true; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true; + return $isSealed ? $isSealed(it) : false; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.is.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.is.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var is = __webpack_require__(/*! ../internals/same-value */ "./node_modules/core-js/internals/same-value.js"); + +// `Object.is` method +// https://tc39.es/ecma262/#sec-object.is +$({ target: 'Object', stat: true }, { + is: is +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.keys.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.keys.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var nativeKeys = __webpack_require__(/*! ../internals/object-keys */ "./node_modules/core-js/internals/object-keys.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); }); + +// `Object.keys` method +// https://tc39.es/ecma262/#sec-object.keys +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { + keys: function keys(it) { + return nativeKeys(toObject(it)); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.lookup-getter.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.lookup-getter.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ "./node_modules/core-js/internals/object-prototype-accessors-forced.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); + +// `Object.prototype.__lookupGetter__` method +// https://tc39.es/ecma262/#sec-object.prototype.__lookupGetter__ +if (DESCRIPTORS) { + $({ target: 'Object', proto: true, forced: FORCED }, { + __lookupGetter__: function __lookupGetter__(P) { + var O = toObject(this); + var key = toPropertyKey(P); + var desc; + do { + if (desc = getOwnPropertyDescriptor(O, key)) return desc.get; + } while (O = getPrototypeOf(O)); + } + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.lookup-setter.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.lookup-setter.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ "./node_modules/core-js/internals/object-prototype-accessors-forced.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); + +// `Object.prototype.__lookupSetter__` method +// https://tc39.es/ecma262/#sec-object.prototype.__lookupSetter__ +if (DESCRIPTORS) { + $({ target: 'Object', proto: true, forced: FORCED }, { + __lookupSetter__: function __lookupSetter__(P) { + var O = toObject(this); + var key = toPropertyKey(P); + var desc; + do { + if (desc = getOwnPropertyDescriptor(O, key)) return desc.set; + } while (O = getPrototypeOf(O)); + } + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.prevent-extensions.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.prevent-extensions.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var onFreeze = (__webpack_require__(/*! ../internals/internal-metadata */ "./node_modules/core-js/internals/internal-metadata.js").onFreeze); +var FREEZING = __webpack_require__(/*! ../internals/freezing */ "./node_modules/core-js/internals/freezing.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +// eslint-disable-next-line es/no-object-preventextensions -- safe +var $preventExtensions = Object.preventExtensions; +var FAILS_ON_PRIMITIVES = fails(function () { $preventExtensions(1); }); + +// `Object.preventExtensions` method +// https://tc39.es/ecma262/#sec-object.preventextensions +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { + preventExtensions: function preventExtensions(it) { + return $preventExtensions && isObject(it) ? $preventExtensions(onFreeze(it)) : it; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.proto.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.proto.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); + +// eslint-disable-next-line es/no-object-getprototypeof -- safe +var getPrototypeOf = Object.getPrototypeOf; +// eslint-disable-next-line es/no-object-setprototypeof -- safe +var setPrototypeOf = Object.setPrototypeOf; +var ObjectPrototype = Object.prototype; +var PROTO = '__proto__'; + +// `Object.prototype.__proto__` accessor +// https://tc39.es/ecma262/#sec-object.prototype.__proto__ +if (DESCRIPTORS && getPrototypeOf && setPrototypeOf && !(PROTO in ObjectPrototype)) try { + defineBuiltInAccessor(ObjectPrototype, PROTO, { + configurable: true, + get: function __proto__() { + return getPrototypeOf(toObject(this)); + }, + set: function __proto__(proto) { + var O = requireObjectCoercible(this); + if (!isObject(proto) && proto !== null || !isObject(O)) return; + setPrototypeOf(O, proto); + } + }); +} catch (error) { /* empty */ } + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.seal.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.seal.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var onFreeze = (__webpack_require__(/*! ../internals/internal-metadata */ "./node_modules/core-js/internals/internal-metadata.js").onFreeze); +var FREEZING = __webpack_require__(/*! ../internals/freezing */ "./node_modules/core-js/internals/freezing.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +// eslint-disable-next-line es/no-object-seal -- safe +var $seal = Object.seal; +var FAILS_ON_PRIMITIVES = fails(function () { $seal(1); }); + +// `Object.seal` method +// https://tc39.es/ecma262/#sec-object.seal +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { + seal: function seal(it) { + return $seal && isObject(it) ? $seal(onFreeze(it)) : it; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.set-prototype-of.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.set-prototype-of.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); + +// `Object.setPrototypeOf` method +// https://tc39.es/ecma262/#sec-object.setprototypeof +$({ target: 'Object', stat: true }, { + setPrototypeOf: setPrototypeOf +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.to-string.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.to-string.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "./node_modules/core-js/internals/to-string-tag-support.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var toString = __webpack_require__(/*! ../internals/object-to-string */ "./node_modules/core-js/internals/object-to-string.js"); + +// `Object.prototype.toString` method +// https://tc39.es/ecma262/#sec-object.prototype.tostring +if (!TO_STRING_TAG_SUPPORT) { + defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.object.values.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.values.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $values = (__webpack_require__(/*! ../internals/object-to-array */ "./node_modules/core-js/internals/object-to-array.js").values); + +// `Object.values` method +// https://tc39.es/ecma262/#sec-object.values +$({ target: 'Object', stat: true }, { + values: function values(O) { + return $values(O); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.parse-float.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.parse-float.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $parseFloat = __webpack_require__(/*! ../internals/number-parse-float */ "./node_modules/core-js/internals/number-parse-float.js"); + +// `parseFloat` method +// https://tc39.es/ecma262/#sec-parsefloat-string +$({ global: true, forced: parseFloat !== $parseFloat }, { + parseFloat: $parseFloat +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.parse-int.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.parse-int.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $parseInt = __webpack_require__(/*! ../internals/number-parse-int */ "./node_modules/core-js/internals/number-parse-int.js"); + +// `parseInt` method +// https://tc39.es/ecma262/#sec-parseint-string-radix +$({ global: true, forced: parseInt !== $parseInt }, { + parseInt: $parseInt +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.promise.all-settled.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.promise.all-settled.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); +var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/core-js/internals/perform.js"); +var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); +var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "./node_modules/core-js/internals/promise-statics-incorrect-iteration.js"); + +// `Promise.allSettled` method +// https://tc39.es/ecma262/#sec-promise.allsettled +$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + allSettled: function allSettled(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var promiseResolve = aCallable(C.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyCalled = false; + remaining++; + call(promiseResolve, C, promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = { status: 'fulfilled', value: value }; + --remaining || resolve(values); + }, function (error) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = { status: 'rejected', reason: error }; + --remaining || resolve(values); + }); + }); + --remaining || resolve(values); + }); + if (result.error) reject(result.value); + return capability.promise; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.promise.all.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.promise.all.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); +var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/core-js/internals/perform.js"); +var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); +var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "./node_modules/core-js/internals/promise-statics-incorrect-iteration.js"); + +// `Promise.all` method +// https://tc39.es/ecma262/#sec-promise.all +$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + all: function all(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aCallable(C.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyCalled = false; + remaining++; + call($promiseResolve, C, promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = value; + --remaining || resolve(values); + }, reject); + }); + --remaining || resolve(values); + }); + if (result.error) reject(result.value); + return capability.promise; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.promise.any.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.promise.any.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); +var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/core-js/internals/perform.js"); +var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); +var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "./node_modules/core-js/internals/promise-statics-incorrect-iteration.js"); + +var PROMISE_ANY_ERROR = 'No one promise resolved'; + +// `Promise.any` method +// https://tc39.es/ecma262/#sec-promise.any +$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + any: function any(iterable) { + var C = this; + var AggregateError = getBuiltIn('AggregateError'); + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var promiseResolve = aCallable(C.resolve); + var errors = []; + var counter = 0; + var remaining = 1; + var alreadyResolved = false; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyRejected = false; + remaining++; + call(promiseResolve, C, promise).then(function (value) { + if (alreadyRejected || alreadyResolved) return; + alreadyResolved = true; + resolve(value); + }, function (error) { + if (alreadyRejected || alreadyResolved) return; + alreadyRejected = true; + errors[index] = error; + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); + }); + }); + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); + }); + if (result.error) reject(result.value); + return capability.promise; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.promise.catch.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.promise.catch.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR); +var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/core-js/internals/promise-native-constructor.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); + +var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + +// `Promise.prototype.catch` method +// https://tc39.es/ecma262/#sec-promise.prototype.catch +$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, { + 'catch': function (onRejected) { + return this.then(undefined, onRejected); + } +}); + +// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then` +if (!IS_PURE && isCallable(NativePromiseConstructor)) { + var method = getBuiltIn('Promise').prototype['catch']; + if (NativePromisePrototype['catch'] !== method) { + defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true }); + } +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.promise.constructor.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.promise.constructor.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); +var setSpecies = __webpack_require__(/*! ../internals/set-species */ "./node_modules/core-js/internals/set-species.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/core-js/internals/an-instance.js"); +var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "./node_modules/core-js/internals/species-constructor.js"); +var task = (__webpack_require__(/*! ../internals/task */ "./node_modules/core-js/internals/task.js").set); +var microtask = __webpack_require__(/*! ../internals/microtask */ "./node_modules/core-js/internals/microtask.js"); +var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ "./node_modules/core-js/internals/host-report-errors.js"); +var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/core-js/internals/perform.js"); +var Queue = __webpack_require__(/*! ../internals/queue */ "./node_modules/core-js/internals/queue.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); +var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/core-js/internals/promise-native-constructor.js"); +var PromiseConstructorDetection = __webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/core-js/internals/promise-constructor-detection.js"); +var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); + +var PROMISE = 'Promise'; +var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR; +var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT; +var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING; +var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); +var setInternalState = InternalStateModule.set; +var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; +var PromiseConstructor = NativePromiseConstructor; +var PromisePrototype = NativePromisePrototype; +var TypeError = global.TypeError; +var document = global.document; +var process = global.process; +var newPromiseCapability = newPromiseCapabilityModule.f; +var newGenericPromiseCapability = newPromiseCapability; + +var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent); +var UNHANDLED_REJECTION = 'unhandledrejection'; +var REJECTION_HANDLED = 'rejectionhandled'; +var PENDING = 0; +var FULFILLED = 1; +var REJECTED = 2; +var HANDLED = 1; +var UNHANDLED = 2; + +var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; + +// helpers +var isThenable = function (it) { + var then; + return isObject(it) && isCallable(then = it.then) ? then : false; +}; + +var callReaction = function (reaction, state) { + var value = state.value; + var ok = state.state === FULFILLED; + var handler = ok ? reaction.ok : reaction.fail; + var resolve = reaction.resolve; + var reject = reaction.reject; + var domain = reaction.domain; + var result, then, exited; + try { + if (handler) { + if (!ok) { + if (state.rejection === UNHANDLED) onHandleUnhandled(state); + state.rejection = HANDLED; + } + if (handler === true) result = value; + else { + if (domain) domain.enter(); + result = handler(value); // can throw + if (domain) { + domain.exit(); + exited = true; + } + } + if (result === reaction.promise) { + reject(TypeError('Promise-chain cycle')); + } else if (then = isThenable(result)) { + call(then, result, resolve, reject); + } else resolve(result); + } else reject(value); + } catch (error) { + if (domain && !exited) domain.exit(); + reject(error); + } +}; + +var notify = function (state, isReject) { + if (state.notified) return; + state.notified = true; + microtask(function () { + var reactions = state.reactions; + var reaction; + while (reaction = reactions.get()) { + callReaction(reaction, state); + } + state.notified = false; + if (isReject && !state.rejection) onUnhandled(state); + }); +}; + +var dispatchEvent = function (name, promise, reason) { + var event, handler; + if (DISPATCH_EVENT) { + event = document.createEvent('Event'); + event.promise = promise; + event.reason = reason; + event.initEvent(name, false, true); + global.dispatchEvent(event); + } else event = { promise: promise, reason: reason }; + if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event); + else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); +}; + +var onUnhandled = function (state) { + call(task, global, function () { + var promise = state.facade; + var value = state.value; + var IS_UNHANDLED = isUnhandled(state); + var result; + if (IS_UNHANDLED) { + result = perform(function () { + if (IS_NODE) { + process.emit('unhandledRejection', value, promise); + } else dispatchEvent(UNHANDLED_REJECTION, promise, value); + }); + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should + state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED; + if (result.error) throw result.value; + } + }); +}; + +var isUnhandled = function (state) { + return state.rejection !== HANDLED && !state.parent; +}; + +var onHandleUnhandled = function (state) { + call(task, global, function () { + var promise = state.facade; + if (IS_NODE) { + process.emit('rejectionHandled', promise); + } else dispatchEvent(REJECTION_HANDLED, promise, state.value); + }); +}; + +var bind = function (fn, state, unwrap) { + return function (value) { + fn(state, value, unwrap); + }; +}; + +var internalReject = function (state, value, unwrap) { + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + state.value = value; + state.state = REJECTED; + notify(state, true); +}; + +var internalResolve = function (state, value, unwrap) { + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + try { + if (state.facade === value) throw TypeError("Promise can't be resolved itself"); + var then = isThenable(value); + if (then) { + microtask(function () { + var wrapper = { done: false }; + try { + call(then, value, + bind(internalResolve, wrapper, state), + bind(internalReject, wrapper, state) + ); + } catch (error) { + internalReject(wrapper, error, state); + } + }); + } else { + state.value = value; + state.state = FULFILLED; + notify(state, false); + } + } catch (error) { + internalReject({ done: false }, error, state); + } +}; + +// constructor polyfill +if (FORCED_PROMISE_CONSTRUCTOR) { + // 25.4.3.1 Promise(executor) + PromiseConstructor = function Promise(executor) { + anInstance(this, PromisePrototype); + aCallable(executor); + call(Internal, this); + var state = getInternalPromiseState(this); + try { + executor(bind(internalResolve, state), bind(internalReject, state)); + } catch (error) { + internalReject(state, error); + } + }; + + PromisePrototype = PromiseConstructor.prototype; + + // eslint-disable-next-line no-unused-vars -- required for `.length` + Internal = function Promise(executor) { + setInternalState(this, { + type: PROMISE, + done: false, + notified: false, + parent: false, + reactions: new Queue(), + rejection: false, + state: PENDING, + value: undefined + }); + }; + + // `Promise.prototype.then` method + // https://tc39.es/ecma262/#sec-promise.prototype.then + Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) { + var state = getInternalPromiseState(this); + var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); + state.parent = true; + reaction.ok = isCallable(onFulfilled) ? onFulfilled : true; + reaction.fail = isCallable(onRejected) && onRejected; + reaction.domain = IS_NODE ? process.domain : undefined; + if (state.state === PENDING) state.reactions.add(reaction); + else microtask(function () { + callReaction(reaction, state); + }); + return reaction.promise; + }); + + OwnPromiseCapability = function () { + var promise = new Internal(); + var state = getInternalPromiseState(promise); + this.promise = promise; + this.resolve = bind(internalResolve, state); + this.reject = bind(internalReject, state); + }; + + newPromiseCapabilityModule.f = newPromiseCapability = function (C) { + return C === PromiseConstructor || C === PromiseWrapper + ? new OwnPromiseCapability(C) + : newGenericPromiseCapability(C); + }; + + if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) { + nativeThen = NativePromisePrototype.then; + + if (!NATIVE_PROMISE_SUBCLASSING) { + // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs + defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) { + var that = this; + return new PromiseConstructor(function (resolve, reject) { + call(nativeThen, that, resolve, reject); + }).then(onFulfilled, onRejected); + // https://github.com/zloirock/core-js/issues/640 + }, { unsafe: true }); + } + + // make `.constructor === Promise` work for native promise-based APIs + try { + delete NativePromisePrototype.constructor; + } catch (error) { /* empty */ } + + // make `instanceof Promise` work for native promise-based APIs + if (setPrototypeOf) { + setPrototypeOf(NativePromisePrototype, PromisePrototype); + } + } +} + +$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { + Promise: PromiseConstructor +}); + +setToStringTag(PromiseConstructor, PROMISE, false, true); +setSpecies(PROMISE); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.promise.finally.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.promise.finally.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/core-js/internals/promise-native-constructor.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "./node_modules/core-js/internals/species-constructor.js"); +var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "./node_modules/core-js/internals/promise-resolve.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); + +var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + +// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829 +var NON_GENERIC = !!NativePromiseConstructor && fails(function () { + // eslint-disable-next-line unicorn/no-thenable -- required for testing + NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ }); +}); + +// `Promise.prototype.finally` method +// https://tc39.es/ecma262/#sec-promise.prototype.finally +$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, { + 'finally': function (onFinally) { + var C = speciesConstructor(this, getBuiltIn('Promise')); + var isFunction = isCallable(onFinally); + return this.then( + isFunction ? function (x) { + return promiseResolve(C, onFinally()).then(function () { return x; }); + } : onFinally, + isFunction ? function (e) { + return promiseResolve(C, onFinally()).then(function () { throw e; }); + } : onFinally + ); + } +}); + +// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then` +if (!IS_PURE && isCallable(NativePromiseConstructor)) { + var method = getBuiltIn('Promise').prototype['finally']; + if (NativePromisePrototype['finally'] !== method) { + defineBuiltIn(NativePromisePrototype, 'finally', method, { unsafe: true }); + } +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.promise.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/es.promise.js ***! + \****************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's split to modules listed below +__webpack_require__(/*! ../modules/es.promise.constructor */ "./node_modules/core-js/modules/es.promise.constructor.js"); +__webpack_require__(/*! ../modules/es.promise.all */ "./node_modules/core-js/modules/es.promise.all.js"); +__webpack_require__(/*! ../modules/es.promise.catch */ "./node_modules/core-js/modules/es.promise.catch.js"); +__webpack_require__(/*! ../modules/es.promise.race */ "./node_modules/core-js/modules/es.promise.race.js"); +__webpack_require__(/*! ../modules/es.promise.reject */ "./node_modules/core-js/modules/es.promise.reject.js"); +__webpack_require__(/*! ../modules/es.promise.resolve */ "./node_modules/core-js/modules/es.promise.resolve.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.promise.race.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.promise.race.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); +var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/core-js/internals/perform.js"); +var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); +var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "./node_modules/core-js/internals/promise-statics-incorrect-iteration.js"); + +// `Promise.race` method +// https://tc39.es/ecma262/#sec-promise.race +$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + race: function race(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aCallable(C.resolve); + iterate(iterable, function (promise) { + call($promiseResolve, C, promise).then(capability.resolve, reject); + }); + }); + if (result.error) reject(result.value); + return capability.promise; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.promise.reject.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.promise.reject.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/core-js/internals/new-promise-capability.js"); +var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR); + +// `Promise.reject` method +// https://tc39.es/ecma262/#sec-promise.reject +$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { + reject: function reject(r) { + var capability = newPromiseCapabilityModule.f(this); + call(capability.reject, undefined, r); + return capability.promise; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.promise.resolve.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.promise.resolve.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/core-js/internals/promise-native-constructor.js"); +var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR); +var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "./node_modules/core-js/internals/promise-resolve.js"); + +var PromiseConstructorWrapper = getBuiltIn('Promise'); +var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR; + +// `Promise.resolve` method +// https://tc39.es/ecma262/#sec-promise.resolve +$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, { + resolve: function resolve(x) { + return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.apply.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.apply.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var functionApply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +// MS Edge argumentsList argument is optional +var OPTIONAL_ARGUMENTS_LIST = !fails(function () { + // eslint-disable-next-line es/no-reflect -- required for testing + Reflect.apply(function () { /* empty */ }); +}); + +// `Reflect.apply` method +// https://tc39.es/ecma262/#sec-reflect.apply +$({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { + apply: function apply(target, thisArgument, argumentsList) { + return functionApply(aCallable(target), thisArgument, anObject(argumentsList)); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.construct.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.construct.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var bind = __webpack_require__(/*! ../internals/function-bind */ "./node_modules/core-js/internals/function-bind.js"); +var aConstructor = __webpack_require__(/*! ../internals/a-constructor */ "./node_modules/core-js/internals/a-constructor.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +var nativeConstruct = getBuiltIn('Reflect', 'construct'); +var ObjectPrototype = Object.prototype; +var push = [].push; + +// `Reflect.construct` method +// https://tc39.es/ecma262/#sec-reflect.construct +// MS Edge supports only 2 arguments and argumentsList argument is optional +// FF Nightly sets third argument as `new.target`, but does not create `this` from it +var NEW_TARGET_BUG = fails(function () { + function F() { /* empty */ } + return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F); +}); + +var ARGS_BUG = !fails(function () { + nativeConstruct(function () { /* empty */ }); +}); + +var FORCED = NEW_TARGET_BUG || ARGS_BUG; + +$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, { + construct: function construct(Target, args /* , newTarget */) { + aConstructor(Target); + anObject(args); + var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]); + if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget); + if (Target === newTarget) { + // w/o altered newTarget, optimization for 0-4 arguments + switch (args.length) { + case 0: return new Target(); + case 1: return new Target(args[0]); + case 2: return new Target(args[0], args[1]); + case 3: return new Target(args[0], args[1], args[2]); + case 4: return new Target(args[0], args[1], args[2], args[3]); + } + // w/o altered newTarget, lot of arguments case + var $args = [null]; + apply(push, $args, args); + return new (apply(bind, Target, $args))(); + } + // with altered newTarget, not support built-in constructors + var proto = newTarget.prototype; + var instance = create(isObject(proto) ? proto : ObjectPrototype); + var result = apply(Target, instance, args); + return isObject(result) ? result : instance; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.define-property.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.define-property.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +// MS Edge has broken Reflect.defineProperty - throwing instead of returning false +var ERROR_INSTEAD_OF_FALSE = fails(function () { + // eslint-disable-next-line es/no-reflect -- required for testing + Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 }); +}); + +// `Reflect.defineProperty` method +// https://tc39.es/ecma262/#sec-reflect.defineproperty +$({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, { + defineProperty: function defineProperty(target, propertyKey, attributes) { + anObject(target); + var key = toPropertyKey(propertyKey); + anObject(attributes); + try { + definePropertyModule.f(target, key, attributes); + return true; + } catch (error) { + return false; + } + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.delete-property.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.delete-property.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); + +// `Reflect.deleteProperty` method +// https://tc39.es/ecma262/#sec-reflect.deleteproperty +$({ target: 'Reflect', stat: true }, { + deleteProperty: function deleteProperty(target, propertyKey) { + var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey); + return descriptor && !descriptor.configurable ? false : delete target[propertyKey]; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js": +/*!********************************************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js"); + +// `Reflect.getOwnPropertyDescriptor` method +// https://tc39.es/ecma262/#sec-reflect.getownpropertydescriptor +$({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { + return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.get-prototype-of.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.get-prototype-of.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var objectGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "./node_modules/core-js/internals/correct-prototype-getter.js"); + +// `Reflect.getPrototypeOf` method +// https://tc39.es/ecma262/#sec-reflect.getprototypeof +$({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, { + getPrototypeOf: function getPrototypeOf(target) { + return objectGetPrototypeOf(anObject(target)); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.get.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.get.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isDataDescriptor = __webpack_require__(/*! ../internals/is-data-descriptor */ "./node_modules/core-js/internals/is-data-descriptor.js"); +var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js"); +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); + +// `Reflect.get` method +// https://tc39.es/ecma262/#sec-reflect.get +function get(target, propertyKey /* , receiver */) { + var receiver = arguments.length < 3 ? target : arguments[2]; + var descriptor, prototype; + if (anObject(target) === receiver) return target[propertyKey]; + descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey); + if (descriptor) return isDataDescriptor(descriptor) + ? descriptor.value + : descriptor.get === undefined ? undefined : call(descriptor.get, receiver); + if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver); +} + +$({ target: 'Reflect', stat: true }, { + get: get +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.has.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.has.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); + +// `Reflect.has` method +// https://tc39.es/ecma262/#sec-reflect.has +$({ target: 'Reflect', stat: true }, { + has: function has(target, propertyKey) { + return propertyKey in target; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.is-extensible.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.is-extensible.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var $isExtensible = __webpack_require__(/*! ../internals/object-is-extensible */ "./node_modules/core-js/internals/object-is-extensible.js"); + +// `Reflect.isExtensible` method +// https://tc39.es/ecma262/#sec-reflect.isextensible +$({ target: 'Reflect', stat: true }, { + isExtensible: function isExtensible(target) { + anObject(target); + return $isExtensible(target); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.own-keys.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.own-keys.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "./node_modules/core-js/internals/own-keys.js"); + +// `Reflect.ownKeys` method +// https://tc39.es/ecma262/#sec-reflect.ownkeys +$({ target: 'Reflect', stat: true }, { + ownKeys: ownKeys +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.prevent-extensions.js": +/*!***********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.prevent-extensions.js ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var FREEZING = __webpack_require__(/*! ../internals/freezing */ "./node_modules/core-js/internals/freezing.js"); + +// `Reflect.preventExtensions` method +// https://tc39.es/ecma262/#sec-reflect.preventextensions +$({ target: 'Reflect', stat: true, sham: !FREEZING }, { + preventExtensions: function preventExtensions(target) { + anObject(target); + try { + var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions'); + if (objectPreventExtensions) objectPreventExtensions(target); + return true; + } catch (error) { + return false; + } + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.set-prototype-of.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.set-prototype-of.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "./node_modules/core-js/internals/a-possible-prototype.js"); +var objectSetPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); + +// `Reflect.setPrototypeOf` method +// https://tc39.es/ecma262/#sec-reflect.setprototypeof +if (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, { + setPrototypeOf: function setPrototypeOf(target, proto) { + anObject(target); + aPossiblePrototype(proto); + try { + objectSetPrototypeOf(target, proto); + return true; + } catch (error) { + return false; + } + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.set.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.set.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var isDataDescriptor = __webpack_require__(/*! ../internals/is-data-descriptor */ "./node_modules/core-js/internals/is-data-descriptor.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); +var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js"); +var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); + +// `Reflect.set` method +// https://tc39.es/ecma262/#sec-reflect.set +function set(target, propertyKey, V /* , receiver */) { + var receiver = arguments.length < 4 ? target : arguments[3]; + var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); + var existingDescriptor, prototype, setter; + if (!ownDescriptor) { + if (isObject(prototype = getPrototypeOf(target))) { + return set(prototype, propertyKey, V, receiver); + } + ownDescriptor = createPropertyDescriptor(0); + } + if (isDataDescriptor(ownDescriptor)) { + if (ownDescriptor.writable === false || !isObject(receiver)) return false; + if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) { + if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; + existingDescriptor.value = V; + definePropertyModule.f(receiver, propertyKey, existingDescriptor); + } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V)); + } else { + setter = ownDescriptor.set; + if (setter === undefined) return false; + call(setter, receiver, V); + } return true; +} + +// MS Edge 17-18 Reflect.set allows setting the property to object +// with non-writable property on the prototype +var MS_EDGE_BUG = fails(function () { + var Constructor = function () { /* empty */ }; + var object = definePropertyModule.f(new Constructor(), 'a', { configurable: true }); + // eslint-disable-next-line es/no-reflect -- required for testing + return Reflect.set(Constructor.prototype, 'a', 1, object) !== false; +}); + +$({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, { + set: set +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.reflect.to-string-tag.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.reflect.to-string-tag.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); + +$({ global: true }, { Reflect: {} }); + +// Reflect[@@toStringTag] property +// https://tc39.es/ecma262/#sec-reflect-@@tostringtag +setToStringTag(global.Reflect, 'Reflect', true); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.regexp.constructor.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.regexp.constructor.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/core-js/internals/is-forced.js"); +var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "./node_modules/core-js/internals/inherit-if-required.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js").f); +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); +var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "./node_modules/core-js/internals/is-regexp.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/core-js/internals/regexp-get-flags.js"); +var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ "./node_modules/core-js/internals/regexp-sticky-helpers.js"); +var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ "./node_modules/core-js/internals/proxy-accessor.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var enforceInternalState = (__webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js").enforce); +var setSpecies = __webpack_require__(/*! ../internals/set-species */ "./node_modules/core-js/internals/set-species.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var UNSUPPORTED_DOT_ALL = __webpack_require__(/*! ../internals/regexp-unsupported-dot-all */ "./node_modules/core-js/internals/regexp-unsupported-dot-all.js"); +var UNSUPPORTED_NCG = __webpack_require__(/*! ../internals/regexp-unsupported-ncg */ "./node_modules/core-js/internals/regexp-unsupported-ncg.js"); + +var MATCH = wellKnownSymbol('match'); +var NativeRegExp = global.RegExp; +var RegExpPrototype = NativeRegExp.prototype; +var SyntaxError = global.SyntaxError; +var exec = uncurryThis(RegExpPrototype.exec); +var charAt = uncurryThis(''.charAt); +var replace = uncurryThis(''.replace); +var stringIndexOf = uncurryThis(''.indexOf); +var stringSlice = uncurryThis(''.slice); +// TODO: Use only proper RegExpIdentifierName +var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; +var re1 = /a/g; +var re2 = /a/g; + +// "new" should create a new object, old webkit bug +var CORRECT_NEW = new NativeRegExp(re1) !== re1; + +var MISSED_STICKY = stickyHelpers.MISSED_STICKY; +var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; + +var BASE_FORCED = DESCRIPTORS && + (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () { + re2[MATCH] = false; + // RegExp constructor can alter flags and IsRegExp works correct with @@match + return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i'; + })); + +var handleDotAll = function (string) { + var length = string.length; + var index = 0; + var result = ''; + var brackets = false; + var chr; + for (; index <= length; index++) { + chr = charAt(string, index); + if (chr === '\\') { + result += chr + charAt(string, ++index); + continue; + } + if (!brackets && chr === '.') { + result += '[\\s\\S]'; + } else { + if (chr === '[') { + brackets = true; + } else if (chr === ']') { + brackets = false; + } result += chr; + } + } return result; +}; + +var handleNCG = function (string) { + var length = string.length; + var index = 0; + var result = ''; + var named = []; + var names = {}; + var brackets = false; + var ncg = false; + var groupid = 0; + var groupname = ''; + var chr; + for (; index <= length; index++) { + chr = charAt(string, index); + if (chr === '\\') { + chr += charAt(string, ++index); + } else if (chr === ']') { + brackets = false; + } else if (!brackets) switch (true) { + case chr === '[': + brackets = true; + break; + case chr === '(': + if (exec(IS_NCG, stringSlice(string, index + 1))) { + index += 2; + ncg = true; + } + result += chr; + groupid++; + continue; + case chr === '>' && ncg: + if (groupname === '' || hasOwn(names, groupname)) { + throw new SyntaxError('Invalid capture group name'); + } + names[groupname] = true; + named[named.length] = [groupname, groupid]; + ncg = false; + groupname = ''; + continue; + } + if (ncg) groupname += chr; + else result += chr; + } return [result, named]; +}; + +// `RegExp` constructor +// https://tc39.es/ecma262/#sec-regexp-constructor +if (isForced('RegExp', BASE_FORCED)) { + var RegExpWrapper = function RegExp(pattern, flags) { + var thisIsRegExp = isPrototypeOf(RegExpPrototype, this); + var patternIsRegExp = isRegExp(pattern); + var flagsAreUndefined = flags === undefined; + var groups = []; + var rawPattern = pattern; + var rawFlags, dotAll, sticky, handled, result, state; + + if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) { + return pattern; + } + + if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) { + pattern = pattern.source; + if (flagsAreUndefined) flags = getRegExpFlags(rawPattern); + } + + pattern = pattern === undefined ? '' : toString(pattern); + flags = flags === undefined ? '' : toString(flags); + rawPattern = pattern; + + if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) { + dotAll = !!flags && stringIndexOf(flags, 's') > -1; + if (dotAll) flags = replace(flags, /s/g, ''); + } + + rawFlags = flags; + + if (MISSED_STICKY && 'sticky' in re1) { + sticky = !!flags && stringIndexOf(flags, 'y') > -1; + if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, ''); + } + + if (UNSUPPORTED_NCG) { + handled = handleNCG(pattern); + pattern = handled[0]; + groups = handled[1]; + } + + result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper); + + if (dotAll || sticky || groups.length) { + state = enforceInternalState(result); + if (dotAll) { + state.dotAll = true; + state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); + } + if (sticky) state.sticky = true; + if (groups.length) state.groups = groups; + } + + if (pattern !== rawPattern) try { + // fails in old engines, but we have no alternatives for unsupported regex syntax + createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern); + } catch (error) { /* empty */ } + + return result; + }; + + for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) { + proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]); + } + + RegExpPrototype.constructor = RegExpWrapper; + RegExpWrapper.prototype = RegExpPrototype; + defineBuiltIn(global, 'RegExp', RegExpWrapper, { constructor: true }); +} + +// https://tc39.es/ecma262/#sec-get-regexp-@@species +setSpecies('RegExp'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.regexp.dot-all.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.regexp.dot-all.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var UNSUPPORTED_DOT_ALL = __webpack_require__(/*! ../internals/regexp-unsupported-dot-all */ "./node_modules/core-js/internals/regexp-unsupported-dot-all.js"); +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var getInternalState = (__webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js").get); + +var RegExpPrototype = RegExp.prototype; +var $TypeError = TypeError; + +// `RegExp.prototype.dotAll` getter +// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall +if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) { + defineBuiltInAccessor(RegExpPrototype, 'dotAll', { + configurable: true, + get: function dotAll() { + if (this === RegExpPrototype) return undefined; + // We can't use InternalStateModule.getterFor because + // we don't add metadata for regexps created by a literal. + if (classof(this) === 'RegExp') { + return !!getInternalState(this).dotAll; + } + throw $TypeError('Incompatible receiver, RegExp required'); + } + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.regexp.exec.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.regexp.exec.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var exec = __webpack_require__(/*! ../internals/regexp-exec */ "./node_modules/core-js/internals/regexp-exec.js"); + +// `RegExp.prototype.exec` method +// https://tc39.es/ecma262/#sec-regexp.prototype.exec +$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { + exec: exec +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.regexp.flags.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.regexp.flags.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var regExpFlags = __webpack_require__(/*! ../internals/regexp-flags */ "./node_modules/core-js/internals/regexp-flags.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError +var RegExp = global.RegExp; +var RegExpPrototype = RegExp.prototype; + +var FORCED = DESCRIPTORS && fails(function () { + var INDICES_SUPPORT = true; + try { + RegExp('.', 'd'); + } catch (error) { + INDICES_SUPPORT = false; + } + + var O = {}; + // modern V8 bug + var calls = ''; + var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy'; + + var addGetter = function (key, chr) { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty(O, key, { get: function () { + calls += chr; + return true; + } }); + }; + + var pairs = { + dotAll: 's', + global: 'g', + ignoreCase: 'i', + multiline: 'm', + sticky: 'y' + }; + + if (INDICES_SUPPORT) pairs.hasIndices = 'd'; + + for (var key in pairs) addGetter(key, pairs[key]); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O); + + return result !== expected || calls !== expected; +}); + +// `RegExp.prototype.flags` getter +// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags +if (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', { + configurable: true, + get: regExpFlags +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.regexp.sticky.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.regexp.sticky.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var MISSED_STICKY = (__webpack_require__(/*! ../internals/regexp-sticky-helpers */ "./node_modules/core-js/internals/regexp-sticky-helpers.js").MISSED_STICKY); +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var getInternalState = (__webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js").get); + +var RegExpPrototype = RegExp.prototype; +var $TypeError = TypeError; + +// `RegExp.prototype.sticky` getter +// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky +if (DESCRIPTORS && MISSED_STICKY) { + defineBuiltInAccessor(RegExpPrototype, 'sticky', { + configurable: true, + get: function sticky() { + if (this === RegExpPrototype) return; + // We can't use InternalStateModule.getterFor because + // we don't add metadata for regexps created by a literal. + if (classof(this) === 'RegExp') { + return !!getInternalState(this).sticky; + } + throw $TypeError('Incompatible receiver, RegExp required'); + } + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.regexp.test.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.regexp.test.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove from `core-js@4` since it's moved to entry points +__webpack_require__(/*! ../modules/es.regexp.exec */ "./node_modules/core-js/modules/es.regexp.exec.js"); +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); + +var DELEGATES_TO_EXEC = function () { + var execCalled = false; + var re = /[ac]/; + re.exec = function () { + execCalled = true; + return /./.exec.apply(this, arguments); + }; + return re.test('abc') === true && execCalled; +}(); + +var nativeTest = /./.test; + +// `RegExp.prototype.test` method +// https://tc39.es/ecma262/#sec-regexp.prototype.test +$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, { + test: function (S) { + var R = anObject(this); + var string = toString(S); + var exec = R.exec; + if (!isCallable(exec)) return call(nativeTest, R, string); + var result = call(exec, R, string); + if (result === null) return false; + anObject(result); + return true; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.regexp.to-string.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.regexp.to-string.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var PROPER_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "./node_modules/core-js/internals/function-name.js").PROPER); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var $toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/core-js/internals/regexp-get-flags.js"); + +var TO_STRING = 'toString'; +var RegExpPrototype = RegExp.prototype; +var nativeToString = RegExpPrototype[TO_STRING]; + +var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; }); +// FF44- RegExp#toString has a wrong name +var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING; + +// `RegExp.prototype.toString` method +// https://tc39.es/ecma262/#sec-regexp.prototype.tostring +if (NOT_GENERIC || INCORRECT_NAME) { + defineBuiltIn(RegExp.prototype, TO_STRING, function toString() { + var R = anObject(this); + var pattern = $toString(R.source); + var flags = $toString(getRegExpFlags(R)); + return '/' + pattern + '/' + flags; + }, { unsafe: true }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.set.constructor.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.set.constructor.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var collection = __webpack_require__(/*! ../internals/collection */ "./node_modules/core-js/internals/collection.js"); +var collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ "./node_modules/core-js/internals/collection-strong.js"); + +// `Set` constructor +// https://tc39.es/ecma262/#sec-set-objects +collection('Set', function (init) { + return function Set() { return init(this, arguments.length ? arguments[0] : undefined); }; +}, collectionStrong); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.set.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/modules/es.set.js ***! + \************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's replaced to module below +__webpack_require__(/*! ../modules/es.set.constructor */ "./node_modules/core-js/modules/es.set.constructor.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.anchor.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.anchor.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.anchor` method +// https://tc39.es/ecma262/#sec-string.prototype.anchor +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, { + anchor: function anchor(name) { + return createHTML(this, 'a', 'name', name); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.at-alternative.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.at-alternative.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +var charAt = uncurryThis(''.charAt); + +var FORCED = fails(function () { + // eslint-disable-next-line es/no-array-string-prototype-at -- safe + return '𠮷'.at(-2) !== '\uD842'; +}); + +// `String.prototype.at` method +// https://tc39.es/ecma262/#sec-string.prototype.at +$({ target: 'String', proto: true, forced: FORCED }, { + at: function at(index) { + var S = toString(requireObjectCoercible(this)); + var len = S.length; + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : charAt(S, k); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.big.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.big.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.big` method +// https://tc39.es/ecma262/#sec-string.prototype.big +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, { + big: function big() { + return createHTML(this, 'big', '', ''); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.blink.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.blink.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.blink` method +// https://tc39.es/ecma262/#sec-string.prototype.blink +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, { + blink: function blink() { + return createHTML(this, 'blink', '', ''); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.bold.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.bold.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.bold` method +// https://tc39.es/ecma262/#sec-string.prototype.bold +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, { + bold: function bold() { + return createHTML(this, 'b', '', ''); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.code-point-at.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.code-point-at.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var codeAt = (__webpack_require__(/*! ../internals/string-multibyte */ "./node_modules/core-js/internals/string-multibyte.js").codeAt); + +// `String.prototype.codePointAt` method +// https://tc39.es/ecma262/#sec-string.prototype.codepointat +$({ target: 'String', proto: true }, { + codePointAt: function codePointAt(pos) { + return codeAt(this, pos); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.ends-with.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.ends-with.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js/internals/function-uncurry-this-clause.js"); +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ "./node_modules/core-js/internals/not-a-regexp.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ "./node_modules/core-js/internals/correct-is-regexp-logic.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); + +// eslint-disable-next-line es/no-string-prototype-endswith -- safe +var nativeEndsWith = uncurryThis(''.endsWith); +var slice = uncurryThis(''.slice); +var min = Math.min; + +var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith'); +// https://github.com/zloirock/core-js/pull/702 +var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () { + var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith'); + return descriptor && !descriptor.writable; +}(); + +// `String.prototype.endsWith` method +// https://tc39.es/ecma262/#sec-string.prototype.endswith +$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { + endsWith: function endsWith(searchString /* , endPosition = @length */) { + var that = toString(requireObjectCoercible(this)); + notARegExp(searchString); + var endPosition = arguments.length > 1 ? arguments[1] : undefined; + var len = that.length; + var end = endPosition === undefined ? len : min(toLength(endPosition), len); + var search = toString(searchString); + return nativeEndsWith + ? nativeEndsWith(that, search, end) + : slice(that, end - search.length, end) === search; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.fixed.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.fixed.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.fixed` method +// https://tc39.es/ecma262/#sec-string.prototype.fixed +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, { + fixed: function fixed() { + return createHTML(this, 'tt', '', ''); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.fontcolor.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.fontcolor.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.fontcolor` method +// https://tc39.es/ecma262/#sec-string.prototype.fontcolor +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') }, { + fontcolor: function fontcolor(color) { + return createHTML(this, 'font', 'color', color); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.fontsize.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.fontsize.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.fontsize` method +// https://tc39.es/ecma262/#sec-string.prototype.fontsize +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, { + fontsize: function fontsize(size) { + return createHTML(this, 'font', 'size', size); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.from-code-point.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.from-code-point.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); + +var $RangeError = RangeError; +var fromCharCode = String.fromCharCode; +// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing +var $fromCodePoint = String.fromCodePoint; +var join = uncurryThis([].join); + +// length should be 1, old FF problem +var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1; + +// `String.fromCodePoint` method +// https://tc39.es/ecma262/#sec-string.fromcodepoint +$({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + fromCodePoint: function fromCodePoint(x) { + var elements = []; + var length = arguments.length; + var i = 0; + var code; + while (length > i) { + code = +arguments[i++]; + if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw $RangeError(code + ' is not a valid code point'); + elements[i] = code < 0x10000 + ? fromCharCode(code) + : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00); + } return join(elements, ''); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.includes.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.includes.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ "./node_modules/core-js/internals/not-a-regexp.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ "./node_modules/core-js/internals/correct-is-regexp-logic.js"); + +var stringIndexOf = uncurryThis(''.indexOf); + +// `String.prototype.includes` method +// https://tc39.es/ecma262/#sec-string.prototype.includes +$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, { + includes: function includes(searchString /* , position = 0 */) { + return !!~stringIndexOf( + toString(requireObjectCoercible(this)), + toString(notARegExp(searchString)), + arguments.length > 1 ? arguments[1] : undefined + ); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.is-well-formed.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.is-well-formed.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); + +var charCodeAt = uncurryThis(''.charCodeAt); + +// `String.prototype.isWellFormed` method +// https://github.com/tc39/proposal-is-usv-string +$({ target: 'String', proto: true }, { + isWellFormed: function isWellFormed() { + var S = toString(requireObjectCoercible(this)); + var length = S.length; + for (var i = 0; i < length; i++) { + var charCode = charCodeAt(S, i); + // single UTF-16 code unit + if ((charCode & 0xF800) !== 0xD800) continue; + // unpaired surrogate + if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00) !== 0xDC00) return false; + } return true; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.italics.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.italics.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.italics` method +// https://tc39.es/ecma262/#sec-string.prototype.italics +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, { + italics: function italics() { + return createHTML(this, 'i', '', ''); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.iterator.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.iterator.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var charAt = (__webpack_require__(/*! ../internals/string-multibyte */ "./node_modules/core-js/internals/string-multibyte.js").charAt); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); +var defineIterator = __webpack_require__(/*! ../internals/iterator-define */ "./node_modules/core-js/internals/iterator-define.js"); +var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "./node_modules/core-js/internals/create-iter-result-object.js"); + +var STRING_ITERATOR = 'String Iterator'; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); + +// `String.prototype[@@iterator]` method +// https://tc39.es/ecma262/#sec-string.prototype-@@iterator +defineIterator(String, 'String', function (iterated) { + setInternalState(this, { + type: STRING_ITERATOR, + string: toString(iterated), + index: 0 + }); +// `%StringIteratorPrototype%.next` method +// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next +}, function next() { + var state = getInternalState(this); + var string = state.string; + var index = state.index; + var point; + if (index >= string.length) return createIterResultObject(undefined, true); + point = charAt(string, index); + state.index += point.length; + return createIterResultObject(point, false); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.link.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.link.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.link` method +// https://tc39.es/ecma262/#sec-string.prototype.link +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, { + link: function link(url) { + return createHTML(this, 'a', 'href', url); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.match-all.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.match-all.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +/* eslint-disable es/no-string-prototype-matchall -- safe */ +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js/internals/function-uncurry-this-clause.js"); +var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ "./node_modules/core-js/internals/iterator-create-constructor.js"); +var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "./node_modules/core-js/internals/create-iter-result-object.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); +var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "./node_modules/core-js/internals/is-regexp.js"); +var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/core-js/internals/regexp-get-flags.js"); +var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "./node_modules/core-js/internals/species-constructor.js"); +var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "./node_modules/core-js/internals/advance-string-index.js"); +var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "./node_modules/core-js/internals/regexp-exec-abstract.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); + +var MATCH_ALL = wellKnownSymbol('matchAll'); +var REGEXP_STRING = 'RegExp String'; +var REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator'; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR); +var RegExpPrototype = RegExp.prototype; +var $TypeError = TypeError; +var stringIndexOf = uncurryThis(''.indexOf); +var nativeMatchAll = uncurryThis(''.matchAll); + +var WORKS_WITH_NON_GLOBAL_REGEX = !!nativeMatchAll && !fails(function () { + nativeMatchAll('a', /./); +}); + +var $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, $global, fullUnicode) { + setInternalState(this, { + type: REGEXP_STRING_ITERATOR, + regexp: regexp, + string: string, + global: $global, + unicode: fullUnicode, + done: false + }); +}, REGEXP_STRING, function next() { + var state = getInternalState(this); + if (state.done) return createIterResultObject(undefined, true); + var R = state.regexp; + var S = state.string; + var match = regExpExec(R, S); + if (match === null) { + state.done = true; + return createIterResultObject(undefined, true); + } + if (state.global) { + if (toString(match[0]) === '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode); + return createIterResultObject(match, false); + } + state.done = true; + return createIterResultObject(match, false); +}); + +var $matchAll = function (string) { + var R = anObject(this); + var S = toString(string); + var C = speciesConstructor(R, RegExp); + var flags = toString(getRegExpFlags(R)); + var matcher, $global, fullUnicode; + matcher = new C(C === RegExp ? R.source : R, flags); + $global = !!~stringIndexOf(flags, 'g'); + fullUnicode = !!~stringIndexOf(flags, 'u'); + matcher.lastIndex = toLength(R.lastIndex); + return new $RegExpStringIterator(matcher, S, $global, fullUnicode); +}; + +// `String.prototype.matchAll` method +// https://tc39.es/ecma262/#sec-string.prototype.matchall +$({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, { + matchAll: function matchAll(regexp) { + var O = requireObjectCoercible(this); + var flags, S, matcher, rx; + if (!isNullOrUndefined(regexp)) { + if (isRegExp(regexp)) { + flags = toString(requireObjectCoercible(getRegExpFlags(regexp))); + if (!~stringIndexOf(flags, 'g')) throw $TypeError('`.matchAll` does not allow non-global regexes'); + } + if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp); + matcher = getMethod(regexp, MATCH_ALL); + if (matcher === undefined && IS_PURE && classof(regexp) === 'RegExp') matcher = $matchAll; + if (matcher) return call(matcher, regexp, O); + } else if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp); + S = toString(O); + rx = new RegExp(regexp, 'g'); + return IS_PURE ? call($matchAll, rx, S) : rx[MATCH_ALL](S); + } +}); + +IS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_ALL, $matchAll); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.match.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.match.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); +var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "./node_modules/core-js/internals/advance-string-index.js"); +var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "./node_modules/core-js/internals/regexp-exec-abstract.js"); + +// @@match logic +fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) { + return [ + // `String.prototype.match` method + // https://tc39.es/ecma262/#sec-string.prototype.match + function match(regexp) { + var O = requireObjectCoercible(this); + var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH); + return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O)); + }, + // `RegExp.prototype[@@match]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@match + function (string) { + var rx = anObject(this); + var S = toString(string); + var res = maybeCallNative(nativeMatch, rx, S); + + if (res.done) return res.value; + + if (!rx.global) return regExpExec(rx, S); + + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + var A = []; + var n = 0; + var result; + while ((result = regExpExec(rx, S)) !== null) { + var matchStr = toString(result[0]); + A[n] = matchStr; + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + n++; + } + return n === 0 ? null : A; + } + ]; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.pad-end.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.pad-end.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $padEnd = (__webpack_require__(/*! ../internals/string-pad */ "./node_modules/core-js/internals/string-pad.js").end); +var WEBKIT_BUG = __webpack_require__(/*! ../internals/string-pad-webkit-bug */ "./node_modules/core-js/internals/string-pad-webkit-bug.js"); + +// `String.prototype.padEnd` method +// https://tc39.es/ecma262/#sec-string.prototype.padend +$({ target: 'String', proto: true, forced: WEBKIT_BUG }, { + padEnd: function padEnd(maxLength /* , fillString = ' ' */) { + return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : undefined); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.pad-start.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.pad-start.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $padStart = (__webpack_require__(/*! ../internals/string-pad */ "./node_modules/core-js/internals/string-pad.js").start); +var WEBKIT_BUG = __webpack_require__(/*! ../internals/string-pad-webkit-bug */ "./node_modules/core-js/internals/string-pad-webkit-bug.js"); + +// `String.prototype.padStart` method +// https://tc39.es/ecma262/#sec-string.prototype.padstart +$({ target: 'String', proto: true, forced: WEBKIT_BUG }, { + padStart: function padStart(maxLength /* , fillString = ' ' */) { + return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.raw.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.raw.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); + +var push = uncurryThis([].push); +var join = uncurryThis([].join); + +// `String.raw` method +// https://tc39.es/ecma262/#sec-string.raw +$({ target: 'String', stat: true }, { + raw: function raw(template) { + var rawTemplate = toIndexedObject(toObject(template).raw); + var literalSegments = lengthOfArrayLike(rawTemplate); + if (!literalSegments) return ''; + var argumentsLength = arguments.length; + var elements = []; + var i = 0; + while (true) { + push(elements, toString(rawTemplate[i++])); + if (i === literalSegments) return join(elements, ''); + if (i < argumentsLength) push(elements, toString(arguments[i])); + } + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.repeat.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.repeat.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var repeat = __webpack_require__(/*! ../internals/string-repeat */ "./node_modules/core-js/internals/string-repeat.js"); + +// `String.prototype.repeat` method +// https://tc39.es/ecma262/#sec-string.prototype.repeat +$({ target: 'String', proto: true }, { + repeat: repeat +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.replace-all.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.replace-all.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "./node_modules/core-js/internals/is-regexp.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); +var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/core-js/internals/regexp-get-flags.js"); +var getSubstitution = __webpack_require__(/*! ../internals/get-substitution */ "./node_modules/core-js/internals/get-substitution.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); + +var REPLACE = wellKnownSymbol('replace'); +var $TypeError = TypeError; +var indexOf = uncurryThis(''.indexOf); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); +var max = Math.max; + +var stringIndexOf = function (string, searchValue, fromIndex) { + if (fromIndex > string.length) return -1; + if (searchValue === '') return fromIndex; + return indexOf(string, searchValue, fromIndex); +}; + +// `String.prototype.replaceAll` method +// https://tc39.es/ecma262/#sec-string.prototype.replaceall +$({ target: 'String', proto: true }, { + replaceAll: function replaceAll(searchValue, replaceValue) { + var O = requireObjectCoercible(this); + var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement; + var position = 0; + var endOfLastMatch = 0; + var result = ''; + if (!isNullOrUndefined(searchValue)) { + IS_REG_EXP = isRegExp(searchValue); + if (IS_REG_EXP) { + flags = toString(requireObjectCoercible(getRegExpFlags(searchValue))); + if (!~indexOf(flags, 'g')) throw $TypeError('`.replaceAll` does not allow non-global regexes'); + } + replacer = getMethod(searchValue, REPLACE); + if (replacer) { + return call(replacer, searchValue, O, replaceValue); + } else if (IS_PURE && IS_REG_EXP) { + return replace(toString(O), searchValue, replaceValue); + } + } + string = toString(O); + searchString = toString(searchValue); + functionalReplace = isCallable(replaceValue); + if (!functionalReplace) replaceValue = toString(replaceValue); + searchLength = searchString.length; + advanceBy = max(1, searchLength); + position = stringIndexOf(string, searchString, 0); + while (position !== -1) { + replacement = functionalReplace + ? toString(replaceValue(searchString, position, string)) + : getSubstitution(searchString, string, position, [], undefined, replaceValue); + result += stringSlice(string, endOfLastMatch, position) + replacement; + endOfLastMatch = position + searchLength; + position = stringIndexOf(string, searchString, position + advanceBy); + } + if (endOfLastMatch < string.length) { + result += stringSlice(string, endOfLastMatch); + } + return result; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.replace.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.replace.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "./node_modules/core-js/internals/advance-string-index.js"); +var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); +var getSubstitution = __webpack_require__(/*! ../internals/get-substitution */ "./node_modules/core-js/internals/get-substitution.js"); +var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "./node_modules/core-js/internals/regexp-exec-abstract.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var REPLACE = wellKnownSymbol('replace'); +var max = Math.max; +var min = Math.min; +var concat = uncurryThis([].concat); +var push = uncurryThis([].push); +var stringIndexOf = uncurryThis(''.indexOf); +var stringSlice = uncurryThis(''.slice); + +var maybeToString = function (it) { + return it === undefined ? it : String(it); +}; + +// IE <= 11 replaces $0 with the whole match, as if it was $& +// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 +var REPLACE_KEEPS_$0 = (function () { + // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing + return 'a'.replace(/./, '$0') === '$0'; +})(); + +// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string +var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { + if (/./[REPLACE]) { + return /./[REPLACE]('a', '$0') === ''; + } + return false; +})(); + +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive + return ''.replace(re, '$<a>') !== '7'; +}); + +// @@replace logic +fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) { + var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; + + return [ + // `String.prototype.replace` method + // https://tc39.es/ecma262/#sec-string.prototype.replace + function replace(searchValue, replaceValue) { + var O = requireObjectCoercible(this); + var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE); + return replacer + ? call(replacer, searchValue, O, replaceValue) + : call(nativeReplace, toString(O), searchValue, replaceValue); + }, + // `RegExp.prototype[@@replace]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace + function (string, replaceValue) { + var rx = anObject(this); + var S = toString(string); + + if ( + typeof replaceValue == 'string' && + stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && + stringIndexOf(replaceValue, '$<') === -1 + ) { + var res = maybeCallNative(nativeReplace, rx, S, replaceValue); + if (res.done) return res.value; + } + + var functionalReplace = isCallable(replaceValue); + if (!functionalReplace) replaceValue = toString(replaceValue); + + var global = rx.global; + var fullUnicode; + if (global) { + fullUnicode = rx.unicode; + rx.lastIndex = 0; + } + + var results = []; + var result; + while (true) { + result = regExpExec(rx, S); + if (result === null) break; + + push(results, result); + if (!global) break; + + var matchStr = toString(result[0]); + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + } + + var accumulatedResult = ''; + var nextSourcePosition = 0; + for (var i = 0; i < results.length; i++) { + result = results[i]; + + var matched = toString(result[0]); + var position = max(min(toIntegerOrInfinity(result.index), S.length), 0); + var captures = []; + var replacement; + // NOTE: This is equivalent to + // captures = result.slice(1).map(maybeToString) + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. + for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j])); + var namedCaptures = result.groups; + if (functionalReplace) { + var replacerArgs = concat([matched], captures, position, S); + if (namedCaptures !== undefined) push(replacerArgs, namedCaptures); + replacement = toString(apply(replaceValue, undefined, replacerArgs)); + } else { + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); + } + if (position >= nextSourcePosition) { + accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement; + nextSourcePosition = position + matched.length; + } + } + + return accumulatedResult + stringSlice(S, nextSourcePosition); + } + ]; +}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.search.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.search.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var sameValue = __webpack_require__(/*! ../internals/same-value */ "./node_modules/core-js/internals/same-value.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); +var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "./node_modules/core-js/internals/regexp-exec-abstract.js"); + +// @@search logic +fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) { + return [ + // `String.prototype.search` method + // https://tc39.es/ecma262/#sec-string.prototype.search + function search(regexp) { + var O = requireObjectCoercible(this); + var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH); + return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O)); + }, + // `RegExp.prototype[@@search]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@search + function (string) { + var rx = anObject(this); + var S = toString(string); + var res = maybeCallNative(nativeSearch, rx, S); + + if (res.done) return res.value; + + var previousLastIndex = rx.lastIndex; + if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; + var result = regExpExec(rx, S); + if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; + return result === null ? -1 : result.index; + } + ]; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.small.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.small.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.small` method +// https://tc39.es/ecma262/#sec-string.prototype.small +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, { + small: function small() { + return createHTML(this, 'small', '', ''); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.split.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.split.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "./node_modules/core-js/internals/is-regexp.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "./node_modules/core-js/internals/species-constructor.js"); +var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "./node_modules/core-js/internals/advance-string-index.js"); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/core-js/internals/get-method.js"); +var arraySlice = __webpack_require__(/*! ../internals/array-slice-simple */ "./node_modules/core-js/internals/array-slice-simple.js"); +var callRegExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "./node_modules/core-js/internals/regexp-exec-abstract.js"); +var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ "./node_modules/core-js/internals/regexp-exec.js"); +var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ "./node_modules/core-js/internals/regexp-sticky-helpers.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; +var MAX_UINT32 = 0xFFFFFFFF; +var min = Math.min; +var $push = [].push; +var exec = uncurryThis(/./.exec); +var push = uncurryThis($push); +var stringSlice = uncurryThis(''.slice); + +// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec +// Weex JS has frozen built-in prototypes, so use try / catch wrapper +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { + // eslint-disable-next-line regexp/no-empty-group -- required for testing + var re = /(?:)/; + var originalExec = re.exec; + re.exec = function () { return originalExec.apply(this, arguments); }; + var result = 'ab'.split(re); + return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; +}); + +// @@split logic +fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) { + var internalSplit; + if ( + 'abbc'.split(/(b)*/)[1] === 'c' || + // eslint-disable-next-line regexp/no-empty-group -- required for testing + 'test'.split(/(?:)/, -1).length !== 4 || + 'ab'.split(/(?:ab)*/).length !== 2 || + '.'.split(/(.?)(.?)/).length !== 4 || + // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing + '.'.split(/()()/).length > 1 || + ''.split(/.?/).length + ) { + // based on es5-shim implementation, need to rework it + internalSplit = function (separator, limit) { + var string = toString(requireObjectCoercible(this)); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (separator === undefined) return [string]; + // If `separator` is not a regex, use native split + if (!isRegExp(separator)) { + return call(nativeSplit, string, separator, lim); + } + var output = []; + var flags = (separator.ignoreCase ? 'i' : '') + + (separator.multiline ? 'm' : '') + + (separator.unicode ? 'u' : '') + + (separator.sticky ? 'y' : ''); + var lastLastIndex = 0; + // Make `global` and avoid `lastIndex` issues by working with a copy + var separatorCopy = new RegExp(separator.source, flags + 'g'); + var match, lastIndex, lastLength; + while (match = call(regexpExec, separatorCopy, string)) { + lastIndex = separatorCopy.lastIndex; + if (lastIndex > lastLastIndex) { + push(output, stringSlice(string, lastLastIndex, match.index)); + if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1)); + lastLength = match[0].length; + lastLastIndex = lastIndex; + if (output.length >= lim) break; + } + if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop + } + if (lastLastIndex === string.length) { + if (lastLength || !exec(separatorCopy, '')) push(output, ''); + } else push(output, stringSlice(string, lastLastIndex)); + return output.length > lim ? arraySlice(output, 0, lim) : output; + }; + // Chakra, V8 + } else if ('0'.split(undefined, 0).length) { + internalSplit = function (separator, limit) { + return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit); + }; + } else internalSplit = nativeSplit; + + return [ + // `String.prototype.split` method + // https://tc39.es/ecma262/#sec-string.prototype.split + function split(separator, limit) { + var O = requireObjectCoercible(this); + var splitter = isNullOrUndefined(separator) ? undefined : getMethod(separator, SPLIT); + return splitter + ? call(splitter, separator, O, limit) + : call(internalSplit, toString(O), separator, limit); + }, + // `RegExp.prototype[@@split]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@split + // + // NOTE: This cannot be properly polyfilled in engines that don't support + // the 'y' flag. + function (string, limit) { + var rx = anObject(this); + var S = toString(string); + var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit); + + if (res.done) return res.value; + + var C = speciesConstructor(rx, RegExp); + + var unicodeMatching = rx.unicode; + var flags = (rx.ignoreCase ? 'i' : '') + + (rx.multiline ? 'm' : '') + + (rx.unicode ? 'u' : '') + + (UNSUPPORTED_Y ? 'g' : 'y'); + + // ^(? + rx + ) is needed, in combination with some S slicing, to + // simulate the 'y' flag. + var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; + var p = 0; + var q = 0; + var A = []; + while (q < S.length) { + splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; + var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S); + var e; + if ( + z === null || + (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p + ) { + q = advanceStringIndex(S, q, unicodeMatching); + } else { + push(A, stringSlice(S, p, q)); + if (A.length === lim) return A; + for (var i = 1; i <= z.length - 1; i++) { + push(A, z[i]); + if (A.length === lim) return A; + } + q = p = e; + } + } + push(A, stringSlice(S, p)); + return A; + } + ]; +}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.starts-with.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.starts-with.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js/internals/function-uncurry-this-clause.js"); +var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ "./node_modules/core-js/internals/not-a-regexp.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ "./node_modules/core-js/internals/correct-is-regexp-logic.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); + +// eslint-disable-next-line es/no-string-prototype-startswith -- safe +var nativeStartsWith = uncurryThis(''.startsWith); +var stringSlice = uncurryThis(''.slice); +var min = Math.min; + +var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith'); +// https://github.com/zloirock/core-js/pull/702 +var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () { + var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith'); + return descriptor && !descriptor.writable; +}(); + +// `String.prototype.startsWith` method +// https://tc39.es/ecma262/#sec-string.prototype.startswith +$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { + startsWith: function startsWith(searchString /* , position = 0 */) { + var that = toString(requireObjectCoercible(this)); + notARegExp(searchString); + var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length)); + var search = toString(searchString); + return nativeStartsWith + ? nativeStartsWith(that, search, index) + : stringSlice(that, index, index + search.length) === search; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.strike.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.strike.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.strike` method +// https://tc39.es/ecma262/#sec-string.prototype.strike +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, { + strike: function strike() { + return createHTML(this, 'strike', '', ''); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.sub.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.sub.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.sub` method +// https://tc39.es/ecma262/#sec-string.prototype.sub +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, { + sub: function sub() { + return createHTML(this, 'sub', '', ''); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.substr.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.substr.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); + +var stringSlice = uncurryThis(''.slice); +var max = Math.max; +var min = Math.min; + +// eslint-disable-next-line unicorn/prefer-string-slice -- required for testing +var FORCED = !''.substr || 'ab'.substr(-1) !== 'b'; + +// `String.prototype.substr` method +// https://tc39.es/ecma262/#sec-string.prototype.substr +$({ target: 'String', proto: true, forced: FORCED }, { + substr: function substr(start, length) { + var that = toString(requireObjectCoercible(this)); + var size = that.length; + var intStart = toIntegerOrInfinity(start); + var intLength, intEnd; + if (intStart === Infinity) intStart = 0; + if (intStart < 0) intStart = max(size + intStart, 0); + intLength = length === undefined ? size : toIntegerOrInfinity(length); + if (intLength <= 0 || intLength === Infinity) return ''; + intEnd = min(intStart + intLength, size); + return intStart >= intEnd ? '' : stringSlice(that, intStart, intEnd); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.sup.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.sup.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var createHTML = __webpack_require__(/*! ../internals/create-html */ "./node_modules/core-js/internals/create-html.js"); +var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "./node_modules/core-js/internals/string-html-forced.js"); + +// `String.prototype.sup` method +// https://tc39.es/ecma262/#sec-string.prototype.sup +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, { + sup: function sup() { + return createHTML(this, 'sup', '', ''); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.to-well-formed.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.to-well-formed.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +var $Array = Array; +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var join = uncurryThis([].join); +// eslint-disable-next-line es/no-string-prototype-iswellformed-towellformed -- safe +var $toWellFormed = ''.toWellFormed; +var REPLACEMENT_CHARACTER = '\uFFFD'; + +// Safari bug +var TO_STRING_CONVERSION_BUG = $toWellFormed && fails(function () { + return call($toWellFormed, 1) !== '1'; +}); + +// `String.prototype.toWellFormed` method +// https://github.com/tc39/proposal-is-usv-string +$({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, { + toWellFormed: function toWellFormed() { + var S = toString(requireObjectCoercible(this)); + if (TO_STRING_CONVERSION_BUG) return call($toWellFormed, S); + var length = S.length; + var result = $Array(length); + for (var i = 0; i < length; i++) { + var charCode = charCodeAt(S, i); + // single UTF-16 code unit + if ((charCode & 0xF800) !== 0xD800) result[i] = charAt(S, i); + // unpaired surrogate + else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00) !== 0xDC00) result[i] = REPLACEMENT_CHARACTER; + // surrogate pair + else { + result[i] = charAt(S, i); + result[++i] = charAt(S, i); + } + } return join(result, ''); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.trim-end.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.trim-end.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this line from `core-js@4` +__webpack_require__(/*! ../modules/es.string.trim-right */ "./node_modules/core-js/modules/es.string.trim-right.js"); +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var trimEnd = __webpack_require__(/*! ../internals/string-trim-end */ "./node_modules/core-js/internals/string-trim-end.js"); + +// `String.prototype.trimEnd` method +// https://tc39.es/ecma262/#sec-string.prototype.trimend +// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe +$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimEnd !== trimEnd }, { + trimEnd: trimEnd +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.trim-left.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.trim-left.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var trimStart = __webpack_require__(/*! ../internals/string-trim-start */ "./node_modules/core-js/internals/string-trim-start.js"); + +// `String.prototype.trimLeft` method +// https://tc39.es/ecma262/#sec-string.prototype.trimleft +// eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe +$({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimLeft !== trimStart }, { + trimLeft: trimStart +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.trim-right.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.trim-right.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var trimEnd = __webpack_require__(/*! ../internals/string-trim-end */ "./node_modules/core-js/internals/string-trim-end.js"); + +// `String.prototype.trimRight` method +// https://tc39.es/ecma262/#sec-string.prototype.trimend +// eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe +$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimRight !== trimEnd }, { + trimRight: trimEnd +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.trim-start.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.trim-start.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this line from `core-js@4` +__webpack_require__(/*! ../modules/es.string.trim-left */ "./node_modules/core-js/modules/es.string.trim-left.js"); +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var trimStart = __webpack_require__(/*! ../internals/string-trim-start */ "./node_modules/core-js/internals/string-trim-start.js"); + +// `String.prototype.trimStart` method +// https://tc39.es/ecma262/#sec-string.prototype.trimstart +// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe +$({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimStart !== trimStart }, { + trimStart: trimStart +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.string.trim.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.trim.js ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var $trim = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/core-js/internals/string-trim.js").trim); +var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ "./node_modules/core-js/internals/string-trim-forced.js"); + +// `String.prototype.trim` method +// https://tc39.es/ecma262/#sec-string.prototype.trim +$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, { + trim: function trim() { + return $trim(this); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.async-iterator.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.async-iterator.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); + +// `Symbol.asyncIterator` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.asynciterator +defineWellKnownSymbol('asyncIterator'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.constructor.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.constructor.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/core-js/internals/symbol-constructor-detection.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); +var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/core-js/internals/to-property-key.js"); +var $toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); +var nativeObjectCreate = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "./node_modules/core-js/internals/object-keys.js"); +var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js"); +var getOwnPropertyNamesExternal = __webpack_require__(/*! ../internals/object-get-own-property-names-external */ "./node_modules/core-js/internals/object-get-own-property-names-external.js"); +var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "./node_modules/core-js/internals/object-get-own-property-symbols.js"); +var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js"); +var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); +var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "./node_modules/core-js/internals/object-define-properties.js"); +var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "./node_modules/core-js/internals/object-property-is-enumerable.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); +var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "./node_modules/core-js/internals/shared-key.js"); +var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); +var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js/internals/uid.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ "./node_modules/core-js/internals/well-known-symbol-wrapped.js"); +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); +var defineSymbolToPrimitive = __webpack_require__(/*! ../internals/symbol-define-to-primitive */ "./node_modules/core-js/internals/symbol-define-to-primitive.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); +var $forEach = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").forEach); + +var HIDDEN = sharedKey('hidden'); +var SYMBOL = 'Symbol'; +var PROTOTYPE = 'prototype'; + +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(SYMBOL); + +var ObjectPrototype = Object[PROTOTYPE]; +var $Symbol = global.Symbol; +var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE]; +var TypeError = global.TypeError; +var QObject = global.QObject; +var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; +var nativeDefineProperty = definePropertyModule.f; +var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; +var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; +var push = uncurryThis([].push); + +var AllSymbols = shared('symbols'); +var ObjectPrototypeSymbols = shared('op-symbols'); +var WellKnownSymbolsStore = shared('wks'); + +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 +var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; + +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 +var setSymbolDescriptor = DESCRIPTORS && fails(function () { + return nativeObjectCreate(nativeDefineProperty({}, 'a', { + get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } + })).a !== 7; +}) ? function (O, P, Attributes) { + var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P); + if (ObjectPrototypeDescriptor) delete ObjectPrototype[P]; + nativeDefineProperty(O, P, Attributes); + if (ObjectPrototypeDescriptor && O !== ObjectPrototype) { + nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor); + } +} : nativeDefineProperty; + +var wrap = function (tag, description) { + var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype); + setInternalState(symbol, { + type: SYMBOL, + tag: tag, + description: description + }); + if (!DESCRIPTORS) symbol.description = description; + return symbol; +}; + +var $defineProperty = function defineProperty(O, P, Attributes) { + if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes); + anObject(O); + var key = toPropertyKey(P); + anObject(Attributes); + if (hasOwn(AllSymbols, key)) { + if (!Attributes.enumerable) { + if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); + O[HIDDEN][key] = true; + } else { + if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; + Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); + } return setSymbolDescriptor(O, key, Attributes); + } return nativeDefineProperty(O, key, Attributes); +}; + +var $defineProperties = function defineProperties(O, Properties) { + anObject(O); + var properties = toIndexedObject(Properties); + var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); + $forEach(keys, function (key) { + if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]); + }); + return O; +}; + +var $create = function create(O, Properties) { + return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); +}; + +var $propertyIsEnumerable = function propertyIsEnumerable(V) { + var P = toPropertyKey(V); + var enumerable = call(nativePropertyIsEnumerable, this, P); + if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false; + return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P] + ? enumerable : true; +}; + +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { + var it = toIndexedObject(O); + var key = toPropertyKey(P); + if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return; + var descriptor = nativeGetOwnPropertyDescriptor(it, key); + if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) { + descriptor.enumerable = true; + } + return descriptor; +}; + +var $getOwnPropertyNames = function getOwnPropertyNames(O) { + var names = nativeGetOwnPropertyNames(toIndexedObject(O)); + var result = []; + $forEach(names, function (key) { + if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key); + }); + return result; +}; + +var $getOwnPropertySymbols = function (O) { + var IS_OBJECT_PROTOTYPE = O === ObjectPrototype; + var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); + var result = []; + $forEach(names, function (key) { + if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) { + push(result, AllSymbols[key]); + } + }); + return result; +}; + +// `Symbol` constructor +// https://tc39.es/ecma262/#sec-symbol-constructor +if (!NATIVE_SYMBOL) { + $Symbol = function Symbol() { + if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor'); + var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]); + var tag = uid(description); + var setter = function (value) { + if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value); + if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false; + setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); + }; + if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); + return wrap(tag, description); + }; + + SymbolPrototype = $Symbol[PROTOTYPE]; + + defineBuiltIn(SymbolPrototype, 'toString', function toString() { + return getInternalState(this).tag; + }); + + defineBuiltIn($Symbol, 'withoutSetter', function (description) { + return wrap(uid(description), description); + }); + + propertyIsEnumerableModule.f = $propertyIsEnumerable; + definePropertyModule.f = $defineProperty; + definePropertiesModule.f = $defineProperties; + getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; + getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; + getOwnPropertySymbolsModule.f = $getOwnPropertySymbols; + + wrappedWellKnownSymbolModule.f = function (name) { + return wrap(wellKnownSymbol(name), name); + }; + + if (DESCRIPTORS) { + // https://github.com/tc39/proposal-Symbol-description + defineBuiltInAccessor(SymbolPrototype, 'description', { + configurable: true, + get: function description() { + return getInternalState(this).description; + } + }); + if (!IS_PURE) { + defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); + } + } +} + +$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { + Symbol: $Symbol +}); + +$forEach(objectKeys(WellKnownSymbolsStore), function (name) { + defineWellKnownSymbol(name); +}); + +$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { + useSetter: function () { USE_SETTER = true; }, + useSimple: function () { USE_SETTER = false; } +}); + +$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { + // `Object.create` method + // https://tc39.es/ecma262/#sec-object.create + create: $create, + // `Object.defineProperty` method + // https://tc39.es/ecma262/#sec-object.defineproperty + defineProperty: $defineProperty, + // `Object.defineProperties` method + // https://tc39.es/ecma262/#sec-object.defineproperties + defineProperties: $defineProperties, + // `Object.getOwnPropertyDescriptor` method + // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors + getOwnPropertyDescriptor: $getOwnPropertyDescriptor +}); + +$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { + // `Object.getOwnPropertyNames` method + // https://tc39.es/ecma262/#sec-object.getownpropertynames + getOwnPropertyNames: $getOwnPropertyNames +}); + +// `Symbol.prototype[@@toPrimitive]` method +// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive +defineSymbolToPrimitive(); + +// `Symbol.prototype[@@toStringTag]` property +// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag +setToStringTag($Symbol, SYMBOL); + +hiddenKeys[HIDDEN] = true; + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.description.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.description.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; +// `Symbol.prototype.description` getter +// https://tc39.es/ecma262/#sec-symbol.prototype.description + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/core-js/internals/object-is-prototype-of.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "./node_modules/core-js/internals/copy-constructor-properties.js"); + +var NativeSymbol = global.Symbol; +var SymbolPrototype = NativeSymbol && NativeSymbol.prototype; + +if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) || + // Safari 12 bug + NativeSymbol().description !== undefined +)) { + var EmptyStringDescriptionStore = {}; + // wrap Symbol constructor for correct work with undefined description + var SymbolWrapper = function Symbol() { + var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]); + var result = isPrototypeOf(SymbolPrototype, this) + ? new NativeSymbol(description) + // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' + : description === undefined ? NativeSymbol() : NativeSymbol(description); + if (description === '') EmptyStringDescriptionStore[result] = true; + return result; + }; + + copyConstructorProperties(SymbolWrapper, NativeSymbol); + SymbolWrapper.prototype = SymbolPrototype; + SymbolPrototype.constructor = SymbolWrapper; + + var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)'; + var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf); + var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString); + var regexp = /^Symbol\((.*)\)[^)]+$/; + var replace = uncurryThis(''.replace); + var stringSlice = uncurryThis(''.slice); + + defineBuiltInAccessor(SymbolPrototype, 'description', { + configurable: true, + get: function description() { + var symbol = thisSymbolValue(this); + if (hasOwn(EmptyStringDescriptionStore, symbol)) return ''; + var string = symbolDescriptiveString(symbol); + var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1'); + return desc === '' ? undefined : desc; + } + }); + + $({ global: true, constructor: true, forced: true }, { + Symbol: SymbolWrapper + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.for.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.for.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); +var NATIVE_SYMBOL_REGISTRY = __webpack_require__(/*! ../internals/symbol-registry-detection */ "./node_modules/core-js/internals/symbol-registry-detection.js"); + +var StringToSymbolRegistry = shared('string-to-symbol-registry'); +var SymbolToStringRegistry = shared('symbol-to-string-registry'); + +// `Symbol.for` method +// https://tc39.es/ecma262/#sec-symbol.for +$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { + 'for': function (key) { + var string = toString(key); + if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; + var symbol = getBuiltIn('Symbol')(string); + StringToSymbolRegistry[string] = symbol; + SymbolToStringRegistry[symbol] = string; + return symbol; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.has-instance.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.has-instance.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); + +// `Symbol.hasInstance` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.hasinstance +defineWellKnownSymbol('hasInstance'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js": +/*!************************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); + +// `Symbol.isConcatSpreadable` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable +defineWellKnownSymbol('isConcatSpreadable'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.iterator.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.iterator.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); + +// `Symbol.iterator` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.iterator +defineWellKnownSymbol('iterator'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's split to modules listed below +__webpack_require__(/*! ../modules/es.symbol.constructor */ "./node_modules/core-js/modules/es.symbol.constructor.js"); +__webpack_require__(/*! ../modules/es.symbol.for */ "./node_modules/core-js/modules/es.symbol.for.js"); +__webpack_require__(/*! ../modules/es.symbol.key-for */ "./node_modules/core-js/modules/es.symbol.key-for.js"); +__webpack_require__(/*! ../modules/es.json.stringify */ "./node_modules/core-js/modules/es.json.stringify.js"); +__webpack_require__(/*! ../modules/es.object.get-own-property-symbols */ "./node_modules/core-js/modules/es.object.get-own-property-symbols.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.key-for.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.key-for.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); +var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/core-js/internals/try-to-string.js"); +var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); +var NATIVE_SYMBOL_REGISTRY = __webpack_require__(/*! ../internals/symbol-registry-detection */ "./node_modules/core-js/internals/symbol-registry-detection.js"); + +var SymbolToStringRegistry = shared('symbol-to-string-registry'); + +// `Symbol.keyFor` method +// https://tc39.es/ecma262/#sec-symbol.keyfor +$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { + keyFor: function keyFor(sym) { + if (!isSymbol(sym)) throw TypeError(tryToString(sym) + ' is not a symbol'); + if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.match-all.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.match-all.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); + +// `Symbol.matchAll` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.matchall +defineWellKnownSymbol('matchAll'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.match.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.match.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); + +// `Symbol.match` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.match +defineWellKnownSymbol('match'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.replace.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.replace.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); + +// `Symbol.replace` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.replace +defineWellKnownSymbol('replace'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.search.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.search.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); + +// `Symbol.search` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.search +defineWellKnownSymbol('search'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.species.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.species.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); + +// `Symbol.species` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.species +defineWellKnownSymbol('species'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.split.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.split.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); + +// `Symbol.split` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.split +defineWellKnownSymbol('split'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.to-primitive.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.to-primitive.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); +var defineSymbolToPrimitive = __webpack_require__(/*! ../internals/symbol-define-to-primitive */ "./node_modules/core-js/internals/symbol-define-to-primitive.js"); + +// `Symbol.toPrimitive` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.toprimitive +defineWellKnownSymbol('toPrimitive'); + +// `Symbol.prototype[@@toPrimitive]` method +// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive +defineSymbolToPrimitive(); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.to-string-tag.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.to-string-tag.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); + +// `Symbol.toStringTag` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.tostringtag +defineWellKnownSymbol('toStringTag'); + +// `Symbol.prototype[@@toStringTag]` property +// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag +setToStringTag(getBuiltIn('Symbol'), 'Symbol'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.symbol.unscopables.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.unscopables.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "./node_modules/core-js/internals/well-known-symbol-define.js"); + +// `Symbol.unscopables` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.unscopables +defineWellKnownSymbol('unscopables'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.at.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.at.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.at` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.at +exportTypedArrayMethod('at', function at(index) { + var O = aTypedArray(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : O[k]; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.copy-within.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.copy-within.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $ArrayCopyWithin = __webpack_require__(/*! ../internals/array-copy-within */ "./node_modules/core-js/internals/array-copy-within.js"); + +var u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin); +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.copyWithin` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin +exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) { + return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.every.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.every.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $every = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").every); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.every` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.every +exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) { + return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.fill.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.fill.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $fill = __webpack_require__(/*! ../internals/array-fill */ "./node_modules/core-js/internals/array-fill.js"); +var toBigInt = __webpack_require__(/*! ../internals/to-big-int */ "./node_modules/core-js/internals/to-big-int.js"); +var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var slice = uncurryThis(''.slice); + +// V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18 +var CONVERSION_BUG = fails(function () { + var count = 0; + // eslint-disable-next-line es/no-typed-arrays -- safe + new Int8Array(2).fill({ valueOf: function () { return count++; } }); + return count !== 1; +}); + +// `%TypedArray%.prototype.fill` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill +exportTypedArrayMethod('fill', function fill(value /* , start, end */) { + var length = arguments.length; + aTypedArray(this); + var actualValue = slice(classof(this), 0, 3) === 'Big' ? toBigInt(value) : +value; + return call($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined); +}, CONVERSION_BUG); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.filter.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.filter.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $filter = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").filter); +var fromSpeciesAndList = __webpack_require__(/*! ../internals/typed-array-from-species-and-list */ "./node_modules/core-js/internals/typed-array-from-species-and-list.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.filter` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter +exportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) { + var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return fromSpeciesAndList(this, list); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.find-index.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.find-index.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $findIndex = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").findIndex); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.findIndex` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex +exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) { + return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.find-last-index.js": +/*!************************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.find-last-index.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $findLastIndex = (__webpack_require__(/*! ../internals/array-iteration-from-last */ "./node_modules/core-js/internals/array-iteration-from-last.js").findLastIndex); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.findLastIndex` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlastindex +exportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , thisArg */) { + return $findLastIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.find-last.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.find-last.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $findLast = (__webpack_require__(/*! ../internals/array-iteration-from-last */ "./node_modules/core-js/internals/array-iteration-from-last.js").findLast); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.findLast` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlast +exportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */) { + return $findLast(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.find.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.find.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $find = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").find); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.find` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.find +exportTypedArrayMethod('find', function find(predicate /* , thisArg */) { + return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.float32-array.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.float32-array.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ "./node_modules/core-js/internals/typed-array-constructor.js"); + +// `Float32Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Float32', function (init) { + return function Float32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.float64-array.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.float64-array.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ "./node_modules/core-js/internals/typed-array-constructor.js"); + +// `Float64Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Float64', function (init) { + return function Float64Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.for-each.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.for-each.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $forEach = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").forEach); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.forEach` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach +exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) { + $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.from.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.from.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(/*! ../internals/typed-array-constructors-require-wrappers */ "./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js"); +var exportTypedArrayStaticMethod = (__webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js").exportTypedArrayStaticMethod); +var typedArrayFrom = __webpack_require__(/*! ../internals/typed-array-from */ "./node_modules/core-js/internals/typed-array-from.js"); + +// `%TypedArray%.from` method +// https://tc39.es/ecma262/#sec-%typedarray%.from +exportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.includes.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.includes.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $includes = (__webpack_require__(/*! ../internals/array-includes */ "./node_modules/core-js/internals/array-includes.js").includes); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.includes` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes +exportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) { + return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.index-of.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.index-of.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $indexOf = (__webpack_require__(/*! ../internals/array-includes */ "./node_modules/core-js/internals/array-includes.js").indexOf); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.indexOf` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof +exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) { + return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.int16-array.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.int16-array.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ "./node_modules/core-js/internals/typed-array-constructor.js"); + +// `Int16Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Int16', function (init) { + return function Int16Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.int32-array.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.int32-array.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ "./node_modules/core-js/internals/typed-array-constructor.js"); + +// `Int32Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Int32', function (init) { + return function Int32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.int8-array.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.int8-array.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ "./node_modules/core-js/internals/typed-array-constructor.js"); + +// `Int8Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Int8', function (init) { + return function Int8Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.iterator.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.iterator.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var ArrayIterators = __webpack_require__(/*! ../modules/es.array.iterator */ "./node_modules/core-js/modules/es.array.iterator.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var ITERATOR = wellKnownSymbol('iterator'); +var Uint8Array = global.Uint8Array; +var arrayValues = uncurryThis(ArrayIterators.values); +var arrayKeys = uncurryThis(ArrayIterators.keys); +var arrayEntries = uncurryThis(ArrayIterators.entries); +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var TypedArrayPrototype = Uint8Array && Uint8Array.prototype; + +var GENERIC = !fails(function () { + TypedArrayPrototype[ITERATOR].call([1]); +}); + +var ITERATOR_IS_VALUES = !!TypedArrayPrototype + && TypedArrayPrototype.values + && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values + && TypedArrayPrototype.values.name === 'values'; + +var typedArrayValues = function values() { + return arrayValues(aTypedArray(this)); +}; + +// `%TypedArray%.prototype.entries` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries +exportTypedArrayMethod('entries', function entries() { + return arrayEntries(aTypedArray(this)); +}, GENERIC); +// `%TypedArray%.prototype.keys` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys +exportTypedArrayMethod('keys', function keys() { + return arrayKeys(aTypedArray(this)); +}, GENERIC); +// `%TypedArray%.prototype.values` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.values +exportTypedArrayMethod('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' }); +// `%TypedArray%.prototype[@@iterator]` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator +exportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' }); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.join.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.join.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var $join = uncurryThis([].join); + +// `%TypedArray%.prototype.join` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.join +exportTypedArrayMethod('join', function join(separator) { + return $join(aTypedArray(this), separator); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.last-index-of.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.last-index-of.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var $lastIndexOf = __webpack_require__(/*! ../internals/array-last-index-of */ "./node_modules/core-js/internals/array-last-index-of.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.lastIndexOf` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof +exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) { + var length = arguments.length; + return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.map.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.map.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $map = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").map); +var typedArraySpeciesConstructor = __webpack_require__(/*! ../internals/typed-array-species-constructor */ "./node_modules/core-js/internals/typed-array-species-constructor.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.map` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.map +exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) { + return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) { + return new (typedArraySpeciesConstructor(O))(length); + }); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.of.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.of.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(/*! ../internals/typed-array-constructors-require-wrappers */ "./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js"); + +var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; +var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod; + +// `%TypedArray%.of` method +// https://tc39.es/ecma262/#sec-%typedarray%.of +exportTypedArrayStaticMethod('of', function of(/* ...items */) { + var index = 0; + var length = arguments.length; + var result = new (aTypedArrayConstructor(this))(length); + while (length > index) result[index] = arguments[index++]; + return result; +}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.reduce-right.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.reduce-right.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $reduceRight = (__webpack_require__(/*! ../internals/array-reduce */ "./node_modules/core-js/internals/array-reduce.js").right); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.reduceRight` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright +exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) { + var length = arguments.length; + return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.reduce.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.reduce.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $reduce = (__webpack_require__(/*! ../internals/array-reduce */ "./node_modules/core-js/internals/array-reduce.js").left); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.reduce` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce +exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) { + var length = arguments.length; + return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.reverse.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.reverse.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var floor = Math.floor; + +// `%TypedArray%.prototype.reverse` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse +exportTypedArrayMethod('reverse', function reverse() { + var that = this; + var length = aTypedArray(that).length; + var middle = floor(length / 2); + var index = 0; + var value; + while (index < middle) { + value = that[index]; + that[index++] = that[--length]; + that[length] = value; + } return that; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.set.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.set.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var toOffset = __webpack_require__(/*! ../internals/to-offset */ "./node_modules/core-js/internals/to-offset.js"); +var toIndexedObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); + +var RangeError = global.RangeError; +var Int8Array = global.Int8Array; +var Int8ArrayPrototype = Int8Array && Int8Array.prototype; +var $set = Int8ArrayPrototype && Int8ArrayPrototype.set; +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +var WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails(function () { + // eslint-disable-next-line es/no-typed-arrays -- required for testing + var array = new Uint8ClampedArray(2); + call($set, array, { length: 1, 0: 3 }, 1); + return array[1] !== 3; +}); + +// https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other +var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () { + var array = new Int8Array(2); + array.set(1); + array.set('2', 1); + return array[0] !== 0 || array[1] !== 2; +}); + +// `%TypedArray%.prototype.set` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set +exportTypedArrayMethod('set', function set(arrayLike /* , offset */) { + aTypedArray(this); + var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1); + var src = toIndexedObject(arrayLike); + if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset); + var length = this.length; + var len = lengthOfArrayLike(src); + var index = 0; + if (len + offset > length) throw RangeError('Wrong length'); + while (index < len) this[offset + index] = src[index++]; +}, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.slice.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.slice.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var typedArraySpeciesConstructor = __webpack_require__(/*! ../internals/typed-array-species-constructor */ "./node_modules/core-js/internals/typed-array-species-constructor.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/core-js/internals/array-slice.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +var FORCED = fails(function () { + // eslint-disable-next-line es/no-typed-arrays -- required for testing + new Int8Array(1).slice(); +}); + +// `%TypedArray%.prototype.slice` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice +exportTypedArrayMethod('slice', function slice(start, end) { + var list = arraySlice(aTypedArray(this), start, end); + var C = typedArraySpeciesConstructor(this); + var index = 0; + var length = list.length; + var result = new C(length); + while (length > index) result[index] = list[index++]; + return result; +}, FORCED); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.some.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.some.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var $some = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/core-js/internals/array-iteration.js").some); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.some` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.some +exportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) { + return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.sort.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.sort.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/core-js/internals/function-uncurry-this-clause.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var internalSort = __webpack_require__(/*! ../internals/array-sort */ "./node_modules/core-js/internals/array-sort.js"); +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var FF = __webpack_require__(/*! ../internals/engine-ff-version */ "./node_modules/core-js/internals/engine-ff-version.js"); +var IE_OR_EDGE = __webpack_require__(/*! ../internals/engine-is-ie-or-edge */ "./node_modules/core-js/internals/engine-is-ie-or-edge.js"); +var V8 = __webpack_require__(/*! ../internals/engine-v8-version */ "./node_modules/core-js/internals/engine-v8-version.js"); +var WEBKIT = __webpack_require__(/*! ../internals/engine-webkit-version */ "./node_modules/core-js/internals/engine-webkit-version.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var Uint16Array = global.Uint16Array; +var nativeSort = Uint16Array && uncurryThis(Uint16Array.prototype.sort); + +// WebKit +var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !(fails(function () { + nativeSort(new Uint16Array(2), null); +}) && fails(function () { + nativeSort(new Uint16Array(2), {}); +})); + +var STABLE_SORT = !!nativeSort && !fails(function () { + // feature detection can be too slow, so check engines versions + if (V8) return V8 < 74; + if (FF) return FF < 67; + if (IE_OR_EDGE) return true; + if (WEBKIT) return WEBKIT < 602; + + var array = new Uint16Array(516); + var expected = Array(516); + var index, mod; + + for (index = 0; index < 516; index++) { + mod = index % 4; + array[index] = 515 - index; + expected[index] = index - 2 * mod + 3; + } + + nativeSort(array, function (a, b) { + return (a / 4 | 0) - (b / 4 | 0); + }); + + for (index = 0; index < 516; index++) { + if (array[index] !== expected[index]) return true; + } +}); + +var getSortCompare = function (comparefn) { + return function (x, y) { + if (comparefn !== undefined) return +comparefn(x, y) || 0; + // eslint-disable-next-line no-self-compare -- NaN check + if (y !== y) return -1; + // eslint-disable-next-line no-self-compare -- NaN check + if (x !== x) return 1; + if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1; + return x > y; + }; +}; + +// `%TypedArray%.prototype.sort` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort +exportTypedArrayMethod('sort', function sort(comparefn) { + if (comparefn !== undefined) aCallable(comparefn); + if (STABLE_SORT) return nativeSort(this, comparefn); + + return internalSort(aTypedArray(this), getSortCompare(comparefn)); +}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.subarray.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.subarray.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); +var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); +var typedArraySpeciesConstructor = __webpack_require__(/*! ../internals/typed-array-species-constructor */ "./node_modules/core-js/internals/typed-array-species-constructor.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.subarray` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray +exportTypedArrayMethod('subarray', function subarray(begin, end) { + var O = aTypedArray(this); + var length = O.length; + var beginIndex = toAbsoluteIndex(begin, length); + var C = typedArraySpeciesConstructor(O); + return new C( + O.buffer, + O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, + toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex) + ); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.to-locale-string.js": +/*!*************************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.to-locale-string.js ***! + \*************************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/core-js/internals/function-apply.js"); +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/core-js/internals/array-slice.js"); + +var Int8Array = global.Int8Array; +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var $toLocaleString = [].toLocaleString; + +// iOS Safari 6.x fails here +var TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () { + $toLocaleString.call(new Int8Array(1)); +}); + +var FORCED = fails(function () { + return [1, 2].toLocaleString() !== new Int8Array([1, 2]).toLocaleString(); +}) || !fails(function () { + Int8Array.prototype.toLocaleString.call([1, 2]); +}); + +// `%TypedArray%.prototype.toLocaleString` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring +exportTypedArrayMethod('toLocaleString', function toLocaleString() { + return apply( + $toLocaleString, + TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this), + arraySlice(arguments) + ); +}, FORCED); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.to-reversed.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.to-reversed.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var arrayToReversed = __webpack_require__(/*! ../internals/array-to-reversed */ "./node_modules/core-js/internals/array-to-reversed.js"); +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + +// `%TypedArray%.prototype.toReversed` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed +exportTypedArrayMethod('toReversed', function toReversed() { + return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this)); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.to-sorted.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.to-sorted.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var arrayFromConstructorAndList = __webpack_require__(/*! ../internals/array-from-constructor-and-list */ "./node_modules/core-js/internals/array-from-constructor-and-list.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort); + +// `%TypedArray%.prototype.toSorted` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted +exportTypedArrayMethod('toSorted', function toSorted(compareFn) { + if (compareFn !== undefined) aCallable(compareFn); + var O = aTypedArray(this); + var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O); + return sort(A, compareFn); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.to-string.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.to-string.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var exportTypedArrayMethod = (__webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js").exportTypedArrayMethod); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); + +var Uint8Array = global.Uint8Array; +var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {}; +var arrayToString = [].toString; +var join = uncurryThis([].join); + +if (fails(function () { arrayToString.call({}); })) { + arrayToString = function toString() { + return join(this); + }; +} + +var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString !== arrayToString; + +// `%TypedArray%.prototype.toString` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring +exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.uint16-array.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.uint16-array.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ "./node_modules/core-js/internals/typed-array-constructor.js"); + +// `Uint16Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Uint16', function (init) { + return function Uint16Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.uint32-array.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.uint32-array.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ "./node_modules/core-js/internals/typed-array-constructor.js"); + +// `Uint32Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Uint32', function (init) { + return function Uint32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.uint8-array.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.uint8-array.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ "./node_modules/core-js/internals/typed-array-constructor.js"); + +// `Uint8Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Uint8', function (init) { + return function Uint8Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js": +/*!****************************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js ***! + \****************************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ "./node_modules/core-js/internals/typed-array-constructor.js"); + +// `Uint8ClampedArray` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Uint8', function (init) { + return function Uint8ClampedArray(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}, true); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.typed-array.with.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.typed-array.with.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var arrayWith = __webpack_require__(/*! ../internals/array-with */ "./node_modules/core-js/internals/array-with.js"); +var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/core-js/internals/array-buffer-view-core.js"); +var isBigIntArray = __webpack_require__(/*! ../internals/is-big-int-array */ "./node_modules/core-js/internals/is-big-int-array.js"); +var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/core-js/internals/to-integer-or-infinity.js"); +var toBigInt = __webpack_require__(/*! ../internals/to-big-int */ "./node_modules/core-js/internals/to-big-int.js"); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +var PROPER_ORDER = !!function () { + try { + // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing + new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } }); + } catch (error) { + // some early implementations, like WebKit, does not follow the final semantic + // https://github.com/tc39/proposal-change-array-by-copy/pull/86 + return error === 8; + } +}(); + +// `%TypedArray%.prototype.with` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with +exportTypedArrayMethod('with', { 'with': function (index, value) { + var O = aTypedArray(this); + var relativeIndex = toIntegerOrInfinity(index); + var actualValue = isBigIntArray(O) ? toBigInt(value) : +value; + return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue); +} }['with'], !PROPER_ORDER); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.unescape.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/es.unescape.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); + +var fromCharCode = String.fromCharCode; +var charAt = uncurryThis(''.charAt); +var exec = uncurryThis(/./.exec); +var stringSlice = uncurryThis(''.slice); + +var hex2 = /^[\da-f]{2}$/i; +var hex4 = /^[\da-f]{4}$/i; + +// `unescape` method +// https://tc39.es/ecma262/#sec-unescape-string +$({ global: true }, { + unescape: function unescape(string) { + var str = toString(string); + var result = ''; + var length = str.length; + var index = 0; + var chr, part; + while (index < length) { + chr = charAt(str, index++); + if (chr === '%') { + if (charAt(str, index) === 'u') { + part = stringSlice(str, index + 1, index + 5); + if (exec(hex4, part)) { + result += fromCharCode(parseInt(part, 16)); + index += 5; + continue; + } + } else { + part = stringSlice(str, index, index + 2); + if (exec(hex2, part)) { + result += fromCharCode(parseInt(part, 16)); + index += 2; + continue; + } + } + } + result += chr; + } return result; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.weak-map.constructor.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.weak-map.constructor.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var FREEZING = __webpack_require__(/*! ../internals/freezing */ "./node_modules/core-js/internals/freezing.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ "./node_modules/core-js/internals/define-built-ins.js"); +var InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ "./node_modules/core-js/internals/internal-metadata.js"); +var collection = __webpack_require__(/*! ../internals/collection */ "./node_modules/core-js/internals/collection.js"); +var collectionWeak = __webpack_require__(/*! ../internals/collection-weak */ "./node_modules/core-js/internals/collection-weak.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var enforceInternalState = (__webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js").enforce); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "./node_modules/core-js/internals/weak-map-basic-detection.js"); + +var $Object = Object; +// eslint-disable-next-line es/no-array-isarray -- safe +var isArray = Array.isArray; +// eslint-disable-next-line es/no-object-isextensible -- safe +var isExtensible = $Object.isExtensible; +// eslint-disable-next-line es/no-object-isfrozen -- safe +var isFrozen = $Object.isFrozen; +// eslint-disable-next-line es/no-object-issealed -- safe +var isSealed = $Object.isSealed; +// eslint-disable-next-line es/no-object-freeze -- safe +var freeze = $Object.freeze; +// eslint-disable-next-line es/no-object-seal -- safe +var seal = $Object.seal; + +var FROZEN = {}; +var SEALED = {}; +var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; +var InternalWeakMap; + +var wrapper = function (init) { + return function WeakMap() { + return init(this, arguments.length ? arguments[0] : undefined); + }; +}; + +// `WeakMap` constructor +// https://tc39.es/ecma262/#sec-weakmap-constructor +var $WeakMap = collection('WeakMap', wrapper, collectionWeak); +var WeakMapPrototype = $WeakMap.prototype; +var nativeSet = uncurryThis(WeakMapPrototype.set); + +// Chakra Edge bug: adding frozen arrays to WeakMap unfreeze them +var hasMSEdgeFreezingBug = function () { + return FREEZING && fails(function () { + var frozenArray = freeze([]); + nativeSet(new $WeakMap(), frozenArray, 1); + return !isFrozen(frozenArray); + }); +}; + +// IE11 WeakMap frozen keys fix +// We can't use feature detection because it crash some old IE builds +// https://github.com/zloirock/core-js/issues/485 +if (NATIVE_WEAK_MAP) if (IS_IE11) { + InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true); + InternalMetadataModule.enable(); + var nativeDelete = uncurryThis(WeakMapPrototype['delete']); + var nativeHas = uncurryThis(WeakMapPrototype.has); + var nativeGet = uncurryThis(WeakMapPrototype.get); + defineBuiltIns(WeakMapPrototype, { + 'delete': function (key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeDelete(this, key) || state.frozen['delete'](key); + } return nativeDelete(this, key); + }, + has: function has(key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeHas(this, key) || state.frozen.has(key); + } return nativeHas(this, key); + }, + get: function get(key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key); + } return nativeGet(this, key); + }, + set: function set(key, value) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value); + } else nativeSet(this, key, value); + return this; + } + }); +// Chakra Edge frozen keys fix +} else if (hasMSEdgeFreezingBug()) { + defineBuiltIns(WeakMapPrototype, { + set: function set(key, value) { + var arrayIntegrityLevel; + if (isArray(key)) { + if (isFrozen(key)) arrayIntegrityLevel = FROZEN; + else if (isSealed(key)) arrayIntegrityLevel = SEALED; + } + nativeSet(this, key, value); + if (arrayIntegrityLevel === FROZEN) freeze(key); + if (arrayIntegrityLevel === SEALED) seal(key); + return this; + } + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.weak-map.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/es.weak-map.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's replaced to module below +__webpack_require__(/*! ../modules/es.weak-map.constructor */ "./node_modules/core-js/modules/es.weak-map.constructor.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.weak-set.constructor.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es.weak-set.constructor.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var collection = __webpack_require__(/*! ../internals/collection */ "./node_modules/core-js/internals/collection.js"); +var collectionWeak = __webpack_require__(/*! ../internals/collection-weak */ "./node_modules/core-js/internals/collection-weak.js"); + +// `WeakSet` constructor +// https://tc39.es/ecma262/#sec-weakset-constructor +collection('WeakSet', function (init) { + return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); }; +}, collectionWeak); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es.weak-set.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/es.weak-set.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's replaced to module below +__webpack_require__(/*! ../modules/es.weak-set.constructor */ "./node_modules/core-js/modules/es.weak-set.constructor.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.atob.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/web.atob.js ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); +var ctoi = (__webpack_require__(/*! ../internals/base64-map */ "./node_modules/core-js/internals/base64-map.js").ctoi); + +var disallowed = /[^\d+/a-z]/i; +var whitespaces = /[\t\n\f\r ]+/g; +var finalEq = /[=]{1,2}$/; + +var $atob = getBuiltIn('atob'); +var fromCharCode = String.fromCharCode; +var charAt = uncurryThis(''.charAt); +var replace = uncurryThis(''.replace); +var exec = uncurryThis(disallowed.exec); + +var NO_SPACES_IGNORE = fails(function () { + return $atob(' ') !== ''; +}); + +var NO_ENCODING_CHECK = !fails(function () { + $atob('a'); +}); + +var NO_ARG_RECEIVING_CHECK = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && !fails(function () { + $atob(); +}); + +var WRONG_ARITY = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && $atob.length !== 1; + +// `atob` method +// https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob +$({ global: true, bind: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_ENCODING_CHECK || NO_ARG_RECEIVING_CHECK || WRONG_ARITY }, { + atob: function atob(data) { + validateArgumentsLength(arguments.length, 1); + // `webpack` dev server bug on IE global methods - use call(fn, global, ...) + if (NO_ARG_RECEIVING_CHECK || WRONG_ARITY) return call($atob, global, data); + var string = replace(toString(data), whitespaces, ''); + var output = ''; + var position = 0; + var bc = 0; + var chr, bs; + if (string.length % 4 === 0) { + string = replace(string, finalEq, ''); + } + if (string.length % 4 === 1 || exec(disallowed, string)) { + throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError'); + } + while (chr = charAt(string, position++)) { + if (hasOwn(ctoi, chr)) { + bs = bc % 4 ? bs * 64 + ctoi[chr] : ctoi[chr]; + if (bc++ % 4) output += fromCharCode(255 & bs >> (-2 * bc & 6)); + } + } return output; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.btoa.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/web.btoa.js ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); +var itoc = (__webpack_require__(/*! ../internals/base64-map */ "./node_modules/core-js/internals/base64-map.js").itoc); + +var $btoa = getBuiltIn('btoa'); +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); + +var NO_ARG_RECEIVING_CHECK = !!$btoa && !fails(function () { + $btoa(); +}); + +var WRONG_ARG_CONVERSION = !!$btoa && fails(function () { + return $btoa(null) !== 'bnVsbA=='; +}); + +var WRONG_ARITY = !!$btoa && $btoa.length !== 1; + +// `btoa` method +// https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa +$({ global: true, bind: true, enumerable: true, forced: NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY }, { + btoa: function btoa(data) { + validateArgumentsLength(arguments.length, 1); + // `webpack` dev server bug on IE global methods - use call(fn, global, ...) + if (NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY) return call($btoa, global, toString(data)); + var string = toString(data); + var output = ''; + var position = 0; + var map = itoc; + var block, charCode; + while (charAt(string, position) || (map = '=', position % 1)) { + charCode = charCodeAt(string, position += 3 / 4); + if (charCode > 0xFF) { + throw new (getBuiltIn('DOMException'))('The string contains characters outside of the Latin1 range', 'InvalidCharacterError'); + } + block = block << 8 | charCode; + output += charAt(map, 63 & block >> 8 - position % 1 * 8); + } return output; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.clear-immediate.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/web.clear-immediate.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var clearImmediate = (__webpack_require__(/*! ../internals/task */ "./node_modules/core-js/internals/task.js").clear); + +// `clearImmediate` method +// http://w3c.github.io/setImmediate/#si-clearImmediate +$({ global: true, bind: true, enumerable: true, forced: global.clearImmediate !== clearImmediate }, { + clearImmediate: clearImmediate +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.dom-collections.for-each.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/web.dom-collections.for-each.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ "./node_modules/core-js/internals/dom-iterables.js"); +var DOMTokenListPrototype = __webpack_require__(/*! ../internals/dom-token-list-prototype */ "./node_modules/core-js/internals/dom-token-list-prototype.js"); +var forEach = __webpack_require__(/*! ../internals/array-for-each */ "./node_modules/core-js/internals/array-for-each.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); + +var handlePrototype = function (CollectionPrototype) { + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { + createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach); + } catch (error) { + CollectionPrototype.forEach = forEach; + } +}; + +for (var COLLECTION_NAME in DOMIterables) { + if (DOMIterables[COLLECTION_NAME]) { + handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype); + } +} + +handlePrototype(DOMTokenListPrototype); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.dom-collections.iterator.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/web.dom-collections.iterator.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ "./node_modules/core-js/internals/dom-iterables.js"); +var DOMTokenListPrototype = __webpack_require__(/*! ../internals/dom-token-list-prototype */ "./node_modules/core-js/internals/dom-token-list-prototype.js"); +var ArrayIteratorMethods = __webpack_require__(/*! ../modules/es.array.iterator */ "./node_modules/core-js/modules/es.array.iterator.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); + +var ITERATOR = wellKnownSymbol('iterator'); +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var ArrayValues = ArrayIteratorMethods.values; + +var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) { + if (CollectionPrototype) { + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype[ITERATOR] !== ArrayValues) try { + createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); + } catch (error) { + CollectionPrototype[ITERATOR] = ArrayValues; + } + if (!CollectionPrototype[TO_STRING_TAG]) { + createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); + } + if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { + createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); + } catch (error) { + CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; + } + } + } +}; + +for (var COLLECTION_NAME in DOMIterables) { + handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME); +} + +handlePrototype(DOMTokenListPrototype, 'DOMTokenList'); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.dom-exception.constructor.js": +/*!***********************************************************************!*\ + !*** ./node_modules/core-js/modules/web.dom-exception.constructor.js ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var tryNodeRequire = __webpack_require__(/*! ../internals/try-node-require */ "./node_modules/core-js/internals/try-node-require.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/core-js/internals/an-instance.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var errorToString = __webpack_require__(/*! ../internals/error-to-string */ "./node_modules/core-js/internals/error-to-string.js"); +var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "./node_modules/core-js/internals/normalize-string-argument.js"); +var DOMExceptionConstants = __webpack_require__(/*! ../internals/dom-exception-constants */ "./node_modules/core-js/internals/dom-exception-constants.js"); +var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ "./node_modules/core-js/internals/error-stack-clear.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); + +var DOM_EXCEPTION = 'DOMException'; +var DATA_CLONE_ERR = 'DATA_CLONE_ERR'; +var Error = getBuiltIn('Error'); +// NodeJS < 17.0 does not expose `DOMException` to global +var NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () { + try { + // NodeJS < 15.0 does not expose `MessageChannel` to global + var MessageChannel = getBuiltIn('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel; + // eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe + new MessageChannel().port1.postMessage(new WeakMap()); + } catch (error) { + if (error.name === DATA_CLONE_ERR && error.code === 25) return error.constructor; + } +})(); +var NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype; +var ErrorPrototype = Error.prototype; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION); +var HAS_STACK = 'stack' in Error(DOM_EXCEPTION); + +var codeFor = function (name) { + return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0; +}; + +var $DOMException = function DOMException() { + anInstance(this, DOMExceptionPrototype); + var argumentsLength = arguments.length; + var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); + var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); + var code = codeFor(name); + setInternalState(this, { + type: DOM_EXCEPTION, + name: name, + message: message, + code: code + }); + if (!DESCRIPTORS) { + this.name = name; + this.message = message; + this.code = code; + } + if (HAS_STACK) { + var error = Error(message); + error.name = DOM_EXCEPTION; + defineProperty(this, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); + } +}; + +var DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype); + +var createGetterDescriptor = function (get) { + return { enumerable: true, configurable: true, get: get }; +}; + +var getterFor = function (key) { + return createGetterDescriptor(function () { + return getInternalState(this)[key]; + }); +}; + +if (DESCRIPTORS) { + // `DOMException.prototype.code` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'code', getterFor('code')); + // `DOMException.prototype.message` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'message', getterFor('message')); + // `DOMException.prototype.name` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'name', getterFor('name')); +} + +defineProperty(DOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, $DOMException)); + +// FF36- DOMException is a function, but can't be constructed +var INCORRECT_CONSTRUCTOR = fails(function () { + return !(new NativeDOMException() instanceof Error); +}); + +// Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs +var INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () { + return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== '2: 1'; +}); + +// Deno 1.6.3- DOMException.prototype.code just missed +var INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () { + return new NativeDOMException(1, 'DataCloneError').code !== 25; +}); + +// Deno 1.6.3- DOMException constants just missed +var MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR + || NativeDOMException[DATA_CLONE_ERR] !== 25 + || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25; + +var FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR; + +// `DOMException` constructor +// https://webidl.spec.whatwg.org/#idl-DOMException +$({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, { + DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException +}); + +var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); +var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; + +if (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) { + defineBuiltIn(PolyfilledDOMExceptionPrototype, 'toString', errorToString); +} + +if (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) { + defineBuiltInAccessor(PolyfilledDOMExceptionPrototype, 'code', createGetterDescriptor(function () { + return codeFor(anObject(this).name); + })); +} + +// `DOMException` constants +for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { + var constant = DOMExceptionConstants[key]; + var constantName = constant.s; + var descriptor = createPropertyDescriptor(6, constant.c); + if (!hasOwn(PolyfilledDOMException, constantName)) { + defineProperty(PolyfilledDOMException, constantName, descriptor); + } + if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) { + defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor); + } +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.dom-exception.stack.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/web.dom-exception.stack.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); +var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/core-js/internals/an-instance.js"); +var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "./node_modules/core-js/internals/inherit-if-required.js"); +var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "./node_modules/core-js/internals/normalize-string-argument.js"); +var DOMExceptionConstants = __webpack_require__(/*! ../internals/dom-exception-constants */ "./node_modules/core-js/internals/dom-exception-constants.js"); +var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ "./node_modules/core-js/internals/error-stack-clear.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); + +var DOM_EXCEPTION = 'DOMException'; +var Error = getBuiltIn('Error'); +var NativeDOMException = getBuiltIn(DOM_EXCEPTION); + +var $DOMException = function DOMException() { + anInstance(this, DOMExceptionPrototype); + var argumentsLength = arguments.length; + var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); + var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); + var that = new NativeDOMException(message, name); + var error = Error(message); + error.name = DOM_EXCEPTION; + defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); + inheritIfRequired(that, this, $DOMException); + return that; +}; + +var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; + +var ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION); +var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2); + +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION); + +// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it +// https://github.com/Jarred-Sumner/bun/issues/399 +var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); + +var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; + +// `DOMException` constructor patch for `.stack` where it's required +// https://webidl.spec.whatwg.org/#es-DOMException-specialness +$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic + DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException +}); + +var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); +var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; + +if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { + if (!IS_PURE) { + defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException)); + } + + for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { + var constant = DOMExceptionConstants[key]; + var constantName = constant.s; + if (!hasOwn(PolyfilledDOMException, constantName)) { + defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); + } + } +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.dom-exception.to-string-tag.js": +/*!*************************************************************************!*\ + !*** ./node_modules/core-js/modules/web.dom-exception.to-string-tag.js ***! + \*************************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); + +var DOM_EXCEPTION = 'DOMException'; + +// `DOMException.prototype[@@toStringTag]` property +setToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.immediate.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/web.immediate.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's split to modules listed below +__webpack_require__(/*! ../modules/web.clear-immediate */ "./node_modules/core-js/modules/web.clear-immediate.js"); +__webpack_require__(/*! ../modules/web.set-immediate */ "./node_modules/core-js/modules/web.set-immediate.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.queue-microtask.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/web.queue-microtask.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var microtask = __webpack_require__(/*! ../internals/microtask */ "./node_modules/core-js/internals/microtask.js"); +var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/core-js/internals/a-callable.js"); +var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); +var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "./node_modules/core-js/internals/engine-is-node.js"); + +var process = global.process; + +// `queueMicrotask` method +// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask +$({ global: true, enumerable: true, dontCallGetSet: true }, { + queueMicrotask: function queueMicrotask(fn) { + validateArgumentsLength(arguments.length, 1); + aCallable(fn); + var domain = IS_NODE && process.domain; + microtask(domain ? domain.bind(fn) : fn); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.self.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/web.self.js ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); + +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; +var INCORRECT_VALUE = global.self !== global; + +// `self` getter +// https://html.spec.whatwg.org/multipage/window-object.html#dom-self +try { + if (DESCRIPTORS) { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var descriptor = Object.getOwnPropertyDescriptor(global, 'self'); + // some engines have `self`, but with incorrect descriptor + // https://github.com/denoland/deno/issues/15765 + if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) { + defineBuiltInAccessor(global, 'self', { + get: function self() { + return global; + }, + set: function self(value) { + if (this !== global) throw $TypeError('Illegal invocation'); + defineProperty(global, 'self', { + value: value, + writable: true, + configurable: true, + enumerable: true + }); + }, + configurable: true, + enumerable: true + }); + } + } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, { + self: global + }); +} catch (error) { /* empty */ } + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.set-immediate.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/web.set-immediate.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var setTask = (__webpack_require__(/*! ../internals/task */ "./node_modules/core-js/internals/task.js").set); +var schedulersFix = __webpack_require__(/*! ../internals/schedulers-fix */ "./node_modules/core-js/internals/schedulers-fix.js"); + +// https://github.com/oven-sh/bun/issues/1633 +var setImmediate = global.setImmediate ? schedulersFix(setTask, false) : setTask; + +// `setImmediate` method +// http://w3c.github.io/setImmediate/#si-setImmediate +$({ global: true, bind: true, enumerable: true, forced: global.setImmediate !== setImmediate }, { + setImmediate: setImmediate +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.set-interval.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/web.set-interval.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var schedulersFix = __webpack_require__(/*! ../internals/schedulers-fix */ "./node_modules/core-js/internals/schedulers-fix.js"); + +var setInterval = schedulersFix(global.setInterval, true); + +// Bun / IE9- setInterval additional parameters fix +// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval +$({ global: true, bind: true, forced: global.setInterval !== setInterval }, { + setInterval: setInterval +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.set-timeout.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/web.set-timeout.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var schedulersFix = __webpack_require__(/*! ../internals/schedulers-fix */ "./node_modules/core-js/internals/schedulers-fix.js"); + +var setTimeout = schedulersFix(global.setTimeout, true); + +// Bun / IE9- setTimeout additional parameters fix +// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout +$({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, { + setTimeout: setTimeout +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.structured-clone.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/web.structured-clone.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var getBuiltin = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/core-js/internals/uid.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/core-js/internals/is-constructor.js"); +var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/core-js/internals/is-null-or-undefined.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/core-js/internals/is-symbol.js"); +var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/core-js/internals/iterate.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); +var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/core-js/internals/create-non-enumerable-property.js"); +var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/core-js/internals/length-of-array-like.js"); +var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); +var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/core-js/internals/regexp-get-flags.js"); +var MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ "./node_modules/core-js/internals/map-helpers.js"); +var SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ "./node_modules/core-js/internals/set-helpers.js"); +var ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ "./node_modules/core-js/internals/error-stack-installable.js"); +var PROPER_TRANSFER = __webpack_require__(/*! ../internals/structured-clone-proper-transfer */ "./node_modules/core-js/internals/structured-clone-proper-transfer.js"); + +var Object = global.Object; +var Array = global.Array; +var Date = global.Date; +var Error = global.Error; +var EvalError = global.EvalError; +var RangeError = global.RangeError; +var ReferenceError = global.ReferenceError; +var SyntaxError = global.SyntaxError; +var TypeError = global.TypeError; +var URIError = global.URIError; +var PerformanceMark = global.PerformanceMark; +var WebAssembly = global.WebAssembly; +var CompileError = WebAssembly && WebAssembly.CompileError || Error; +var LinkError = WebAssembly && WebAssembly.LinkError || Error; +var RuntimeError = WebAssembly && WebAssembly.RuntimeError || Error; +var DOMException = getBuiltin('DOMException'); +var Map = MapHelpers.Map; +var mapHas = MapHelpers.has; +var mapGet = MapHelpers.get; +var mapSet = MapHelpers.set; +var Set = SetHelpers.Set; +var setAdd = SetHelpers.add; +var objectKeys = getBuiltin('Object', 'keys'); +var push = uncurryThis([].push); +var thisBooleanValue = uncurryThis(true.valueOf); +var thisNumberValue = uncurryThis(1.0.valueOf); +var thisStringValue = uncurryThis(''.valueOf); +var thisTimeValue = uncurryThis(Date.prototype.getTime); +var PERFORMANCE_MARK = uid('structuredClone'); +var DATA_CLONE_ERROR = 'DataCloneError'; +var TRANSFERRING = 'Transferring'; + +var checkBasicSemantic = function (structuredCloneImplementation) { + return !fails(function () { + var set1 = new global.Set([7]); + var set2 = structuredCloneImplementation(set1); + var number = structuredCloneImplementation(Object(7)); + return set2 === set1 || !set2.has(7) || typeof number != 'object' || +number !== 7; + }) && structuredCloneImplementation; +}; + +var checkErrorsCloning = function (structuredCloneImplementation, $Error) { + return !fails(function () { + var error = new $Error(); + var test = structuredCloneImplementation({ a: error, b: error }); + return !(test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack); + }); +}; + +// https://github.com/whatwg/html/pull/5749 +var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) { + return !fails(function () { + var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 })); + return test.name !== 'AggregateError' || test.errors[0] !== 1 || test.message !== PERFORMANCE_MARK || test.cause !== 3; + }); +}; + +// FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+ +// FF<103 and Safari implementations can't clone errors +// https://bugzilla.mozilla.org/show_bug.cgi?id=1556604 +// FF103 can clone errors, but `.stack` of clone is an empty string +// https://bugzilla.mozilla.org/show_bug.cgi?id=1778762 +// FF104+ fixed it on usual errors, but not on DOMExceptions +// https://bugzilla.mozilla.org/show_bug.cgi?id=1777321 +// Chrome <102 returns `null` if cloned object contains multiple references to one error +// https://bugs.chromium.org/p/v8/issues/detail?id=12542 +// NodeJS implementation can't clone DOMExceptions +// https://github.com/nodejs/node/issues/41038 +// only FF103+ supports new (html/5749) error cloning semantic +var nativeStructuredClone = global.structuredClone; + +var FORCED_REPLACEMENT = IS_PURE + || !checkErrorsCloning(nativeStructuredClone, Error) + || !checkErrorsCloning(nativeStructuredClone, DOMException) + || !checkNewErrorsCloningSemantic(nativeStructuredClone); + +// Chrome 82+, Safari 14.1+, Deno 1.11+ +// Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException` +// Chrome returns `null` if cloned object contains multiple references to one error +// Safari 14.1 implementation doesn't clone some `RegExp` flags, so requires a workaround +// Safari implementation can't clone errors +// Deno 1.2-1.10 implementations too naive +// NodeJS 16.0+ does not have `PerformanceMark` constructor +// NodeJS <17.2 structured cloning implementation from `performance.mark` is too naive +// and can't clone, for example, `RegExp` or some boxed primitives +// https://github.com/nodejs/node/issues/40840 +// no one of those implementations supports new (html/5749) error cloning semantic +var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) { + return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail; +}); + +var nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark; + +var throwUncloneable = function (type) { + throw new DOMException('Uncloneable type: ' + type, DATA_CLONE_ERROR); +}; + +var throwUnpolyfillable = function (type, action) { + throw new DOMException((action || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR); +}; + +var tryNativeRestrictedStructuredClone = function (value, type) { + if (!nativeRestrictedStructuredClone) throwUnpolyfillable(type); + return nativeRestrictedStructuredClone(value); +}; + +var createDataTransfer = function () { + var dataTransfer; + try { + dataTransfer = new global.DataTransfer(); + } catch (error) { + try { + dataTransfer = new global.ClipboardEvent('').clipboardData; + } catch (error2) { /* empty */ } + } + return dataTransfer && dataTransfer.items && dataTransfer.files ? dataTransfer : null; +}; + +var cloneBuffer = function (value, map, $type) { + if (mapHas(map, value)) return mapGet(map, value); + + var type = $type || classof(value); + var clone, length, options, source, target, i; + + if (type === 'SharedArrayBuffer') { + if (nativeRestrictedStructuredClone) clone = nativeRestrictedStructuredClone(value); + // SharedArrayBuffer should use shared memory, we can't polyfill it, so return the original + else clone = value; + } else { + var DataView = global.DataView; + + // `ArrayBuffer#slice` is not available in IE10 + // `ArrayBuffer#slice` and `DataView` are not available in old FF + if (!DataView && typeof value.slice != 'function') throwUnpolyfillable('ArrayBuffer'); + // detached buffers throws in `DataView` and `.slice` + try { + if (typeof value.slice == 'function' && !value.resizable) { + clone = value.slice(0); + } else { + length = value.byteLength; + options = 'maxByteLength' in value ? { maxByteLength: value.maxByteLength } : undefined; + clone = new ArrayBuffer(length, options); + source = new DataView(value); + target = new DataView(clone); + for (i = 0; i < length; i++) { + target.setUint8(i, source.getUint8(i)); + } + } + } catch (error) { + throw new DOMException('ArrayBuffer is detached', DATA_CLONE_ERROR); + } + } + + mapSet(map, value, clone); + + return clone; +}; + +var cloneView = function (value, type, offset, length, map) { + var C = global[type]; + // in some old engines like Safari 9, typeof C is 'object' + // on Uint8ClampedArray or some other constructors + if (!isObject(C)) throwUnpolyfillable(type); + return new C(cloneBuffer(value.buffer, map), offset, length); +}; + +var Placeholder = function (object, type, metadata) { + this.object = object; + this.type = type; + this.metadata = metadata; +}; + +var structuredCloneInternal = function (value, map, transferredBuffers) { + if (isSymbol(value)) throwUncloneable('Symbol'); + if (!isObject(value)) return value; + // effectively preserves circular references + if (map) { + if (mapHas(map, value)) return mapGet(map, value); + } else map = new Map(); + + var type = classof(value); + var C, name, cloned, dataTransfer, i, length, keys, key; + + switch (type) { + case 'Array': + cloned = Array(lengthOfArrayLike(value)); + break; + case 'Object': + cloned = {}; + break; + case 'Map': + cloned = new Map(); + break; + case 'Set': + cloned = new Set(); + break; + case 'RegExp': + // in this block because of a Safari 14.1 bug + // old FF does not clone regexes passed to the constructor, so get the source and flags directly + cloned = new RegExp(value.source, getRegExpFlags(value)); + break; + case 'Error': + name = value.name; + switch (name) { + case 'AggregateError': + cloned = getBuiltin('AggregateError')([]); + break; + case 'EvalError': + cloned = EvalError(); + break; + case 'RangeError': + cloned = RangeError(); + break; + case 'ReferenceError': + cloned = ReferenceError(); + break; + case 'SyntaxError': + cloned = SyntaxError(); + break; + case 'TypeError': + cloned = TypeError(); + break; + case 'URIError': + cloned = URIError(); + break; + case 'CompileError': + cloned = CompileError(); + break; + case 'LinkError': + cloned = LinkError(); + break; + case 'RuntimeError': + cloned = RuntimeError(); + break; + default: + cloned = Error(); + } + break; + case 'DOMException': + cloned = new DOMException(value.message, value.name); + break; + case 'ArrayBuffer': + case 'SharedArrayBuffer': + cloned = transferredBuffers + ? new Placeholder(value, type) + : cloneBuffer(value, map, type); + break; + case 'DataView': + case 'Int8Array': + case 'Uint8Array': + case 'Uint8ClampedArray': + case 'Int16Array': + case 'Uint16Array': + case 'Int32Array': + case 'Uint32Array': + case 'Float16Array': + case 'Float32Array': + case 'Float64Array': + case 'BigInt64Array': + case 'BigUint64Array': + length = type === 'DataView' ? value.byteLength : value.length; + cloned = transferredBuffers + ? new Placeholder(value, type, { offset: value.byteOffset, length: length }) + : cloneView(value, type, value.byteOffset, length, map); + break; + case 'DOMQuad': + try { + cloned = new DOMQuad( + structuredCloneInternal(value.p1, map, transferredBuffers), + structuredCloneInternal(value.p2, map, transferredBuffers), + structuredCloneInternal(value.p3, map, transferredBuffers), + structuredCloneInternal(value.p4, map, transferredBuffers) + ); + } catch (error) { + cloned = tryNativeRestrictedStructuredClone(value, type); + } + break; + case 'File': + if (nativeRestrictedStructuredClone) try { + cloned = nativeRestrictedStructuredClone(value); + // NodeJS 20.0.0 bug, https://github.com/nodejs/node/issues/47612 + if (classof(cloned) !== type) cloned = undefined; + } catch (error) { /* empty */ } + if (!cloned) try { + cloned = new File([value], value.name, value); + } catch (error) { /* empty */ } + if (!cloned) throwUnpolyfillable(type); + break; + case 'FileList': + dataTransfer = createDataTransfer(); + if (dataTransfer) { + for (i = 0, length = lengthOfArrayLike(value); i < length; i++) { + dataTransfer.items.add(structuredCloneInternal(value[i], map, transferredBuffers)); + } + cloned = dataTransfer.files; + } else cloned = tryNativeRestrictedStructuredClone(value, type); + break; + case 'ImageData': + // Safari 9 ImageData is a constructor, but typeof ImageData is 'object' + try { + cloned = new ImageData( + structuredCloneInternal(value.data, map, transferredBuffers), + value.width, + value.height, + { colorSpace: value.colorSpace } + ); + } catch (error) { + cloned = tryNativeRestrictedStructuredClone(value, type); + } break; + default: + if (nativeRestrictedStructuredClone) { + cloned = nativeRestrictedStructuredClone(value); + } else switch (type) { + case 'BigInt': + // can be a 3rd party polyfill + cloned = Object(value.valueOf()); + break; + case 'Boolean': + cloned = Object(thisBooleanValue(value)); + break; + case 'Number': + cloned = Object(thisNumberValue(value)); + break; + case 'String': + cloned = Object(thisStringValue(value)); + break; + case 'Date': + cloned = new Date(thisTimeValue(value)); + break; + case 'Blob': + try { + cloned = value.slice(0, value.size, value.type); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMPoint': + case 'DOMPointReadOnly': + C = global[type]; + try { + cloned = C.fromPoint + ? C.fromPoint(value) + : new C(value.x, value.y, value.z, value.w); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMRect': + case 'DOMRectReadOnly': + C = global[type]; + try { + cloned = C.fromRect + ? C.fromRect(value) + : new C(value.x, value.y, value.width, value.height); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMMatrix': + case 'DOMMatrixReadOnly': + C = global[type]; + try { + cloned = C.fromMatrix + ? C.fromMatrix(value) + : new C(value); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'AudioData': + case 'VideoFrame': + if (!isCallable(value.clone)) throwUnpolyfillable(type); + try { + cloned = value.clone(); + } catch (error) { + throwUncloneable(type); + } break; + case 'CropTarget': + case 'CryptoKey': + case 'FileSystemDirectoryHandle': + case 'FileSystemFileHandle': + case 'FileSystemHandle': + case 'GPUCompilationInfo': + case 'GPUCompilationMessage': + case 'ImageBitmap': + case 'RTCCertificate': + case 'WebAssembly.Module': + throwUnpolyfillable(type); + // break omitted + default: + throwUncloneable(type); + } + } + + mapSet(map, value, cloned); + + switch (type) { + case 'Array': + case 'Object': + keys = objectKeys(value); + for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) { + key = keys[i]; + createProperty(cloned, key, structuredCloneInternal(value[key], map, transferredBuffers)); + } break; + case 'Map': + value.forEach(function (v, k) { + mapSet(cloned, structuredCloneInternal(k, map, transferredBuffers), structuredCloneInternal(v, map, transferredBuffers)); + }); + break; + case 'Set': + value.forEach(function (v) { + setAdd(cloned, structuredCloneInternal(v, map, transferredBuffers)); + }); + break; + case 'Error': + createNonEnumerableProperty(cloned, 'message', structuredCloneInternal(value.message, map, transferredBuffers)); + if (hasOwn(value, 'cause')) { + createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map, transferredBuffers)); + } + if (name === 'AggregateError') { + cloned.errors = structuredCloneInternal(value.errors, map, transferredBuffers); + } // break omitted + case 'DOMException': + if (ERROR_STACK_INSTALLABLE) { + createNonEnumerableProperty(cloned, 'stack', structuredCloneInternal(value.stack, map, transferredBuffers)); + } + } + + return cloned; +}; + +var replacePlaceholders = function (value, map) { + if (!isObject(value)) return value; + if (mapHas(map, value)) return mapGet(map, value); + + var type, object, metadata, i, length, keys, key, replacement; + + if (value instanceof Placeholder) { + type = value.type; + object = value.object; + + switch (type) { + case 'ArrayBuffer': + case 'SharedArrayBuffer': + replacement = cloneBuffer(object, map, type); + break; + case 'DataView': + case 'Int8Array': + case 'Uint8Array': + case 'Uint8ClampedArray': + case 'Int16Array': + case 'Uint16Array': + case 'Int32Array': + case 'Uint32Array': + case 'Float16Array': + case 'Float32Array': + case 'Float64Array': + case 'BigInt64Array': + case 'BigUint64Array': + metadata = value.metadata; + replacement = cloneView(object, type, metadata.offset, metadata.length, map); + } + } else switch (classof(value)) { + case 'Array': + case 'Object': + keys = objectKeys(value); + for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) { + key = keys[i]; + value[key] = replacePlaceholders(value[key], map); + } break; + case 'Map': + replacement = new Map(); + value.forEach(function (v, k) { + mapSet(replacement, replacePlaceholders(k, map), replacePlaceholders(v, map)); + }); + break; + case 'Set': + replacement = new Set(); + value.forEach(function (v) { + setAdd(replacement, replacePlaceholders(v, map)); + }); + break; + case 'Error': + value.message = replacePlaceholders(value.message, map); + if (hasOwn(value, 'cause')) { + value.cause = replacePlaceholders(value.cause, map); + } + if (value.name === 'AggregateError') { + value.errors = replacePlaceholders(value.errors, map); + } // break omitted + case 'DOMException': + if (ERROR_STACK_INSTALLABLE) { + value.stack = replacePlaceholders(value.stack, map); + } + } + + mapSet(map, value, replacement || value); + + return replacement || value; +}; + +var tryToTransfer = function (rawTransfer, map) { + if (!isObject(rawTransfer)) throw TypeError('Transfer option cannot be converted to a sequence'); + + var transfer = []; + + iterate(rawTransfer, function (value) { + push(transfer, anObject(value)); + }); + + var i = 0; + var length = lengthOfArrayLike(transfer); + var buffers = []; + var value, type, C, transferred, canvas, context; + + while (i < length) { + value = transfer[i++]; + + type = classof(value); + + if (type === 'ArrayBuffer') { + push(buffers, value); + continue; + } + + if (mapHas(map, value)) throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR); + + if (PROPER_TRANSFER) { + transferred = nativeStructuredClone(value, { transfer: [value] }); + } else switch (type) { + case 'ImageBitmap': + C = global.OffscreenCanvas; + if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING); + try { + canvas = new C(value.width, value.height); + context = canvas.getContext('bitmaprenderer'); + context.transferFromImageBitmap(value); + transferred = canvas.transferToImageBitmap(); + } catch (error) { /* empty */ } + break; + case 'AudioData': + case 'VideoFrame': + if (!isCallable(value.clone) || !isCallable(value.close)) throwUnpolyfillable(type, TRANSFERRING); + try { + transferred = value.clone(); + value.close(); + } catch (error) { /* empty */ } + break; + case 'MediaSourceHandle': + case 'MessagePort': + case 'OffscreenCanvas': + case 'ReadableStream': + case 'TransformStream': + case 'WritableStream': + throwUnpolyfillable(type, TRANSFERRING); + } + + if (transferred === undefined) throw new DOMException('This object cannot be transferred: ' + type, DATA_CLONE_ERROR); + + mapSet(map, value, transferred); + } + + return buffers; +}; + +var tryToTransferBuffers = function (transfer, map) { + var i = 0; + var length = lengthOfArrayLike(transfer); + var value, transferred; + + while (i < length) { + value = transfer[i++]; + + if (mapHas(map, value)) throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR); + + if (PROPER_TRANSFER) { + transferred = nativeStructuredClone(value, { transfer: [value] }); + } else { + if (!isCallable(value.transfer)) throwUnpolyfillable('ArrayBuffer', TRANSFERRING); + transferred = value.transfer(); + } + + mapSet(map, value, transferred); + } +}; + +// `structuredClone` method +// https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone +$({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLACEMENT }, { + structuredClone: function structuredClone(value /* , { transfer } */) { + var options = validateArgumentsLength(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject(arguments[1]) : undefined; + var transfer = options ? options.transfer : undefined; + var transferredBuffers = false; + var map, buffers; + + if (transfer !== undefined) { + map = new Map(); + buffers = tryToTransfer(transfer, map); + transferredBuffers = !!lengthOfArrayLike(buffers); + } + + var clone = structuredCloneInternal(value, map, transferredBuffers); + + // since of an issue with cloning views of transferred buffers, we a forced to transfer / clone them in 2 steps + // https://github.com/zloirock/core-js/issues/1265 + if (transferredBuffers) { + map = new Map(); + tryToTransferBuffers(transfer, map); + clone = replacePlaceholders(clone, map); + } + + return clone; + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.timers.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/web.timers.js ***! + \****************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's split to modules listed below +__webpack_require__(/*! ../modules/web.set-interval */ "./node_modules/core-js/modules/web.set-interval.js"); +__webpack_require__(/*! ../modules/web.set-timeout */ "./node_modules/core-js/modules/web.set-timeout.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.url-search-params.constructor.js": +/*!***************************************************************************!*\ + !*** ./node_modules/core-js/modules/web.url-search-params.constructor.js ***! + \***************************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` +__webpack_require__(/*! ../modules/es.array.iterator */ "./node_modules/core-js/modules/es.array.iterator.js"); +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var USE_NATIVE_URL = __webpack_require__(/*! ../internals/url-constructor-detection */ "./node_modules/core-js/internals/url-constructor-detection.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ "./node_modules/core-js/internals/define-built-ins.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); +var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ "./node_modules/core-js/internals/iterator-create-constructor.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); +var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/core-js/internals/an-instance.js"); +var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/core-js/internals/is-callable.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); +var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); +var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); +var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); +var $toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); +var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); +var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "./node_modules/core-js/internals/get-iterator.js"); +var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "./node_modules/core-js/internals/get-iterator-method.js"); +var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); +var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); +var arraySort = __webpack_require__(/*! ../internals/array-sort */ "./node_modules/core-js/internals/array-sort.js"); + +var ITERATOR = wellKnownSymbol('iterator'); +var URL_SEARCH_PARAMS = 'URLSearchParams'; +var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator'; +var setInternalState = InternalStateModule.set; +var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS); +var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR); +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + +// Avoid NodeJS experimental warning +var safeGetBuiltIn = function (name) { + if (!DESCRIPTORS) return global[name]; + var descriptor = getOwnPropertyDescriptor(global, name); + return descriptor && descriptor.value; +}; + +var nativeFetch = safeGetBuiltIn('fetch'); +var NativeRequest = safeGetBuiltIn('Request'); +var Headers = safeGetBuiltIn('Headers'); +var RequestPrototype = NativeRequest && NativeRequest.prototype; +var HeadersPrototype = Headers && Headers.prototype; +var RegExp = global.RegExp; +var TypeError = global.TypeError; +var decodeURIComponent = global.decodeURIComponent; +var encodeURIComponent = global.encodeURIComponent; +var charAt = uncurryThis(''.charAt); +var join = uncurryThis([].join); +var push = uncurryThis([].push); +var replace = uncurryThis(''.replace); +var shift = uncurryThis([].shift); +var splice = uncurryThis([].splice); +var split = uncurryThis(''.split); +var stringSlice = uncurryThis(''.slice); + +var plus = /\+/g; +var sequences = Array(4); + +var percentSequence = function (bytes) { + return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\da-f]{2}){' + bytes + '})', 'gi')); +}; + +var percentDecode = function (sequence) { + try { + return decodeURIComponent(sequence); + } catch (error) { + return sequence; + } +}; + +var deserialize = function (it) { + var result = replace(it, plus, ' '); + var bytes = 4; + try { + return decodeURIComponent(result); + } catch (error) { + while (bytes) { + result = replace(result, percentSequence(bytes--), percentDecode); + } + return result; + } +}; + +var find = /[!'()~]|%20/g; + +var replacements = { + '!': '%21', + "'": '%27', + '(': '%28', + ')': '%29', + '~': '%7E', + '%20': '+' +}; + +var replacer = function (match) { + return replacements[match]; +}; + +var serialize = function (it) { + return replace(encodeURIComponent(it), find, replacer); +}; + +var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) { + setInternalState(this, { + type: URL_SEARCH_PARAMS_ITERATOR, + iterator: getIterator(getInternalParamsState(params).entries), + kind: kind + }); +}, 'Iterator', function next() { + var state = getInternalIteratorState(this); + var kind = state.kind; + var step = state.iterator.next(); + var entry = step.value; + if (!step.done) { + step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value]; + } return step; +}, true); + +var URLSearchParamsState = function (init) { + this.entries = []; + this.url = null; + + if (init !== undefined) { + if (isObject(init)) this.parseObject(init); + else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init)); + } +}; + +URLSearchParamsState.prototype = { + type: URL_SEARCH_PARAMS, + bindURL: function (url) { + this.url = url; + this.update(); + }, + parseObject: function (object) { + var iteratorMethod = getIteratorMethod(object); + var iterator, next, step, entryIterator, entryNext, first, second; + + if (iteratorMethod) { + iterator = getIterator(object, iteratorMethod); + next = iterator.next; + while (!(step = call(next, iterator)).done) { + entryIterator = getIterator(anObject(step.value)); + entryNext = entryIterator.next; + if ( + (first = call(entryNext, entryIterator)).done || + (second = call(entryNext, entryIterator)).done || + !call(entryNext, entryIterator).done + ) throw TypeError('Expected sequence with length 2'); + push(this.entries, { key: $toString(first.value), value: $toString(second.value) }); + } + } else for (var key in object) if (hasOwn(object, key)) { + push(this.entries, { key: key, value: $toString(object[key]) }); + } + }, + parseQuery: function (query) { + if (query) { + var attributes = split(query, '&'); + var index = 0; + var attribute, entry; + while (index < attributes.length) { + attribute = attributes[index++]; + if (attribute.length) { + entry = split(attribute, '='); + push(this.entries, { + key: deserialize(shift(entry)), + value: deserialize(join(entry, '=')) + }); + } + } + } + }, + serialize: function () { + var entries = this.entries; + var result = []; + var index = 0; + var entry; + while (index < entries.length) { + entry = entries[index++]; + push(result, serialize(entry.key) + '=' + serialize(entry.value)); + } return join(result, '&'); + }, + update: function () { + this.entries.length = 0; + this.parseQuery(this.url.query); + }, + updateURL: function () { + if (this.url) this.url.update(); + } +}; + +// `URLSearchParams` constructor +// https://url.spec.whatwg.org/#interface-urlsearchparams +var URLSearchParamsConstructor = function URLSearchParams(/* init */) { + anInstance(this, URLSearchParamsPrototype); + var init = arguments.length > 0 ? arguments[0] : undefined; + var state = setInternalState(this, new URLSearchParamsState(init)); + if (!DESCRIPTORS) this.size = state.entries.length; +}; + +var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype; + +defineBuiltIns(URLSearchParamsPrototype, { + // `URLSearchParams.prototype.append` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-append + append: function append(name, value) { + var state = getInternalParamsState(this); + validateArgumentsLength(arguments.length, 2); + push(state.entries, { key: $toString(name), value: $toString(value) }); + if (!DESCRIPTORS) this.length++; + state.updateURL(); + }, + // `URLSearchParams.prototype.delete` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-delete + 'delete': function (name /* , value */) { + var state = getInternalParamsState(this); + var length = validateArgumentsLength(arguments.length, 1); + var entries = state.entries; + var key = $toString(name); + var $value = length < 2 ? undefined : arguments[1]; + var value = $value === undefined ? $value : $toString($value); + var index = 0; + while (index < entries.length) { + var entry = entries[index]; + if (entry.key === key && (value === undefined || entry.value === value)) { + splice(entries, index, 1); + if (value !== undefined) break; + } else index++; + } + if (!DESCRIPTORS) this.size = entries.length; + state.updateURL(); + }, + // `URLSearchParams.prototype.get` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-get + get: function get(name) { + var entries = getInternalParamsState(this).entries; + validateArgumentsLength(arguments.length, 1); + var key = $toString(name); + var index = 0; + for (; index < entries.length; index++) { + if (entries[index].key === key) return entries[index].value; + } + return null; + }, + // `URLSearchParams.prototype.getAll` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-getall + getAll: function getAll(name) { + var entries = getInternalParamsState(this).entries; + validateArgumentsLength(arguments.length, 1); + var key = $toString(name); + var result = []; + var index = 0; + for (; index < entries.length; index++) { + if (entries[index].key === key) push(result, entries[index].value); + } + return result; + }, + // `URLSearchParams.prototype.has` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-has + has: function has(name /* , value */) { + var entries = getInternalParamsState(this).entries; + var length = validateArgumentsLength(arguments.length, 1); + var key = $toString(name); + var $value = length < 2 ? undefined : arguments[1]; + var value = $value === undefined ? $value : $toString($value); + var index = 0; + while (index < entries.length) { + var entry = entries[index++]; + if (entry.key === key && (value === undefined || entry.value === value)) return true; + } + return false; + }, + // `URLSearchParams.prototype.set` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-set + set: function set(name, value) { + var state = getInternalParamsState(this); + validateArgumentsLength(arguments.length, 1); + var entries = state.entries; + var found = false; + var key = $toString(name); + var val = $toString(value); + var index = 0; + var entry; + for (; index < entries.length; index++) { + entry = entries[index]; + if (entry.key === key) { + if (found) splice(entries, index--, 1); + else { + found = true; + entry.value = val; + } + } + } + if (!found) push(entries, { key: key, value: val }); + if (!DESCRIPTORS) this.size = entries.length; + state.updateURL(); + }, + // `URLSearchParams.prototype.sort` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-sort + sort: function sort() { + var state = getInternalParamsState(this); + arraySort(state.entries, function (a, b) { + return a.key > b.key ? 1 : -1; + }); + state.updateURL(); + }, + // `URLSearchParams.prototype.forEach` method + forEach: function forEach(callback /* , thisArg */) { + var entries = getInternalParamsState(this).entries; + var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined); + var index = 0; + var entry; + while (index < entries.length) { + entry = entries[index++]; + boundFunction(entry.value, entry.key, this); + } + }, + // `URLSearchParams.prototype.keys` method + keys: function keys() { + return new URLSearchParamsIterator(this, 'keys'); + }, + // `URLSearchParams.prototype.values` method + values: function values() { + return new URLSearchParamsIterator(this, 'values'); + }, + // `URLSearchParams.prototype.entries` method + entries: function entries() { + return new URLSearchParamsIterator(this, 'entries'); + } +}, { enumerable: true }); + +// `URLSearchParams.prototype[@@iterator]` method +defineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' }); + +// `URLSearchParams.prototype.toString` method +// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior +defineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() { + return getInternalParamsState(this).serialize(); +}, { enumerable: true }); + +// `URLSearchParams.prototype.size` getter +// https://github.com/whatwg/url/pull/734 +if (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', { + get: function size() { + return getInternalParamsState(this).entries.length; + }, + configurable: true, + enumerable: true +}); + +setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS); + +$({ global: true, constructor: true, forced: !USE_NATIVE_URL }, { + URLSearchParams: URLSearchParamsConstructor +}); + +// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams` +if (!USE_NATIVE_URL && isCallable(Headers)) { + var headersHas = uncurryThis(HeadersPrototype.has); + var headersSet = uncurryThis(HeadersPrototype.set); + + var wrapRequestOptions = function (init) { + if (isObject(init)) { + var body = init.body; + var headers; + if (classof(body) === URL_SEARCH_PARAMS) { + headers = init.headers ? new Headers(init.headers) : new Headers(); + if (!headersHas(headers, 'content-type')) { + headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8'); + } + return create(init, { + body: createPropertyDescriptor(0, $toString(body)), + headers: createPropertyDescriptor(0, headers) + }); + } + } return init; + }; + + if (isCallable(nativeFetch)) { + $({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, { + fetch: function fetch(input /* , init */) { + return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); + } + }); + } + + if (isCallable(NativeRequest)) { + var RequestConstructor = function Request(input /* , init */) { + anInstance(this, RequestPrototype); + return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); + }; + + RequestPrototype.constructor = RequestConstructor; + RequestConstructor.prototype = RequestPrototype; + + $({ global: true, constructor: true, dontCallGetSet: true, forced: true }, { + Request: RequestConstructor + }); + } +} + +module.exports = { + URLSearchParams: URLSearchParamsConstructor, + getState: getInternalParamsState +}; + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.url-search-params.delete.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/web.url-search-params.delete.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); + +var $URLSearchParams = URLSearchParams; +var URLSearchParamsPrototype = $URLSearchParams.prototype; +var append = uncurryThis(URLSearchParamsPrototype.append); +var $delete = uncurryThis(URLSearchParamsPrototype['delete']); +var forEach = uncurryThis(URLSearchParamsPrototype.forEach); +var push = uncurryThis([].push); +var params = new $URLSearchParams('a=1&a=2&b=3'); + +params['delete']('a', 1); +// `undefined` case is a Chromium 117 bug +// https://bugs.chromium.org/p/v8/issues/detail?id=14222 +params['delete']('b', undefined); + +if (params + '' !== 'a=2') { + defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) { + var length = arguments.length; + var $value = length < 2 ? undefined : arguments[1]; + if (length && $value === undefined) return $delete(this, name); + var entries = []; + forEach(this, function (v, k) { // also validates `this` + push(entries, { key: k, value: v }); + }); + validateArgumentsLength(length, 1); + var key = toString(name); + var value = toString($value); + var index = 0; + var dindex = 0; + var found = false; + var entriesLength = entries.length; + var entry; + while (index < entriesLength) { + entry = entries[index++]; + if (found || entry.key === key) { + found = true; + $delete(this, entry.key); + } else dindex++; + } + while (dindex < entriesLength) { + entry = entries[dindex++]; + if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value); + } + }, { enumerable: true, unsafe: true }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.url-search-params.has.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/modules/web.url-search-params.has.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); + +var $URLSearchParams = URLSearchParams; +var URLSearchParamsPrototype = $URLSearchParams.prototype; +var getAll = uncurryThis(URLSearchParamsPrototype.getAll); +var $has = uncurryThis(URLSearchParamsPrototype.has); +var params = new $URLSearchParams('a=1'); + +// `undefined` case is a Chromium 117 bug +// https://bugs.chromium.org/p/v8/issues/detail?id=14222 +if (params.has('a', 2) || !params.has('a', undefined)) { + defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) { + var length = arguments.length; + var $value = length < 2 ? undefined : arguments[1]; + if (length && $value === undefined) return $has(this, name); + var values = getAll(this, name); // also validates `this` + validateArgumentsLength(length, 1); + var value = toString($value); + var index = 0; + while (index < values.length) { + if (values[index++] === value) return true; + } return false; + }, { enumerable: true, unsafe: true }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.url-search-params.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/web.url-search-params.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's replaced to module below +__webpack_require__(/*! ../modules/web.url-search-params.constructor */ "./node_modules/core-js/modules/web.url-search-params.constructor.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.url-search-params.size.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/web.url-search-params.size.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); + +var URLSearchParamsPrototype = URLSearchParams.prototype; +var forEach = uncurryThis(URLSearchParamsPrototype.forEach); + +// `URLSearchParams.prototype.size` getter +// https://github.com/whatwg/url/pull/734 +if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) { + defineBuiltInAccessor(URLSearchParamsPrototype, 'size', { + get: function size() { + var count = 0; + forEach(this, function () { count++; }); + return count; + }, + configurable: true, + enumerable: true + }); +} + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.url.can-parse.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/web.url.can-parse.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/core-js/internals/get-built-in.js"); +var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); +var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); +var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var USE_NATIVE_URL = __webpack_require__(/*! ../internals/url-constructor-detection */ "./node_modules/core-js/internals/url-constructor-detection.js"); + +var URL = getBuiltIn('URL'); + +// https://github.com/nodejs/node/issues/47505 +// https://github.com/denoland/deno/issues/18893 +var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () { + URL.canParse(); +}); + +// `URL.canParse` method +// https://url.spec.whatwg.org/#dom-url-canparse +$({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, { + canParse: function canParse(url) { + var length = validateArgumentsLength(arguments.length, 1); + var urlString = toString(url); + var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]); + try { + return !!new URL(urlString, base); + } catch (error) { + return false; + } + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.url.constructor.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/web.url.constructor.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` +__webpack_require__(/*! ../modules/es.string.iterator */ "./node_modules/core-js/modules/es.string.iterator.js"); +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); +var USE_NATIVE_URL = __webpack_require__(/*! ../internals/url-constructor-detection */ "./node_modules/core-js/internals/url-constructor-detection.js"); +var global = __webpack_require__(/*! ../internals/global */ "./node_modules/core-js/internals/global.js"); +var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/core-js/internals/function-bind-context.js"); +var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/core-js/internals/function-uncurry-this.js"); +var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/core-js/internals/define-built-in.js"); +var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/core-js/internals/define-built-in-accessor.js"); +var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/core-js/internals/an-instance.js"); +var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/core-js/internals/has-own-property.js"); +var assign = __webpack_require__(/*! ../internals/object-assign */ "./node_modules/core-js/internals/object-assign.js"); +var arrayFrom = __webpack_require__(/*! ../internals/array-from */ "./node_modules/core-js/internals/array-from.js"); +var arraySlice = __webpack_require__(/*! ../internals/array-slice-simple */ "./node_modules/core-js/internals/array-slice-simple.js"); +var codeAt = (__webpack_require__(/*! ../internals/string-multibyte */ "./node_modules/core-js/internals/string-multibyte.js").codeAt); +var toASCII = __webpack_require__(/*! ../internals/string-punycode-to-ascii */ "./node_modules/core-js/internals/string-punycode-to-ascii.js"); +var $toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/core-js/internals/to-string.js"); +var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); +var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/core-js/internals/validate-arguments-length.js"); +var URLSearchParamsModule = __webpack_require__(/*! ../modules/web.url-search-params.constructor */ "./node_modules/core-js/modules/web.url-search-params.constructor.js"); +var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); + +var setInternalState = InternalStateModule.set; +var getInternalURLState = InternalStateModule.getterFor('URL'); +var URLSearchParams = URLSearchParamsModule.URLSearchParams; +var getInternalSearchParamsState = URLSearchParamsModule.getState; + +var NativeURL = global.URL; +var TypeError = global.TypeError; +var parseInt = global.parseInt; +var floor = Math.floor; +var pow = Math.pow; +var charAt = uncurryThis(''.charAt); +var exec = uncurryThis(/./.exec); +var join = uncurryThis([].join); +var numberToString = uncurryThis(1.0.toString); +var pop = uncurryThis([].pop); +var push = uncurryThis([].push); +var replace = uncurryThis(''.replace); +var shift = uncurryThis([].shift); +var split = uncurryThis(''.split); +var stringSlice = uncurryThis(''.slice); +var toLowerCase = uncurryThis(''.toLowerCase); +var unshift = uncurryThis([].unshift); + +var INVALID_AUTHORITY = 'Invalid authority'; +var INVALID_SCHEME = 'Invalid scheme'; +var INVALID_HOST = 'Invalid host'; +var INVALID_PORT = 'Invalid port'; + +var ALPHA = /[a-z]/i; +// eslint-disable-next-line regexp/no-obscure-range -- safe +var ALPHANUMERIC = /[\d+-.a-z]/i; +var DIGIT = /\d/; +var HEX_START = /^0x/i; +var OCT = /^[0-7]+$/; +var DEC = /^\d+$/; +var HEX = /^[\da-f]+$/i; +/* eslint-disable regexp/no-control-character -- safe */ +var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/; +var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/; +var LEADING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+/; +var TRAILING_C0_CONTROL_OR_SPACE = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/; +var TAB_AND_NEW_LINE = /[\t\n\r]/g; +/* eslint-enable regexp/no-control-character -- safe */ +var EOF; + +// https://url.spec.whatwg.org/#ipv4-number-parser +var parseIPv4 = function (input) { + var parts = split(input, '.'); + var partsLength, numbers, index, part, radix, number, ipv4; + if (parts.length && parts[parts.length - 1] === '') { + parts.length--; + } + partsLength = parts.length; + if (partsLength > 4) return input; + numbers = []; + for (index = 0; index < partsLength; index++) { + part = parts[index]; + if (part === '') return input; + radix = 10; + if (part.length > 1 && charAt(part, 0) === '0') { + radix = exec(HEX_START, part) ? 16 : 8; + part = stringSlice(part, radix === 8 ? 1 : 2); + } + if (part === '') { + number = 0; + } else { + if (!exec(radix === 10 ? DEC : radix === 8 ? OCT : HEX, part)) return input; + number = parseInt(part, radix); + } + push(numbers, number); + } + for (index = 0; index < partsLength; index++) { + number = numbers[index]; + if (index === partsLength - 1) { + if (number >= pow(256, 5 - partsLength)) return null; + } else if (number > 255) return null; + } + ipv4 = pop(numbers); + for (index = 0; index < numbers.length; index++) { + ipv4 += numbers[index] * pow(256, 3 - index); + } + return ipv4; +}; + +// https://url.spec.whatwg.org/#concept-ipv6-parser +// eslint-disable-next-line max-statements -- TODO +var parseIPv6 = function (input) { + var address = [0, 0, 0, 0, 0, 0, 0, 0]; + var pieceIndex = 0; + var compress = null; + var pointer = 0; + var value, length, numbersSeen, ipv4Piece, number, swaps, swap; + + var chr = function () { + return charAt(input, pointer); + }; + + if (chr() === ':') { + if (charAt(input, 1) !== ':') return; + pointer += 2; + pieceIndex++; + compress = pieceIndex; + } + while (chr()) { + if (pieceIndex === 8) return; + if (chr() === ':') { + if (compress !== null) return; + pointer++; + pieceIndex++; + compress = pieceIndex; + continue; + } + value = length = 0; + while (length < 4 && exec(HEX, chr())) { + value = value * 16 + parseInt(chr(), 16); + pointer++; + length++; + } + if (chr() === '.') { + if (length === 0) return; + pointer -= length; + if (pieceIndex > 6) return; + numbersSeen = 0; + while (chr()) { + ipv4Piece = null; + if (numbersSeen > 0) { + if (chr() === '.' && numbersSeen < 4) pointer++; + else return; + } + if (!exec(DIGIT, chr())) return; + while (exec(DIGIT, chr())) { + number = parseInt(chr(), 10); + if (ipv4Piece === null) ipv4Piece = number; + else if (ipv4Piece === 0) return; + else ipv4Piece = ipv4Piece * 10 + number; + if (ipv4Piece > 255) return; + pointer++; + } + address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece; + numbersSeen++; + if (numbersSeen === 2 || numbersSeen === 4) pieceIndex++; + } + if (numbersSeen !== 4) return; + break; + } else if (chr() === ':') { + pointer++; + if (!chr()) return; + } else if (chr()) return; + address[pieceIndex++] = value; + } + if (compress !== null) { + swaps = pieceIndex - compress; + pieceIndex = 7; + while (pieceIndex !== 0 && swaps > 0) { + swap = address[pieceIndex]; + address[pieceIndex--] = address[compress + swaps - 1]; + address[compress + --swaps] = swap; + } + } else if (pieceIndex !== 8) return; + return address; +}; + +var findLongestZeroSequence = function (ipv6) { + var maxIndex = null; + var maxLength = 1; + var currStart = null; + var currLength = 0; + var index = 0; + for (; index < 8; index++) { + if (ipv6[index] !== 0) { + if (currLength > maxLength) { + maxIndex = currStart; + maxLength = currLength; + } + currStart = null; + currLength = 0; + } else { + if (currStart === null) currStart = index; + ++currLength; + } + } + if (currLength > maxLength) { + maxIndex = currStart; + maxLength = currLength; + } + return maxIndex; +}; + +// https://url.spec.whatwg.org/#host-serializing +var serializeHost = function (host) { + var result, index, compress, ignore0; + // ipv4 + if (typeof host == 'number') { + result = []; + for (index = 0; index < 4; index++) { + unshift(result, host % 256); + host = floor(host / 256); + } return join(result, '.'); + // ipv6 + } else if (typeof host == 'object') { + result = ''; + compress = findLongestZeroSequence(host); + for (index = 0; index < 8; index++) { + if (ignore0 && host[index] === 0) continue; + if (ignore0) ignore0 = false; + if (compress === index) { + result += index ? ':' : '::'; + ignore0 = true; + } else { + result += numberToString(host[index], 16); + if (index < 7) result += ':'; + } + } + return '[' + result + ']'; + } return host; +}; + +var C0ControlPercentEncodeSet = {}; +var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, { + ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1 +}); +var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, { + '#': 1, '?': 1, '{': 1, '}': 1 +}); +var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, { + '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1 +}); + +var percentEncode = function (chr, set) { + var code = codeAt(chr, 0); + return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr); +}; + +// https://url.spec.whatwg.org/#special-scheme +var specialSchemes = { + ftp: 21, + file: null, + http: 80, + https: 443, + ws: 80, + wss: 443 +}; + +// https://url.spec.whatwg.org/#windows-drive-letter +var isWindowsDriveLetter = function (string, normalized) { + var second; + return string.length === 2 && exec(ALPHA, charAt(string, 0)) + && ((second = charAt(string, 1)) === ':' || (!normalized && second === '|')); +}; + +// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter +var startsWithWindowsDriveLetter = function (string) { + var third; + return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && ( + string.length === 2 || + ((third = charAt(string, 2)) === '/' || third === '\\' || third === '?' || third === '#') + ); +}; + +// https://url.spec.whatwg.org/#single-dot-path-segment +var isSingleDot = function (segment) { + return segment === '.' || toLowerCase(segment) === '%2e'; +}; + +// https://url.spec.whatwg.org/#double-dot-path-segment +var isDoubleDot = function (segment) { + segment = toLowerCase(segment); + return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e'; +}; + +// States: +var SCHEME_START = {}; +var SCHEME = {}; +var NO_SCHEME = {}; +var SPECIAL_RELATIVE_OR_AUTHORITY = {}; +var PATH_OR_AUTHORITY = {}; +var RELATIVE = {}; +var RELATIVE_SLASH = {}; +var SPECIAL_AUTHORITY_SLASHES = {}; +var SPECIAL_AUTHORITY_IGNORE_SLASHES = {}; +var AUTHORITY = {}; +var HOST = {}; +var HOSTNAME = {}; +var PORT = {}; +var FILE = {}; +var FILE_SLASH = {}; +var FILE_HOST = {}; +var PATH_START = {}; +var PATH = {}; +var CANNOT_BE_A_BASE_URL_PATH = {}; +var QUERY = {}; +var FRAGMENT = {}; + +var URLState = function (url, isBase, base) { + var urlString = $toString(url); + var baseState, failure, searchParams; + if (isBase) { + failure = this.parse(urlString); + if (failure) throw TypeError(failure); + this.searchParams = null; + } else { + if (base !== undefined) baseState = new URLState(base, true); + failure = this.parse(urlString, null, baseState); + if (failure) throw TypeError(failure); + searchParams = getInternalSearchParamsState(new URLSearchParams()); + searchParams.bindURL(this); + this.searchParams = searchParams; + } +}; + +URLState.prototype = { + type: 'URL', + // https://url.spec.whatwg.org/#url-parsing + // eslint-disable-next-line max-statements -- TODO + parse: function (input, stateOverride, base) { + var url = this; + var state = stateOverride || SCHEME_START; + var pointer = 0; + var buffer = ''; + var seenAt = false; + var seenBracket = false; + var seenPasswordToken = false; + var codePoints, chr, bufferCodePoints, failure; + + input = $toString(input); + + if (!stateOverride) { + url.scheme = ''; + url.username = ''; + url.password = ''; + url.host = null; + url.port = null; + url.path = []; + url.query = null; + url.fragment = null; + url.cannotBeABaseURL = false; + input = replace(input, LEADING_C0_CONTROL_OR_SPACE, ''); + input = replace(input, TRAILING_C0_CONTROL_OR_SPACE, '$1'); + } + + input = replace(input, TAB_AND_NEW_LINE, ''); + + codePoints = arrayFrom(input); + + while (pointer <= codePoints.length) { + chr = codePoints[pointer]; + switch (state) { + case SCHEME_START: + if (chr && exec(ALPHA, chr)) { + buffer += toLowerCase(chr); + state = SCHEME; + } else if (!stateOverride) { + state = NO_SCHEME; + continue; + } else return INVALID_SCHEME; + break; + + case SCHEME: + if (chr && (exec(ALPHANUMERIC, chr) || chr === '+' || chr === '-' || chr === '.')) { + buffer += toLowerCase(chr); + } else if (chr === ':') { + if (stateOverride && ( + (url.isSpecial() !== hasOwn(specialSchemes, buffer)) || + (buffer === 'file' && (url.includesCredentials() || url.port !== null)) || + (url.scheme === 'file' && !url.host) + )) return; + url.scheme = buffer; + if (stateOverride) { + if (url.isSpecial() && specialSchemes[url.scheme] === url.port) url.port = null; + return; + } + buffer = ''; + if (url.scheme === 'file') { + state = FILE; + } else if (url.isSpecial() && base && base.scheme === url.scheme) { + state = SPECIAL_RELATIVE_OR_AUTHORITY; + } else if (url.isSpecial()) { + state = SPECIAL_AUTHORITY_SLASHES; + } else if (codePoints[pointer + 1] === '/') { + state = PATH_OR_AUTHORITY; + pointer++; + } else { + url.cannotBeABaseURL = true; + push(url.path, ''); + state = CANNOT_BE_A_BASE_URL_PATH; + } + } else if (!stateOverride) { + buffer = ''; + state = NO_SCHEME; + pointer = 0; + continue; + } else return INVALID_SCHEME; + break; + + case NO_SCHEME: + if (!base || (base.cannotBeABaseURL && chr !== '#')) return INVALID_SCHEME; + if (base.cannotBeABaseURL && chr === '#') { + url.scheme = base.scheme; + url.path = arraySlice(base.path); + url.query = base.query; + url.fragment = ''; + url.cannotBeABaseURL = true; + state = FRAGMENT; + break; + } + state = base.scheme === 'file' ? FILE : RELATIVE; + continue; + + case SPECIAL_RELATIVE_OR_AUTHORITY: + if (chr === '/' && codePoints[pointer + 1] === '/') { + state = SPECIAL_AUTHORITY_IGNORE_SLASHES; + pointer++; + } else { + state = RELATIVE; + continue; + } break; + + case PATH_OR_AUTHORITY: + if (chr === '/') { + state = AUTHORITY; + break; + } else { + state = PATH; + continue; + } + + case RELATIVE: + url.scheme = base.scheme; + if (chr === EOF) { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.query = base.query; + } else if (chr === '/' || (chr === '\\' && url.isSpecial())) { + state = RELATIVE_SLASH; + } else if (chr === '?') { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.query = ''; + state = QUERY; + } else if (chr === '#') { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.query = base.query; + url.fragment = ''; + state = FRAGMENT; + } else { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.path.length--; + state = PATH; + continue; + } break; + + case RELATIVE_SLASH: + if (url.isSpecial() && (chr === '/' || chr === '\\')) { + state = SPECIAL_AUTHORITY_IGNORE_SLASHES; + } else if (chr === '/') { + state = AUTHORITY; + } else { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + state = PATH; + continue; + } break; + + case SPECIAL_AUTHORITY_SLASHES: + state = SPECIAL_AUTHORITY_IGNORE_SLASHES; + if (chr !== '/' || charAt(buffer, pointer + 1) !== '/') continue; + pointer++; + break; + + case SPECIAL_AUTHORITY_IGNORE_SLASHES: + if (chr !== '/' && chr !== '\\') { + state = AUTHORITY; + continue; + } break; + + case AUTHORITY: + if (chr === '@') { + if (seenAt) buffer = '%40' + buffer; + seenAt = true; + bufferCodePoints = arrayFrom(buffer); + for (var i = 0; i < bufferCodePoints.length; i++) { + var codePoint = bufferCodePoints[i]; + if (codePoint === ':' && !seenPasswordToken) { + seenPasswordToken = true; + continue; + } + var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet); + if (seenPasswordToken) url.password += encodedCodePoints; + else url.username += encodedCodePoints; + } + buffer = ''; + } else if ( + chr === EOF || chr === '/' || chr === '?' || chr === '#' || + (chr === '\\' && url.isSpecial()) + ) { + if (seenAt && buffer === '') return INVALID_AUTHORITY; + pointer -= arrayFrom(buffer).length + 1; + buffer = ''; + state = HOST; + } else buffer += chr; + break; + + case HOST: + case HOSTNAME: + if (stateOverride && url.scheme === 'file') { + state = FILE_HOST; + continue; + } else if (chr === ':' && !seenBracket) { + if (buffer === '') return INVALID_HOST; + failure = url.parseHost(buffer); + if (failure) return failure; + buffer = ''; + state = PORT; + if (stateOverride === HOSTNAME) return; + } else if ( + chr === EOF || chr === '/' || chr === '?' || chr === '#' || + (chr === '\\' && url.isSpecial()) + ) { + if (url.isSpecial() && buffer === '') return INVALID_HOST; + if (stateOverride && buffer === '' && (url.includesCredentials() || url.port !== null)) return; + failure = url.parseHost(buffer); + if (failure) return failure; + buffer = ''; + state = PATH_START; + if (stateOverride) return; + continue; + } else { + if (chr === '[') seenBracket = true; + else if (chr === ']') seenBracket = false; + buffer += chr; + } break; + + case PORT: + if (exec(DIGIT, chr)) { + buffer += chr; + } else if ( + chr === EOF || chr === '/' || chr === '?' || chr === '#' || + (chr === '\\' && url.isSpecial()) || + stateOverride + ) { + if (buffer !== '') { + var port = parseInt(buffer, 10); + if (port > 0xFFFF) return INVALID_PORT; + url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port; + buffer = ''; + } + if (stateOverride) return; + state = PATH_START; + continue; + } else return INVALID_PORT; + break; + + case FILE: + url.scheme = 'file'; + if (chr === '/' || chr === '\\') state = FILE_SLASH; + else if (base && base.scheme === 'file') { + switch (chr) { + case EOF: + url.host = base.host; + url.path = arraySlice(base.path); + url.query = base.query; + break; + case '?': + url.host = base.host; + url.path = arraySlice(base.path); + url.query = ''; + state = QUERY; + break; + case '#': + url.host = base.host; + url.path = arraySlice(base.path); + url.query = base.query; + url.fragment = ''; + state = FRAGMENT; + break; + default: + if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) { + url.host = base.host; + url.path = arraySlice(base.path); + url.shortenPath(); + } + state = PATH; + continue; + } + } else { + state = PATH; + continue; + } break; + + case FILE_SLASH: + if (chr === '/' || chr === '\\') { + state = FILE_HOST; + break; + } + if (base && base.scheme === 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) { + if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]); + else url.host = base.host; + } + state = PATH; + continue; + + case FILE_HOST: + if (chr === EOF || chr === '/' || chr === '\\' || chr === '?' || chr === '#') { + if (!stateOverride && isWindowsDriveLetter(buffer)) { + state = PATH; + } else if (buffer === '') { + url.host = ''; + if (stateOverride) return; + state = PATH_START; + } else { + failure = url.parseHost(buffer); + if (failure) return failure; + if (url.host === 'localhost') url.host = ''; + if (stateOverride) return; + buffer = ''; + state = PATH_START; + } continue; + } else buffer += chr; + break; + + case PATH_START: + if (url.isSpecial()) { + state = PATH; + if (chr !== '/' && chr !== '\\') continue; + } else if (!stateOverride && chr === '?') { + url.query = ''; + state = QUERY; + } else if (!stateOverride && chr === '#') { + url.fragment = ''; + state = FRAGMENT; + } else if (chr !== EOF) { + state = PATH; + if (chr !== '/') continue; + } break; + + case PATH: + if ( + chr === EOF || chr === '/' || + (chr === '\\' && url.isSpecial()) || + (!stateOverride && (chr === '?' || chr === '#')) + ) { + if (isDoubleDot(buffer)) { + url.shortenPath(); + if (chr !== '/' && !(chr === '\\' && url.isSpecial())) { + push(url.path, ''); + } + } else if (isSingleDot(buffer)) { + if (chr !== '/' && !(chr === '\\' && url.isSpecial())) { + push(url.path, ''); + } + } else { + if (url.scheme === 'file' && !url.path.length && isWindowsDriveLetter(buffer)) { + if (url.host) url.host = ''; + buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter + } + push(url.path, buffer); + } + buffer = ''; + if (url.scheme === 'file' && (chr === EOF || chr === '?' || chr === '#')) { + while (url.path.length > 1 && url.path[0] === '') { + shift(url.path); + } + } + if (chr === '?') { + url.query = ''; + state = QUERY; + } else if (chr === '#') { + url.fragment = ''; + state = FRAGMENT; + } + } else { + buffer += percentEncode(chr, pathPercentEncodeSet); + } break; + + case CANNOT_BE_A_BASE_URL_PATH: + if (chr === '?') { + url.query = ''; + state = QUERY; + } else if (chr === '#') { + url.fragment = ''; + state = FRAGMENT; + } else if (chr !== EOF) { + url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet); + } break; + + case QUERY: + if (!stateOverride && chr === '#') { + url.fragment = ''; + state = FRAGMENT; + } else if (chr !== EOF) { + if (chr === "'" && url.isSpecial()) url.query += '%27'; + else if (chr === '#') url.query += '%23'; + else url.query += percentEncode(chr, C0ControlPercentEncodeSet); + } break; + + case FRAGMENT: + if (chr !== EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet); + break; + } + + pointer++; + } + }, + // https://url.spec.whatwg.org/#host-parsing + parseHost: function (input) { + var result, codePoints, index; + if (charAt(input, 0) === '[') { + if (charAt(input, input.length - 1) !== ']') return INVALID_HOST; + result = parseIPv6(stringSlice(input, 1, -1)); + if (!result) return INVALID_HOST; + this.host = result; + // opaque host + } else if (!this.isSpecial()) { + if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST; + result = ''; + codePoints = arrayFrom(input); + for (index = 0; index < codePoints.length; index++) { + result += percentEncode(codePoints[index], C0ControlPercentEncodeSet); + } + this.host = result; + } else { + input = toASCII(input); + if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST; + result = parseIPv4(input); + if (result === null) return INVALID_HOST; + this.host = result; + } + }, + // https://url.spec.whatwg.org/#cannot-have-a-username-password-port + cannotHaveUsernamePasswordPort: function () { + return !this.host || this.cannotBeABaseURL || this.scheme === 'file'; + }, + // https://url.spec.whatwg.org/#include-credentials + includesCredentials: function () { + return this.username !== '' || this.password !== ''; + }, + // https://url.spec.whatwg.org/#is-special + isSpecial: function () { + return hasOwn(specialSchemes, this.scheme); + }, + // https://url.spec.whatwg.org/#shorten-a-urls-path + shortenPath: function () { + var path = this.path; + var pathSize = path.length; + if (pathSize && (this.scheme !== 'file' || pathSize !== 1 || !isWindowsDriveLetter(path[0], true))) { + path.length--; + } + }, + // https://url.spec.whatwg.org/#concept-url-serializer + serialize: function () { + var url = this; + var scheme = url.scheme; + var username = url.username; + var password = url.password; + var host = url.host; + var port = url.port; + var path = url.path; + var query = url.query; + var fragment = url.fragment; + var output = scheme + ':'; + if (host !== null) { + output += '//'; + if (url.includesCredentials()) { + output += username + (password ? ':' + password : '') + '@'; + } + output += serializeHost(host); + if (port !== null) output += ':' + port; + } else if (scheme === 'file') output += '//'; + output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : ''; + if (query !== null) output += '?' + query; + if (fragment !== null) output += '#' + fragment; + return output; + }, + // https://url.spec.whatwg.org/#dom-url-href + setHref: function (href) { + var failure = this.parse(href); + if (failure) throw TypeError(failure); + this.searchParams.update(); + }, + // https://url.spec.whatwg.org/#dom-url-origin + getOrigin: function () { + var scheme = this.scheme; + var port = this.port; + if (scheme === 'blob') try { + return new URLConstructor(scheme.path[0]).origin; + } catch (error) { + return 'null'; + } + if (scheme === 'file' || !this.isSpecial()) return 'null'; + return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : ''); + }, + // https://url.spec.whatwg.org/#dom-url-protocol + getProtocol: function () { + return this.scheme + ':'; + }, + setProtocol: function (protocol) { + this.parse($toString(protocol) + ':', SCHEME_START); + }, + // https://url.spec.whatwg.org/#dom-url-username + getUsername: function () { + return this.username; + }, + setUsername: function (username) { + var codePoints = arrayFrom($toString(username)); + if (this.cannotHaveUsernamePasswordPort()) return; + this.username = ''; + for (var i = 0; i < codePoints.length; i++) { + this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet); + } + }, + // https://url.spec.whatwg.org/#dom-url-password + getPassword: function () { + return this.password; + }, + setPassword: function (password) { + var codePoints = arrayFrom($toString(password)); + if (this.cannotHaveUsernamePasswordPort()) return; + this.password = ''; + for (var i = 0; i < codePoints.length; i++) { + this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet); + } + }, + // https://url.spec.whatwg.org/#dom-url-host + getHost: function () { + var host = this.host; + var port = this.port; + return host === null ? '' + : port === null ? serializeHost(host) + : serializeHost(host) + ':' + port; + }, + setHost: function (host) { + if (this.cannotBeABaseURL) return; + this.parse(host, HOST); + }, + // https://url.spec.whatwg.org/#dom-url-hostname + getHostname: function () { + var host = this.host; + return host === null ? '' : serializeHost(host); + }, + setHostname: function (hostname) { + if (this.cannotBeABaseURL) return; + this.parse(hostname, HOSTNAME); + }, + // https://url.spec.whatwg.org/#dom-url-port + getPort: function () { + var port = this.port; + return port === null ? '' : $toString(port); + }, + setPort: function (port) { + if (this.cannotHaveUsernamePasswordPort()) return; + port = $toString(port); + if (port === '') this.port = null; + else this.parse(port, PORT); + }, + // https://url.spec.whatwg.org/#dom-url-pathname + getPathname: function () { + var path = this.path; + return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : ''; + }, + setPathname: function (pathname) { + if (this.cannotBeABaseURL) return; + this.path = []; + this.parse(pathname, PATH_START); + }, + // https://url.spec.whatwg.org/#dom-url-search + getSearch: function () { + var query = this.query; + return query ? '?' + query : ''; + }, + setSearch: function (search) { + search = $toString(search); + if (search === '') { + this.query = null; + } else { + if (charAt(search, 0) === '?') search = stringSlice(search, 1); + this.query = ''; + this.parse(search, QUERY); + } + this.searchParams.update(); + }, + // https://url.spec.whatwg.org/#dom-url-searchparams + getSearchParams: function () { + return this.searchParams.facade; + }, + // https://url.spec.whatwg.org/#dom-url-hash + getHash: function () { + var fragment = this.fragment; + return fragment ? '#' + fragment : ''; + }, + setHash: function (hash) { + hash = $toString(hash); + if (hash === '') { + this.fragment = null; + return; + } + if (charAt(hash, 0) === '#') hash = stringSlice(hash, 1); + this.fragment = ''; + this.parse(hash, FRAGMENT); + }, + update: function () { + this.query = this.searchParams.serialize() || null; + } +}; + +// `URL` constructor +// https://url.spec.whatwg.org/#url-class +var URLConstructor = function URL(url /* , base */) { + var that = anInstance(this, URLPrototype); + var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined; + var state = setInternalState(that, new URLState(url, false, base)); + if (!DESCRIPTORS) { + that.href = state.serialize(); + that.origin = state.getOrigin(); + that.protocol = state.getProtocol(); + that.username = state.getUsername(); + that.password = state.getPassword(); + that.host = state.getHost(); + that.hostname = state.getHostname(); + that.port = state.getPort(); + that.pathname = state.getPathname(); + that.search = state.getSearch(); + that.searchParams = state.getSearchParams(); + that.hash = state.getHash(); + } +}; + +var URLPrototype = URLConstructor.prototype; + +var accessorDescriptor = function (getter, setter) { + return { + get: function () { + return getInternalURLState(this)[getter](); + }, + set: setter && function (value) { + return getInternalURLState(this)[setter](value); + }, + configurable: true, + enumerable: true + }; +}; + +if (DESCRIPTORS) { + // `URL.prototype.href` accessors pair + // https://url.spec.whatwg.org/#dom-url-href + defineBuiltInAccessor(URLPrototype, 'href', accessorDescriptor('serialize', 'setHref')); + // `URL.prototype.origin` getter + // https://url.spec.whatwg.org/#dom-url-origin + defineBuiltInAccessor(URLPrototype, 'origin', accessorDescriptor('getOrigin')); + // `URL.prototype.protocol` accessors pair + // https://url.spec.whatwg.org/#dom-url-protocol + defineBuiltInAccessor(URLPrototype, 'protocol', accessorDescriptor('getProtocol', 'setProtocol')); + // `URL.prototype.username` accessors pair + // https://url.spec.whatwg.org/#dom-url-username + defineBuiltInAccessor(URLPrototype, 'username', accessorDescriptor('getUsername', 'setUsername')); + // `URL.prototype.password` accessors pair + // https://url.spec.whatwg.org/#dom-url-password + defineBuiltInAccessor(URLPrototype, 'password', accessorDescriptor('getPassword', 'setPassword')); + // `URL.prototype.host` accessors pair + // https://url.spec.whatwg.org/#dom-url-host + defineBuiltInAccessor(URLPrototype, 'host', accessorDescriptor('getHost', 'setHost')); + // `URL.prototype.hostname` accessors pair + // https://url.spec.whatwg.org/#dom-url-hostname + defineBuiltInAccessor(URLPrototype, 'hostname', accessorDescriptor('getHostname', 'setHostname')); + // `URL.prototype.port` accessors pair + // https://url.spec.whatwg.org/#dom-url-port + defineBuiltInAccessor(URLPrototype, 'port', accessorDescriptor('getPort', 'setPort')); + // `URL.prototype.pathname` accessors pair + // https://url.spec.whatwg.org/#dom-url-pathname + defineBuiltInAccessor(URLPrototype, 'pathname', accessorDescriptor('getPathname', 'setPathname')); + // `URL.prototype.search` accessors pair + // https://url.spec.whatwg.org/#dom-url-search + defineBuiltInAccessor(URLPrototype, 'search', accessorDescriptor('getSearch', 'setSearch')); + // `URL.prototype.searchParams` getter + // https://url.spec.whatwg.org/#dom-url-searchparams + defineBuiltInAccessor(URLPrototype, 'searchParams', accessorDescriptor('getSearchParams')); + // `URL.prototype.hash` accessors pair + // https://url.spec.whatwg.org/#dom-url-hash + defineBuiltInAccessor(URLPrototype, 'hash', accessorDescriptor('getHash', 'setHash')); +} + +// `URL.prototype.toJSON` method +// https://url.spec.whatwg.org/#dom-url-tojson +defineBuiltIn(URLPrototype, 'toJSON', function toJSON() { + return getInternalURLState(this).serialize(); +}, { enumerable: true }); + +// `URL.prototype.toString` method +// https://url.spec.whatwg.org/#URL-stringification-behavior +defineBuiltIn(URLPrototype, 'toString', function toString() { + return getInternalURLState(this).serialize(); +}, { enumerable: true }); + +if (NativeURL) { + var nativeCreateObjectURL = NativeURL.createObjectURL; + var nativeRevokeObjectURL = NativeURL.revokeObjectURL; + // `URL.createObjectURL` method + // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL + if (nativeCreateObjectURL) defineBuiltIn(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL)); + // `URL.revokeObjectURL` method + // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL + if (nativeRevokeObjectURL) defineBuiltIn(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL)); +} + +setToStringTag(URLConstructor, 'URL'); + +$({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, { + URL: URLConstructor +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.url.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/web.url.js ***! + \*************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +// TODO: Remove this module from `core-js@4` since it's replaced to module below +__webpack_require__(/*! ../modules/web.url.constructor */ "./node_modules/core-js/modules/web.url.constructor.js"); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/web.url.to-json.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/web.url.to-json.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/core-js/internals/export.js"); +var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/core-js/internals/function-call.js"); + +// `URL.prototype.toJSON` method +// https://url.spec.whatwg.org/#dom-url-tojson +$({ target: 'URL', proto: true, enumerable: true }, { + toJSON: function toJSON() { + return call(URL.prototype.toString, this); + } +}); + + +/***/ }), + +/***/ "./node_modules/core-js/stable/index.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/stable/index.js ***! + \**********************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +__webpack_require__(/*! ../modules/es.symbol */ "./node_modules/core-js/modules/es.symbol.js"); +__webpack_require__(/*! ../modules/es.symbol.description */ "./node_modules/core-js/modules/es.symbol.description.js"); +__webpack_require__(/*! ../modules/es.symbol.async-iterator */ "./node_modules/core-js/modules/es.symbol.async-iterator.js"); +__webpack_require__(/*! ../modules/es.symbol.has-instance */ "./node_modules/core-js/modules/es.symbol.has-instance.js"); +__webpack_require__(/*! ../modules/es.symbol.is-concat-spreadable */ "./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js"); +__webpack_require__(/*! ../modules/es.symbol.iterator */ "./node_modules/core-js/modules/es.symbol.iterator.js"); +__webpack_require__(/*! ../modules/es.symbol.match */ "./node_modules/core-js/modules/es.symbol.match.js"); +__webpack_require__(/*! ../modules/es.symbol.match-all */ "./node_modules/core-js/modules/es.symbol.match-all.js"); +__webpack_require__(/*! ../modules/es.symbol.replace */ "./node_modules/core-js/modules/es.symbol.replace.js"); +__webpack_require__(/*! ../modules/es.symbol.search */ "./node_modules/core-js/modules/es.symbol.search.js"); +__webpack_require__(/*! ../modules/es.symbol.species */ "./node_modules/core-js/modules/es.symbol.species.js"); +__webpack_require__(/*! ../modules/es.symbol.split */ "./node_modules/core-js/modules/es.symbol.split.js"); +__webpack_require__(/*! ../modules/es.symbol.to-primitive */ "./node_modules/core-js/modules/es.symbol.to-primitive.js"); +__webpack_require__(/*! ../modules/es.symbol.to-string-tag */ "./node_modules/core-js/modules/es.symbol.to-string-tag.js"); +__webpack_require__(/*! ../modules/es.symbol.unscopables */ "./node_modules/core-js/modules/es.symbol.unscopables.js"); +__webpack_require__(/*! ../modules/es.error.cause */ "./node_modules/core-js/modules/es.error.cause.js"); +__webpack_require__(/*! ../modules/es.error.to-string */ "./node_modules/core-js/modules/es.error.to-string.js"); +__webpack_require__(/*! ../modules/es.aggregate-error */ "./node_modules/core-js/modules/es.aggregate-error.js"); +__webpack_require__(/*! ../modules/es.aggregate-error.cause */ "./node_modules/core-js/modules/es.aggregate-error.cause.js"); +__webpack_require__(/*! ../modules/es.array.at */ "./node_modules/core-js/modules/es.array.at.js"); +__webpack_require__(/*! ../modules/es.array.concat */ "./node_modules/core-js/modules/es.array.concat.js"); +__webpack_require__(/*! ../modules/es.array.copy-within */ "./node_modules/core-js/modules/es.array.copy-within.js"); +__webpack_require__(/*! ../modules/es.array.every */ "./node_modules/core-js/modules/es.array.every.js"); +__webpack_require__(/*! ../modules/es.array.fill */ "./node_modules/core-js/modules/es.array.fill.js"); +__webpack_require__(/*! ../modules/es.array.filter */ "./node_modules/core-js/modules/es.array.filter.js"); +__webpack_require__(/*! ../modules/es.array.find */ "./node_modules/core-js/modules/es.array.find.js"); +__webpack_require__(/*! ../modules/es.array.find-index */ "./node_modules/core-js/modules/es.array.find-index.js"); +__webpack_require__(/*! ../modules/es.array.find-last */ "./node_modules/core-js/modules/es.array.find-last.js"); +__webpack_require__(/*! ../modules/es.array.find-last-index */ "./node_modules/core-js/modules/es.array.find-last-index.js"); +__webpack_require__(/*! ../modules/es.array.flat */ "./node_modules/core-js/modules/es.array.flat.js"); +__webpack_require__(/*! ../modules/es.array.flat-map */ "./node_modules/core-js/modules/es.array.flat-map.js"); +__webpack_require__(/*! ../modules/es.array.for-each */ "./node_modules/core-js/modules/es.array.for-each.js"); +__webpack_require__(/*! ../modules/es.array.from */ "./node_modules/core-js/modules/es.array.from.js"); +__webpack_require__(/*! ../modules/es.array.includes */ "./node_modules/core-js/modules/es.array.includes.js"); +__webpack_require__(/*! ../modules/es.array.index-of */ "./node_modules/core-js/modules/es.array.index-of.js"); +__webpack_require__(/*! ../modules/es.array.is-array */ "./node_modules/core-js/modules/es.array.is-array.js"); +__webpack_require__(/*! ../modules/es.array.iterator */ "./node_modules/core-js/modules/es.array.iterator.js"); +__webpack_require__(/*! ../modules/es.array.join */ "./node_modules/core-js/modules/es.array.join.js"); +__webpack_require__(/*! ../modules/es.array.last-index-of */ "./node_modules/core-js/modules/es.array.last-index-of.js"); +__webpack_require__(/*! ../modules/es.array.map */ "./node_modules/core-js/modules/es.array.map.js"); +__webpack_require__(/*! ../modules/es.array.of */ "./node_modules/core-js/modules/es.array.of.js"); +__webpack_require__(/*! ../modules/es.array.push */ "./node_modules/core-js/modules/es.array.push.js"); +__webpack_require__(/*! ../modules/es.array.reduce */ "./node_modules/core-js/modules/es.array.reduce.js"); +__webpack_require__(/*! ../modules/es.array.reduce-right */ "./node_modules/core-js/modules/es.array.reduce-right.js"); +__webpack_require__(/*! ../modules/es.array.reverse */ "./node_modules/core-js/modules/es.array.reverse.js"); +__webpack_require__(/*! ../modules/es.array.slice */ "./node_modules/core-js/modules/es.array.slice.js"); +__webpack_require__(/*! ../modules/es.array.some */ "./node_modules/core-js/modules/es.array.some.js"); +__webpack_require__(/*! ../modules/es.array.sort */ "./node_modules/core-js/modules/es.array.sort.js"); +__webpack_require__(/*! ../modules/es.array.species */ "./node_modules/core-js/modules/es.array.species.js"); +__webpack_require__(/*! ../modules/es.array.splice */ "./node_modules/core-js/modules/es.array.splice.js"); +__webpack_require__(/*! ../modules/es.array.to-reversed */ "./node_modules/core-js/modules/es.array.to-reversed.js"); +__webpack_require__(/*! ../modules/es.array.to-sorted */ "./node_modules/core-js/modules/es.array.to-sorted.js"); +__webpack_require__(/*! ../modules/es.array.to-spliced */ "./node_modules/core-js/modules/es.array.to-spliced.js"); +__webpack_require__(/*! ../modules/es.array.unscopables.flat */ "./node_modules/core-js/modules/es.array.unscopables.flat.js"); +__webpack_require__(/*! ../modules/es.array.unscopables.flat-map */ "./node_modules/core-js/modules/es.array.unscopables.flat-map.js"); +__webpack_require__(/*! ../modules/es.array.unshift */ "./node_modules/core-js/modules/es.array.unshift.js"); +__webpack_require__(/*! ../modules/es.array.with */ "./node_modules/core-js/modules/es.array.with.js"); +__webpack_require__(/*! ../modules/es.array-buffer.constructor */ "./node_modules/core-js/modules/es.array-buffer.constructor.js"); +__webpack_require__(/*! ../modules/es.array-buffer.is-view */ "./node_modules/core-js/modules/es.array-buffer.is-view.js"); +__webpack_require__(/*! ../modules/es.array-buffer.slice */ "./node_modules/core-js/modules/es.array-buffer.slice.js"); +__webpack_require__(/*! ../modules/es.data-view */ "./node_modules/core-js/modules/es.data-view.js"); +__webpack_require__(/*! ../modules/es.date.get-year */ "./node_modules/core-js/modules/es.date.get-year.js"); +__webpack_require__(/*! ../modules/es.date.now */ "./node_modules/core-js/modules/es.date.now.js"); +__webpack_require__(/*! ../modules/es.date.set-year */ "./node_modules/core-js/modules/es.date.set-year.js"); +__webpack_require__(/*! ../modules/es.date.to-gmt-string */ "./node_modules/core-js/modules/es.date.to-gmt-string.js"); +__webpack_require__(/*! ../modules/es.date.to-iso-string */ "./node_modules/core-js/modules/es.date.to-iso-string.js"); +__webpack_require__(/*! ../modules/es.date.to-json */ "./node_modules/core-js/modules/es.date.to-json.js"); +__webpack_require__(/*! ../modules/es.date.to-primitive */ "./node_modules/core-js/modules/es.date.to-primitive.js"); +__webpack_require__(/*! ../modules/es.date.to-string */ "./node_modules/core-js/modules/es.date.to-string.js"); +__webpack_require__(/*! ../modules/es.escape */ "./node_modules/core-js/modules/es.escape.js"); +__webpack_require__(/*! ../modules/es.function.bind */ "./node_modules/core-js/modules/es.function.bind.js"); +__webpack_require__(/*! ../modules/es.function.has-instance */ "./node_modules/core-js/modules/es.function.has-instance.js"); +__webpack_require__(/*! ../modules/es.function.name */ "./node_modules/core-js/modules/es.function.name.js"); +__webpack_require__(/*! ../modules/es.global-this */ "./node_modules/core-js/modules/es.global-this.js"); +__webpack_require__(/*! ../modules/es.json.stringify */ "./node_modules/core-js/modules/es.json.stringify.js"); +__webpack_require__(/*! ../modules/es.json.to-string-tag */ "./node_modules/core-js/modules/es.json.to-string-tag.js"); +__webpack_require__(/*! ../modules/es.map */ "./node_modules/core-js/modules/es.map.js"); +__webpack_require__(/*! ../modules/es.math.acosh */ "./node_modules/core-js/modules/es.math.acosh.js"); +__webpack_require__(/*! ../modules/es.math.asinh */ "./node_modules/core-js/modules/es.math.asinh.js"); +__webpack_require__(/*! ../modules/es.math.atanh */ "./node_modules/core-js/modules/es.math.atanh.js"); +__webpack_require__(/*! ../modules/es.math.cbrt */ "./node_modules/core-js/modules/es.math.cbrt.js"); +__webpack_require__(/*! ../modules/es.math.clz32 */ "./node_modules/core-js/modules/es.math.clz32.js"); +__webpack_require__(/*! ../modules/es.math.cosh */ "./node_modules/core-js/modules/es.math.cosh.js"); +__webpack_require__(/*! ../modules/es.math.expm1 */ "./node_modules/core-js/modules/es.math.expm1.js"); +__webpack_require__(/*! ../modules/es.math.fround */ "./node_modules/core-js/modules/es.math.fround.js"); +__webpack_require__(/*! ../modules/es.math.hypot */ "./node_modules/core-js/modules/es.math.hypot.js"); +__webpack_require__(/*! ../modules/es.math.imul */ "./node_modules/core-js/modules/es.math.imul.js"); +__webpack_require__(/*! ../modules/es.math.log10 */ "./node_modules/core-js/modules/es.math.log10.js"); +__webpack_require__(/*! ../modules/es.math.log1p */ "./node_modules/core-js/modules/es.math.log1p.js"); +__webpack_require__(/*! ../modules/es.math.log2 */ "./node_modules/core-js/modules/es.math.log2.js"); +__webpack_require__(/*! ../modules/es.math.sign */ "./node_modules/core-js/modules/es.math.sign.js"); +__webpack_require__(/*! ../modules/es.math.sinh */ "./node_modules/core-js/modules/es.math.sinh.js"); +__webpack_require__(/*! ../modules/es.math.tanh */ "./node_modules/core-js/modules/es.math.tanh.js"); +__webpack_require__(/*! ../modules/es.math.to-string-tag */ "./node_modules/core-js/modules/es.math.to-string-tag.js"); +__webpack_require__(/*! ../modules/es.math.trunc */ "./node_modules/core-js/modules/es.math.trunc.js"); +__webpack_require__(/*! ../modules/es.number.constructor */ "./node_modules/core-js/modules/es.number.constructor.js"); +__webpack_require__(/*! ../modules/es.number.epsilon */ "./node_modules/core-js/modules/es.number.epsilon.js"); +__webpack_require__(/*! ../modules/es.number.is-finite */ "./node_modules/core-js/modules/es.number.is-finite.js"); +__webpack_require__(/*! ../modules/es.number.is-integer */ "./node_modules/core-js/modules/es.number.is-integer.js"); +__webpack_require__(/*! ../modules/es.number.is-nan */ "./node_modules/core-js/modules/es.number.is-nan.js"); +__webpack_require__(/*! ../modules/es.number.is-safe-integer */ "./node_modules/core-js/modules/es.number.is-safe-integer.js"); +__webpack_require__(/*! ../modules/es.number.max-safe-integer */ "./node_modules/core-js/modules/es.number.max-safe-integer.js"); +__webpack_require__(/*! ../modules/es.number.min-safe-integer */ "./node_modules/core-js/modules/es.number.min-safe-integer.js"); +__webpack_require__(/*! ../modules/es.number.parse-float */ "./node_modules/core-js/modules/es.number.parse-float.js"); +__webpack_require__(/*! ../modules/es.number.parse-int */ "./node_modules/core-js/modules/es.number.parse-int.js"); +__webpack_require__(/*! ../modules/es.number.to-exponential */ "./node_modules/core-js/modules/es.number.to-exponential.js"); +__webpack_require__(/*! ../modules/es.number.to-fixed */ "./node_modules/core-js/modules/es.number.to-fixed.js"); +__webpack_require__(/*! ../modules/es.number.to-precision */ "./node_modules/core-js/modules/es.number.to-precision.js"); +__webpack_require__(/*! ../modules/es.object.assign */ "./node_modules/core-js/modules/es.object.assign.js"); +__webpack_require__(/*! ../modules/es.object.create */ "./node_modules/core-js/modules/es.object.create.js"); +__webpack_require__(/*! ../modules/es.object.define-getter */ "./node_modules/core-js/modules/es.object.define-getter.js"); +__webpack_require__(/*! ../modules/es.object.define-properties */ "./node_modules/core-js/modules/es.object.define-properties.js"); +__webpack_require__(/*! ../modules/es.object.define-property */ "./node_modules/core-js/modules/es.object.define-property.js"); +__webpack_require__(/*! ../modules/es.object.define-setter */ "./node_modules/core-js/modules/es.object.define-setter.js"); +__webpack_require__(/*! ../modules/es.object.entries */ "./node_modules/core-js/modules/es.object.entries.js"); +__webpack_require__(/*! ../modules/es.object.freeze */ "./node_modules/core-js/modules/es.object.freeze.js"); +__webpack_require__(/*! ../modules/es.object.from-entries */ "./node_modules/core-js/modules/es.object.from-entries.js"); +__webpack_require__(/*! ../modules/es.object.get-own-property-descriptor */ "./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"); +__webpack_require__(/*! ../modules/es.object.get-own-property-descriptors */ "./node_modules/core-js/modules/es.object.get-own-property-descriptors.js"); +__webpack_require__(/*! ../modules/es.object.get-own-property-names */ "./node_modules/core-js/modules/es.object.get-own-property-names.js"); +__webpack_require__(/*! ../modules/es.object.get-prototype-of */ "./node_modules/core-js/modules/es.object.get-prototype-of.js"); +__webpack_require__(/*! ../modules/es.object.has-own */ "./node_modules/core-js/modules/es.object.has-own.js"); +__webpack_require__(/*! ../modules/es.object.is */ "./node_modules/core-js/modules/es.object.is.js"); +__webpack_require__(/*! ../modules/es.object.is-extensible */ "./node_modules/core-js/modules/es.object.is-extensible.js"); +__webpack_require__(/*! ../modules/es.object.is-frozen */ "./node_modules/core-js/modules/es.object.is-frozen.js"); +__webpack_require__(/*! ../modules/es.object.is-sealed */ "./node_modules/core-js/modules/es.object.is-sealed.js"); +__webpack_require__(/*! ../modules/es.object.keys */ "./node_modules/core-js/modules/es.object.keys.js"); +__webpack_require__(/*! ../modules/es.object.lookup-getter */ "./node_modules/core-js/modules/es.object.lookup-getter.js"); +__webpack_require__(/*! ../modules/es.object.lookup-setter */ "./node_modules/core-js/modules/es.object.lookup-setter.js"); +__webpack_require__(/*! ../modules/es.object.prevent-extensions */ "./node_modules/core-js/modules/es.object.prevent-extensions.js"); +__webpack_require__(/*! ../modules/es.object.proto */ "./node_modules/core-js/modules/es.object.proto.js"); +__webpack_require__(/*! ../modules/es.object.seal */ "./node_modules/core-js/modules/es.object.seal.js"); +__webpack_require__(/*! ../modules/es.object.set-prototype-of */ "./node_modules/core-js/modules/es.object.set-prototype-of.js"); +__webpack_require__(/*! ../modules/es.object.to-string */ "./node_modules/core-js/modules/es.object.to-string.js"); +__webpack_require__(/*! ../modules/es.object.values */ "./node_modules/core-js/modules/es.object.values.js"); +__webpack_require__(/*! ../modules/es.parse-float */ "./node_modules/core-js/modules/es.parse-float.js"); +__webpack_require__(/*! ../modules/es.parse-int */ "./node_modules/core-js/modules/es.parse-int.js"); +__webpack_require__(/*! ../modules/es.promise */ "./node_modules/core-js/modules/es.promise.js"); +__webpack_require__(/*! ../modules/es.promise.all-settled */ "./node_modules/core-js/modules/es.promise.all-settled.js"); +__webpack_require__(/*! ../modules/es.promise.any */ "./node_modules/core-js/modules/es.promise.any.js"); +__webpack_require__(/*! ../modules/es.promise.finally */ "./node_modules/core-js/modules/es.promise.finally.js"); +__webpack_require__(/*! ../modules/es.reflect.apply */ "./node_modules/core-js/modules/es.reflect.apply.js"); +__webpack_require__(/*! ../modules/es.reflect.construct */ "./node_modules/core-js/modules/es.reflect.construct.js"); +__webpack_require__(/*! ../modules/es.reflect.define-property */ "./node_modules/core-js/modules/es.reflect.define-property.js"); +__webpack_require__(/*! ../modules/es.reflect.delete-property */ "./node_modules/core-js/modules/es.reflect.delete-property.js"); +__webpack_require__(/*! ../modules/es.reflect.get */ "./node_modules/core-js/modules/es.reflect.get.js"); +__webpack_require__(/*! ../modules/es.reflect.get-own-property-descriptor */ "./node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js"); +__webpack_require__(/*! ../modules/es.reflect.get-prototype-of */ "./node_modules/core-js/modules/es.reflect.get-prototype-of.js"); +__webpack_require__(/*! ../modules/es.reflect.has */ "./node_modules/core-js/modules/es.reflect.has.js"); +__webpack_require__(/*! ../modules/es.reflect.is-extensible */ "./node_modules/core-js/modules/es.reflect.is-extensible.js"); +__webpack_require__(/*! ../modules/es.reflect.own-keys */ "./node_modules/core-js/modules/es.reflect.own-keys.js"); +__webpack_require__(/*! ../modules/es.reflect.prevent-extensions */ "./node_modules/core-js/modules/es.reflect.prevent-extensions.js"); +__webpack_require__(/*! ../modules/es.reflect.set */ "./node_modules/core-js/modules/es.reflect.set.js"); +__webpack_require__(/*! ../modules/es.reflect.set-prototype-of */ "./node_modules/core-js/modules/es.reflect.set-prototype-of.js"); +__webpack_require__(/*! ../modules/es.reflect.to-string-tag */ "./node_modules/core-js/modules/es.reflect.to-string-tag.js"); +__webpack_require__(/*! ../modules/es.regexp.constructor */ "./node_modules/core-js/modules/es.regexp.constructor.js"); +__webpack_require__(/*! ../modules/es.regexp.dot-all */ "./node_modules/core-js/modules/es.regexp.dot-all.js"); +__webpack_require__(/*! ../modules/es.regexp.exec */ "./node_modules/core-js/modules/es.regexp.exec.js"); +__webpack_require__(/*! ../modules/es.regexp.flags */ "./node_modules/core-js/modules/es.regexp.flags.js"); +__webpack_require__(/*! ../modules/es.regexp.sticky */ "./node_modules/core-js/modules/es.regexp.sticky.js"); +__webpack_require__(/*! ../modules/es.regexp.test */ "./node_modules/core-js/modules/es.regexp.test.js"); +__webpack_require__(/*! ../modules/es.regexp.to-string */ "./node_modules/core-js/modules/es.regexp.to-string.js"); +__webpack_require__(/*! ../modules/es.set */ "./node_modules/core-js/modules/es.set.js"); +__webpack_require__(/*! ../modules/es.string.at-alternative */ "./node_modules/core-js/modules/es.string.at-alternative.js"); +__webpack_require__(/*! ../modules/es.string.code-point-at */ "./node_modules/core-js/modules/es.string.code-point-at.js"); +__webpack_require__(/*! ../modules/es.string.ends-with */ "./node_modules/core-js/modules/es.string.ends-with.js"); +__webpack_require__(/*! ../modules/es.string.from-code-point */ "./node_modules/core-js/modules/es.string.from-code-point.js"); +__webpack_require__(/*! ../modules/es.string.includes */ "./node_modules/core-js/modules/es.string.includes.js"); +__webpack_require__(/*! ../modules/es.string.is-well-formed */ "./node_modules/core-js/modules/es.string.is-well-formed.js"); +__webpack_require__(/*! ../modules/es.string.iterator */ "./node_modules/core-js/modules/es.string.iterator.js"); +__webpack_require__(/*! ../modules/es.string.match */ "./node_modules/core-js/modules/es.string.match.js"); +__webpack_require__(/*! ../modules/es.string.match-all */ "./node_modules/core-js/modules/es.string.match-all.js"); +__webpack_require__(/*! ../modules/es.string.pad-end */ "./node_modules/core-js/modules/es.string.pad-end.js"); +__webpack_require__(/*! ../modules/es.string.pad-start */ "./node_modules/core-js/modules/es.string.pad-start.js"); +__webpack_require__(/*! ../modules/es.string.raw */ "./node_modules/core-js/modules/es.string.raw.js"); +__webpack_require__(/*! ../modules/es.string.repeat */ "./node_modules/core-js/modules/es.string.repeat.js"); +__webpack_require__(/*! ../modules/es.string.replace */ "./node_modules/core-js/modules/es.string.replace.js"); +__webpack_require__(/*! ../modules/es.string.replace-all */ "./node_modules/core-js/modules/es.string.replace-all.js"); +__webpack_require__(/*! ../modules/es.string.search */ "./node_modules/core-js/modules/es.string.search.js"); +__webpack_require__(/*! ../modules/es.string.split */ "./node_modules/core-js/modules/es.string.split.js"); +__webpack_require__(/*! ../modules/es.string.starts-with */ "./node_modules/core-js/modules/es.string.starts-with.js"); +__webpack_require__(/*! ../modules/es.string.substr */ "./node_modules/core-js/modules/es.string.substr.js"); +__webpack_require__(/*! ../modules/es.string.to-well-formed */ "./node_modules/core-js/modules/es.string.to-well-formed.js"); +__webpack_require__(/*! ../modules/es.string.trim */ "./node_modules/core-js/modules/es.string.trim.js"); +__webpack_require__(/*! ../modules/es.string.trim-end */ "./node_modules/core-js/modules/es.string.trim-end.js"); +__webpack_require__(/*! ../modules/es.string.trim-start */ "./node_modules/core-js/modules/es.string.trim-start.js"); +__webpack_require__(/*! ../modules/es.string.anchor */ "./node_modules/core-js/modules/es.string.anchor.js"); +__webpack_require__(/*! ../modules/es.string.big */ "./node_modules/core-js/modules/es.string.big.js"); +__webpack_require__(/*! ../modules/es.string.blink */ "./node_modules/core-js/modules/es.string.blink.js"); +__webpack_require__(/*! ../modules/es.string.bold */ "./node_modules/core-js/modules/es.string.bold.js"); +__webpack_require__(/*! ../modules/es.string.fixed */ "./node_modules/core-js/modules/es.string.fixed.js"); +__webpack_require__(/*! ../modules/es.string.fontcolor */ "./node_modules/core-js/modules/es.string.fontcolor.js"); +__webpack_require__(/*! ../modules/es.string.fontsize */ "./node_modules/core-js/modules/es.string.fontsize.js"); +__webpack_require__(/*! ../modules/es.string.italics */ "./node_modules/core-js/modules/es.string.italics.js"); +__webpack_require__(/*! ../modules/es.string.link */ "./node_modules/core-js/modules/es.string.link.js"); +__webpack_require__(/*! ../modules/es.string.small */ "./node_modules/core-js/modules/es.string.small.js"); +__webpack_require__(/*! ../modules/es.string.strike */ "./node_modules/core-js/modules/es.string.strike.js"); +__webpack_require__(/*! ../modules/es.string.sub */ "./node_modules/core-js/modules/es.string.sub.js"); +__webpack_require__(/*! ../modules/es.string.sup */ "./node_modules/core-js/modules/es.string.sup.js"); +__webpack_require__(/*! ../modules/es.typed-array.float32-array */ "./node_modules/core-js/modules/es.typed-array.float32-array.js"); +__webpack_require__(/*! ../modules/es.typed-array.float64-array */ "./node_modules/core-js/modules/es.typed-array.float64-array.js"); +__webpack_require__(/*! ../modules/es.typed-array.int8-array */ "./node_modules/core-js/modules/es.typed-array.int8-array.js"); +__webpack_require__(/*! ../modules/es.typed-array.int16-array */ "./node_modules/core-js/modules/es.typed-array.int16-array.js"); +__webpack_require__(/*! ../modules/es.typed-array.int32-array */ "./node_modules/core-js/modules/es.typed-array.int32-array.js"); +__webpack_require__(/*! ../modules/es.typed-array.uint8-array */ "./node_modules/core-js/modules/es.typed-array.uint8-array.js"); +__webpack_require__(/*! ../modules/es.typed-array.uint8-clamped-array */ "./node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js"); +__webpack_require__(/*! ../modules/es.typed-array.uint16-array */ "./node_modules/core-js/modules/es.typed-array.uint16-array.js"); +__webpack_require__(/*! ../modules/es.typed-array.uint32-array */ "./node_modules/core-js/modules/es.typed-array.uint32-array.js"); +__webpack_require__(/*! ../modules/es.typed-array.at */ "./node_modules/core-js/modules/es.typed-array.at.js"); +__webpack_require__(/*! ../modules/es.typed-array.copy-within */ "./node_modules/core-js/modules/es.typed-array.copy-within.js"); +__webpack_require__(/*! ../modules/es.typed-array.every */ "./node_modules/core-js/modules/es.typed-array.every.js"); +__webpack_require__(/*! ../modules/es.typed-array.fill */ "./node_modules/core-js/modules/es.typed-array.fill.js"); +__webpack_require__(/*! ../modules/es.typed-array.filter */ "./node_modules/core-js/modules/es.typed-array.filter.js"); +__webpack_require__(/*! ../modules/es.typed-array.find */ "./node_modules/core-js/modules/es.typed-array.find.js"); +__webpack_require__(/*! ../modules/es.typed-array.find-index */ "./node_modules/core-js/modules/es.typed-array.find-index.js"); +__webpack_require__(/*! ../modules/es.typed-array.find-last */ "./node_modules/core-js/modules/es.typed-array.find-last.js"); +__webpack_require__(/*! ../modules/es.typed-array.find-last-index */ "./node_modules/core-js/modules/es.typed-array.find-last-index.js"); +__webpack_require__(/*! ../modules/es.typed-array.for-each */ "./node_modules/core-js/modules/es.typed-array.for-each.js"); +__webpack_require__(/*! ../modules/es.typed-array.from */ "./node_modules/core-js/modules/es.typed-array.from.js"); +__webpack_require__(/*! ../modules/es.typed-array.includes */ "./node_modules/core-js/modules/es.typed-array.includes.js"); +__webpack_require__(/*! ../modules/es.typed-array.index-of */ "./node_modules/core-js/modules/es.typed-array.index-of.js"); +__webpack_require__(/*! ../modules/es.typed-array.iterator */ "./node_modules/core-js/modules/es.typed-array.iterator.js"); +__webpack_require__(/*! ../modules/es.typed-array.join */ "./node_modules/core-js/modules/es.typed-array.join.js"); +__webpack_require__(/*! ../modules/es.typed-array.last-index-of */ "./node_modules/core-js/modules/es.typed-array.last-index-of.js"); +__webpack_require__(/*! ../modules/es.typed-array.map */ "./node_modules/core-js/modules/es.typed-array.map.js"); +__webpack_require__(/*! ../modules/es.typed-array.of */ "./node_modules/core-js/modules/es.typed-array.of.js"); +__webpack_require__(/*! ../modules/es.typed-array.reduce */ "./node_modules/core-js/modules/es.typed-array.reduce.js"); +__webpack_require__(/*! ../modules/es.typed-array.reduce-right */ "./node_modules/core-js/modules/es.typed-array.reduce-right.js"); +__webpack_require__(/*! ../modules/es.typed-array.reverse */ "./node_modules/core-js/modules/es.typed-array.reverse.js"); +__webpack_require__(/*! ../modules/es.typed-array.set */ "./node_modules/core-js/modules/es.typed-array.set.js"); +__webpack_require__(/*! ../modules/es.typed-array.slice */ "./node_modules/core-js/modules/es.typed-array.slice.js"); +__webpack_require__(/*! ../modules/es.typed-array.some */ "./node_modules/core-js/modules/es.typed-array.some.js"); +__webpack_require__(/*! ../modules/es.typed-array.sort */ "./node_modules/core-js/modules/es.typed-array.sort.js"); +__webpack_require__(/*! ../modules/es.typed-array.subarray */ "./node_modules/core-js/modules/es.typed-array.subarray.js"); +__webpack_require__(/*! ../modules/es.typed-array.to-locale-string */ "./node_modules/core-js/modules/es.typed-array.to-locale-string.js"); +__webpack_require__(/*! ../modules/es.typed-array.to-reversed */ "./node_modules/core-js/modules/es.typed-array.to-reversed.js"); +__webpack_require__(/*! ../modules/es.typed-array.to-sorted */ "./node_modules/core-js/modules/es.typed-array.to-sorted.js"); +__webpack_require__(/*! ../modules/es.typed-array.to-string */ "./node_modules/core-js/modules/es.typed-array.to-string.js"); +__webpack_require__(/*! ../modules/es.typed-array.with */ "./node_modules/core-js/modules/es.typed-array.with.js"); +__webpack_require__(/*! ../modules/es.unescape */ "./node_modules/core-js/modules/es.unescape.js"); +__webpack_require__(/*! ../modules/es.weak-map */ "./node_modules/core-js/modules/es.weak-map.js"); +__webpack_require__(/*! ../modules/es.weak-set */ "./node_modules/core-js/modules/es.weak-set.js"); +__webpack_require__(/*! ../modules/web.atob */ "./node_modules/core-js/modules/web.atob.js"); +__webpack_require__(/*! ../modules/web.btoa */ "./node_modules/core-js/modules/web.btoa.js"); +__webpack_require__(/*! ../modules/web.dom-collections.for-each */ "./node_modules/core-js/modules/web.dom-collections.for-each.js"); +__webpack_require__(/*! ../modules/web.dom-collections.iterator */ "./node_modules/core-js/modules/web.dom-collections.iterator.js"); +__webpack_require__(/*! ../modules/web.dom-exception.constructor */ "./node_modules/core-js/modules/web.dom-exception.constructor.js"); +__webpack_require__(/*! ../modules/web.dom-exception.stack */ "./node_modules/core-js/modules/web.dom-exception.stack.js"); +__webpack_require__(/*! ../modules/web.dom-exception.to-string-tag */ "./node_modules/core-js/modules/web.dom-exception.to-string-tag.js"); +__webpack_require__(/*! ../modules/web.immediate */ "./node_modules/core-js/modules/web.immediate.js"); +__webpack_require__(/*! ../modules/web.queue-microtask */ "./node_modules/core-js/modules/web.queue-microtask.js"); +__webpack_require__(/*! ../modules/web.self */ "./node_modules/core-js/modules/web.self.js"); +__webpack_require__(/*! ../modules/web.structured-clone */ "./node_modules/core-js/modules/web.structured-clone.js"); +__webpack_require__(/*! ../modules/web.timers */ "./node_modules/core-js/modules/web.timers.js"); +__webpack_require__(/*! ../modules/web.url */ "./node_modules/core-js/modules/web.url.js"); +__webpack_require__(/*! ../modules/web.url.can-parse */ "./node_modules/core-js/modules/web.url.can-parse.js"); +__webpack_require__(/*! ../modules/web.url.to-json */ "./node_modules/core-js/modules/web.url.to-json.js"); +__webpack_require__(/*! ../modules/web.url-search-params */ "./node_modules/core-js/modules/web.url-search-params.js"); +__webpack_require__(/*! ../modules/web.url-search-params.delete */ "./node_modules/core-js/modules/web.url-search-params.delete.js"); +__webpack_require__(/*! ../modules/web.url-search-params.has */ "./node_modules/core-js/modules/web.url-search-params.has.js"); +__webpack_require__(/*! ../modules/web.url-search-params.size */ "./node_modules/core-js/modules/web.url-search-params.size.js"); + +module.exports = __webpack_require__(/*! ../internals/path */ "./node_modules/core-js/internals/path.js"); + + +/***/ }), + +/***/ "./node_modules/es6-promise/dist/es6-promise.js": +/*!******************************************************!*\ + !*** ./node_modules/es6-promise/dist/es6-promise.js ***! + \******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +/*! + * @overview es6-promise - a tiny implementation of Promises/A+. + * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) + * @license Licensed under MIT license + * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE + * @version v4.2.8+1e68dce6 + */ + +(function (global, factory) { + true ? module.exports = factory() : + 0; +}(this, (function () { 'use strict'; + +function objectOrFunction(x) { + var type = typeof x; + return x !== null && (type === 'object' || type === 'function'); +} + +function isFunction(x) { + return typeof x === 'function'; +} + + + +var _isArray = void 0; +if (Array.isArray) { + _isArray = Array.isArray; +} else { + _isArray = function (x) { + return Object.prototype.toString.call(x) === '[object Array]'; + }; +} + +var isArray = _isArray; + +var len = 0; +var vertxNext = void 0; +var customSchedulerFn = void 0; + +var asap = function asap(callback, arg) { + queue[len] = callback; + queue[len + 1] = arg; + len += 2; + if (len === 2) { + // If len is 2, that means that we need to schedule an async flush. + // If additional callbacks are queued before the queue is flushed, they + // will be processed by this flush that we are scheduling. + if (customSchedulerFn) { + customSchedulerFn(flush); + } else { + scheduleFlush(); + } + } +}; + +function setScheduler(scheduleFn) { + customSchedulerFn = scheduleFn; +} + +function setAsap(asapFn) { + asap = asapFn; +} + +var browserWindow = typeof window !== 'undefined' ? window : undefined; +var browserGlobal = browserWindow || {}; +var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver; +var isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]'; + +// test for web worker but not in IE10 +var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined'; + +// node +function useNextTick() { + // node version 0.10.x displays a deprecation warning when nextTick is used recursively + // see https://github.com/cujojs/when/issues/410 for details + return function () { + return process.nextTick(flush); + }; +} + +// vertx +function useVertxTimer() { + if (typeof vertxNext !== 'undefined') { + return function () { + vertxNext(flush); + }; + } + + return useSetTimeout(); +} + +function useMutationObserver() { + var iterations = 0; + var observer = new BrowserMutationObserver(flush); + var node = document.createTextNode(''); + observer.observe(node, { characterData: true }); + + return function () { + node.data = iterations = ++iterations % 2; + }; +} + +// web worker +function useMessageChannel() { + var channel = new MessageChannel(); + channel.port1.onmessage = flush; + return function () { + return channel.port2.postMessage(0); + }; +} + +function useSetTimeout() { + // Store setTimeout reference so es6-promise will be unaffected by + // other code modifying setTimeout (like sinon.useFakeTimers()) + var globalSetTimeout = setTimeout; + return function () { + return globalSetTimeout(flush, 1); + }; +} + +var queue = new Array(1000); +function flush() { + for (var i = 0; i < len; i += 2) { + var callback = queue[i]; + var arg = queue[i + 1]; + + callback(arg); + + queue[i] = undefined; + queue[i + 1] = undefined; + } + + len = 0; +} + +function attemptVertx() { + try { + var vertx = Function('return this')().require('vertx'); + vertxNext = vertx.runOnLoop || vertx.runOnContext; + return useVertxTimer(); + } catch (e) { + return useSetTimeout(); + } +} + +var scheduleFlush = void 0; +// Decide what async method to use to triggering processing of queued callbacks: +if (isNode) { + scheduleFlush = useNextTick(); +} else if (BrowserMutationObserver) { + scheduleFlush = useMutationObserver(); +} else if (isWorker) { + scheduleFlush = useMessageChannel(); +} else if (browserWindow === undefined && "function" === 'function') { + scheduleFlush = attemptVertx(); +} else { + scheduleFlush = useSetTimeout(); +} + +function then(onFulfillment, onRejection) { + var parent = this; + + var child = new this.constructor(noop); + + if (child[PROMISE_ID] === undefined) { + makePromise(child); + } + + var _state = parent._state; + + + if (_state) { + var callback = arguments[_state - 1]; + asap(function () { + return invokeCallback(_state, child, callback, parent._result); + }); + } else { + subscribe(parent, child, onFulfillment, onRejection); + } + + return child; +} + +/** + `Promise.resolve` returns a promise that will become resolved with the + passed `value`. It is shorthand for the following: + + ```javascript + let promise = new Promise(function(resolve, reject){ + resolve(1); + }); + + promise.then(function(value){ + // value === 1 + }); + ``` + + Instead of writing the above, your code now simply becomes the following: + + ```javascript + let promise = Promise.resolve(1); + + promise.then(function(value){ + // value === 1 + }); + ``` + + @method resolve + @static + @param {Any} value value that the returned promise will be resolved with + Useful for tooling. + @return {Promise} a promise that will become fulfilled with the given + `value` +*/ +function resolve$1(object) { + /*jshint validthis:true */ + var Constructor = this; + + if (object && typeof object === 'object' && object.constructor === Constructor) { + return object; + } + + var promise = new Constructor(noop); + resolve(promise, object); + return promise; +} + +var PROMISE_ID = Math.random().toString(36).substring(2); + +function noop() {} + +var PENDING = void 0; +var FULFILLED = 1; +var REJECTED = 2; + +function selfFulfillment() { + return new TypeError("You cannot resolve a promise with itself"); +} + +function cannotReturnOwn() { + return new TypeError('A promises callback cannot return that same promise.'); +} + +function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) { + try { + then$$1.call(value, fulfillmentHandler, rejectionHandler); + } catch (e) { + return e; + } +} + +function handleForeignThenable(promise, thenable, then$$1) { + asap(function (promise) { + var sealed = false; + var error = tryThen(then$$1, thenable, function (value) { + if (sealed) { + return; + } + sealed = true; + if (thenable !== value) { + resolve(promise, value); + } else { + fulfill(promise, value); + } + }, function (reason) { + if (sealed) { + return; + } + sealed = true; + + reject(promise, reason); + }, 'Settle: ' + (promise._label || ' unknown promise')); + + if (!sealed && error) { + sealed = true; + reject(promise, error); + } + }, promise); +} + +function handleOwnThenable(promise, thenable) { + if (thenable._state === FULFILLED) { + fulfill(promise, thenable._result); + } else if (thenable._state === REJECTED) { + reject(promise, thenable._result); + } else { + subscribe(thenable, undefined, function (value) { + return resolve(promise, value); + }, function (reason) { + return reject(promise, reason); + }); + } +} + +function handleMaybeThenable(promise, maybeThenable, then$$1) { + if (maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1) { + handleOwnThenable(promise, maybeThenable); + } else { + if (then$$1 === undefined) { + fulfill(promise, maybeThenable); + } else if (isFunction(then$$1)) { + handleForeignThenable(promise, maybeThenable, then$$1); + } else { + fulfill(promise, maybeThenable); + } + } +} + +function resolve(promise, value) { + if (promise === value) { + reject(promise, selfFulfillment()); + } else if (objectOrFunction(value)) { + var then$$1 = void 0; + try { + then$$1 = value.then; + } catch (error) { + reject(promise, error); + return; + } + handleMaybeThenable(promise, value, then$$1); + } else { + fulfill(promise, value); + } +} + +function publishRejection(promise) { + if (promise._onerror) { + promise._onerror(promise._result); + } + + publish(promise); +} + +function fulfill(promise, value) { + if (promise._state !== PENDING) { + return; + } + + promise._result = value; + promise._state = FULFILLED; + + if (promise._subscribers.length !== 0) { + asap(publish, promise); + } +} + +function reject(promise, reason) { + if (promise._state !== PENDING) { + return; + } + promise._state = REJECTED; + promise._result = reason; + + asap(publishRejection, promise); +} + +function subscribe(parent, child, onFulfillment, onRejection) { + var _subscribers = parent._subscribers; + var length = _subscribers.length; + + + parent._onerror = null; + + _subscribers[length] = child; + _subscribers[length + FULFILLED] = onFulfillment; + _subscribers[length + REJECTED] = onRejection; + + if (length === 0 && parent._state) { + asap(publish, parent); + } +} + +function publish(promise) { + var subscribers = promise._subscribers; + var settled = promise._state; + + if (subscribers.length === 0) { + return; + } + + var child = void 0, + callback = void 0, + detail = promise._result; + + for (var i = 0; i < subscribers.length; i += 3) { + child = subscribers[i]; + callback = subscribers[i + settled]; + + if (child) { + invokeCallback(settled, child, callback, detail); + } else { + callback(detail); + } + } + + promise._subscribers.length = 0; +} + +function invokeCallback(settled, promise, callback, detail) { + var hasCallback = isFunction(callback), + value = void 0, + error = void 0, + succeeded = true; + + if (hasCallback) { + try { + value = callback(detail); + } catch (e) { + succeeded = false; + error = e; + } + + if (promise === value) { + reject(promise, cannotReturnOwn()); + return; + } + } else { + value = detail; + } + + if (promise._state !== PENDING) { + // noop + } else if (hasCallback && succeeded) { + resolve(promise, value); + } else if (succeeded === false) { + reject(promise, error); + } else if (settled === FULFILLED) { + fulfill(promise, value); + } else if (settled === REJECTED) { + reject(promise, value); + } +} + +function initializePromise(promise, resolver) { + try { + resolver(function resolvePromise(value) { + resolve(promise, value); + }, function rejectPromise(reason) { + reject(promise, reason); + }); + } catch (e) { + reject(promise, e); + } +} + +var id = 0; +function nextId() { + return id++; +} + +function makePromise(promise) { + promise[PROMISE_ID] = id++; + promise._state = undefined; + promise._result = undefined; + promise._subscribers = []; +} + +function validationError() { + return new Error('Array Methods must be provided an Array'); +} + +var Enumerator = function () { + function Enumerator(Constructor, input) { + this._instanceConstructor = Constructor; + this.promise = new Constructor(noop); + + if (!this.promise[PROMISE_ID]) { + makePromise(this.promise); + } + + if (isArray(input)) { + this.length = input.length; + this._remaining = input.length; + + this._result = new Array(this.length); + + if (this.length === 0) { + fulfill(this.promise, this._result); + } else { + this.length = this.length || 0; + this._enumerate(input); + if (this._remaining === 0) { + fulfill(this.promise, this._result); + } + } + } else { + reject(this.promise, validationError()); + } + } + + Enumerator.prototype._enumerate = function _enumerate(input) { + for (var i = 0; this._state === PENDING && i < input.length; i++) { + this._eachEntry(input[i], i); + } + }; + + Enumerator.prototype._eachEntry = function _eachEntry(entry, i) { + var c = this._instanceConstructor; + var resolve$$1 = c.resolve; + + + if (resolve$$1 === resolve$1) { + var _then = void 0; + var error = void 0; + var didError = false; + try { + _then = entry.then; + } catch (e) { + didError = true; + error = e; + } + + if (_then === then && entry._state !== PENDING) { + this._settledAt(entry._state, i, entry._result); + } else if (typeof _then !== 'function') { + this._remaining--; + this._result[i] = entry; + } else if (c === Promise$1) { + var promise = new c(noop); + if (didError) { + reject(promise, error); + } else { + handleMaybeThenable(promise, entry, _then); + } + this._willSettleAt(promise, i); + } else { + this._willSettleAt(new c(function (resolve$$1) { + return resolve$$1(entry); + }), i); + } + } else { + this._willSettleAt(resolve$$1(entry), i); + } + }; + + Enumerator.prototype._settledAt = function _settledAt(state, i, value) { + var promise = this.promise; + + + if (promise._state === PENDING) { + this._remaining--; + + if (state === REJECTED) { + reject(promise, value); + } else { + this._result[i] = value; + } + } + + if (this._remaining === 0) { + fulfill(promise, this._result); + } + }; + + Enumerator.prototype._willSettleAt = function _willSettleAt(promise, i) { + var enumerator = this; + + subscribe(promise, undefined, function (value) { + return enumerator._settledAt(FULFILLED, i, value); + }, function (reason) { + return enumerator._settledAt(REJECTED, i, reason); + }); + }; + + return Enumerator; +}(); + +/** + `Promise.all` accepts an array of promises, and returns a new promise which + is fulfilled with an array of fulfillment values for the passed promises, or + rejected with the reason of the first passed promise to be rejected. It casts all + elements of the passed iterable to promises as it runs this algorithm. + + Example: + + ```javascript + let promise1 = resolve(1); + let promise2 = resolve(2); + let promise3 = resolve(3); + let promises = [ promise1, promise2, promise3 ]; + + Promise.all(promises).then(function(array){ + // The array here would be [ 1, 2, 3 ]; + }); + ``` + + If any of the `promises` given to `all` are rejected, the first promise + that is rejected will be given as an argument to the returned promises's + rejection handler. For example: + + Example: + + ```javascript + let promise1 = resolve(1); + let promise2 = reject(new Error("2")); + let promise3 = reject(new Error("3")); + let promises = [ promise1, promise2, promise3 ]; + + Promise.all(promises).then(function(array){ + // Code here never runs because there are rejected promises! + }, function(error) { + // error.message === "2" + }); + ``` + + @method all + @static + @param {Array} entries array of promises + @param {String} label optional string for labeling the promise. + Useful for tooling. + @return {Promise} promise that is fulfilled when all `promises` have been + fulfilled, or rejected if any of them become rejected. + @static +*/ +function all(entries) { + return new Enumerator(this, entries).promise; +} + +/** + `Promise.race` returns a new promise which is settled in the same way as the + first passed promise to settle. + + Example: + + ```javascript + let promise1 = new Promise(function(resolve, reject){ + setTimeout(function(){ + resolve('promise 1'); + }, 200); + }); + + let promise2 = new Promise(function(resolve, reject){ + setTimeout(function(){ + resolve('promise 2'); + }, 100); + }); + + Promise.race([promise1, promise2]).then(function(result){ + // result === 'promise 2' because it was resolved before promise1 + // was resolved. + }); + ``` + + `Promise.race` is deterministic in that only the state of the first + settled promise matters. For example, even if other promises given to the + `promises` array argument are resolved, but the first settled promise has + become rejected before the other promises became fulfilled, the returned + promise will become rejected: + + ```javascript + let promise1 = new Promise(function(resolve, reject){ + setTimeout(function(){ + resolve('promise 1'); + }, 200); + }); + + let promise2 = new Promise(function(resolve, reject){ + setTimeout(function(){ + reject(new Error('promise 2')); + }, 100); + }); + + Promise.race([promise1, promise2]).then(function(result){ + // Code here never runs + }, function(reason){ + // reason.message === 'promise 2' because promise 2 became rejected before + // promise 1 became fulfilled + }); + ``` + + An example real-world use case is implementing timeouts: + + ```javascript + Promise.race([ajax('foo.json'), timeout(5000)]) + ``` + + @method race + @static + @param {Array} promises array of promises to observe + Useful for tooling. + @return {Promise} a promise which settles in the same way as the first passed + promise to settle. +*/ +function race(entries) { + /*jshint validthis:true */ + var Constructor = this; + + if (!isArray(entries)) { + return new Constructor(function (_, reject) { + return reject(new TypeError('You must pass an array to race.')); + }); + } else { + return new Constructor(function (resolve, reject) { + var length = entries.length; + for (var i = 0; i < length; i++) { + Constructor.resolve(entries[i]).then(resolve, reject); + } + }); + } +} + +/** + `Promise.reject` returns a promise rejected with the passed `reason`. + It is shorthand for the following: + + ```javascript + let promise = new Promise(function(resolve, reject){ + reject(new Error('WHOOPS')); + }); + + promise.then(function(value){ + // Code here doesn't run because the promise is rejected! + }, function(reason){ + // reason.message === 'WHOOPS' + }); + ``` + + Instead of writing the above, your code now simply becomes the following: + + ```javascript + let promise = Promise.reject(new Error('WHOOPS')); + + promise.then(function(value){ + // Code here doesn't run because the promise is rejected! + }, function(reason){ + // reason.message === 'WHOOPS' + }); + ``` + + @method reject + @static + @param {Any} reason value that the returned promise will be rejected with. + Useful for tooling. + @return {Promise} a promise rejected with the given `reason`. +*/ +function reject$1(reason) { + /*jshint validthis:true */ + var Constructor = this; + var promise = new Constructor(noop); + reject(promise, reason); + return promise; +} + +function needsResolver() { + throw new TypeError('You must pass a resolver function as the first argument to the promise constructor'); +} + +function needsNew() { + throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function."); +} + +/** + Promise objects represent the eventual result of an asynchronous operation. The + primary way of interacting with a promise is through its `then` method, which + registers callbacks to receive either a promise's eventual value or the reason + why the promise cannot be fulfilled. + + Terminology + ----------- + + - `promise` is an object or function with a `then` method whose behavior conforms to this specification. + - `thenable` is an object or function that defines a `then` method. + - `value` is any legal JavaScript value (including undefined, a thenable, or a promise). + - `exception` is a value that is thrown using the throw statement. + - `reason` is a value that indicates why a promise was rejected. + - `settled` the final resting state of a promise, fulfilled or rejected. + + A promise can be in one of three states: pending, fulfilled, or rejected. + + Promises that are fulfilled have a fulfillment value and are in the fulfilled + state. Promises that are rejected have a rejection reason and are in the + rejected state. A fulfillment value is never a thenable. + + Promises can also be said to *resolve* a value. If this value is also a + promise, then the original promise's settled state will match the value's + settled state. So a promise that *resolves* a promise that rejects will + itself reject, and a promise that *resolves* a promise that fulfills will + itself fulfill. + + + Basic Usage: + ------------ + + ```js + let promise = new Promise(function(resolve, reject) { + // on success + resolve(value); + + // on failure + reject(reason); + }); + + promise.then(function(value) { + // on fulfillment + }, function(reason) { + // on rejection + }); + ``` + + Advanced Usage: + --------------- + + Promises shine when abstracting away asynchronous interactions such as + `XMLHttpRequest`s. + + ```js + function getJSON(url) { + return new Promise(function(resolve, reject){ + let xhr = new XMLHttpRequest(); + + xhr.open('GET', url); + xhr.onreadystatechange = handler; + xhr.responseType = 'json'; + xhr.setRequestHeader('Accept', 'application/json'); + xhr.send(); + + function handler() { + if (this.readyState === this.DONE) { + if (this.status === 200) { + resolve(this.response); + } else { + reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']')); + } + } + }; + }); + } + + getJSON('/posts.json').then(function(json) { + // on fulfillment + }, function(reason) { + // on rejection + }); + ``` + + Unlike callbacks, promises are great composable primitives. + + ```js + Promise.all([ + getJSON('/posts'), + getJSON('/comments') + ]).then(function(values){ + values[0] // => postsJSON + values[1] // => commentsJSON + + return values; + }); + ``` + + @class Promise + @param {Function} resolver + Useful for tooling. + @constructor +*/ + +var Promise$1 = function () { + function Promise(resolver) { + this[PROMISE_ID] = nextId(); + this._result = this._state = undefined; + this._subscribers = []; + + if (noop !== resolver) { + typeof resolver !== 'function' && needsResolver(); + this instanceof Promise ? initializePromise(this, resolver) : needsNew(); + } + } + + /** + The primary way of interacting with a promise is through its `then` method, + which registers callbacks to receive either a promise's eventual value or the + reason why the promise cannot be fulfilled. + ```js + findUser().then(function(user){ + // user is available + }, function(reason){ + // user is unavailable, and you are given the reason why + }); + ``` + Chaining + -------- + The return value of `then` is itself a promise. This second, 'downstream' + promise is resolved with the return value of the first promise's fulfillment + or rejection handler, or rejected if the handler throws an exception. + ```js + findUser().then(function (user) { + return user.name; + }, function (reason) { + return 'default name'; + }).then(function (userName) { + // If `findUser` fulfilled, `userName` will be the user's name, otherwise it + // will be `'default name'` + }); + findUser().then(function (user) { + throw new Error('Found user, but still unhappy'); + }, function (reason) { + throw new Error('`findUser` rejected and we're unhappy'); + }).then(function (value) { + // never reached + }, function (reason) { + // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'. + // If `findUser` rejected, `reason` will be '`findUser` rejected and we're unhappy'. + }); + ``` + If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream. + ```js + findUser().then(function (user) { + throw new PedagogicalException('Upstream error'); + }).then(function (value) { + // never reached + }).then(function (value) { + // never reached + }, function (reason) { + // The `PedgagocialException` is propagated all the way down to here + }); + ``` + Assimilation + ------------ + Sometimes the value you want to propagate to a downstream promise can only be + retrieved asynchronously. This can be achieved by returning a promise in the + fulfillment or rejection handler. The downstream promise will then be pending + until the returned promise is settled. This is called *assimilation*. + ```js + findUser().then(function (user) { + return findCommentsByAuthor(user); + }).then(function (comments) { + // The user's comments are now available + }); + ``` + If the assimliated promise rejects, then the downstream promise will also reject. + ```js + findUser().then(function (user) { + return findCommentsByAuthor(user); + }).then(function (comments) { + // If `findCommentsByAuthor` fulfills, we'll have the value here + }, function (reason) { + // If `findCommentsByAuthor` rejects, we'll have the reason here + }); + ``` + Simple Example + -------------- + Synchronous Example + ```javascript + let result; + try { + result = findResult(); + // success + } catch(reason) { + // failure + } + ``` + Errback Example + ```js + findResult(function(result, err){ + if (err) { + // failure + } else { + // success + } + }); + ``` + Promise Example; + ```javascript + findResult().then(function(result){ + // success + }, function(reason){ + // failure + }); + ``` + Advanced Example + -------------- + Synchronous Example + ```javascript + let author, books; + try { + author = findAuthor(); + books = findBooksByAuthor(author); + // success + } catch(reason) { + // failure + } + ``` + Errback Example + ```js + function foundBooks(books) { + } + function failure(reason) { + } + findAuthor(function(author, err){ + if (err) { + failure(err); + // failure + } else { + try { + findBoooksByAuthor(author, function(books, err) { + if (err) { + failure(err); + } else { + try { + foundBooks(books); + } catch(reason) { + failure(reason); + } + } + }); + } catch(error) { + failure(err); + } + // success + } + }); + ``` + Promise Example; + ```javascript + findAuthor(). + then(findBooksByAuthor). + then(function(books){ + // found books + }).catch(function(reason){ + // something went wrong + }); + ``` + @method then + @param {Function} onFulfilled + @param {Function} onRejected + Useful for tooling. + @return {Promise} + */ + + /** + `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same + as the catch block of a try/catch statement. + ```js + function findAuthor(){ + throw new Error('couldn't find that author'); + } + // synchronous + try { + findAuthor(); + } catch(reason) { + // something went wrong + } + // async with promises + findAuthor().catch(function(reason){ + // something went wrong + }); + ``` + @method catch + @param {Function} onRejection + Useful for tooling. + @return {Promise} + */ + + + Promise.prototype.catch = function _catch(onRejection) { + return this.then(null, onRejection); + }; + + /** + `finally` will be invoked regardless of the promise's fate just as native + try/catch/finally behaves + + Synchronous example: + + ```js + findAuthor() { + if (Math.random() > 0.5) { + throw new Error(); + } + return new Author(); + } + + try { + return findAuthor(); // succeed or fail + } catch(error) { + return findOtherAuther(); + } finally { + // always runs + // doesn't affect the return value + } + ``` + + Asynchronous example: + + ```js + findAuthor().catch(function(reason){ + return findOtherAuther(); + }).finally(function(){ + // author was either found, or not + }); + ``` + + @method finally + @param {Function} callback + @return {Promise} + */ + + + Promise.prototype.finally = function _finally(callback) { + var promise = this; + var constructor = promise.constructor; + + if (isFunction(callback)) { + return promise.then(function (value) { + return constructor.resolve(callback()).then(function () { + return value; + }); + }, function (reason) { + return constructor.resolve(callback()).then(function () { + throw reason; + }); + }); + } + + return promise.then(callback, callback); + }; + + return Promise; +}(); + +Promise$1.prototype.then = then; +Promise$1.all = all; +Promise$1.race = race; +Promise$1.resolve = resolve$1; +Promise$1.reject = reject$1; +Promise$1._setScheduler = setScheduler; +Promise$1._setAsap = setAsap; +Promise$1._asap = asap; + +/*global self*/ +function polyfill() { + var local = void 0; + + if (typeof __webpack_require__.g !== 'undefined') { + local = __webpack_require__.g; + } else if (typeof self !== 'undefined') { + local = self; + } else { + try { + local = Function('return this')(); + } catch (e) { + throw new Error('polyfill failed because global object is unavailable in this environment'); + } + } + + var P = local.Promise; + + if (P) { + var promiseToString = null; + try { + promiseToString = Object.prototype.toString.call(P.resolve()); + } catch (e) { + // silently ignored + } + + if (promiseToString === '[object Promise]' && !P.cast) { + return; + } + } + + local.Promise = Promise$1; +} + +// Strange compat.. +Promise$1.polyfill = polyfill; +Promise$1.Promise = Promise$1; + +return Promise$1; + +}))); + + + +//# sourceMappingURL=es6-promise.map + + +/***/ }), + +/***/ "./node_modules/regenerator-runtime/runtime.js": +/*!*****************************************************!*\ + !*** ./node_modules/regenerator-runtime/runtime.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +/* provided dependency */ var Promise = __webpack_require__(/*! es6-promise */ "./node_modules/es6-promise/dist/es6-promise.js")["Promise"]; +/** + * Copyright (c) 2014-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +var runtime = (function (exports) { + "use strict"; + + var Op = Object.prototype; + var hasOwn = Op.hasOwnProperty; + var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }; + var undefined; // More compressible than void 0. + var $Symbol = typeof Symbol === "function" ? Symbol : {}; + var iteratorSymbol = $Symbol.iterator || "@@iterator"; + var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; + var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; + + function define(obj, key, value) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + return obj[key]; + } + try { + // IE 8 has a broken Object.defineProperty that only works on DOM objects. + define({}, ""); + } catch (err) { + define = function(obj, key, value) { + return obj[key] = value; + }; + } + + function wrap(innerFn, outerFn, self, tryLocsList) { + // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; + var generator = Object.create(protoGenerator.prototype); + var context = new Context(tryLocsList || []); + + // The ._invoke method unifies the implementations of the .next, + // .throw, and .return methods. + defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }); + + return generator; + } + exports.wrap = wrap; + + // Try/catch helper to minimize deoptimizations. Returns a completion + // record like context.tryEntries[i].completion. This interface could + // have been (and was previously) designed to take a closure to be + // invoked without arguments, but in all the cases we care about we + // already have an existing method we want to call, so there's no need + // to create a new function object. We can even get away with assuming + // the method takes exactly one argument, since that happens to be true + // in every case, so we don't have to touch the arguments object. The + // only additional allocation required is the completion record, which + // has a stable shape and so hopefully should be cheap to allocate. + function tryCatch(fn, obj, arg) { + try { + return { type: "normal", arg: fn.call(obj, arg) }; + } catch (err) { + return { type: "throw", arg: err }; + } + } + + var GenStateSuspendedStart = "suspendedStart"; + var GenStateSuspendedYield = "suspendedYield"; + var GenStateExecuting = "executing"; + var GenStateCompleted = "completed"; + + // Returning this object from the innerFn has the same effect as + // breaking out of the dispatch switch statement. + var ContinueSentinel = {}; + + // Dummy constructor functions that we use as the .constructor and + // .constructor.prototype properties for functions that return Generator + // objects. For full spec compliance, you may wish to configure your + // minifier not to mangle the names of these two functions. + function Generator() {} + function GeneratorFunction() {} + function GeneratorFunctionPrototype() {} + + // This is a polyfill for %IteratorPrototype% for environments that + // don't natively support it. + var IteratorPrototype = {}; + define(IteratorPrototype, iteratorSymbol, function () { + return this; + }); + + var getProto = Object.getPrototypeOf; + var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); + if (NativeIteratorPrototype && + NativeIteratorPrototype !== Op && + hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { + // This environment has a native %IteratorPrototype%; use it instead + // of the polyfill. + IteratorPrototype = NativeIteratorPrototype; + } + + var Gp = GeneratorFunctionPrototype.prototype = + Generator.prototype = Object.create(IteratorPrototype); + GeneratorFunction.prototype = GeneratorFunctionPrototype; + defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: true }); + defineProperty( + GeneratorFunctionPrototype, + "constructor", + { value: GeneratorFunction, configurable: true } + ); + GeneratorFunction.displayName = define( + GeneratorFunctionPrototype, + toStringTagSymbol, + "GeneratorFunction" + ); + + // Helper for defining the .next, .throw, and .return methods of the + // Iterator interface in terms of a single ._invoke method. + function defineIteratorMethods(prototype) { + ["next", "throw", "return"].forEach(function(method) { + define(prototype, method, function(arg) { + return this._invoke(method, arg); + }); + }); + } + + exports.isGeneratorFunction = function(genFun) { + var ctor = typeof genFun === "function" && genFun.constructor; + return ctor + ? ctor === GeneratorFunction || + // For the native GeneratorFunction constructor, the best we can + // do is to check its .name property. + (ctor.displayName || ctor.name) === "GeneratorFunction" + : false; + }; + + exports.mark = function(genFun) { + if (Object.setPrototypeOf) { + Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); + } else { + genFun.__proto__ = GeneratorFunctionPrototype; + define(genFun, toStringTagSymbol, "GeneratorFunction"); + } + genFun.prototype = Object.create(Gp); + return genFun; + }; + + // Within the body of any async function, `await x` is transformed to + // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test + // `hasOwn.call(value, "__await")` to determine if the yielded value is + // meant to be awaited. + exports.awrap = function(arg) { + return { __await: arg }; + }; + + function AsyncIterator(generator, PromiseImpl) { + function invoke(method, arg, resolve, reject) { + var record = tryCatch(generator[method], generator, arg); + if (record.type === "throw") { + reject(record.arg); + } else { + var result = record.arg; + var value = result.value; + if (value && + typeof value === "object" && + hasOwn.call(value, "__await")) { + return PromiseImpl.resolve(value.__await).then(function(value) { + invoke("next", value, resolve, reject); + }, function(err) { + invoke("throw", err, resolve, reject); + }); + } + + return PromiseImpl.resolve(value).then(function(unwrapped) { + // When a yielded Promise is resolved, its final value becomes + // the .value of the Promise<{value,done}> result for the + // current iteration. + result.value = unwrapped; + resolve(result); + }, function(error) { + // If a rejected Promise was yielded, throw the rejection back + // into the async generator function so it can be handled there. + return invoke("throw", error, resolve, reject); + }); + } + } + + var previousPromise; + + function enqueue(method, arg) { + function callInvokeWithMethodAndArg() { + return new PromiseImpl(function(resolve, reject) { + invoke(method, arg, resolve, reject); + }); + } + + return previousPromise = + // If enqueue has been called before, then we want to wait until + // all previous Promises have been resolved before calling invoke, + // so that results are always delivered in the correct order. If + // enqueue has not been called before, then it is important to + // call invoke immediately, without waiting on a callback to fire, + // so that the async generator function has the opportunity to do + // any necessary setup in a predictable way. This predictability + // is why the Promise constructor synchronously invokes its + // executor callback, and why async functions synchronously + // execute code before the first await. Since we implement simple + // async functions in terms of async generators, it is especially + // important to get this right, even though it requires care. + previousPromise ? previousPromise.then( + callInvokeWithMethodAndArg, + // Avoid propagating failures to Promises returned by later + // invocations of the iterator. + callInvokeWithMethodAndArg + ) : callInvokeWithMethodAndArg(); + } + + // Define the unified helper method that is used to implement .next, + // .throw, and .return (see defineIteratorMethods). + defineProperty(this, "_invoke", { value: enqueue }); + } + + defineIteratorMethods(AsyncIterator.prototype); + define(AsyncIterator.prototype, asyncIteratorSymbol, function () { + return this; + }); + exports.AsyncIterator = AsyncIterator; + + // Note that simple async functions are implemented on top of + // AsyncIterator objects; they just return a Promise for the value of + // the final result produced by the iterator. + exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { + if (PromiseImpl === void 0) PromiseImpl = Promise; + + var iter = new AsyncIterator( + wrap(innerFn, outerFn, self, tryLocsList), + PromiseImpl + ); + + return exports.isGeneratorFunction(outerFn) + ? iter // If outerFn is a generator, return the full iterator. + : iter.next().then(function(result) { + return result.done ? result.value : iter.next(); + }); + }; + + function makeInvokeMethod(innerFn, self, context) { + var state = GenStateSuspendedStart; + + return function invoke(method, arg) { + if (state === GenStateExecuting) { + throw new Error("Generator is already running"); + } + + if (state === GenStateCompleted) { + if (method === "throw") { + throw arg; + } + + // Be forgiving, per 25.3.3.3.3 of the spec: + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume + return doneResult(); + } + + context.method = method; + context.arg = arg; + + while (true) { + var delegate = context.delegate; + if (delegate) { + var delegateResult = maybeInvokeDelegate(delegate, context); + if (delegateResult) { + if (delegateResult === ContinueSentinel) continue; + return delegateResult; + } + } + + if (context.method === "next") { + // Setting context._sent for legacy support of Babel's + // function.sent implementation. + context.sent = context._sent = context.arg; + + } else if (context.method === "throw") { + if (state === GenStateSuspendedStart) { + state = GenStateCompleted; + throw context.arg; + } + + context.dispatchException(context.arg); + + } else if (context.method === "return") { + context.abrupt("return", context.arg); + } + + state = GenStateExecuting; + + var record = tryCatch(innerFn, self, context); + if (record.type === "normal") { + // If an exception is thrown from innerFn, we leave state === + // GenStateExecuting and loop back for another invocation. + state = context.done + ? GenStateCompleted + : GenStateSuspendedYield; + + if (record.arg === ContinueSentinel) { + continue; + } + + return { + value: record.arg, + done: context.done + }; + + } else if (record.type === "throw") { + state = GenStateCompleted; + // Dispatch the exception by looping back around to the + // context.dispatchException(context.arg) call above. + context.method = "throw"; + context.arg = record.arg; + } + } + }; + } + + // Call delegate.iterator[context.method](context.arg) and handle the + // result, either by returning a { value, done } result from the + // delegate iterator, or by modifying context.method and context.arg, + // setting context.delegate to null, and returning the ContinueSentinel. + function maybeInvokeDelegate(delegate, context) { + var methodName = context.method; + var method = delegate.iterator[methodName]; + if (method === undefined) { + // A .throw or .return when the delegate iterator has no .throw + // method, or a missing .next mehtod, always terminate the + // yield* loop. + context.delegate = null; + + // Note: ["return"] must be used for ES3 parsing compatibility. + if (methodName === "throw" && delegate.iterator["return"]) { + // If the delegate iterator has a return method, give it a + // chance to clean up. + context.method = "return"; + context.arg = undefined; + maybeInvokeDelegate(delegate, context); + + if (context.method === "throw") { + // If maybeInvokeDelegate(context) changed context.method from + // "return" to "throw", let that override the TypeError below. + return ContinueSentinel; + } + } + if (methodName !== "return") { + context.method = "throw"; + context.arg = new TypeError( + "The iterator does not provide a '" + methodName + "' method"); + } + + return ContinueSentinel; + } + + var record = tryCatch(method, delegate.iterator, context.arg); + + if (record.type === "throw") { + context.method = "throw"; + context.arg = record.arg; + context.delegate = null; + return ContinueSentinel; + } + + var info = record.arg; + + if (! info) { + context.method = "throw"; + context.arg = new TypeError("iterator result is not an object"); + context.delegate = null; + return ContinueSentinel; + } + + if (info.done) { + // Assign the result of the finished delegate to the temporary + // variable specified by delegate.resultName (see delegateYield). + context[delegate.resultName] = info.value; + + // Resume execution at the desired location (see delegateYield). + context.next = delegate.nextLoc; + + // If context.method was "throw" but the delegate handled the + // exception, let the outer generator proceed normally. If + // context.method was "next", forget context.arg since it has been + // "consumed" by the delegate iterator. If context.method was + // "return", allow the original .return call to continue in the + // outer generator. + if (context.method !== "return") { + context.method = "next"; + context.arg = undefined; + } + + } else { + // Re-yield the result returned by the delegate method. + return info; + } + + // The delegate iterator is finished, so forget it and continue with + // the outer generator. + context.delegate = null; + return ContinueSentinel; + } + + // Define Generator.prototype.{next,throw,return} in terms of the + // unified ._invoke helper method. + defineIteratorMethods(Gp); + + define(Gp, toStringTagSymbol, "Generator"); + + // A Generator should always return itself as the iterator object when the + // @@iterator function is called on it. Some browsers' implementations of the + // iterator prototype chain incorrectly implement this, causing the Generator + // object to not be returned from this call. This ensures that doesn't happen. + // See https://github.com/facebook/regenerator/issues/274 for more details. + define(Gp, iteratorSymbol, function() { + return this; + }); + + define(Gp, "toString", function() { + return "[object Generator]"; + }); + + function pushTryEntry(locs) { + var entry = { tryLoc: locs[0] }; + + if (1 in locs) { + entry.catchLoc = locs[1]; + } + + if (2 in locs) { + entry.finallyLoc = locs[2]; + entry.afterLoc = locs[3]; + } + + this.tryEntries.push(entry); + } + + function resetTryEntry(entry) { + var record = entry.completion || {}; + record.type = "normal"; + delete record.arg; + entry.completion = record; + } + + function Context(tryLocsList) { + // The root entry object (effectively a try statement without a catch + // or a finally block) gives us a place to store values thrown from + // locations where there is no enclosing try statement. + this.tryEntries = [{ tryLoc: "root" }]; + tryLocsList.forEach(pushTryEntry, this); + this.reset(true); + } + + exports.keys = function(val) { + var object = Object(val); + var keys = []; + for (var key in object) { + keys.push(key); + } + keys.reverse(); + + // Rather than returning an object with a next method, we keep + // things simple and return the next function itself. + return function next() { + while (keys.length) { + var key = keys.pop(); + if (key in object) { + next.value = key; + next.done = false; + return next; + } + } + + // To avoid creating an additional object, we just hang the .value + // and .done properties off the next function object itself. This + // also ensures that the minifier will not anonymize the function. + next.done = true; + return next; + }; + }; + + function values(iterable) { + if (iterable) { + var iteratorMethod = iterable[iteratorSymbol]; + if (iteratorMethod) { + return iteratorMethod.call(iterable); + } + + if (typeof iterable.next === "function") { + return iterable; + } + + if (!isNaN(iterable.length)) { + var i = -1, next = function next() { + while (++i < iterable.length) { + if (hasOwn.call(iterable, i)) { + next.value = iterable[i]; + next.done = false; + return next; + } + } + + next.value = undefined; + next.done = true; + + return next; + }; + + return next.next = next; + } + } + + // Return an iterator with no values. + return { next: doneResult }; + } + exports.values = values; + + function doneResult() { + return { value: undefined, done: true }; + } + + Context.prototype = { + constructor: Context, + + reset: function(skipTempReset) { + this.prev = 0; + this.next = 0; + // Resetting context._sent for legacy support of Babel's + // function.sent implementation. + this.sent = this._sent = undefined; + this.done = false; + this.delegate = null; + + this.method = "next"; + this.arg = undefined; + + this.tryEntries.forEach(resetTryEntry); + + if (!skipTempReset) { + for (var name in this) { + // Not sure about the optimal order of these conditions: + if (name.charAt(0) === "t" && + hasOwn.call(this, name) && + !isNaN(+name.slice(1))) { + this[name] = undefined; + } + } + } + }, + + stop: function() { + this.done = true; + + var rootEntry = this.tryEntries[0]; + var rootRecord = rootEntry.completion; + if (rootRecord.type === "throw") { + throw rootRecord.arg; + } + + return this.rval; + }, + + dispatchException: function(exception) { + if (this.done) { + throw exception; + } + + var context = this; + function handle(loc, caught) { + record.type = "throw"; + record.arg = exception; + context.next = loc; + + if (caught) { + // If the dispatched exception was caught by a catch block, + // then let that catch block handle the exception normally. + context.method = "next"; + context.arg = undefined; + } + + return !! caught; + } + + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + var record = entry.completion; + + if (entry.tryLoc === "root") { + // Exception thrown outside of any try block that could handle + // it, so set the completion value of the entire function to + // throw the exception. + return handle("end"); + } + + if (entry.tryLoc <= this.prev) { + var hasCatch = hasOwn.call(entry, "catchLoc"); + var hasFinally = hasOwn.call(entry, "finallyLoc"); + + if (hasCatch && hasFinally) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } else if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + + } else if (hasCatch) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } + + } else if (hasFinally) { + if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + + } else { + throw new Error("try statement without catch or finally"); + } + } + } + }, + + abrupt: function(type, arg) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.tryLoc <= this.prev && + hasOwn.call(entry, "finallyLoc") && + this.prev < entry.finallyLoc) { + var finallyEntry = entry; + break; + } + } + + if (finallyEntry && + (type === "break" || + type === "continue") && + finallyEntry.tryLoc <= arg && + arg <= finallyEntry.finallyLoc) { + // Ignore the finally entry if control is not jumping to a + // location outside the try/catch block. + finallyEntry = null; + } + + var record = finallyEntry ? finallyEntry.completion : {}; + record.type = type; + record.arg = arg; + + if (finallyEntry) { + this.method = "next"; + this.next = finallyEntry.finallyLoc; + return ContinueSentinel; + } + + return this.complete(record); + }, + + complete: function(record, afterLoc) { + if (record.type === "throw") { + throw record.arg; + } + + if (record.type === "break" || + record.type === "continue") { + this.next = record.arg; + } else if (record.type === "return") { + this.rval = this.arg = record.arg; + this.method = "return"; + this.next = "end"; + } else if (record.type === "normal" && afterLoc) { + this.next = afterLoc; + } + + return ContinueSentinel; + }, + + finish: function(finallyLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.finallyLoc === finallyLoc) { + this.complete(entry.completion, entry.afterLoc); + resetTryEntry(entry); + return ContinueSentinel; + } + } + }, + + "catch": function(tryLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.tryLoc === tryLoc) { + var record = entry.completion; + if (record.type === "throw") { + var thrown = record.arg; + resetTryEntry(entry); + } + return thrown; + } + } + + // The context.catch method must only be called with a location + // argument that corresponds to a known catch block. + throw new Error("illegal catch attempt"); + }, + + delegateYield: function(iterable, resultName, nextLoc) { + this.delegate = { + iterator: values(iterable), + resultName: resultName, + nextLoc: nextLoc + }; + + if (this.method === "next") { + // Deliberately forget the last sent value so that we don't + // accidentally pass it on to the delegate. + this.arg = undefined; + } + + return ContinueSentinel; + } + }; + + // Regardless of whether this script is executing as a CommonJS module + // or not, return the runtime object so that we can declare the variable + // regeneratorRuntime in the outer scope, which allows this module to be + // injected easily by `bin/regenerator --include-runtime script.js`. + return exports; + +}( + // If this script is executing as a CommonJS module, use module.exports + // as the regeneratorRuntime namespace. Otherwise create a new empty + // object. Either way, the resulting object will be used to initialize + // the regeneratorRuntime variable at the top of this file. + true ? module.exports : 0 +)); + +try { + regeneratorRuntime = runtime; +} catch (accidentalStrictMode) { + // This module should not be running in strict mode, so the above + // assignment should always work unless something is misconfigured. Just + // in case runtime.js accidentally runs in strict mode, in modern engines + // we can explicitly access globalThis. In older engines we can escape + // strict mode using a global Function call. This could conceivably fail + // if a Content Security Policy forbids using Function, but in that case + // the proper solution is to fix the accidental strict mode problem. If + // you've misconfigured your bundler to force strict mode and applied a + // CSP to forbid Function, and you're not willing to fix either of those + // problems, please detail your unique predicament in a GitHub issue. + if (typeof globalThis === "object") { + globalThis.regeneratorRuntime = runtime; + } else { + Function("r", "regeneratorRuntime = r")(runtime); + } +} + + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/global */ +/******/ !function() { +/******/ __webpack_require__.g = (function() { +/******/ if (typeof globalThis === 'object') return globalThis; +/******/ try { +/******/ return this || new Function('return this')(); +/******/ } catch (e) { +/******/ if (typeof window === 'object') return window; +/******/ } +/******/ })(); +/******/ }(); +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module used 'module' so it can't be inlined +/******/ __webpack_require__("./node_modules/core-js/stable/index.js"); +/******/ var __webpack_exports__ = __webpack_require__("./node_modules/regenerator-runtime/runtime.js"); +/******/ +/******/ })() +; +//# sourceMappingURL=polyfill.js.map \ No newline at end of file diff --git a/dist/polyfill.js.map b/dist/polyfill.js.map new file mode 100644 index 0000000..e8491c4 --- /dev/null +++ b/dist/polyfill.js.map @@ -0,0 +1 @@ +{"version":3,"file":"polyfill.js","mappings":";;;;;;;;;;AAAa;AACb,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,kBAAkB,mBAAO,CAAC,qFAA4B;;AAEtD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,kBAAkB,mBAAO,CAAC,qFAA4B;;AAEtD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,aAAa,mBAAO,CAAC,qFAA4B;AACjD,qBAAqB,gIAAgD;;AAErE;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACpBa;AACb,aAAa,yHAA+C;;AAE5D;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPa;AACb,oBAAoB,mBAAO,CAAC,uGAAqC;;AAEjE;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACRa;AACb,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb;AACA;;;;;;;;;;;;ACFa;AACb;AACA,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA;AACA,0EAA0E,UAAU;AACpF;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,0BAA0B,mBAAO,CAAC,mHAA2C;AAC7E,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,aAAa,mBAAO,CAAC,2FAA+B;AACpD,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,kBAAkB,mBAAO,CAAC,qFAA4B;AACtD,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,oBAAoB,mBAAO,CAAC,uGAAqC;AACjE,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,UAAU,mBAAO,CAAC,iEAAkB;AACpC,0BAA0B,mBAAO,CAAC,uFAA6B;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,QAAQ,iBAAiB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,gBAAgB;AACxB;AACA;AACA;AACA;AACA;AACA,QAAQ,gBAAgB;AACxB,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChMa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,0BAA0B,mBAAO,CAAC,mHAA2C;AAC7E,mBAAmB,mBAAO,CAAC,qFAA4B;AACvD,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,YAAY,mBAAO,CAAC,qEAAoB;AACxC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,cAAc,mBAAO,CAAC,2EAAuB;AAC7C,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,0BAA0B,8IAAuD;AACjF,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,iBAAiB,mBAAO,CAAC,+FAAiC;AAC1D,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,0BAA0B,mBAAO,CAAC,uFAA6B;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,WAAW;AAC7B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH,EAAE;AACF;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;AAEA,wEAAwE,gBAAgB;AACxF;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG,IAAI,cAAc;AACrB;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACrQa;AACb,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;;;;;;;;;;;AC9Ba;AACb,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,wBAAwB,mBAAO,CAAC,mGAAmC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChBa;AACb,eAAe,wHAA+C;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE;;;;;;;;;;;;ACXW;AACb,wBAAwB,mBAAO,CAAC,mGAAmC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,WAAW,mBAAO,CAAC,qGAAoC;AACvD,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,mCAAmC,mBAAO,CAAC,2HAA+C;AAC1F,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,kBAAkB,mBAAO,CAAC,mFAA2B;AACrD,wBAAwB,mBAAO,CAAC,iGAAkC;;AAElE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,qCAAqC;AAC/C;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,UAAU,gBAAgB;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC7Ca;AACb,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,wBAAwB,mBAAO,CAAC,mGAAmC;;AAEnE,sBAAsB,mBAAmB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,gBAAgB;AACjC;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChCa;AACb,WAAW,mBAAO,CAAC,qGAAoC;AACvD,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;;AAEnE,sBAAsB,yBAAyB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AClCa;AACb,WAAW,mBAAO,CAAC,qGAAoC;AACvD,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,yBAAyB,mBAAO,CAAC,mGAAmC;;AAEpE;;AAEA,sBAAsB,kEAAkE;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,gBAAgB;AAC1B;AACA;AACA;AACA,4CAA4C;AAC5C;AACA,4CAA4C;AAC5C,4CAA4C;AAC5C,4CAA4C;AAC5C,4CAA4C;AAC5C,UAAU;AACV,4CAA4C;AAC5C,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACzEa;AACb;AACA,YAAY,mBAAO,CAAC,uFAA6B;AACjD,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,YAAY;AACpB;AACA,EAAE;;;;;;;;;;;;AC1BW;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,iBAAiB,mBAAO,CAAC,6FAAgC;;AAEzD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACnBa;AACb,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA;AACA,gDAAgD,WAAW;AAC3D,GAAG;AACH;;;;;;;;;;;;ACTa;AACb,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,wBAAwB,mBAAO,CAAC,mGAAmC;;AAEnE;;AAEA,sBAAsB,qBAAqB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,wCAAwC;AAClD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC1Ca;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,cAAc,mBAAO,CAAC,2EAAuB;;AAE7C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,iBAAiB;AAC3D,IAAI;AACJ;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,IAAI;AACJ,EAAE;AACF;AACA;;;;;;;;;;;;AC1Ba;AACb,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,qBAAqB,mBAAO,CAAC,yFAA8B;;AAE3D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,SAAS;AAClB;AACA;AACA;;;;;;;;;;;;ACjBa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D;;;;;;;;;;;;ACHa;AACb,iBAAiB,mBAAO,CAAC,+FAAiC;;AAE1D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;;;;;;;;;;;;AC5Ca;AACb,cAAc,mBAAO,CAAC,2EAAuB;AAC7C,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;;;;;;;;;;;ACtBa;AACb,8BAA8B,mBAAO,CAAC,6GAAwC;;AAE9E;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPa;AACb,wBAAwB,mBAAO,CAAC,mGAAmC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,SAAS;AAClB;AACA;;;;;;;;;;;;ACXa;AACb,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,SAAS;AAClB;AACA;;;;;;;;;;;;ACjBa;AACb;AACA;;AAEA,oBAAoB,YAAY;;AAEhC;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,uFAA6B;;AAEzD;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;;;;;;;;;;;ACXa;AACb,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;;AAEA;AACA;AACA;AACA;AACA,eAAe;AACf,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C,UAAU;AACzD,EAAE,gBAAgB;;AAElB;AACA;AACA;AACA,IAAI,gBAAgB,gBAAgB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;AACA;;;;;;;;;;;;ACxCa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D,6BAA6B;AAC7B;;AAEA;AACA;AACA;;;;;;;;;;;;ACRa;AACb,4BAA4B,mBAAO,CAAC,qGAAoC;AACxE,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;;AAEA;AACA,iDAAiD,mBAAmB;;AAEpE;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC7Ba;AACb,aAAa,mBAAO,CAAC,qFAA4B;AACjD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,WAAW,mBAAO,CAAC,qGAAoC;AACvD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,6BAA6B,mBAAO,CAAC,6GAAwC;AAC7E,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,cAAc,4HAAiD;AAC/D,0BAA0B,mBAAO,CAAC,uFAA6B;;AAE/D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,yEAAyE,gCAAgC;AACzG,KAAK;;AAEL;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,OAAO;AACvC;AACA;AACA;;AAEA;AACA,YAAY,UAAU;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,YAAY,UAAU;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,OAAO;AACP,YAAY,UAAU;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,UAAU,UAAU,aAAa,mCAAmC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL,UAAU,UAAU;AACpB;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC9Ma;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,kBAAkB,gIAAqD;AACvE,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,2BAA2B,mBAAO,CAAC,yFAA8B;AACjE,aAAa,mBAAO,CAAC,2FAA+B;AACpD,0BAA0B,mBAAO,CAAC,uFAA6B;;AAE/D;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,yEAAyE,gCAAgC;AACzG,KAAK;;AAEL;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,YAAY,kBAAkB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,YAAY,kBAAkB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;;;;;;;;;;;AClIa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,6BAA6B,mBAAO,CAAC,6FAAgC;AACrE,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,wBAAwB,mBAAO,CAAC,iGAAkC;;AAElE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,sDAAsD;AACtD;AACA,mDAAmD,kBAAkB;AACrE;AACA;AACA,6EAA6E,kCAAkC;AAC/G;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,2EAA2E,gCAAgC;AAC3G;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA,MAAM,4EAA4E;;AAElF;;AAEA;;AAEA;AACA;;;;;;;;;;;;ACzGa;AACb,aAAa,mBAAO,CAAC,2FAA+B;AACpD,cAAc,mBAAO,CAAC,2EAAuB;AAC7C,qCAAqC,mBAAO,CAAC,+HAAiD;AAC9F,2BAA2B,mBAAO,CAAC,uGAAqC;;AAExE;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChBa;AACb,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,MAAM,iBAAiB;AACvB,IAAI;AACJ;;;;;;;;;;;;ACfa;AACb,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA,iBAAiB;AACjB;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,6FAA6F;AAC7F;AACA;;;;;;;;;;;;ACfa;AACb;AACA;AACA;AACA,WAAW;AACX;;;;;;;;;;;;ACLa;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,2BAA2B,mBAAO,CAAC,uGAAqC;AACxE,+BAA+B,mBAAO,CAAC,+GAAyC;;AAEhF;AACA;AACA,EAAE;AACF;AACA;AACA;;;;;;;;;;;;ACVa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACRa;AACb,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,2BAA2B,mBAAO,CAAC,uGAAqC;AACxE,+BAA+B,mBAAO,CAAC,+GAAyC;;AAEhF;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,YAAY,mBAAO,CAAC,qEAAoB;AACxC,eAAe,4GAAwC;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;;;;;;;;;;ACxCW;AACb,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,0BAA0B,mBAAO,CAAC,qGAAoC;;AAEtE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACba;AACb,kBAAkB,mBAAO,CAAC,qFAA4B;AACtD,qBAAqB,mBAAO,CAAC,uGAAqC;;AAElE;AACA,0DAA0D,cAAc;AACxE,0DAA0D,cAAc;AACxE;AACA;;;;;;;;;;;;ACRa;AACb,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,2BAA2B,mBAAO,CAAC,uGAAqC;AACxE,kBAAkB,mBAAO,CAAC,qFAA4B;AACtD,2BAA2B,mBAAO,CAAC,uGAAqC;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,MAAM,gBAAgB;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;;;;;;;;;;;;AC3Ba;AACb,oBAAoB,mBAAO,CAAC,yFAA8B;;AAE1D;AACA;AACA;AACA;;;;;;;;;;;;ACNa;AACb,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;AACA;;AAEA;AACA;AACA,kCAAkC,kDAAkD;AACpF,IAAI;AACJ;AACA,IAAI;AACJ;;;;;;;;;;;;ACZa;AACb,kBAAkB,mBAAO,CAAC,qFAA4B;;AAEtD;;AAEA;AACA;AACA;;;;;;;;;;;;ACPa;AACb,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA,iCAAiC,OAAO,mBAAmB,aAAa;AACxE,CAAC;;;;;;;;;;;;ACPY;AACb;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACVa;AACb;AACA,yCAAyC;;AAEzC;AACA;AACA;AACA;;;;;;;;;;;;ACPa;AACb;AACA,oBAAoB,iCAAiC;AACrD,wBAAwB,qCAAqC;AAC7D,2BAA2B,wCAAwC;AACnE,wBAAwB,qCAAqC;AAC7D,2BAA2B,wCAAwC;AACnE,wBAAwB,sCAAsC;AAC9D,gCAAgC,8CAA8C;AAC9E,mBAAmB,gCAAgC;AACnD,uBAAuB,oCAAoC;AAC3D,yBAAyB,uCAAuC;AAChE,uBAAuB,qCAAqC;AAC5D,iBAAiB,8BAA8B;AAC/C,8BAA8B,4CAA4C;AAC1E,oBAAoB,iCAAiC;AACrD,wBAAwB,sCAAsC;AAC9D,qBAAqB,kCAAkC;AACvD,uBAAuB,qCAAqC;AAC5D,mBAAmB,gCAAgC;AACnD,kBAAkB,+BAA+B;AACjD,gBAAgB,6BAA6B;AAC7C,sBAAsB,oCAAoC;AAC1D,wBAAwB,sCAAsC;AAC9D,kBAAkB,+BAA+B;AACjD,0BAA0B,yCAAyC;AACnE,oBAAoB;AACpB;;;;;;;;;;;;AC3Ba;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnCa;AACb;AACA,4BAA4B,mBAAO,CAAC,yGAAsC;;AAE1E;AACA;;AAEA;;;;;;;;;;;;ACPa;AACb,gBAAgB,mBAAO,CAAC,6FAAgC;;AAExD;;AAEA;;;;;;;;;;;;ACLa;AACb,cAAc,mBAAO,CAAC,uFAA6B;AACnD,cAAc,mBAAO,CAAC,uFAA6B;;AAEnD;AACA;AACA;;;;;;;;;;;;ACNa;AACb;AACA;;;;;;;;;;;;ACFa;AACb;AACA;;;;;;;;;;;;ACFa;AACb,SAAS,mBAAO,CAAC,6FAAgC;;AAEjD;;;;;;;;;;;;ACHa;AACb,gBAAgB,mBAAO,CAAC,6FAAgC;;AAExD;;;;;;;;;;;;ACHa;AACb,gBAAgB,mBAAO,CAAC,6FAAgC;;AAExD;AACA;;;;;;;;;;;;ACJa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,cAAc,mBAAO,CAAC,iFAA0B;;AAEhD;;;;;;;;;;;;ACJa;AACb,gBAAgB,mBAAO,CAAC,6FAAgC;;AAExD;;;;;;;;;;;;ACHa;AACb;;;;;;;;;;;;ACDa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,6FAAgC;;AAExD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;AC3Ba;AACb,gBAAgB,mBAAO,CAAC,6FAAgC;;AAExD;;AAEA;;;;;;;;;;;;ACLa;AACb,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;AACA;AACA;;;;;;;;;;;;ACLa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D;AACA;;AAEA,6BAA6B,mCAAmC;AAChE;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;;;;;;;;;;;;ACfa;AACb,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,8BAA8B,mBAAO,CAAC,yGAAsC;;AAE5E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACba;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,+BAA+B,mBAAO,CAAC,+GAAyC;;AAEhF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,aAAa,mBAAO,CAAC,qFAA4B;AACjD,8BAA8B,mBAAO,CAAC,6GAAwC;;AAE9E;;AAEA;AACA;AACA;AACA;AACA,gDAAgD,YAAY;AAC5D;AACA,OAAO;AACP;AACA;AACA;AACA,oCAAoC,qBAAqB;AACzD;AACA,kCAAkC;AAClC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,EAAE;;;;;;;;;;;;AC7BW;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,+BAA+B,wJAA4D;AAC3F,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,2BAA2B,mBAAO,CAAC,uGAAqC;AACxE,gCAAgC,mBAAO,CAAC,iHAA0C;AAClF,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,8DAA8D;AAC9D,IAAI;AACJ,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACtDa;AACb;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;;;;;;;;;;;ACPa;AACb;AACA,mBAAO,CAAC,mFAA2B;AACnC,kBAAkB,mBAAO,CAAC,mHAA2C;AACrE,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,kCAAkC,mBAAO,CAAC,uHAA6C;;AAEvF;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA,iBAAiB;AACjB;AACA,eAAe;AACf,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;AC5Ea;AACb,cAAc,mBAAO,CAAC,2EAAuB;AAC7C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,+BAA+B,mBAAO,CAAC,mHAA2C;AAClF,WAAW,mBAAO,CAAC,qGAAoC;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACjCa;AACb,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA,wDAAwD;AACxD,CAAC;;;;;;;;;;;;ACNY;AACb,kBAAkB,mBAAO,CAAC,mGAAmC;;AAE7D;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,kBAAkB,mBAAO,CAAC,mHAA2C;AACrE,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,kBAAkB,mBAAO,CAAC,mGAAmC;;AAE7D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACba;AACb,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA,4BAA4B,aAAa;AACzC;AACA;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,aAAa,mBAAO,CAAC,2FAA+B;AACpD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,kBAAkB,mBAAO,CAAC,mGAAmC;;AAE7D;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnCa;AACb,kBAAkB,mBAAO,CAAC,mGAAmC;;AAE7D;;AAEA;AACA;AACA;;;;;;;;;;;;ACPa;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,aAAa,mBAAO,CAAC,2FAA+B;;AAEpD;AACA;AACA;;AAEA;AACA;AACA,+CAA+C,aAAa;AAC5D;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACjBa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,gBAAgB,mBAAO,CAAC,+EAAyB;;AAEjD;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;;;;;;;;;;;;ACTa;AACb,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,kBAAkB,mBAAO,CAAC,mGAAmC;;AAE7D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACba;AACb,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,kBAAkB,mBAAO,CAAC,qFAA4B;AACtD,wBAAwB,mBAAO,CAAC,iGAAkC;;AAElE;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACba;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,cAAc,mBAAO,CAAC,2EAAuB;AAC7C,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,cAAc,mBAAO,CAAC,iFAA0B;AAChD,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;;AAEA;AACA;AACA;AACA;AACA;AACA,kBAAkB,eAAe;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,gBAAgB;AACpC;AACA;;;;;;;;;;;;AC7Ba;AACb,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,wBAAwB,mBAAO,CAAC,mGAAmC;;AAEnE;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA,yCAAyC,IAAI;AAC7C,kDAAkD,IAAI;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;AC7Ca;AACb;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,qBAAM,gBAAgB,qBAAM;AAC3C;AACA,iBAAiB,cAAc;;;;;;;;;;;;ACdlB;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C,mCAAmC;;AAEnC;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXa;AACb;;;;;;;;;;;;ACDa;AACb;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;;;;;;;;;;;;ACNa;AACb,iBAAiB,mBAAO,CAAC,mFAA2B;;AAEpD;;;;;;;;;;;;ACHa;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,oBAAoB,mBAAO,CAAC,yGAAsC;;AAElE;AACA;AACA;AACA;AACA,uBAAuB;AACvB,GAAG;AACH,CAAC;;;;;;;;;;;;ACXY;AACb;AACA,WAAW,mBAAO,CAAC,6EAAwB;AAC3C,YAAY,mBAAO,CAAC,+EAAyB;;AAE7C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACjHa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,YAAY,mBAAO,CAAC,qEAAoB;AACxC,cAAc,mBAAO,CAAC,iFAA0B;;AAEhD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,EAAE;;;;;;;;;;;;ACfW;AACb,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,qBAAqB,mBAAO,CAAC,yGAAsC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AClBa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,YAAY,mBAAO,CAAC,mFAA2B;;AAE/C;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACda;AACb,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,kCAAkC,mBAAO,CAAC,uHAA6C;;AAEvF;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,aAAa,mBAAO,CAAC,2FAA+B;AACpD,qBAAqB,gIAAgD;AACrE,gCAAgC,mBAAO,CAAC,qHAA4C;AACpF,wCAAwC,mBAAO,CAAC,uIAAqD;AACrG,mBAAmB,mBAAO,CAAC,mGAAmC;AAC9D,UAAU,mBAAO,CAAC,iEAAkB;AACpC,eAAe,mBAAO,CAAC,2EAAuB;;AAE9C;AACA;AACA;;AAEA;AACA,iCAAiC;AACjC;AACA,0BAA0B;AAC1B,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,8CAA8C,YAAY;AAC1D;AACA;AACA;AACA;AACA,QAAQ;AACR;;AAEA,QAAQ,4CAA4C;AACpD;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACzFa;AACb,sBAAsB,mBAAO,CAAC,2GAAuC;AACrE,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,aAAa,mBAAO,CAAC,2FAA+B;AACpD,aAAa,mBAAO,CAAC,mFAA2B;AAChD,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;AACA;AACA;AACA;;AAEA;AACA,uCAAuC;AACvC;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACtEa;AACb,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,gBAAgB,mBAAO,CAAC,6EAAwB;;AAEhD;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,cAAc,mBAAO,CAAC,iFAA0B;;AAEhD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACRa;AACb,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;AACA;AACA;AACA;;;;;;;;;;;;ACNa;AACb,mBAAmB,mBAAO,CAAC,mFAA2B;;AAEtD;;AAEA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;;;;;;;;;;;ACXa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,YAAY,mBAAO,CAAC,qEAAoB;AACxC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,oBAAoB,mBAAO,CAAC,uFAA6B;;AAEzD,yBAAyB;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,gBAAgB;AAC1D;AACA,CAAC;;;;;;;;;;;;ACpDY;AACb,aAAa,mBAAO,CAAC,2FAA+B;;AAEpD;AACA;AACA;;;;;;;;;;;;ACLa;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;ACtBa;AACb,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLa;AACb,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,mBAAmB,mBAAO,CAAC,mFAA2B;;AAEtD;;AAEA;AACA;AACA,EAAE;AACF;AACA;;;;;;;;;;;;ACVa;AACb;;;;;;;;;;;;ACDa;AACb,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,cAAc,mBAAO,CAAC,iFAA0B;AAChD,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZa;AACb,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,oBAAoB,mBAAO,CAAC,uGAAqC;AACjE,wBAAwB,mBAAO,CAAC,6FAAgC;;AAEhE;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA;;;;;;;;;;;;ACba;AACb,WAAW,mBAAO,CAAC,qGAAoC;AACvD,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,kBAAkB,mBAAO,CAAC,qFAA4B;AACtD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,oBAAoB,mBAAO,CAAC,uGAAqC;AACjE,kBAAkB,mBAAO,CAAC,mFAA2B;AACrD,wBAAwB,mBAAO,CAAC,iGAAkC;AAClE,oBAAoB,mBAAO,CAAC,uFAA6B;;AAEzD;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,4DAA4D,gBAAgB;AAC5E;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,IAAI;AACJ;;;;;;;;;;;;ACpEa;AACb,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,gBAAgB,mBAAO,CAAC,+EAAyB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACvBa;AACb,wBAAwB,gIAAwD;AAChF,aAAa,mBAAO,CAAC,qFAA4B;AACjD,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,gBAAgB,mBAAO,CAAC,6EAAwB;;AAEhD,+BAA+B;;AAE/B;AACA;AACA,8DAA8D,yDAAyD;AACvH;AACA;AACA;AACA;;;;;;;;;;;;ACfa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,mBAAmB,mBAAO,CAAC,qFAA4B;AACvD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,gCAAgC,mBAAO,CAAC,iHAA0C;AAClF,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,oBAAoB,mBAAO,CAAC,uFAA6B;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,+BAA+B;;AAE/B;AACA;;AAEA;AACA;AACA;;AAEA;AACA,0CAA0C;AAC1C,8CAA8C;AAC9C,gDAAgD;AAChD;;AAEA,yBAAyB;AACzB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2BAA2B,oBAAoB;AAC/C;AACA;AACA;AACA,MAAM;AACN;AACA,4CAA4C;AAC5C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,SAAS,oFAAoF;AACnG;;AAEA;AACA;AACA,kEAAkE,eAAe;AACjF;AACA;;AAEA;AACA;;;;;;;;;;;;ACrGa;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,aAAa,mBAAO,CAAC,qFAA4B;AACjD,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;AChDa;AACb;;;;;;;;;;;;ACDa;AACb,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,YAAY,mBAAO,CAAC,qEAAoB;AACxC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,aAAa,mBAAO,CAAC,2FAA+B;AACpD,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,iCAAiC,yHAAkD;AACnF,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,0BAA0B,mBAAO,CAAC,uFAA6B;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,sCAAsC,aAAa,cAAc,UAAU;AAC3E,CAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD,iCAAiC;AACtF;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D;AACA;AACA;AACA,4DAA4D,iBAAiB;AAC7E;AACA,MAAM;AACN,IAAI,gBAAgB;AACpB;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACtDY;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACda;AACb;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;;;;;;;;;;AChBW;AACb,WAAW,mBAAO,CAAC,6EAAwB;;AAE3C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC5Ba;AACb;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACPa;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACRa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,WAAW,mBAAO,CAAC,qGAAoC;AACvD,+BAA+B,wJAA4D;AAC3F,gBAAgB,8FAAgC;AAChD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,qFAA4B;AACjD,oBAAoB,mBAAO,CAAC,mGAAmC;AAC/D,sBAAsB,mBAAO,CAAC,uGAAqC;AACnE,cAAc,mBAAO,CAAC,uFAA6B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gDAAgD,qBAAqB;AACrE;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;AChFa;AACb,gBAAgB,mBAAO,CAAC,+EAAyB;;AAEjD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,gBAAgB;AAChB;AACA;;;;;;;;;;;;ACpBa;AACb,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;;;;;;;;;;;;ACLa;AACb,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;;AAEA;AACA;AACA;AACA,IAAI;AACJ;;;;;;;;;;;;ACTa;AACb,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,WAAW,6GAAwC;AACnD,kBAAkB,mBAAO,CAAC,iFAA0B;;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,gCAAgC;;AAEvE;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;;;;;;;;;;ACtBW;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,WAAW,6GAAwC;AACnD,kBAAkB,mBAAO,CAAC,iFAA0B;;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,8BAA8B;;AAErE;AACA;AACA;AACA;AACA;AACA,EAAE;;;;;;;;;;;;ACtBW;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,kCAAkC,mBAAO,CAAC,yHAA8C;AACxF,iCAAiC,mBAAO,CAAC,qHAA4C;AACrF,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,uFAA6B;;AAEzD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,+BAA+B,MAAM,2BAA2B;AAChE;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG,KAAK,MAAM;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,eAAe;AAC7D,mBAAmB,2CAA2C;AAC9D,CAAC,sCAAsC;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,EAAE;;;;;;;;;;;;ACxDW;AACb;AACA,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,kBAAkB,mBAAO,CAAC,qFAA4B;AACtD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,WAAW,mBAAO,CAAC,mEAAmB;AACtC,4BAA4B,mBAAO,CAAC,yGAAsC;AAC1E,gBAAgB,mBAAO,CAAC,+EAAyB;;AAEjD;AACA;AACA;AACA;AACA;;AAEA,qCAAqC;;AAErC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,0BAA0B;AAC1B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;;;;;;;;;;;ACnFa;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,8BAA8B,mBAAO,CAAC,yGAAsC;AAC5E,2BAA2B,mBAAO,CAAC,uGAAqC;AACxE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACpBa;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,qBAAqB,mBAAO,CAAC,uFAA6B;AAC1D,8BAA8B,mBAAO,CAAC,yGAAsC;AAC5E,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,yFAA8B;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,EAAE;AACF;AACA;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;AACA;AACA;AACA;;;;;;;;;;;;AC3Ca;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,iCAAiC,mBAAO,CAAC,qHAA4C;AACrF,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,aAAa,mBAAO,CAAC,2FAA+B;AACpD,qBAAqB,mBAAO,CAAC,uFAA6B;;AAE1D;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;AACA;;;;;;;;;;;;ACtBa;AACb;AACA,cAAc,mBAAO,CAAC,iFAA0B;AAChD,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,2BAA2B,8IAAuD;AAClF,iBAAiB,mBAAO,CAAC,+FAAiC;;AAE1D;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;;;;;;;;;;;ACvBa;AACb,yBAAyB,mBAAO,CAAC,mGAAmC;AACpE,kBAAkB,mBAAO,CAAC,qFAA4B;;AAEtD;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;;;;;;;;;;;;ACXa;AACb;AACA,SAAS;;;;;;;;;;;;ACFI;AACb,aAAa,mBAAO,CAAC,2FAA+B;AACpD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,+BAA+B,mBAAO,CAAC,2GAAuC;;AAE9E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;;;;;;;;;;;ACrBa;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,cAAc,mBAAO,CAAC,iFAA0B;AAChD,kCAAkC,mBAAO,CAAC,iHAA0C;;AAEpF;AACA;AACA,8CAA8C,mBAAmB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;;;;;;;;;;AChBW;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D,+BAA+B;;;;;;;;;;;;ACHlB;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,aAAa,mBAAO,CAAC,2FAA+B;AACpD,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,cAAc,sHAA8C;AAC5D,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACpBa;AACb,yBAAyB,mBAAO,CAAC,mGAAmC;AACpE,kBAAkB,mBAAO,CAAC,qFAA4B;;AAEtD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,8BAA8B;AAC9B;AACA;;AAEA;AACA,4EAA4E,MAAM;;AAElF;AACA;AACA,SAAS;AACT;AACA;AACA,EAAE;;;;;;;;;;;;ACbW;AACb,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,qGAAoC;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,aAAa;AAC9D;AACA,CAAC;;;;;;;;;;;;AChBY;AACb;AACA,0BAA0B,mBAAO,CAAC,uHAA6C;AAC/E,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,yBAAyB,mBAAO,CAAC,mGAAmC;;AAEpE;AACA;AACA;AACA;AACA,6DAA6D;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC1BY;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,2BAA2B,mBAAO,CAAC,yGAAsC;AACzE,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,4BAA4B,8IAAuD;;AAEnF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED,aAAa,iBAAiB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChDa;AACb,4BAA4B,mBAAO,CAAC,qGAAoC;AACxE,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;AACA;AACA,2CAA2C;AAC3C;AACA;;;;;;;;;;;;ACRa;AACb,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACfa;AACb,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,gCAAgC,mBAAO,CAAC,qHAA4C;AACpF,kCAAkC,mBAAO,CAAC,yHAA8C;AACxF,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACda;AACb,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;;;;;;;;;;;;ACHa;AACb;AACA;AACA,aAAa;AACb,IAAI;AACJ,aAAa;AACb;AACA;;;;;;;;;;;;ACPa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,iBAAiB,mBAAO,CAAC,6FAAgC;AACzD,cAAc,mBAAO,CAAC,uFAA6B;AACnD,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,iBAAiB,mBAAO,CAAC,6FAAgC;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;AACA;AACA;AACA;AACA,oEAAoE,aAAa;AACjF;AACA,yBAAyB,aAAa,gBAAgB,aAAa;AACnE;AACA;AACA;AACA,6CAA6C,aAAa;AAC1D;AACA;AACA,IAAI;AACJ,CAAC;;AAED;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC/Ca;AACb,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;;;;;;;;;;;;ACHa;AACb,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,2BAA2B,mBAAO,CAAC,uGAAqC;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZa;AACb,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,iCAAiC,wJAAiE;;AAElG;AACA,uEAAuE,aAAa;AACpF,CAAC;;;;;;;;;;;;ACPY;AACb,qBAAqB,gIAAgD;;AAErE;AACA;AACA;AACA,uBAAuB,qBAAqB;AAC5C,yBAAyB;AACzB,GAAG;AACH;;;;;;;;;;;;ACTa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACxBa;AACb,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,cAAc,mBAAO,CAAC,iFAA0B;AAChD,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACpBa;AACb;AACA;AACA,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,kBAAkB,mBAAO,CAAC,mFAA2B;AACrD,oBAAoB,mBAAO,CAAC,qGAAoC;AAChE,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,aAAa,mBAAO,CAAC,qFAA4B;AACjD,uBAAuB,kHAA0C;AACjE,0BAA0B,mBAAO,CAAC,+GAAyC;AAC3E,sBAAsB,mBAAO,CAAC,uGAAqC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,0BAA0B;AAC9C;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,kBAAkB,mBAAmB;AACrC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;ACpHa;AACb,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACjBa;AACb,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,aAAa,mBAAO,CAAC,2FAA+B;AACpD,oBAAoB,mBAAO,CAAC,uGAAqC;AACjE,kBAAkB,mBAAO,CAAC,mFAA2B;;AAErD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZa;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC9Ba;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,wBAAwB,mBAAO,CAAC,mGAAmC;;AAEnE;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,YAAY,mBAAO,CAAC,uFAA6B;AACjD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,oBAAoB,mBAAO,CAAC,qFAA4B;AACxD,iBAAiB,mBAAO,CAAC,6FAAgC;AACzD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,8BAA8B,mBAAO,CAAC,6GAAwC;;AAE9E;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,IAAI;AACJ;;;;;;;;;;;;AC9Ba;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACba;AACb,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,kBAAkB,mBAAO,CAAC,iFAA0B;;AAEpD;;AAEA;AACA;;AAEA;AACA;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA;;;;;;;;;;;;ACjBa;AACb,qBAAqB,gIAAgD;AACrE,aAAa,mBAAO,CAAC,2FAA+B;AACpD,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;;AAEA;AACA;AACA;AACA,4CAA4C,gCAAgC;AAC5E;AACA;;;;;;;;;;;;ACZa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,UAAU,mBAAO,CAAC,iEAAkB;;AAEpC;;AAEA;AACA;AACA;;;;;;;;;;;;ACRa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,2BAA2B,mBAAO,CAAC,uGAAqC;;AAExE;AACA,6DAA6D;;AAE7D;;;;;;;;;;;;ACPa;AACb,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,YAAY,mBAAO,CAAC,mFAA2B;;AAE/C;AACA,qEAAqE;AACrE,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,mBAAmB,mBAAO,CAAC,qFAA4B;AACvD,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACda;AACb,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACVa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,6BAA6B,mBAAO,CAAC,2GAAuC;;AAE5E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACpCa;AACb;AACA,gBAAgB,mBAAO,CAAC,6FAAgC;;AAExD,uCAAuC,IAAI;;;;;;;;;;;;ACJ9B;AACb;AACA,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,cAAc,mBAAO,CAAC,qFAA4B;AAClD,6BAA6B,mBAAO,CAAC,2GAAuC;;AAE5E;AACA;AACA;;AAEA,uBAAuB,kBAAkB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnCa;AACb;AACA,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB,qBAAqB;AACrB,oCAAoC;AACpC,gDAAgD;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC;AACA,QAAQ;AACR,wCAAwC;AACxC;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc,kBAAkB;AAChC;AACA;AACA;AACA;AACA;;AAEA,mCAAmC;AACnC,oCAAoC;;AAEpC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAgB,kBAAkB;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,gBAAgB,kBAAkB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAmB;AACjC;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACpLa;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,6BAA6B,mBAAO,CAAC,2GAAuC;;AAE5E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,OAAO;AACf;AACA;;;;;;;;;;;;AChBa;AACb,eAAe,4GAAuC;AACtD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE,uBAAuB,oBAAoB;AAC3C;AACA;AACA;AACA;AACA;AACA,EAAE;;;;;;;;;;;;ACVW;AACb,2BAA2B,mHAA4C;AACvE,YAAY,mBAAO,CAAC,qEAAoB;AACxC,kBAAkB,mBAAO,CAAC,iFAA0B;;AAEpD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACfa;AACb,iBAAiB,8GAAyC;AAC1D,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE,uBAAuB,qBAAqB;AAC5C;AACA;AACA;AACA;AACA;AACA,EAAE;;;;;;;;;;;;ACVW;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,kBAAkB,mBAAO,CAAC,iFAA0B;;AAEpD;AACA;AACA;;AAEA,uBAAuB,+CAA+C;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB,qBAAqB;AAC9C;AACA;AACA,yBAAyB,oBAAoB;AAC7C;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC9Ba;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,SAAS,mBAAO,CAAC,6FAAgC;AACjD,iBAAiB,mBAAO,CAAC,6FAAgC;AACzD,cAAc,mBAAO,CAAC,uFAA6B;AACnD,cAAc,mBAAO,CAAC,uFAA6B;;AAEnD;;AAEA;AACA;AACA;AACA;AACA;AACA,wCAAwC,oBAAoB;AAC5D;AACA,CAAC;;;;;;;;;;;;ACjBY;AACb;AACA,iBAAiB,mBAAO,CAAC,6FAAgC;AACzD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClBY;AACb,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,oBAAoB,mBAAO,CAAC,yFAA8B;;AAE1D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,IAAI,UAAU;AACnB;AACA;;;;;;;;;;;;ACpBa;AACb,oBAAoB,mBAAO,CAAC,mHAA2C;;AAEvE;AACA;;;;;;;;;;;;ACJa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,YAAY,mBAAO,CAAC,uFAA6B;AACjD,WAAW,mBAAO,CAAC,qGAAoC;AACvD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,aAAa,mBAAO,CAAC,2FAA+B;AACpD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,WAAW,mBAAO,CAAC,mEAAmB;AACtC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,oBAAoB,mBAAO,CAAC,yGAAsC;AAClE,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,aAAa,mBAAO,CAAC,qFAA4B;AACjD,cAAc,mBAAO,CAAC,uFAA6B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACpHa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D;AACA;AACA;;;;;;;;;;;;ACLa;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;AACA;;AAEA;AACA;AACA,6DAA6D;AAC7D;AACA;AACA;AACA;;;;;;;;;;;;ACZa;AACb,kBAAkB,mBAAO,CAAC,mFAA2B;;AAErD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZa;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACda;AACb;AACA,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,6BAA6B,mBAAO,CAAC,2GAAuC;;AAE5E;AACA;AACA;;;;;;;;;;;;ACPa;AACb,YAAY,mBAAO,CAAC,+EAAyB;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;;AAEA;AACA;AACA;AACA,kFAAkF;AAClF;;;;;;;;;;;;ACTa;AACb,6BAA6B,mBAAO,CAAC,2GAAuC;;AAE5E;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,wBAAwB,mBAAO,CAAC,iGAAkC;;AAElE;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,0BAA0B,mBAAO,CAAC,qGAAoC;AACtE,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACzBa;AACb,kBAAkB,mBAAO,CAAC,mFAA2B;AACrD,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;;AAEA;;AAEA;;;;;;;;;;;;ACRa;AACb,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACRa;AACb;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACNa;AACb,cAAc,mBAAO,CAAC,uFAA6B;;AAEnD;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;;;;;;;;;;;;ACRa;AACb;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;;;;;;;;;;;ACTa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,kDAAkD,mBAAO,CAAC,6IAAwD;AAClH,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,wBAAwB,mBAAO,CAAC,mFAA2B;AAC3D,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,uBAAuB,mBAAO,CAAC,+FAAiC;AAChE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,cAAc,mBAAO,CAAC,2EAAuB;AAC7C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,aAAa,mBAAO,CAAC,2FAA+B;AACpD,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,aAAa,mBAAO,CAAC,qFAA4B;AACjD,oBAAoB,mBAAO,CAAC,uGAAqC;AACjE,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,0BAA0B,8IAAuD;AACjF,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,cAAc,wHAA+C;AAC7D,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,2BAA2B,mBAAO,CAAC,uGAAqC;AACxE,qCAAqC,mBAAO,CAAC,+HAAiD;AAC9F,0BAA0B,mBAAO,CAAC,uFAA6B;AAC/D,wBAAwB,mBAAO,CAAC,iGAAkC;;AAElE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAM,kEAAkE;AACxE;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;;AAEP;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA,QAAQ,mFAAmF;;AAE3F;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE,oCAAoC;;;;;;;;;;;;ACpPzB;AACb;AACA,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,gCAAgC,wJAAwE;;AAExG;AACA;;AAEA;AACA;AACA,CAAC;AACD;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA,CAAC;;;;;;;;;;;;ACtBY;AACb,kCAAkC,mBAAO,CAAC,yHAA8C;AACxF,mCAAmC,mBAAO,CAAC,yHAA8C;;AAEzF;AACA;AACA;;;;;;;;;;;;ACNa;AACb,WAAW,mBAAO,CAAC,qGAAoC;AACvD,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,mBAAmB,mBAAO,CAAC,qFAA4B;AACvD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,kBAAkB,mBAAO,CAAC,mFAA2B;AACrD,wBAAwB,mBAAO,CAAC,iGAAkC;AAClE,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,oBAAoB,mBAAO,CAAC,2FAA+B;AAC3D,6BAA6B,qJAAqE;AAClG,eAAe,mBAAO,CAAC,+EAAyB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,YAAY;AAC1B;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACzCa;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,yBAAyB,mBAAO,CAAC,iGAAkC;;AAEnE;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXa;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACTa;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACzCY;AACb;AACA,oBAAoB,mBAAO,CAAC,mHAA2C;;AAEvE;AACA;AACA;;;;;;;;;;;;ACNa;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA;AACA,6CAA6C,aAAa;AAC1D;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;ACZY;AACb;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACNa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;;AAEA;;;;;;;;;;;;ACNa;AACb,WAAW,mBAAO,CAAC,mEAAmB;AACtC,aAAa,mBAAO,CAAC,2FAA+B;AACpD,mCAAmC,mBAAO,CAAC,6GAAwC;AACnF,qBAAqB,gIAAgD;;AAErE;AACA,+CAA+C;AAC/C;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACXa;AACb,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D,SAAS;;;;;;;;;;;;ACHI;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,aAAa,mBAAO,CAAC,2FAA+B;AACpD,UAAU,mBAAO,CAAC,iEAAkB;AACpC,oBAAoB,mBAAO,CAAC,mHAA2C;AACvE,wBAAwB,mBAAO,CAAC,6FAAgC;;AAEhE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;;;;;;;;;;;AClBa;AACb;AACA;AACA;;;;;;;;;;;;ACHa;AACb,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,aAAa,mBAAO,CAAC,2FAA+B;AACpD,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,oBAAoB,mBAAO,CAAC,uGAAqC;AACjE,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,gCAAgC,mBAAO,CAAC,iHAA0C;AAClF,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,wBAAwB,mBAAO,CAAC,iGAAkC;AAClE,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,wBAAwB,mBAAO,CAAC,iGAAkC;AAClE,wBAAwB,mBAAO,CAAC,iGAAkC;AAClE,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA,8DAA8D,YAAY;AAC1E,IAAI;AACJ;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,gBAAgB;;AAEpB;AACA;;;;;;;;;;;;AChEa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,YAAY,mBAAO,CAAC,uFAA6B;AACjD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,oCAAoC,mBAAO,CAAC,6HAAgD;;AAE5F;AACA;;AAEA;AACA;AACA,CAAC;AACD,iDAAiD,UAAU;AAC3D,CAAC;;AAED;AACA,IAAI,2DAA2D;AAC/D;AACA;AACA,sDAAsD;AACtD,GAAG;AACH,CAAC;;;;;;;;;;;;ACtBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,oBAAoB,mBAAO,CAAC,uGAAqC;AACjE,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,gCAAgC,mBAAO,CAAC,iHAA0C;AAClF,aAAa,mBAAO,CAAC,qFAA4B;AACjD,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,wBAAwB,mBAAO,CAAC,iGAAkC;AAClE,wBAAwB,mBAAO,CAAC,iGAAkC;AAClE,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,mBAAmB;AAC7C;AACA;AACA;;AAEA;AACA,0DAA0D,YAAY;;AAEtE;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,IAAI,2CAA2C;AAC/C;AACA,CAAC;;;;;;;;;;;;AClDY;AACb;AACA,mBAAO,CAAC,mHAA2C;;;;;;;;;;;;ACFtC;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,wBAAwB,mBAAO,CAAC,mFAA2B;AAC3D,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;AACA;AACA;;AAEA;AACA;AACA,IAAI,4EAA4E;AAChF;AACA,CAAC;;AAED;;;;;;;;;;;;AChBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;;AAEA;AACA;AACA,IAAI,uEAAuE;AAC3E;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,mHAA2C;AACrE,YAAY,mBAAO,CAAC,qEAAoB;AACxC,wBAAwB,mBAAO,CAAC,mFAA2B;AAC3D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,yBAAyB,mBAAO,CAAC,iGAAkC;;AAEnE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,IAAI,2EAA2E;AAC/E;AACA;AACA,4DAA4D;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,CAAC;;;;;;;;;;;;ACvCY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;ACnBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,qEAAoB;AACxC,cAAc,mBAAO,CAAC,2EAAuB;AAC7C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,+BAA+B,mBAAO,CAAC,mHAA2C;AAClF,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,yBAAyB,mBAAO,CAAC,mGAAmC;AACpE,mCAAmC,mBAAO,CAAC,2HAA+C;AAC1F,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,iBAAiB,mBAAO,CAAC,6FAAgC;;AAEzD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,IAAI,wDAAwD;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,YAAY;AACxD;AACA;AACA;AACA;AACA,oBAAoB,SAAS;AAC7B,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACzDY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,6FAAgC;AACzD,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;AACA,IAAI,8BAA8B;AAClC;AACA,CAAC;;AAED;AACA;;;;;;;;;;;;ACZa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,sHAA6C;AAC1D,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;;AAEA;AACA;AACA,IAAI,sDAAsD;AAC1D;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACbY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,+EAAyB;AAC5C,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;AACA,IAAI,8BAA8B;AAClC;AACA,CAAC;;AAED;AACA;;;;;;;;;;;;ACZa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,uHAA8C;AAC5D,mCAAmC,mBAAO,CAAC,2HAA+C;;AAE1F;;AAEA;AACA;AACA;AACA,IAAI,4DAA4D;AAChE;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACdY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,0HAAiD;AAClE,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;;AAEA;AACA;AACA,yDAAyD,sBAAsB;;AAE/E;AACA;AACA,IAAI,mDAAmD;AACvD;AACA;AACA;AACA,CAAC;;AAED;AACA;;;;;;;;;;;;ACrBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,qBAAqB,kJAA+D;AACpF,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;ACba;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,gBAAgB,6IAA0D;AAC1E,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;ACba;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,qHAA4C;AACxD,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;;AAEA;AACA;AACA,6CAA6C,sBAAsB;;AAEnE;AACA;AACA,IAAI,mDAAmD;AACvD;AACA;AACA;AACA,CAAC;;AAED;AACA;;;;;;;;;;;;ACrBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,uBAAuB,mBAAO,CAAC,+FAAiC;AAChE,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,yBAAyB,mBAAO,CAAC,mGAAmC;;AAEpE;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACpBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,uBAAuB,mBAAO,CAAC,+FAAiC;AAChE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,yBAAyB,mBAAO,CAAC,mGAAmC;;AAEpE;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACnBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,mBAAO,CAAC,uFAA6B;;AAEnD;AACA;AACA;AACA,IAAI,8DAA8D;AAClE;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,+EAAyB;AAC5C,kCAAkC,mBAAO,CAAC,uHAA6C;;AAEvF;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,IAAI,0DAA0D;AAC9D;AACA,CAAC;;;;;;;;;;;;ACdY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,gBAAgB,uHAA+C;AAC/D,YAAY,mBAAO,CAAC,qEAAoB;AACxC,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,IAAI,wDAAwD;AAC5D;AACA;AACA;AACA,CAAC;;AAED;AACA;;;;;;;;;;;;ACrBa;AACb;AACA,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,mHAA2C;AACrE,eAAe,sHAA8C;AAC7D,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;;AAEA;AACA;;AAEA;AACA;AACA,IAAI,8CAA8C;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACtBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,mBAAO,CAAC,2EAAuB;;AAE7C;AACA;AACA,IAAI,6BAA6B;AACjC;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,uBAAuB,mBAAO,CAAC,+FAAiC;AAChE,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,0BAA0B,mBAAO,CAAC,uFAA6B;AAC/D,qBAAqB,gIAAgD;AACrE,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,6BAA6B,mBAAO,CAAC,6GAAwC;AAC7E,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,kBAAkB,mBAAO,CAAC,iFAA0B;;AAEpD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,iBAAiB;AACpD,EAAE,gBAAgB;;;;;;;;;;;;AC9DL;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;;AAEA;AACA;;AAEA;AACA;AACA,IAAI,8CAA8C;AAClD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iGAAkC;;AAE5D;AACA;AACA;AACA,IAAI,sEAAsE;AAC1E;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,oHAA2C;AACtD,mCAAmC,mBAAO,CAAC,2HAA+C;;AAE1F;;AAEA;AACA;AACA;AACA,IAAI,4DAA4D;AAChE;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACdY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,qEAAoB;AACxC,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,qBAAqB,mBAAO,CAAC,yFAA8B;;AAE3D;;AAEA;AACA,iBAAiB;AACjB;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,IAAI,mDAAmD;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC1BY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,+BAA+B,mBAAO,CAAC,mHAA2C;AAClF,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA,wBAAwB,qBAAqB;AAC7C,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,0CAA0C,iBAAiB;AAC3D,IAAI;AACJ;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI,wDAAwD;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,cAAc;AAClC;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACzCY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,mBAAmB,gHAA0C;AAC7D,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,cAAc,mBAAO,CAAC,uFAA6B;;AAEnD;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI,8CAA8C;AAClD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,+GAAyC;AACvD,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,cAAc,mBAAO,CAAC,uFAA6B;;AAEnD;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI,8CAA8C;AAClD;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACnBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,cAAc,mBAAO,CAAC,2EAAuB;;AAE7C;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI,+EAA+E;AACnF;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,mBAAO,CAAC,2EAAuB;AAC7C,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,mCAAmC,mBAAO,CAAC,2HAA+C;AAC1F,kBAAkB,mBAAO,CAAC,iFAA0B;;AAEpD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI,4DAA4D;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,SAAS;AACzB;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AChDY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,qHAA4C;AACxD,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;;AAEA;AACA;AACA,IAAI,sDAAsD;AAC1D;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACbY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,mBAAmB,mBAAO,CAAC,+EAAyB;AACpD,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,SAAS,mBAAO,CAAC,6FAAgC;AACjD,iBAAiB,mBAAO,CAAC,mGAAmC;AAC5D,SAAS,mBAAO,CAAC,6FAAgC;AACjD,aAAa,mBAAO,CAAC,qGAAoC;;AAEzD;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,kBAAkB,WAAW;AAC7B;;AAEA;AACA,qDAAqD;AACrD,mCAAmC;AACnC;AACA;;AAEA,oBAAoB,YAAY;AAChC,kBAAkB,0BAA0B;AAC5C;AACA;;AAEA,8BAA8B,mBAAmB;;AAEjD,kBAAkB,qBAAqB;AACvC;AACA;AACA;;AAEA;AACA,CAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI,8CAA8C;AAClD;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA,oBAAoB,qBAAqB;AACzC;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,CAAC;;;;;;;;;;;;ACzGY;AACb,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;AACA;AACA;;;;;;;;;;;;ACLa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,+BAA+B,mBAAO,CAAC,mHAA2C;AAClF,yBAAyB,mBAAO,CAAC,mGAAmC;AACpE,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,mCAAmC,mBAAO,CAAC,2HAA+C;;AAE1F;;AAEA;AACA;;AAEA;AACA;AACA;AACA,IAAI,4DAA4D;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,gBAAgB,uBAAuB;AACvC;AACA;AACA;AACA;AACA;AACA,4BAA4B,6BAA6B;AACzD;AACA;AACA;AACA;AACA;AACA,oBAAoB,2CAA2C;AAC/D,MAAM;AACN,wCAAwC,iBAAiB;AACzD;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,iBAAiB;AACjC;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClEY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;;AAEA;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;AChBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,kCAAkC,mBAAO,CAAC,yHAA8C;AACxF,iBAAiB,mBAAO,CAAC,qFAA4B;AACrD,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;;AAEA;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;ACvBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,uBAAuB,mBAAO,CAAC,+FAAiC;AAChE,+BAA+B,mBAAO,CAAC,mHAA2C;AAClF,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;AACA;AACA;;AAEA;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA,WAAW,iBAAiB;AAC5B,WAAW,+BAA+B;AAC1C,WAAW,YAAY;;AAEvB;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;AC3Ca;AACb;AACA;AACA,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;;;;;;;;;;;;ACNa;AACb;AACA;AACA,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;;;;;;;;;;;;ACNa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,+BAA+B,mBAAO,CAAC,mHAA2C;;AAElF;AACA;;AAEA;AACA;AACA;AACA;AACA,0CAA0C,iBAAiB;AAC3D,IAAI;AACJ;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI,wDAAwD;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,cAAc;AACpC;AACA;AACA,MAAM;AACN;AACA,CAAC;;;;;;;;;;;;AC5CY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;;AAEA;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACbY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,wBAAwB,mBAAO,CAAC,mFAA2B;AAC3D,0BAA0B,mBAAO,CAAC,mHAA2C;;AAE7E;AACA;AACA,IAAI,+DAA+D;AACnE;AACA,CAAC;;;;;;;;;;;;ACTY;AACb;AACA,mBAAO,CAAC,uGAAqC;;;;;;;;;;;;ACFhC;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,IAAI,6CAA6C;AACjD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACnBY;AACb;AACA,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D;AACA;;AAEA;AACA;AACA,IAAI,4BAA4B;AAChC;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACdY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;AACA;AACA;;AAEA;AACA;AACA,IAAI,6BAA6B;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACnBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;;AAErC;AACA;AACA,IAAI,6BAA6B;AACjC;AACA,CAAC;;;;;;;;;;;;ACPY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,+FAAiC;;AAE3D;AACA;AACA;AACA,IAAI,iFAAiF;AACrF;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,qEAAoB;AACxC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,kBAAkB,mBAAO,CAAC,mFAA2B;;AAErD;AACA;AACA,oCAAoC,2BAA2B,aAAa;AAC5E,CAAC;;AAED;AACA;AACA,IAAI,uDAAuD;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACpBY;AACb,aAAa,mBAAO,CAAC,2FAA+B;AACpD,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACba;AACb;AACA,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,oBAAoB,mBAAO,CAAC,yFAA8B;;AAE1D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACnBa;AACb;AACA,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,YAAY,mBAAO,CAAC,uFAA6B;AACjD,oCAAoC,mBAAO,CAAC,6HAAgD;;AAE5F;AACA;;AAEA,0BAA0B,UAAU;;AAEpC;AACA;AACA;AACA,MAAM,2DAA2D;AACjE;;AAEA;AACA;AACA;AACA;AACA,QAAQ,+EAA+E;AACvF;AACA;;AAEA;AACA;AACA,mCAAmC;AACnC,CAAC;AACD;AACA,uCAAuC;AACvC,CAAC;AACD;AACA,wCAAwC;AACxC,CAAC;AACD;AACA,4CAA4C;AAC5C,CAAC;AACD;AACA,yCAAyC;AACzC,CAAC;AACD;AACA,uCAAuC;AACvC,CAAC;AACD;AACA,sCAAsC;AACtC,CAAC;AACD;AACA,0CAA0C;AAC1C,CAAC;AACD;AACA,uCAAuC;AACvC,CAAC;AACD;AACA,0CAA0C;AAC1C,CAAC;;;;;;;;;;;;ACxDY;AACb,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,oBAAoB,mBAAO,CAAC,yFAA8B;;AAE1D;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI,cAAc;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,MAAM;AACN;AACA,CAAC;;;;;;;;;;;;AC1CY;AACb;AACA,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;;AAE/C;AACA;AACA;AACA,IAAI,iEAAiE;AACrE;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,2BAA2B,mBAAO,CAAC,uGAAqC;AACxE,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,kBAAkB,mBAAO,CAAC,qFAA4B;;AAEtD;AACA;;AAEA;AACA;AACA;AACA,4DAA4D;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,iBAAiB;AACpB;;;;;;;;;;;;ACtBa;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,2BAA2B,mHAA4C;AACvE,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACzBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;AACA;AACA,IAAI,oDAAoD;AACxD;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,YAAY,mBAAO,CAAC,uFAA6B;AACjD,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,YAAY,mBAAO,CAAC,qEAAoB;AACxC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,0BAA0B,mBAAO,CAAC,+GAAyC;AAC3E,oBAAoB,mBAAO,CAAC,mHAA2C;;AAEvE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,oBAAoB,WAAW,SAAS;AACxC;AACA,yCAAyC;AACzC,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,4EAA4E;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA,MAAM,8FAA8F;AACpG;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACxEa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,qBAAqB,mBAAO,CAAC,6FAAgC;;AAE7D;AACA;AACA;;;;;;;;;;;;ACNa;AACb,iBAAiB,mBAAO,CAAC,+EAAyB;AAClD,uBAAuB,mBAAO,CAAC,6FAAgC;;AAE/D;AACA;AACA;AACA,0BAA0B;AAC1B,CAAC;;;;;;;;;;;;ACRY;AACb;AACA,mBAAO,CAAC,2FAA+B;;;;;;;;;;;;ACF1B;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,+EAAyB;;AAE7C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI,4CAA4C;AAChD;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACzBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;;AAErC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,IAAI,4CAA4C;AAChD;AACA,CAAC;;;;;;;;;;;;ACpBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;;AAErC;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,IAAI,4CAA4C;AAChD;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACjBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,6EAAwB;;AAE3C;AACA;;AAEA;AACA;AACA,IAAI,4BAA4B;AAChC;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACdY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;;AAErC;AACA;AACA;;AAEA;AACA;AACA,IAAI,4BAA4B;AAChC;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACdY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,+EAAyB;;AAE7C;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI,4CAA4C;AAChD;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,+EAAyB;;AAE7C;AACA;AACA;AACA,IAAI,0DAA0D,IAAI,cAAc;;;;;;;;;;;;ACPnE;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,iFAA0B;;AAE/C;AACA;AACA,IAAI,4BAA4B,IAAI,gBAAgB;;;;;;;;;;;;ACNvC;AACb,QAAQ,mBAAO,CAAC,uEAAqB;;AAErC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,IAAI,sDAAsD;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACnCY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,IAAI,4CAA4C;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACvBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,+EAAyB;;AAE7C;AACA;AACA,IAAI,4BAA4B;AAChC;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,+EAAyB;;AAE7C;AACA;AACA,IAAI,4BAA4B,IAAI,cAAc;;;;;;;;;;;;ACNrC;AACb,QAAQ,mBAAO,CAAC,uEAAqB;;AAErC;AACA;;AAEA;AACA;AACA,IAAI,4BAA4B;AAChC;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,6EAAwB;;AAE3C;AACA;AACA,IAAI,4BAA4B;AAChC;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,qEAAoB;AACxC,YAAY,mBAAO,CAAC,+EAAyB;;AAE7C;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,IAAI,4CAA4C;AAChD;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACtBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,+EAAyB;;AAE7C;;AAEA;AACA;AACA,IAAI,4BAA4B;AAChC;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACfY;AACb,qBAAqB,mBAAO,CAAC,6FAAgC;;AAE7D;AACA;AACA;;;;;;;;;;;;ACLa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,+EAAyB;;AAE7C;AACA;AACA,IAAI,4BAA4B;AAChC;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,WAAW,mBAAO,CAAC,mEAAmB;AACtC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,aAAa,mBAAO,CAAC,2FAA+B;AACpD,wBAAwB,mBAAO,CAAC,iGAAkC;AAClE,oBAAoB,mBAAO,CAAC,uGAAqC;AACjE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,kBAAkB,mBAAO,CAAC,mFAA2B;AACrD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,0BAA0B,8IAAuD;AACjF,+BAA+B,wJAA4D;AAC3F,qBAAqB,gIAAgD;AACrE,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,WAAW,6GAAwC;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,gBAAgB;AACtC;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,IAAI;AACJ;;AAEA;;AAEA;AACA;AACA,sEAAsE,yBAAyB;AAC/F;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,IAAI,6DAA6D;AACjE;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,iBAAiB;AAC7C;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;AClHa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;;AAErC;AACA;AACA,IAAI,wEAAwE;AAC5E;AACA,CAAC;;;;;;;;;;;;ACPY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,qBAAqB,mBAAO,CAAC,2FAA+B;;AAE5D;AACA;AACA,IAAI,8BAA8B,IAAI,0BAA0B;;;;;;;;;;;;ACNnD;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;AACA;AACA,IAAI,8BAA8B;AAClC;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;;AAErC;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,uBAAuB,mBAAO,CAAC,+FAAiC;;AAEhE;;AAEA;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;;AAErC;AACA;AACA,IAAI,wEAAwE;AAC5E;AACA,CAAC;;;;;;;;;;;;ACPY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;;AAErC;AACA;AACA,IAAI,wEAAwE;AAC5E;AACA,CAAC;;;;;;;;;;;;ACPY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,+FAAiC;;AAE1D;AACA;AACA;AACA,IAAI,wEAAwE;AAC5E;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,2FAA+B;;AAEtD;AACA;AACA;AACA,IAAI,oEAAoE;AACxE;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,cAAc,mBAAO,CAAC,qFAA4B;AAClD,YAAY,mBAAO,CAAC,+EAAyB;AAC7C,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA,IAAI,+CAA+C;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACrGY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,cAAc,mBAAO,CAAC,qFAA4B;AAClD,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,kBAAkB;AAClB,CAAC;;AAED;AACA;AACA,IAAI,+CAA+C;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA,CAAC;;;;;;;;;;;;AClIY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,YAAY,mBAAO,CAAC,qEAAoB;AACxC,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;;AAEA;AACA;AACA;AACA,CAAC;AACD;AACA,sBAAsB;AACtB,CAAC;;AAED;AACA;AACA,IAAI,+CAA+C;AACnD;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACxBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,qFAA4B;;AAEjD;AACA;AACA;AACA,IAAI,0EAA0E;AAC9E;AACA,CAAC;;;;;;;;;;;;ACTY;AACb;AACA,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,aAAa,mBAAO,CAAC,qFAA4B;;AAEjD;AACA;AACA,IAAI,kDAAkD;AACtD;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,aAAa,mBAAO,CAAC,6HAAgD;AACrE,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,2BAA2B,mBAAO,CAAC,uGAAqC;;AAExE;AACA;AACA;AACA,MAAM,+CAA+C;AACrD;AACA,kDAAkD,8DAA8D;AAChH;AACA,GAAG;AACH;;;;;;;;;;;;AChBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,uBAAuB,oIAAkD;;AAEzE;AACA;AACA;AACA,IAAI,wGAAwG;AAC5G;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,qBAAqB,gIAAgD;;AAErE;AACA;AACA;AACA,IAAI,oGAAoG;AACxG;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,aAAa,mBAAO,CAAC,6HAAgD;AACrE,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,2BAA2B,mBAAO,CAAC,uGAAqC;;AAExE;AACA;AACA;AACA,MAAM,+CAA+C;AACrD;AACA,kDAAkD,8DAA8D;AAChH;AACA,GAAG;AACH;;;;;;;;;;;;AChBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,wHAA+C;;AAE9D;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,6HAAkD;;AAEjE;AACA;AACA,8CAA8C,aAAa;;AAE3D;AACA;AACA,IAAI,4EAA4E;AAChF;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACjBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,qBAAqB,mBAAO,CAAC,yFAA8B;;AAE3D;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA;AACA,KAAK,IAAI,kBAAkB;AAC3B;AACA;AACA,CAAC;;;;;;;;;;;;ACfY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,qEAAoB;AACxC,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,qCAAqC,wJAA4D;AACjG,kBAAkB,mBAAO,CAAC,iFAA0B;;AAEpD,iDAAiD,oCAAoC;;AAErF;AACA;AACA,IAAI,kEAAkE;AACtE;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACfY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,cAAc,mBAAO,CAAC,2EAAuB;AAC7C,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,qCAAqC,mBAAO,CAAC,+HAAiD;AAC9F,qBAAqB,mBAAO,CAAC,yFAA8B;;AAE3D;AACA;AACA,IAAI,kDAAkD;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACxBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,qEAAoB;AACxC,0BAA0B,gKAAgE;;AAE1F;AACA,8CAA8C,wCAAwC;;AAEtF;AACA;AACA,IAAI,2DAA2D;AAC/D;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,oBAAoB,mBAAO,CAAC,mHAA2C;AACvE,YAAY,mBAAO,CAAC,qEAAoB;AACxC,kCAAkC,mBAAO,CAAC,yHAA8C;AACxF,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA,mDAAmD,mCAAmC;;AAEtF;AACA;AACA,IAAI,8CAA8C;AAClD;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,qEAAoB;AACxC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,2BAA2B,mBAAO,CAAC,yGAAsC;AACzE,+BAA+B,mBAAO,CAAC,2GAAuC;;AAE9E,8CAA8C,0BAA0B;;AAExE;AACA;AACA,IAAI,4FAA4F;AAChG;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACfY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,2FAA+B;;AAEpD;AACA;AACA,IAAI,8BAA8B;AAClC;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,oBAAoB,mBAAO,CAAC,mGAAmC;;AAE/D;AACA;AACA;AACA,IAAI,6EAA6E;AACjF;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,qEAAoB;AACxC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,cAAc,mBAAO,CAAC,iFAA0B;AAChD,kCAAkC,mBAAO,CAAC,iHAA0C;;AAEpF;AACA;;AAEA,gEAAgE,eAAe;;AAE/E;AACA;AACA,IAAI,8CAA8C;AAClD;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACpBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,mBAAO,CAAC,qEAAoB;AACxC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,cAAc,mBAAO,CAAC,iFAA0B;AAChD,kCAAkC,mBAAO,CAAC,iHAA0C;;AAEpF;AACA;;AAEA,gEAAgE,eAAe;;AAE/E;AACA;AACA,IAAI,8CAA8C;AAClD;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACpBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,SAAS,mBAAO,CAAC,+EAAyB;;AAE1C;AACA;AACA,IAAI,8BAA8B;AAClC;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,YAAY,mBAAO,CAAC,qEAAoB;;AAExC,8CAA8C,gBAAgB;;AAE9D;AACA;AACA,IAAI,2DAA2D;AAC/D;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACdY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,aAAa,mBAAO,CAAC,6HAAgD;AACrE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,+BAA+B,wJAA4D;;AAE3F;AACA;AACA;AACA,MAAM,+CAA+C;AACrD;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,GAAG;AACH;;;;;;;;;;;;ACtBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,aAAa,mBAAO,CAAC,6HAAgD;AACrE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,+BAA+B,wJAA4D;;AAE3F;AACA;AACA;AACA,MAAM,+CAA+C;AACrD;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,GAAG;AACH;;;;;;;;;;;;ACtBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,6HAAkD;AACjE,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA,8CAA8C,wBAAwB;;AAEtE;AACA;AACA,IAAI,4EAA4E;AAChF;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACjBY;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,6BAA6B,mBAAO,CAAC,2GAAuC;;AAE5E;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE,gBAAgB;;;;;;;;;;;;AC5BL;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,6HAAkD;AACjE,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA,8CAA8C,WAAW;;AAEzD;AACA;AACA,IAAI,4EAA4E;AAChF;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACjBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,qBAAqB,mBAAO,CAAC,yGAAsC;;AAEnE;AACA;AACA,IAAI,8BAA8B;AAClC;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,4BAA4B,mBAAO,CAAC,qGAAoC;AACxE,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,eAAe,mBAAO,CAAC,2FAA+B;;AAEtD;AACA;AACA;AACA,0DAA0D,cAAc;AACxE;;;;;;;;;;;;ACTa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,uHAA8C;;AAE5D;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,+FAAiC;;AAE3D;AACA;AACA,IAAI,kDAAkD;AACtD;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,gBAAgB,mBAAO,CAAC,2FAA+B;;AAEvD;AACA;AACA,IAAI,8CAA8C;AAClD;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,iCAAiC,mBAAO,CAAC,uGAAqC;AAC9E,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,0CAA0C,mBAAO,CAAC,iIAAkD;;AAEpG;AACA;AACA,IAAI,4EAA4E;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA,SAAS;AACT;AACA;AACA,4BAA4B;AAC5B;AACA,SAAS;AACT,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC3CY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,iCAAiC,mBAAO,CAAC,uGAAqC;AAC9E,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,0CAA0C,mBAAO,CAAC,iIAAkD;;AAEpG;AACA;AACA,IAAI,4EAA4E;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACtCY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,iCAAiC,mBAAO,CAAC,uGAAqC;AAC9E,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,0CAA0C,mBAAO,CAAC,iIAAkD;;AAEpG;;AAEA;AACA;AACA,IAAI,4EAA4E;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC/CY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,iCAAiC,wJAAiE;AAClG,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,oBAAoB,mBAAO,CAAC,yFAA8B;;AAE1D;;AAEA;AACA;AACA,IAAI,gFAAgF;AACpF;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,6DAA6D,cAAc;AAC3E;AACA;;;;;;;;;;;;ACzBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,cAAc,mBAAO,CAAC,uFAA6B;AACnD,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,yBAAyB,mBAAO,CAAC,iGAAkC;AACnE,WAAW,8FAAgC;AAC3C,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,uBAAuB,mBAAO,CAAC,+FAAiC;AAChE,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,0BAA0B,mBAAO,CAAC,uFAA6B;AAC/D,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,kCAAkC,mBAAO,CAAC,qHAA4C;AACtF,iCAAiC,mBAAO,CAAC,uGAAqC;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR,MAAM;AACN,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,eAAe;AACnB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,OAAO;AACP;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,OAAO;AACP,MAAM;AACN;AACA;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,aAAa;AAClC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO,IAAI,cAAc;AACzB;;AAEA;AACA;AACA;AACA,MAAM,gBAAgB;;AAEtB;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAI,iFAAiF;AACrF;AACA,CAAC;;AAED;AACA;;;;;;;;;;;;AC/Ra;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,YAAY,mBAAO,CAAC,qEAAoB;AACxC,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,yBAAyB,mBAAO,CAAC,iGAAkC;AACnE,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,oBAAoB,mBAAO,CAAC,yFAA8B;;AAE1D;;AAEA;AACA;AACA;AACA,2CAA2C,oBAAoB,eAAe,gBAAgB,aAAa;AAC3G,CAAC;;AAED;AACA;AACA,IAAI,iEAAiE;AACrE;AACA;AACA;AACA;AACA;AACA,iEAAiE,WAAW;AAC5E,QAAQ;AACR;AACA,iEAAiE,UAAU;AAC3E,QAAQ;AACR;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,+DAA+D,cAAc;AAC7E;AACA;;;;;;;;;;;;AC1Ca;AACb;AACA,mBAAO,CAAC,mGAAmC;AAC3C,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,2FAA+B;;;;;;;;;;;;ACP1B;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,iCAAiC,mBAAO,CAAC,uGAAqC;AAC9E,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,0CAA0C,mBAAO,CAAC,iIAAkD;;AAEpG;AACA;AACA,IAAI,4EAA4E;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACzBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,iCAAiC,mBAAO,CAAC,uGAAqC;AAC9E,iCAAiC,wJAAiE;;AAElG;AACA;AACA,IAAI,mEAAmE;AACvE;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACdY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,iCAAiC,wJAAiE;AAClG,qBAAqB,mBAAO,CAAC,yFAA8B;;AAE3D;AACA;;AAEA;AACA;AACA,IAAI,8EAA8E;AAClF;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACjBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C,CAAC;;AAED;AACA;AACA,IAAI,gEAAgE;AACpE;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACnBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,YAAY,mBAAO,CAAC,uFAA6B;AACjD,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,mBAAmB,mBAAO,CAAC,qFAA4B;AACvD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,aAAa,mBAAO,CAAC,qFAA4B;AACjD,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,yCAAyC,aAAa;AACtD,CAAC;;AAED;AACA,gCAAgC,aAAa;AAC7C,CAAC;;AAED;;AAEA,IAAI,6DAA6D;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACxDY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,2BAA2B,mBAAO,CAAC,uGAAqC;AACxE,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA,kDAAkD,OAAO,UAAU,QAAQ,UAAU;AACrF,CAAC;;AAED;AACA;AACA,IAAI,mFAAmF;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC5BY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,+BAA+B,wJAA4D;;AAE3F;AACA;AACA,IAAI,+BAA+B;AACnC;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,qCAAqC,mBAAO,CAAC,+HAAiD;;AAE9F;AACA;AACA,IAAI,mDAAmD;AACvD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,2BAA2B,mBAAO,CAAC,yGAAsC;AACzE,+BAA+B,mBAAO,CAAC,2GAAuC;;AAE9E;AACA;AACA,IAAI,gEAAgE;AACpE;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,uBAAuB,mBAAO,CAAC,+FAAiC;AAChE,qCAAqC,mBAAO,CAAC,+HAAiD;AAC9F,qBAAqB,mBAAO,CAAC,yGAAsC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAI,+BAA+B;AACnC;AACA,CAAC;;;;;;;;;;;;ACxBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;;AAErC;AACA;AACA,IAAI,+BAA+B;AACnC;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,mGAAmC;;AAE/D;AACA;AACA,IAAI,+BAA+B;AACnC;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,mBAAO,CAAC,2EAAuB;;AAE7C;AACA;AACA,IAAI,+BAA+B;AACnC;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,2EAAuB;;AAE9C;AACA;AACA,IAAI,gDAAgD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACnBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,yBAAyB,mBAAO,CAAC,mGAAmC;AACpE,2BAA2B,mBAAO,CAAC,yGAAsC;;AAEzE;AACA;AACA,8BAA8B,+BAA+B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACnBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,uBAAuB,mBAAO,CAAC,+FAAiC;AAChE,YAAY,mBAAO,CAAC,qEAAoB;AACxC,2BAA2B,mBAAO,CAAC,uGAAqC;AACxE,qCAAqC,mBAAO,CAAC,+HAAiD;AAC9F,qBAAqB,mBAAO,CAAC,yGAAsC;AACnE,+BAA+B,mBAAO,CAAC,+GAAyC;;AAEhF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA,kCAAkC;AAClC,gEAAgE,oBAAoB;AACpF;AACA;AACA,CAAC;;AAED,IAAI,oDAAoD;AACxD;AACA,CAAC;;;;;;;;;;;;ACjDY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,qBAAqB,mBAAO,CAAC,6FAAgC;;AAE7D,IAAI,cAAc,IAAI,aAAa;;AAEnC;AACA;AACA;;;;;;;;;;;;ACTa;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,iGAAkC;AAClE,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,0BAA0B,8IAAuD;AACjF,oBAAoB,mBAAO,CAAC,uGAAqC;AACjE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,oBAAoB,mBAAO,CAAC,qGAAoC;AAChE,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,2FAA+B;AACpD,2BAA2B,sHAA8C;AACzE,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,0BAA0B,mBAAO,CAAC,+GAAyC;AAC3E,sBAAsB,mBAAO,CAAC,uGAAqC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,iBAAiB;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,iBAAiB;AAC1B;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM,gBAAgB;;AAEtB;AACA;;AAEA,gEAAgE,oBAAoB;AACpF;AACA;;AAEA;AACA;AACA,mDAAmD,mBAAmB;AACtE;;AAEA;AACA;;;;;;;;;;;;AC9La;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,0BAA0B,mBAAO,CAAC,+GAAyC;AAC3E,cAAc,mBAAO,CAAC,iFAA0B;AAChD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,uBAAuB,kHAA0C;;AAEjE;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACzBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,iFAA0B;;AAE7C;AACA;AACA,IAAI,0DAA0D;AAC9D;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,kBAAkB,mBAAO,CAAC,mFAA2B;AACrD,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,oCAAoC;AACpC;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACvDY;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,oBAAoB,0IAA2D;AAC/E,cAAc,mBAAO,CAAC,iFAA0B;AAChD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,uBAAuB,kHAA0C;;AAEjE;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACzBa;AACb;AACA,mBAAO,CAAC,mFAA2B;AACnC,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,IAAI,2DAA2D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClCY;AACb,2BAA2B,mHAA4C;AACvE,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,qBAAqB,mBAAO,CAAC,2FAA+B;;AAE5D;AACA;AACA;;AAEA,sCAAsC,6BAA6B,yBAAyB,eAAe;AAC3G;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,IAAI,cAAc;AACrB;;;;;;;;;;;;ACzBa;AACb,iBAAiB,mBAAO,CAAC,+EAAyB;AAClD,uBAAuB,mBAAO,CAAC,6FAAgC;;AAE/D;AACA;AACA;AACA,0BAA0B;AAC1B,CAAC;;;;;;;;;;;;ACRY;AACb;AACA,mBAAO,CAAC,2FAA+B;;;;;;;;;;;;ACF1B;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,yEAAyE;AAC7E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,IAAI,+CAA+C;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACzBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,sEAAsE;AAC1E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,wEAAwE;AAC5E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,uEAAuE;AAC3E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,yHAA+C;;AAE5D;AACA;AACA,IAAI,+BAA+B;AACnC;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,mHAA2C;AACrE,+BAA+B,wJAA4D;AAC3F,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,2BAA2B,mBAAO,CAAC,yGAAsC;AACzE,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,IAAI,sFAAsF;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACrCY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,wEAAwE;AAC5E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,4EAA4E;AAChF;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,2EAA2E;AAC/E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,IAAI,kEAAkE;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,CAAC;;;;;;;;;;;;AC/BY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,2BAA2B,mBAAO,CAAC,yGAAsC;;AAEzE;;AAEA;AACA;AACA,IAAI,0EAA0E;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACpBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;;AAEA;AACA;AACA,IAAI,+BAA+B;AACnC;AACA;AACA;AACA,oBAAoB,YAAY;AAChC;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,CAAC;;;;;;;;;;;;ACtBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,0EAA0E;AAC9E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,aAAa,yHAA+C;AAC5D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,0BAA0B,mBAAO,CAAC,uFAA6B;AAC/D,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,6BAA6B,mBAAO,CAAC,6GAAwC;;AAE7E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC9BY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,uEAAuE;AAC3E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb;AACA,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,kBAAkB,mBAAO,CAAC,mHAA2C;AACrE,gCAAgC,mBAAO,CAAC,iHAA0C;AAClF,6BAA6B,mBAAO,CAAC,6GAAwC;AAC7E,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,cAAc,mBAAO,CAAC,iFAA0B;AAChD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,YAAY,mBAAO,CAAC,qEAAoB;AACxC,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,yBAAyB,mBAAO,CAAC,iGAAkC;AACnE,yBAAyB,mBAAO,CAAC,mGAAmC;AACpE,iBAAiB,mBAAO,CAAC,mGAAmC;AAC5D,0BAA0B,mBAAO,CAAC,uFAA6B;AAC/D,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI,oEAAoE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;ACrGa;AACb,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,oCAAoC,mBAAO,CAAC,+HAAiD;AAC7F,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,yBAAyB,mBAAO,CAAC,mGAAmC;AACpE,iBAAiB,mBAAO,CAAC,mGAAmC;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC/CY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,0GAAsC;AACpD,iBAAiB,mBAAO,CAAC,qGAAoC;;AAE7D;AACA;AACA,IAAI,mDAAmD;AACvD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,gBAAgB,4GAAwC;AACxD,iBAAiB,mBAAO,CAAC,qGAAoC;;AAE7D;AACA;AACA,IAAI,mDAAmD;AACvD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;;AAEnE;AACA;;AAEA;AACA;AACA,IAAI,8BAA8B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC3BY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,qFAA4B;;AAEjD;AACA;AACA,IAAI,+BAA+B;AACnC;AACA,CAAC;;;;;;;;;;;;ACRY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,sBAAsB,mBAAO,CAAC,2FAA+B;AAC7D,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI,+BAA+B;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACtEY;AACb,YAAY,mBAAO,CAAC,uFAA6B;AACjD,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,oCAAoC,mBAAO,CAAC,+HAAiD;AAC7F,YAAY,mBAAO,CAAC,qEAAoB;AACxC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,yBAAyB,mBAAO,CAAC,mGAAmC;AACpE,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,sBAAsB,mBAAO,CAAC,2FAA+B;AAC7D,iBAAiB,mBAAO,CAAC,mGAAmC;AAC5D,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,sBAAsB;AACtB;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB,oBAAoB;AAC1C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mBAAmB;AAC3C;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC7IY;AACb,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,oCAAoC,mBAAO,CAAC,+HAAiD;AAC7F,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,iBAAiB,mBAAO,CAAC,mGAAmC;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACrCY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,wEAAwE;AAC5E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,YAAY,mBAAO,CAAC,uFAA6B;AACjD,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,oCAAoC,mBAAO,CAAC,+HAAiD;AAC7F,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,yBAAyB,mBAAO,CAAC,iGAAkC;AACnE,yBAAyB,mBAAO,CAAC,mGAAmC;AACpE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,iBAAiB,mBAAO,CAAC,+FAAiC;AAC1D,qBAAqB,mBAAO,CAAC,mGAAmC;AAChE,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,oBAAoB,mBAAO,CAAC,qGAAoC;AAChE,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B;AAC1B;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gFAAgF;AAChF;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,0BAA0B,mBAAmB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC5JY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,mHAA2C;AACrE,+BAA+B,wJAA4D;AAC3F,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,2BAA2B,mBAAO,CAAC,yGAAsC;AACzE,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,IAAI,sFAAsF;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACnCY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,yEAAyE;AAC7E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,sEAAsE;AAC1E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,IAAI,+CAA+C;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC7BY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,sEAAsE;AAC1E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,IAAI,iEAAiE;AACrE;AACA;AACA;AACA;AACA;AACA,oBAAoB,YAAY;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,CAAC;;;;;;;;;;;;AC1CY;AACb;AACA,mBAAO,CAAC,+FAAiC;AACzC,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,mBAAO,CAAC,yFAA8B;;AAEpD;AACA;AACA;AACA,IAAI,gFAAgF;AACpF;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,gBAAgB,mBAAO,CAAC,6FAAgC;;AAExD;AACA;AACA;AACA,IAAI,qFAAqF;AACzF;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,cAAc,mBAAO,CAAC,yFAA8B;;AAEpD;AACA;AACA;AACA,IAAI,kFAAkF;AACtF;AACA,CAAC;;;;;;;;;;;;ACTY;AACb;AACA,mBAAO,CAAC,6FAAgC;AACxC,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,gBAAgB,mBAAO,CAAC,6FAAgC;;AAExD;AACA;AACA;AACA,IAAI,sFAAsF;AAC1F;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,YAAY,6GAAwC;AACpD,6BAA6B,mBAAO,CAAC,+FAAiC;;AAEtE;AACA;AACA,IAAI,uEAAuE;AAC3E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACLa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,oBAAoB,mBAAO,CAAC,mHAA2C;AACvE,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,2FAA+B;AACpD,oBAAoB,mBAAO,CAAC,uGAAqC;AACjE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,yBAAyB,mBAAO,CAAC,qFAA4B;AAC7D,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,gCAAgC,mBAAO,CAAC,qHAA4C;AACpF,kCAAkC,mBAAO,CAAC,uIAAqD;AAC/F,kCAAkC,mBAAO,CAAC,yHAA8C;AACxF,qCAAqC,mBAAO,CAAC,+HAAiD;AAC9F,2BAA2B,mBAAO,CAAC,uGAAqC;AACxE,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,iCAAiC,mBAAO,CAAC,qHAA4C;AACrF,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,UAAU,mBAAO,CAAC,iEAAkB;AACpC,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,mCAAmC,mBAAO,CAAC,6GAAwC;AACnF,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,8BAA8B,mBAAO,CAAC,+GAAyC;AAC/E,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,0BAA0B,mBAAO,CAAC,uFAA6B;AAC/D,eAAe,wHAA+C;;AAE9D;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,mDAAmD;AACnD,uBAAuB,yCAAyC,UAAU;AAC1E,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4FAA4F;AAC5F;AACA,MAAM;AACN;AACA,oDAAoD,gDAAgD;AACpG,MAAM;AACN,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,iCAAiC;AAChH;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,sFAAsF,cAAc;AACpG;AACA;AACA;;AAEA,IAAI,2FAA2F;AAC/F;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED,IAAI,oDAAoD;AACxD,2BAA2B,oBAAoB;AAC/C,2BAA2B;AAC3B,CAAC;;AAED,IAAI,0EAA0E;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED,IAAI,sDAAsD;AAC1D;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;AC5PA;AACA;AACa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,aAAa,mBAAO,CAAC,2FAA+B;AACpD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,oBAAoB,mBAAO,CAAC,uGAAqC;AACjE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,gCAAgC,mBAAO,CAAC,iHAA0C;;AAElF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,MAAM,+CAA+C;AACrD;AACA,GAAG;AACH;;;;;;;;;;;;AC1Da;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,aAAa,mBAAO,CAAC,2FAA+B;AACpD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,6BAA6B,mBAAO,CAAC,6GAAwC;;AAE7E;AACA;;AAEA;AACA;AACA,IAAI,+DAA+D;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACtBY;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACLa;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACLa;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACLa;AACb;AACA,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,2HAA+C;;;;;;;;;;;;ACN1C;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,2FAA+B;AACpD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,kBAAkB,mBAAO,CAAC,qFAA4B;AACtD,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,6BAA6B,mBAAO,CAAC,6GAAwC;;AAE7E;;AAEA;AACA;AACA,IAAI,+DAA+D;AACnE;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACjBY;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACLa;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACLa;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACLa;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACLa;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACLa;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACLa;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,8BAA8B,mBAAO,CAAC,+GAAyC;;AAE/E;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,qBAAqB,mBAAO,CAAC,6FAAgC;;AAE7D;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACXa;AACb,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACLa;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AChBY;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,uBAAuB,mBAAO,CAAC,6FAAgC;;AAE/D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACbY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,aAAa,sHAA6C;;AAE1D;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,YAAY,mBAAO,CAAC,+EAAyB;AAC7C,eAAe,mBAAO,CAAC,+EAAyB;AAChD,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,0BAA0B,uBAAuB,mBAAmB;AACpE;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC5BY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,cAAc,uHAA8C;AAC5D,yBAAyB,mBAAO,CAAC,6HAAgD;;AAEjF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACbY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,iBAAiB,0HAAiD;;AAElE;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,qBAAqB,kJAA+D;;AAEpF;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,gBAAgB,6IAA0D;;AAE1E;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,YAAY,qHAA4C;;AAExD;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,kCAAkC,mBAAO,CAAC,yGAAsC;;AAEhF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,kCAAkC,mBAAO,CAAC,yGAAsC;;AAEhF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,eAAe,wHAA+C;;AAE9D;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,kDAAkD,mBAAO,CAAC,6IAAwD;AAClH,mCAAmC,2JAA2E;AAC9G,qBAAqB,mBAAO,CAAC,2FAA+B;;AAE5D;AACA;AACA;;;;;;;;;;;;ACPa;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,gBAAgB,uHAA+C;;AAE/D;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,eAAe,sHAA8C;;AAE7D;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,kCAAkC,mBAAO,CAAC,yGAAsC;;AAEhF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,kCAAkC,mBAAO,CAAC,yGAAsC;;AAEhF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,kCAAkC,mBAAO,CAAC,yGAAsC;;AAEhF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA,qFAAqF,gBAAgB;AACrG;AACA;AACA,qFAAqF,gBAAgB;;;;;;;;;;;;AC7CxF;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,YAAY,mBAAO,CAAC,uFAA6B;AACjD,mBAAmB,mBAAO,CAAC,iGAAkC;;AAE7D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACbY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,WAAW,oHAA2C;AACtD,mCAAmC,mBAAO,CAAC,yHAA8C;;AAEzF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;ACdY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,kDAAkD,mBAAO,CAAC,6IAAwD;;AAElH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACfY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,mBAAmB,gHAA0C;;AAE7D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,cAAc,+GAAyC;;AAEvD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,CAAC;;;;;;;;;;;;ACpBY;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,sBAAsB,mBAAO,CAAC,6EAAwB;AACtD,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,sBAAsB,iBAAiB;AACvC;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC3CY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,mCAAmC,mBAAO,CAAC,yHAA8C;AACzF,YAAY,mBAAO,CAAC,qEAAoB;AACxC,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACxBY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,YAAY,qHAA4C;;AAExD;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,kBAAkB,mBAAO,CAAC,mHAA2C;AACrE,YAAY,mBAAO,CAAC,qEAAoB;AACxC,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,mBAAmB,mBAAO,CAAC,+EAAyB;AACpD,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,SAAS,mBAAO,CAAC,6FAAgC;AACjD,iBAAiB,mBAAO,CAAC,mGAAmC;AAC5D,SAAS,mBAAO,CAAC,6FAAgC;AACjD,aAAa,mBAAO,CAAC,qGAAoC;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;AACD,mCAAmC;AACnC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,kBAAkB,aAAa;AAC/B;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH,kBAAkB,aAAa;AAC/B;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,CAAC;;;;;;;;;;;;ACrEY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,mCAAmC,mBAAO,CAAC,yHAA8C;;AAEzF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACrBY;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,YAAY,mBAAO,CAAC,uFAA6B;AACjD,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,YAAY,mBAAO,CAAC,qEAAoB;AACxC,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;AACD;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC/BY;AACb,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,0BAA0B,mBAAO,CAAC,uGAAqC;;AAEvE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACZY;AACb,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,kCAAkC,mBAAO,CAAC,yHAA8C;;AAExF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClBY;AACb,6BAA6B,qJAAqE;AAClG,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,kBAAkB,mBAAO,CAAC,qGAAoC;;AAE9D;AACA;AACA;AACA;;AAEA,wBAAwB,qBAAqB,IAAI;AACjD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;;;;;;;;;;;ACrBa;AACb,kCAAkC,mBAAO,CAAC,yGAAsC;;AAEhF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,kCAAkC,mBAAO,CAAC,yGAAsC;;AAEhF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,kCAAkC,mBAAO,CAAC,yGAAsC;;AAEhF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,kCAAkC,mBAAO,CAAC,yGAAsC;;AAEhF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,oBAAoB,mBAAO,CAAC,2FAA+B;AAC3D,0BAA0B,mBAAO,CAAC,uGAAqC;AACvE,eAAe,mBAAO,CAAC,+EAAyB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;AACA,kCAAkC,uBAAuB,YAAY;AACrE,IAAI;AACJ;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA,GAAG;;;;;;;;;;;;AC7BU;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;AACA;;AAEA,qBAAqB,EAAE;AACvB,qBAAqB,EAAE;;AAEvB;AACA;AACA,IAAI,cAAc;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,CAAC;;;;;;;;;;;;AC5CY;AACb,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,6BAA6B,mBAAO,CAAC,6FAAgC;AACrE,iBAAiB,mBAAO,CAAC,+EAAyB;AAClD,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,2BAA2B,sHAA8C;AACzE,YAAY,mBAAO,CAAC,qEAAoB;AACxC,sBAAsB,mBAAO,CAAC,2GAAuC;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,GAAG;AACH;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;AC5Ga;AACb;AACA,mBAAO,CAAC,qGAAoC;;;;;;;;;;;;ACF/B;AACb,iBAAiB,mBAAO,CAAC,+EAAyB;AAClD,qBAAqB,mBAAO,CAAC,yFAA8B;;AAE3D;AACA;AACA;AACA,8BAA8B;AAC9B,CAAC;;;;;;;;;;;;ACRY;AACb;AACA,mBAAO,CAAC,qGAAoC;;;;;;;;;;;;ACF/B;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,aAAa,mBAAO,CAAC,2FAA+B;AACpD,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,WAAW,2GAAuC;;AAElD;AACA;AACA,mBAAmB,IAAI;;AAEvB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,IAAI,oIAAoI;AACxI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,CAAC;;;;;;;;;;;;AC7DY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,YAAY,mBAAO,CAAC,qEAAoB;AACxC,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,WAAW,2GAAuC;;AAElD;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,IAAI,mHAAmH;AACvH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,CAAC;;;;;;;;;;;;AC9CY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,qBAAqB,gGAAkC;;AAEvD;AACA;AACA,IAAI,8FAA8F;AAClG;AACA,CAAC;;;;;;;;;;;;ACTY;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,mBAAmB,mBAAO,CAAC,qFAA4B;AACvD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,cAAc,mBAAO,CAAC,uFAA6B;AACnD,kCAAkC,mBAAO,CAAC,uHAA6C;;AAEvF;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACtBa;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,mBAAmB,mBAAO,CAAC,qFAA4B;AACvD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,2BAA2B,mBAAO,CAAC,yFAA8B;AACjE,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;ACtCa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,qFAA4B;AACjD,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,qBAAqB,gIAAgD;AACrE,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,aAAa,mBAAO,CAAC,2FAA+B;AACpD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,4BAA4B,mBAAO,CAAC,yGAAsC;AAC1E,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,0BAA0B,mBAAO,CAAC,uFAA6B;AAC/D,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI,6DAA6D;AACjE;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChJa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,qBAAqB,gIAAgD;AACrE,aAAa,mBAAO,CAAC,2FAA+B;AACpD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,wBAAwB,mBAAO,CAAC,iGAAkC;AAClE,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,4BAA4B,mBAAO,CAAC,yGAAsC;AAC1E,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,cAAc,mBAAO,CAAC,yEAAsB;;AAE5C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI,wEAAwE,IAAI;AAChF;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnEa;AACb,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,qBAAqB,mBAAO,CAAC,6FAAgC;;AAE7D;;AAEA;AACA;;;;;;;;;;;;ACPa;AACb;AACA,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,yFAA8B;;;;;;;;;;;;ACHzB;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,cAAc,mBAAO,CAAC,uFAA6B;;AAEnD;;AAEA;AACA;AACA,IAAI,sDAAsD;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACnBY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,kBAAkB,mBAAO,CAAC,iFAA0B;;AAEpD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;AACT;AACA;AACA,OAAO;AACP;AACA,IAAI,SAAS,qDAAqD;AAClE;AACA,GAAG;AACH,EAAE,gBAAgB;;;;;;;;;;;;ACxCL;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,cAAc,8FAAgC;AAC9C,oBAAoB,mBAAO,CAAC,uFAA6B;;AAEzD;AACA;;AAEA;AACA;AACA,IAAI,0FAA0F;AAC9F;AACA,CAAC;;;;;;;;;;;;ACbY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,oBAAoB,mBAAO,CAAC,uFAA6B;;AAEzD;;AAEA;AACA;AACA,IAAI,sEAAsE;AAC1E;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,oBAAoB,mBAAO,CAAC,uFAA6B;;AAEzD;;AAEA;AACA;AACA,IAAI,oEAAoE;AACxE;AACA,CAAC;;;;;;;;;;;;ACXY;AACb,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,YAAY,mBAAO,CAAC,qEAAoB;AACxC,UAAU,mBAAO,CAAC,iEAAkB;AACpC,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,aAAa,mBAAO,CAAC,2FAA+B;AACpD,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,8BAA8B,mBAAO,CAAC,yGAAsC;AAC5E,sBAAsB,mBAAO,CAAC,2HAA+C;;AAE7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,+CAA+C,oBAAoB;AACnE;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,gGAAgG,UAAU;AAC1G;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,eAAe;AAChE,CAAC;;AAED;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,MAAM,iBAAiB;AACvB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,+CAA+C,qCAAqC;AACpF;AACA;AACA;AACA,oBAAoB,YAAY;AAChC;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,0CAA0C;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,gBAAgB;AACxB;AACA;AACA,QAAQ,gBAAgB;AACxB;AACA;AACA;AACA;AACA;AACA,uDAAuD,YAAY;AACnE;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,oDAAoD,YAAY;AAChE;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,oDAAoD,YAAY;AAChE;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,mDAAmD,mBAAmB;AACtE,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,gBAAgB;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,gBAAgB;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA,mDAAmD,mBAAmB;AACtE,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,IAAI,oFAAoF;AACxF,yDAAyD,WAAW;AACpE;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;;;;;;;;;;;AC5nBY;AACb;AACA,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,qFAA4B;;;;;;;;;;;;ACHvB;AACb;AACA,mBAAO,CAAC,yFAA8B;AACtC,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,WAAW,mBAAO,CAAC,qFAA4B;AAC/C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,qBAAqB,mBAAO,CAAC,6GAAwC;AACrE,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,gCAAgC,mBAAO,CAAC,iHAA0C;AAClF,0BAA0B,mBAAO,CAAC,uFAA6B;AAC/D,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,aAAa,mBAAO,CAAC,2FAA+B;AACpD,WAAW,mBAAO,CAAC,qGAAoC;AACvD,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,aAAa,mBAAO,CAAC,qFAA4B;AACjD,+BAA+B,mBAAO,CAAC,+GAAyC;AAChF,kBAAkB,mBAAO,CAAC,mFAA2B;AACrD,wBAAwB,mBAAO,CAAC,iGAAkC;AAClE,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,gBAAgB,mBAAO,CAAC,+EAAyB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,+EAA+E,EAAE,EAAE,cAAc;AACjG;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,6DAA6D;AAC1F;AACA,MAAM;AACN,2BAA2B,yCAAyC;AACpE;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,+CAA+C;AACzE;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,wBAAwB;AACnC;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,wBAAwB;AACnC;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,wBAAwB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,sBAAsB;AACtD;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,CAAC,IAAI,kBAAkB;;AAEvB;AACA,sFAAsF,iBAAiB;;AAEvG;AACA;AACA;AACA;AACA,CAAC,IAAI,kBAAkB;;AAEvB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,CAAC;;AAED;;AAEA,IAAI,0DAA0D;AAC9D;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iFAAiF;AACjF;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,MAAM;AACN;;AAEA;AACA,QAAQ,oEAAoE;AAC5E;AACA,8FAA8F;AAC9F;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,kGAAkG;AAClG;;AAEA;AACA;;AAEA,QAAQ,qEAAqE;AAC7E;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;AC9Za;AACb,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,8BAA8B,mBAAO,CAAC,6GAAwC;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC,sBAAsB,kBAAkB;AACxC,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA,GAAG,IAAI,gCAAgC;AACvC;;;;;;;;;;;;AChDa;AACb,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,8BAA8B,mBAAO,CAAC,6GAAwC;;AAE9E;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,GAAG,IAAI,gCAAgC;AACvC;;;;;;;;;;;;AC3Ba;AACb;AACA,mBAAO,CAAC,yHAA8C;;;;;;;;;;;;ACFzC;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,4BAA4B,mBAAO,CAAC,2GAAuC;;AAE3E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,UAAU;AAC5C;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACpBa;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,iBAAiB,mBAAO,CAAC,mFAA2B;AACpD,YAAY,mBAAO,CAAC,qEAAoB;AACxC,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,qBAAqB,mBAAO,CAAC,6GAAwC;;AAErE;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,IAAI,8DAA8D;AAClE;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC7BY;AACb;AACA,mBAAO,CAAC,2FAA+B;AACvC,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,qBAAqB,mBAAO,CAAC,6GAAwC;AACrE,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,WAAW,mBAAO,CAAC,qGAAoC;AACvD,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,oBAAoB,mBAAO,CAAC,yFAA8B;AAC1D,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,aAAa,mBAAO,CAAC,2FAA+B;AACpD,aAAa,mBAAO,CAAC,qFAA4B;AACjD,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,iBAAiB,mBAAO,CAAC,+FAAiC;AAC1D,aAAa,yHAA+C;AAC5D,cAAc,mBAAO,CAAC,2GAAuC;AAC7D,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,qBAAqB,mBAAO,CAAC,6FAAgC;AAC7D,8BAA8B,mBAAO,CAAC,6GAAwC;AAC9E,4BAA4B,mBAAO,CAAC,yHAA8C;AAClF,0BAA0B,mBAAO,CAAC,uFAA6B;;AAE/D;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,qBAAqB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,kBAAkB,qBAAqB;AACvC;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,WAAW;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,WAAW;AAC/B;AACA;AACA,MAAM;AACN;AACA,IAAI;AACJ;AACA;AACA,oBAAoB,WAAW;AAC/B;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA,wCAAwC;AACxC;AACA,CAAC;AACD,oCAAoC;AACpC,oBAAoB,QAAQ;AAC5B,CAAC;AACD,wCAAwC;AACxC,oBAAoB;AACpB,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA,cAAc;AACd;AACA,cAAc;AACd;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA,YAAY;AACZ;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA;AACA;AACA,4BAA4B,6BAA6B;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,YAAY;AACZ;AACA;AACA,YAAY;AACZ;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA,cAAc;AACd;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA,YAAY;AACZ;AACA,YAAY;;AAEZ;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,YAAY;AACZ;AACA,YAAY;;AAEZ;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,sBAAsB,2BAA2B;AACjD;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,oBAAoB,uBAAuB;AAC3C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,oBAAoB,uBAAuB;AAC3C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC,IAAI,kBAAkB;;AAEvB;AACA;AACA;AACA;AACA,CAAC,IAAI,kBAAkB;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,IAAI,8EAA8E;AAClF;AACA,CAAC;;;;;;;;;;;;ACvhCY;AACb;AACA,mBAAO,CAAC,6FAAgC;;;;;;;;;;;;ACF3B;AACb,QAAQ,mBAAO,CAAC,uEAAqB;AACrC,WAAW,mBAAO,CAAC,qFAA4B;;AAE/C;AACA;AACA,IAAI,8CAA8C;AAClD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,mBAAO,CAAC,yEAAsB;AAC9B,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,mGAAmC;AAC3C,mBAAO,CAAC,mHAA2C;AACnD,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,mGAAmC;AAC3C,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,6EAAwB;AAChC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,+FAAiC;AACzC,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,mGAAmC;AAC3C,mBAAO,CAAC,+EAAyB;AACjC,mBAAO,CAAC,6EAAwB;AAChC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,+FAAiC;AACzC,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,yGAAsC;AAC9C,mBAAO,CAAC,iHAA0C;AAClD,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,6GAAwC;AAChD,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,+EAAyB;AACjC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,6EAAwB;AAChC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,+FAAiC;AACzC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,yEAAsB;AAC9B,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,mEAAmB;AAC3B,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,+EAAyB;AACjC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,+EAAyB;AACjC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,+EAAyB;AACjC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,+EAAyB;AACjC,mBAAO,CAAC,+EAAyB;AACjC,mBAAO,CAAC,+EAAyB;AACjC,mBAAO,CAAC,+EAAyB;AACjC,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,+FAAiC;AACzC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,yGAAsC;AAC9C,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,mGAAmC;AAC3C,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,6GAAwC;AAChD,mBAAO,CAAC,yGAAsC;AAC9C,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,mGAAmC;AAC3C,mBAAO,CAAC,iIAAkD;AAC1D,mBAAO,CAAC,mIAAmD;AAC3D,mBAAO,CAAC,uHAA6C;AACrD,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,+EAAyB;AACjC,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,+GAAyC;AACjD,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,+EAAyB;AACjC,mBAAO,CAAC,2EAAuB;AAC/B,mBAAO,CAAC,mGAAmC;AAC3C,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,+FAAiC;AACzC,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,mIAAmD;AAC3D,mBAAO,CAAC,6GAAwC;AAChD,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,iHAA0C;AAClD,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,6GAAwC;AAChD,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,mEAAmB;AAC3B,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,yGAAsC;AAC9C,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,+FAAiC;AACzC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,mFAA2B;AACnC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,uFAA6B;AACrC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,+GAAyC;AACjD,mBAAO,CAAC,+GAAyC;AACjD,mBAAO,CAAC,yGAAsC;AAC9C,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,2HAA+C;AACvD,mBAAO,CAAC,6GAAwC;AAChD,mBAAO,CAAC,6GAAwC;AAChD,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,+FAAiC;AACzC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,yGAAsC;AAC9C,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,mHAA2C;AACnD,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,+GAAyC;AACjD,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,6GAAwC;AAChD,mBAAO,CAAC,mGAAmC;AAC3C,mBAAO,CAAC,2FAA+B;AACvC,mBAAO,CAAC,+FAAiC;AACzC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,qHAA4C;AACpD,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,uGAAqC;AAC7C,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,6EAAwB;AAChC,mBAAO,CAAC,6EAAwB;AAChC,mBAAO,CAAC,6EAAwB;AAChC,mBAAO,CAAC,uEAAqB;AAC7B,mBAAO,CAAC,uEAAqB;AAC7B,mBAAO,CAAC,+GAAyC;AACjD,mBAAO,CAAC,+GAAyC;AACjD,mBAAO,CAAC,iHAA0C;AAClD,mBAAO,CAAC,qGAAoC;AAC5C,mBAAO,CAAC,qHAA4C;AACpD,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,6FAAgC;AACxC,mBAAO,CAAC,uEAAqB;AAC7B,mBAAO,CAAC,+FAAiC;AACzC,mBAAO,CAAC,2EAAuB;AAC/B,mBAAO,CAAC,qEAAoB;AAC5B,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CAAC,iGAAkC;AAC1C,mBAAO,CAAC,+GAAyC;AACjD,mBAAO,CAAC,yGAAsC;AAC9C,mBAAO,CAAC,2GAAuC;;AAE/C,yGAA6C;;;;;;;;;;;ACvQ7C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,CAAC,KAA4D;AAC7D,CAAC,CAC+B;AAChC,CAAC,sBAAsB;;AAEvB;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;AAIA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,gFAAgF;;AAEhF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,2BAA2B,qBAAqB;;AAEhD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,SAAS;AAC3B;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA,EAAE,wCAAwC,UAAc;AACxD;AACA,EAAE;AACF;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,UAAU,KAAK;AACf;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,kBAAkB,wBAAwB;AAC1C;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA,oBAAoB,6CAA6C;AACjE;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,SAAS;AACT;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA,UAAU,OAAO;AACjB,UAAU,QAAQ;AAClB;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,UAAU,OAAO;AACjB;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA,sBAAsB,YAAY;AAClC;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA,UAAU,KAAK;AACf;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA,UAAU,UAAU;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,cAAc;AACd;AACA;AACA;AACA,SAAS;AACT,QAAQ;AACR;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA,UAAU,UAAU;AACpB,UAAU,UAAU;AACpB;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,UAAU,UAAU;AACpB;AACA,WAAW;AACX;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B;AAC3B,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA,YAAY,UAAU;AACtB,aAAa;AACb;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA,SAAS;AACT,OAAO;AACP;;AAEA;AACA;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa,qBAAM;AACnB,YAAY,qBAAM;AAClB,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,CAAC;;;;AAID;;;;;;;;;;;;ACrpCA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,4EAA4E;AAC5E,iBAAiB;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,aAAa;AACb,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2CAA2C,iDAAiD;;AAE5F;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf,MAAM;AACN,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,0DAA0D;AAC1D;AACA;AACA;;AAEA;AACA;AACA;AACA,sCAAsC,uDAAuD;AAC7F;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC,gBAAgB;AACtD;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA,4BAA4B;AAC5B;AACA;AACA,8CAA8C,OAAO;;AAErD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,UAAU;AACV;AACA;AACA;AACA;;AAEA;;AAEA,UAAU;AACV;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qCAAqC,cAAc;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC,mBAAmB;AACpD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA,kBAAkB;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,yBAAyB,gBAAgB;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa;AACb;AACA;;AAEA;AACA,aAAa;AACb;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,+CAA+C,QAAQ;AACvD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA,YAAY;AACZ;AACA;AACA;;AAEA,YAAY;AACZ;AACA;AACA;;AAEA,YAAY;AACZ;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,+CAA+C,QAAQ;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA,KAAK;;AAEL;AACA,+CAA+C,QAAQ;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,+CAA+C,QAAQ;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,CAAC;AACD;AACA;AACA;AACA;AACA,EAAE,KAA0B,oBAAoB,CAAE;AAClD;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;;;;;;UCxvBA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;UEPD;UACA;UACA;UACA;UACA","sources":["webpack://office-addin-taskpane-react/./node_modules/core-js/internals/a-callable.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/a-constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/a-possible-prototype.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/add-to-unscopables.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/advance-string-index.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/an-instance.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/an-object.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-buffer-basic-detection.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-buffer-view-core.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-buffer.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-copy-within.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-fill.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-for-each.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-from-constructor-and-list.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-from.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-includes.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-iteration-from-last.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-iteration.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-last-index-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-method-is-strict.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-reduce.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-set-length.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-slice-simple.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-slice.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-sort.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-species-constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-species-create.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-to-reversed.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/array-with.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/base64-map.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/classof-raw.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/classof.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/collection-strong.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/collection-weak.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/collection.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/create-html.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/create-iter-result-object.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/create-property-descriptor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/create-property.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/date-to-iso-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/date-to-primitive.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/define-built-in.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/define-built-ins.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/define-global-property.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/delete-property-or-throw.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/descriptors.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/document-all.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/document-create-element.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/dom-exception-constants.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/dom-iterables.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-ff-version.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-is-browser.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-is-bun.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-is-deno.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-is-ios-pebble.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-is-ios.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-is-node.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-is-webos-webkit.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-user-agent.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-v8-version.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/engine-webkit-version.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/entry-virtual.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/enum-bug-keys.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/error-stack-clear.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/error-stack-install.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/error-stack-installable.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/error-to-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/export.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/fails.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/flatten-into-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/freezing.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/function-apply.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/function-bind-context.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/function-bind-native.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/function-bind.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/function-call.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/function-name.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/function-uncurry-this.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/get-built-in.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/get-iterator-method.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/get-iterator.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/get-json-replacer-function.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/get-method.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/get-substitution.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/global.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/has-own-property.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/hidden-keys.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/host-report-errors.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/html.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/ie8-dom-define.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/ieee754.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/indexed-object.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/inherit-if-required.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/inspect-source.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/install-error-cause.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/internal-metadata.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/internal-state.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-big-int-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-callable.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-data-descriptor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-forced.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-integral-number.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-object.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-pure.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-regexp.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/is-symbol.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/iterate.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/iterator-close.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/iterator-create-constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/iterator-define.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/iterators-core.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/iterators.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/length-of-array-like.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/make-built-in.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/map-helpers.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/math-expm1.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/math-fround.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/math-log10.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/math-log1p.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/math-sign.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/math-trunc.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/microtask.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/new-promise-capability.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/normalize-string-argument.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/not-a-regexp.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/number-is-finite.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/number-parse-float.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/number-parse-int.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-assign.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-create.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-define-properties.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-define-property.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-is-extensible.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-keys-internal.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-keys.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-prototype-accessors-forced.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-to-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/object-to-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/own-keys.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/path.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/perform.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/promise-constructor-detection.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/promise-native-constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/promise-resolve.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/promise-statics-incorrect-iteration.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/proxy-accessor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/queue.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/regexp-exec.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/regexp-flags.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/regexp-get-flags.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/require-object-coercible.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/same-value.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/schedulers-fix.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/set-helpers.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/set-species.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/set-to-string-tag.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/shared-key.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/shared-store.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/shared.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/species-constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/string-html-forced.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/string-multibyte.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/string-pad-webkit-bug.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/string-pad.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/string-punycode-to-ascii.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/string-repeat.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/string-trim-end.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/string-trim-forced.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/string-trim-start.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/string-trim.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/structured-clone-proper-transfer.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/symbol-define-to-primitive.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/symbol-registry-detection.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/task.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/this-number-value.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-absolute-index.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-big-int.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-index.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-indexed-object.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-length.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-object.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-offset.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-positive-integer.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-primitive.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-property-key.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-string-tag-support.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/to-uint8-clamped.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/try-node-require.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/try-to-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/typed-array-constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/typed-array-from-species-and-list.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/typed-array-from.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/typed-array-species-constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/uid.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/url-constructor-detection.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/validate-arguments-length.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/well-known-symbol-define.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/well-known-symbol-wrapped.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/well-known-symbol.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/whitespaces.js","webpack://office-addin-taskpane-react/./node_modules/core-js/internals/wrap-error-constructor-with-cause.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.aggregate-error.cause.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.aggregate-error.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.aggregate-error.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array-buffer.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array-buffer.is-view.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array-buffer.slice.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.at.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.concat.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.copy-within.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.every.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.fill.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.filter.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.find-index.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.find-last-index.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.find-last.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.find.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.flat-map.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.flat.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.for-each.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.from.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.includes.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.index-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.is-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.iterator.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.join.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.last-index-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.map.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.push.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.reduce-right.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.reduce.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.reverse.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.slice.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.some.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.sort.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.species.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.splice.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.to-reversed.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.to-sorted.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.to-spliced.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.unscopables.flat-map.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.unscopables.flat.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.unshift.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.array.with.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.data-view.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.data-view.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.date.get-year.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.date.now.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.date.set-year.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.date.to-gmt-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.date.to-iso-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.date.to-json.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.date.to-primitive.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.date.to-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.error.cause.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.error.to-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.escape.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.function.bind.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.function.has-instance.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.function.name.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.global-this.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.json.stringify.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.json.to-string-tag.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.map.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.map.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.acosh.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.asinh.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.atanh.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.cbrt.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.clz32.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.cosh.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.expm1.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.fround.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.hypot.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.imul.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.log10.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.log1p.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.log2.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.sign.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.sinh.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.tanh.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.to-string-tag.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.math.trunc.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.epsilon.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.is-finite.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.is-integer.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.is-nan.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.is-safe-integer.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.max-safe-integer.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.min-safe-integer.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.parse-float.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.parse-int.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.to-exponential.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.to-fixed.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.number.to-precision.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.assign.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.create.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.define-getter.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.define-properties.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.define-property.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.define-setter.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.entries.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.freeze.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.from-entries.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.get-own-property-descriptor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.get-own-property-descriptors.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.get-own-property-names.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.get-own-property-symbols.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.has-own.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.is-extensible.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.is-frozen.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.is-sealed.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.is.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.keys.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.lookup-getter.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.lookup-setter.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.prevent-extensions.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.proto.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.seal.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.set-prototype-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.to-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.object.values.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.parse-float.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.parse-int.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.promise.all-settled.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.promise.all.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.promise.any.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.promise.catch.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.promise.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.promise.finally.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.promise.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.promise.race.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.promise.reject.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.promise.resolve.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.apply.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.construct.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.define-property.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.delete-property.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.get-prototype-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.get.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.has.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.is-extensible.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.own-keys.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.prevent-extensions.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.set-prototype-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.set.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.reflect.to-string-tag.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.regexp.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.regexp.dot-all.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.regexp.exec.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.regexp.flags.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.regexp.sticky.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.regexp.test.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.set.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.set.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.anchor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.at-alternative.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.big.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.blink.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.bold.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.code-point-at.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.ends-with.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.fixed.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.fontcolor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.fontsize.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.from-code-point.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.includes.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.is-well-formed.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.italics.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.iterator.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.link.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.match-all.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.match.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.pad-end.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.pad-start.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.raw.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.repeat.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.replace-all.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.replace.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.search.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.small.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.split.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.starts-with.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.strike.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.sub.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.substr.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.sup.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.to-well-formed.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.trim-end.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.trim-left.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.trim-right.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.trim-start.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.string.trim.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.async-iterator.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.description.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.for.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.has-instance.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.iterator.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.key-for.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.match-all.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.match.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.replace.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.search.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.species.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.split.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.to-primitive.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.to-string-tag.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.symbol.unscopables.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.at.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.copy-within.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.every.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.fill.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.filter.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.find-index.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.find-last-index.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.find-last.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.find.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.float32-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.float64-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.for-each.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.from.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.includes.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.index-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.int16-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.int32-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.int8-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.iterator.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.join.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.last-index-of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.map.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.of.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.reduce-right.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.reduce.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.reverse.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.set.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.slice.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.some.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.sort.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.subarray.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.to-locale-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.to-reversed.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.to-sorted.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.to-string.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.uint16-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.uint32-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.uint8-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.typed-array.with.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.unescape.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.weak-map.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.weak-map.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.weak-set.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/es.weak-set.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.atob.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.btoa.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.clear-immediate.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.dom-exception.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.dom-exception.stack.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.dom-exception.to-string-tag.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.immediate.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.queue-microtask.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.self.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.set-immediate.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.set-interval.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.set-timeout.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.structured-clone.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.timers.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.url-search-params.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.url-search-params.delete.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.url-search-params.has.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.url-search-params.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.url-search-params.size.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.url.can-parse.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.url.constructor.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.url.js","webpack://office-addin-taskpane-react/./node_modules/core-js/modules/web.url.to-json.js","webpack://office-addin-taskpane-react/./node_modules/core-js/stable/index.js","webpack://office-addin-taskpane-react/./node_modules/es6-promise/dist/es6-promise.js","webpack://office-addin-taskpane-react/./node_modules/regenerator-runtime/runtime.js","webpack://office-addin-taskpane-react/webpack/bootstrap","webpack://office-addin-taskpane-react/webpack/runtime/global","webpack://office-addin-taskpane-react/webpack/before-startup","webpack://office-addin-taskpane-react/webpack/startup","webpack://office-addin-taskpane-react/webpack/after-startup"],"sourcesContent":["'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a constructor');\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\n// eslint-disable-next-line es/no-typed-arrays -- safe\nmodule.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';\n","'use strict';\n// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-basic-detection');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar tryToString = require('../internals/try-to-string');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar uid = require('../internals/uid');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar Uint8ClampedArray = global.Uint8ClampedArray;\nvar Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;\nvar TypedArray = Int8Array && getPrototypeOf(Int8Array);\nvar TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);\nvar ObjectPrototype = Object.prototype;\nvar TypeError = global.TypeError;\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');\nvar TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';\n// Fixing native typed arrays in Opera Presto crashes the browser, see #595\nvar NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';\nvar TYPED_ARRAY_TAG_REQUIRED = false;\nvar NAME, Constructor, Prototype;\n\nvar TypedArrayConstructorsList = {\n Int8Array: 1,\n Uint8Array: 1,\n Uint8ClampedArray: 1,\n Int16Array: 2,\n Uint16Array: 2,\n Int32Array: 4,\n Uint32Array: 4,\n Float32Array: 4,\n Float64Array: 8\n};\n\nvar BigIntArrayConstructorsList = {\n BigInt64Array: 8,\n BigUint64Array: 8\n};\n\nvar isView = function isView(it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return klass === 'DataView'\n || hasOwn(TypedArrayConstructorsList, klass)\n || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar getTypedArrayConstructor = function (it) {\n var proto = getPrototypeOf(it);\n if (!isObject(proto)) return;\n var state = getInternalState(proto);\n return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);\n};\n\nvar isTypedArray = function (it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return hasOwn(TypedArrayConstructorsList, klass)\n || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar aTypedArray = function (it) {\n if (isTypedArray(it)) return it;\n throw TypeError('Target is not a typed array');\n};\n\nvar aTypedArrayConstructor = function (C) {\n if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;\n throw TypeError(tryToString(C) + ' is not a typed array constructor');\n};\n\nvar exportTypedArrayMethod = function (KEY, property, forced, options) {\n if (!DESCRIPTORS) return;\n if (forced) for (var ARRAY in TypedArrayConstructorsList) {\n var TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {\n delete TypedArrayConstructor.prototype[KEY];\n } catch (error) {\n // old WebKit bug - some methods are non-configurable\n try {\n TypedArrayConstructor.prototype[KEY] = property;\n } catch (error2) { /* empty */ }\n }\n }\n if (!TypedArrayPrototype[KEY] || forced) {\n defineBuiltIn(TypedArrayPrototype, KEY, forced ? property\n : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);\n }\n};\n\nvar exportTypedArrayStaticMethod = function (KEY, property, forced) {\n var ARRAY, TypedArrayConstructor;\n if (!DESCRIPTORS) return;\n if (setPrototypeOf) {\n if (forced) for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {\n delete TypedArrayConstructor[KEY];\n } catch (error) { /* empty */ }\n }\n if (!TypedArray[KEY] || forced) {\n // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable\n try {\n return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);\n } catch (error) { /* empty */ }\n } else return;\n }\n for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {\n defineBuiltIn(TypedArrayConstructor, KEY, property);\n }\n }\n};\n\nfor (NAME in TypedArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;\n else NATIVE_ARRAY_BUFFER_VIEWS = false;\n}\n\nfor (NAME in BigIntArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;\n}\n\n// WebKit bug - typed arrays constructors prototype is Object.prototype\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {\n // eslint-disable-next-line no-shadow -- safe\n TypedArray = function TypedArray() {\n throw TypeError('Incorrect invocation');\n };\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);\n }\n}\n\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {\n TypedArrayPrototype = TypedArray.prototype;\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);\n }\n}\n\n// WebKit bug - one more object in Uint8ClampedArray prototype chain\nif (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {\n setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);\n}\n\nif (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {\n TYPED_ARRAY_TAG_REQUIRED = true;\n defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {\n configurable: true,\n get: function () {\n return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;\n }\n });\n for (NAME in TypedArrayConstructorsList) if (global[NAME]) {\n createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);\n }\n}\n\nmodule.exports = {\n NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,\n TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,\n aTypedArray: aTypedArray,\n aTypedArrayConstructor: aTypedArrayConstructor,\n exportTypedArrayMethod: exportTypedArrayMethod,\n exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,\n getTypedArrayConstructor: getTypedArrayConstructor,\n isView: isView,\n isTypedArray: isTypedArray,\n TypedArray: TypedArray,\n TypedArrayPrototype: TypedArrayPrototype\n};\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-basic-detection');\nvar FunctionName = require('../internals/function-name');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar fails = require('../internals/fails');\nvar anInstance = require('../internals/an-instance');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar IEEE754 = require('../internals/ieee754');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arrayFill = require('../internals/array-fill');\nvar arraySlice = require('../internals/array-slice-simple');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length';\nvar WRONG_INDEX = 'Wrong index';\nvar getInternalArrayBufferState = InternalStateModule.getterFor(ARRAY_BUFFER);\nvar getInternalDataViewState = InternalStateModule.getterFor(DATA_VIEW);\nvar setInternalState = InternalStateModule.set;\nvar NativeArrayBuffer = global[ARRAY_BUFFER];\nvar $ArrayBuffer = NativeArrayBuffer;\nvar ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE];\nvar $DataView = global[DATA_VIEW];\nvar DataViewPrototype = $DataView && $DataView[PROTOTYPE];\nvar ObjectPrototype = Object.prototype;\nvar Array = global.Array;\nvar RangeError = global.RangeError;\nvar fill = uncurryThis(arrayFill);\nvar reverse = uncurryThis([].reverse);\n\nvar packIEEE754 = IEEE754.pack;\nvar unpackIEEE754 = IEEE754.unpack;\n\nvar packInt8 = function (number) {\n return [number & 0xFF];\n};\n\nvar packInt16 = function (number) {\n return [number & 0xFF, number >> 8 & 0xFF];\n};\n\nvar packInt32 = function (number) {\n return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF];\n};\n\nvar unpackInt32 = function (buffer) {\n return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];\n};\n\nvar packFloat32 = function (number) {\n return packIEEE754(number, 23, 4);\n};\n\nvar packFloat64 = function (number) {\n return packIEEE754(number, 52, 8);\n};\n\nvar addGetter = function (Constructor, key, getInternalState) {\n defineBuiltInAccessor(Constructor[PROTOTYPE], key, {\n configurable: true,\n get: function () {\n return getInternalState(this)[key];\n }\n });\n};\n\nvar get = function (view, count, index, isLittleEndian) {\n var store = getInternalDataViewState(view);\n var intIndex = toIndex(index);\n var boolIsLittleEndian = !!isLittleEndian;\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = store.bytes;\n var start = intIndex + store.byteOffset;\n var pack = arraySlice(bytes, start, start + count);\n return boolIsLittleEndian ? pack : reverse(pack);\n};\n\nvar set = function (view, count, index, conversion, value, isLittleEndian) {\n var store = getInternalDataViewState(view);\n var intIndex = toIndex(index);\n var pack = conversion(+value);\n var boolIsLittleEndian = !!isLittleEndian;\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = store.bytes;\n var start = intIndex + store.byteOffset;\n for (var i = 0; i < count; i++) bytes[start + i] = pack[boolIsLittleEndian ? i : count - i - 1];\n};\n\nif (!NATIVE_ARRAY_BUFFER) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n var byteLength = toIndex(length);\n setInternalState(this, {\n type: ARRAY_BUFFER,\n bytes: fill(Array(byteLength), 0),\n byteLength: byteLength\n });\n if (!DESCRIPTORS) {\n this.byteLength = byteLength;\n this.detached = false;\n }\n };\n\n ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE];\n\n $DataView = function DataView(buffer, byteOffset, byteLength) {\n anInstance(this, DataViewPrototype);\n anInstance(buffer, ArrayBufferPrototype);\n var bufferState = getInternalArrayBufferState(buffer);\n var bufferLength = bufferState.byteLength;\n var offset = toIntegerOrInfinity(byteOffset);\n if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n setInternalState(this, {\n type: DATA_VIEW,\n buffer: buffer,\n byteLength: byteLength,\n byteOffset: offset,\n bytes: bufferState.bytes\n });\n if (!DESCRIPTORS) {\n this.buffer = buffer;\n this.byteLength = byteLength;\n this.byteOffset = offset;\n }\n };\n\n DataViewPrototype = $DataView[PROTOTYPE];\n\n if (DESCRIPTORS) {\n addGetter($ArrayBuffer, 'byteLength', getInternalArrayBufferState);\n addGetter($DataView, 'buffer', getInternalDataViewState);\n addGetter($DataView, 'byteLength', getInternalDataViewState);\n addGetter($DataView, 'byteOffset', getInternalDataViewState);\n }\n\n defineBuiltIns(DataViewPrototype, {\n getInt8: function getInt8(byteOffset) {\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset) {\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false));\n },\n getUint32: function getUint32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false)) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false), 23);\n },\n getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : false), 52);\n },\n setInt8: function setInt8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setUint8: function setUint8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);\n },\n setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false);\n },\n setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);\n },\n setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false);\n },\n setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : false);\n },\n setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : false);\n }\n });\n} else {\n var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER;\n /* eslint-disable no-new -- required for testing */\n if (!fails(function () {\n NativeArrayBuffer(1);\n }) || !fails(function () {\n new NativeArrayBuffer(-1);\n }) || fails(function () {\n new NativeArrayBuffer();\n new NativeArrayBuffer(1.5);\n new NativeArrayBuffer(NaN);\n return NativeArrayBuffer.length !== 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;\n })) {\n /* eslint-enable no-new -- required for testing */\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n return new NativeArrayBuffer(toIndex(length));\n };\n\n $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype;\n\n for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) {\n if (!((key = keys[j++]) in $ArrayBuffer)) {\n createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]);\n }\n }\n\n ArrayBufferPrototype.constructor = $ArrayBuffer;\n } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(NativeArrayBuffer, 'name', ARRAY_BUFFER);\n }\n\n // WebKit bug - the same parent prototype for typed arrays and data view\n if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) {\n setPrototypeOf(DataViewPrototype, ObjectPrototype);\n }\n\n // iOS Safari 7.x bug\n var testView = new $DataView(new $ArrayBuffer(2));\n var $setInt8 = uncurryThis(DataViewPrototype.setInt8);\n testView.setInt8(0, 2147483648);\n testView.setInt8(1, 2147483649);\n if (testView.getInt8(0) || !testView.getInt8(1)) defineBuiltIns(DataViewPrototype, {\n setInt8: function setInt8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n }\n }, { unsafe: true });\n}\n\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\n\nmodule.exports = {\n ArrayBuffer: $ArrayBuffer,\n DataView: $DataView\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\n\nvar min = Math.min;\n\n// `Array.prototype.copyWithin` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\n// eslint-disable-next-line es/no-array-prototype-copywithin -- safe\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n to += inc;\n from += inc;\n } return O;\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = lengthOfArrayLike(O);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nmodule.exports = function (Constructor, list) {\n var index = 0;\n var length = lengthOfArrayLike(list);\n var result = new Constructor(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $Array = Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n result = IS_CONSTRUCTOR ? new this() : [];\n for (;!(step = call(next, iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : $Array(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ findLast, findLastIndex }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_FIND_LAST_INDEX = TYPE === 1;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var index = lengthOfArrayLike(self);\n var value, result;\n while (index-- > 0) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (result) switch (TYPE) {\n case 0: return value; // findLast\n case 1: return index; // findLastIndex\n }\n }\n return IS_FIND_LAST_INDEX ? -1 : undefined;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.findLast` method\n // https://github.com/tc39/proposal-array-find-from-last\n findLast: createMethod(0),\n // `Array.prototype.findLastIndex` method\n // https://github.com/tc39/proposal-array-find-from-last\n findLastIndex: createMethod(1)\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE === 1;\n var IS_FILTER = TYPE === 2;\n var IS_SOME = TYPE === 3;\n var IS_EVERY = TYPE === 4;\n var IS_FIND_INDEX = TYPE === 6;\n var IS_FILTER_REJECT = TYPE === 7;\n var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\n/* eslint-disable es/no-array-prototype-lastindexof -- safe */\nvar apply = require('../internals/function-apply');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar min = Math.min;\nvar $lastIndexOf = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');\nvar FORCED = NEGATIVE_ZERO || !STRICT_METHOD;\n\n// `Array.prototype.lastIndexOf` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\nmodule.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0;\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var index = length - 1;\n if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;\n return -1;\n} : $lastIndexOf;\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar $TypeError = TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aCallable(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw $TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","'use strict';\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n var n = 0;\n for (; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","'use strict';\nvar arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","'use strict';\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed\n// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed\nmodule.exports = function (O, C) {\n var len = lengthOfArrayLike(O);\n var A = new C(len);\n var k = 0;\n for (; k < len; k++) A[k] = O[len - k - 1];\n return A;\n};\n","'use strict';\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar $RangeError = RangeError;\n\n// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with\n// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with\nmodule.exports = function (O, C, index, value) {\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;\n if (actualIndex >= len || actualIndex < 0) throw $RangeError('Incorrect index');\n var A = new C(len);\n var k = 0;\n for (; k < len; k++) A[k] = k === actualIndex ? value : O[k];\n return A;\n};\n","'use strict';\nvar itoc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\nvar ctoi = {};\n\nfor (var index = 0; index < 66; index++) ctoi[itoc.charAt(index)] = index;\n\nmodule.exports = {\n itoc: itoc,\n ctoi: ctoi\n};\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n try {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n } catch (error) { return false; } // workaround of old WebKit + `eval` bug\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar create = require('../internals/object-create');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key === key) return entry;\n }\n };\n\n defineBuiltIns(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first === entry) state.first = next;\n if (state.last === entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', {\n configurable: true,\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n // return step by kind\n if (kind === 'keys') return createIterResultObject(entry.key, false);\n if (kind === 'values') return createIterResultObject(entry.value, false);\n return createIterResultObject([entry.key, entry.value], false);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar getWeakData = require('../internals/internal-metadata').getWeakData;\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isObject = require('../internals/is-object');\nvar iterate = require('../internals/iterate');\nvar ArrayIterationModule = require('../internals/array-iteration');\nvar hasOwn = require('../internals/has-own-property');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nvar find = ArrayIterationModule.find;\nvar findIndex = ArrayIterationModule.findIndex;\nvar splice = uncurryThis([].splice);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (state) {\n return state.frozen || (state.frozen = new UncaughtFrozenStore());\n};\n\nvar UncaughtFrozenStore = function () {\n this.entries = [];\n};\n\nvar findUncaughtFrozen = function (store, key) {\n return find(store.entries, function (it) {\n return it[0] === key;\n });\n};\n\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.entries.push([key, value]);\n },\n 'delete': function (key) {\n var index = findIndex(this.entries, function (it) {\n return it[0] === key;\n });\n if (~index) splice(this.entries, index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n id: id++,\n frozen: undefined\n });\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var data = getWeakData(anObject(key), true);\n if (data === true) uncaughtFrozenStore(state).set(key, value);\n else data[state.id] = value;\n return that;\n };\n\n defineBuiltIns(Prototype, {\n // `{ WeakMap, WeakSet }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.delete\n // https://tc39.es/ecma262/#sec-weakset.prototype.delete\n 'delete': function (key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n return data && hasOwn(data, state.id) && delete data[state.id];\n },\n // `{ WeakMap, WeakSet }.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.has\n // https://tc39.es/ecma262/#sec-weakset.prototype.has\n has: function has(key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).has(key);\n return data && hasOwn(data, state.id);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `WeakMap.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.get\n get: function get(key) {\n var state = getInternalState(this);\n if (isObject(key)) {\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).get(key);\n return data ? data[state.id] : undefined;\n }\n },\n // `WeakMap.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.set\n set: function set(key, value) {\n return define(this, key, value);\n }\n } : {\n // `WeakSet.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-weakset.prototype.add\n add: function add(value) {\n return define(this, value, true);\n }\n });\n\n return Constructor;\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n defineBuiltIn(NativePrototype, KEY,\n KEY === 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY === 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY === 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY === 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\n\nvar quot = /\"/g;\nvar replace = uncurryThis(''.replace);\n\n// `CreateHTML` abstract operation\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = toString(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + replace(toString(value), quot, '"') + '\"';\n return p1 + '>' + S + '</' + tag + '>';\n};\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar padStart = require('../internals/string-pad').start;\n\nvar $RangeError = RangeError;\nvar $isFinite = isFinite;\nvar abs = Math.abs;\nvar DatePrototype = Date.prototype;\nvar nativeDateToISOString = DatePrototype.toISOString;\nvar thisTimeValue = uncurryThis(DatePrototype.getTime);\nvar getUTCDate = uncurryThis(DatePrototype.getUTCDate);\nvar getUTCFullYear = uncurryThis(DatePrototype.getUTCFullYear);\nvar getUTCHours = uncurryThis(DatePrototype.getUTCHours);\nvar getUTCMilliseconds = uncurryThis(DatePrototype.getUTCMilliseconds);\nvar getUTCMinutes = uncurryThis(DatePrototype.getUTCMinutes);\nvar getUTCMonth = uncurryThis(DatePrototype.getUTCMonth);\nvar getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds);\n\n// `Date.prototype.toISOString` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit fails here:\nmodule.exports = (fails(function () {\n return nativeDateToISOString.call(new Date(-5e13 - 1)) !== '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n nativeDateToISOString.call(new Date(NaN));\n})) ? function toISOString() {\n if (!$isFinite(thisTimeValue(this))) throw $RangeError('Invalid time value');\n var date = this;\n var year = getUTCFullYear(date);\n var milliseconds = getUTCMilliseconds(date);\n var sign = year < 0 ? '-' : year > 9999 ? '+' : '';\n return sign + padStart(abs(year), sign ? 6 : 4, 0) +\n '-' + padStart(getUTCMonth(date) + 1, 2, 0) +\n '-' + padStart(getUTCDate(date), 2, 0) +\n 'T' + padStart(getUTCHours(date), 2, 0) +\n ':' + padStart(getUTCMinutes(date), 2, 0) +\n ':' + padStart(getUTCSeconds(date), 2, 0) +\n '.' + padStart(milliseconds, 3, 0) +\n 'Z';\n} : nativeDateToISOString;\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\n\nvar $TypeError = TypeError;\n\n// `Date.prototype[@@toPrimitive](hint)` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nmodule.exports = function (hint) {\n anObject(this);\n if (hint === 'string' || hint === 'default') hint = 'string';\n else if (hint !== 'number') throw $TypeError('Incorrect hint');\n return ordinaryToPrimitive(this, hint);\n};\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","'use strict';\nvar global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","'use strict';\nmodule.exports = {\n IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },\n DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },\n HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },\n WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },\n InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },\n NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },\n NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },\n NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },\n NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },\n InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },\n InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },\n SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },\n InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },\n NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },\n InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },\n ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },\n TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },\n SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },\n NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },\n AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },\n URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },\n QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },\n TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },\n InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },\n DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }\n};\n","'use strict';\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","'use strict';\n// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","'use strict';\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = !IS_DENO && !IS_NODE\n && typeof window == 'object'\n && typeof document == 'object';\n","'use strict';\n/* global Bun -- Deno case */\nmodule.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string';\n","'use strict';\n/* global Deno -- Deno case */\nmodule.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';\n","'use strict';\nvar UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\n// eslint-disable-next-line redos/no-vulnerable -- safe\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","'use strict';\nvar global = require('../internals/global');\nvar classof = require('../internals/classof-raw');\n\nmodule.exports = classof(global.process) === 'process';\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","'use strict';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\nvar userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\nvar global = require('../internals/global');\n\nmodule.exports = function (CONSTRUCTOR) {\n return global[CONSTRUCTOR].prototype;\n};\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","'use strict';\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\n// non-standard V8\nvar captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (error, C, stack, dropEntries) {\n if (ERROR_STACK_INSTALLABLE) {\n if (captureStackTrace) captureStackTrace(error, C);\n else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar create = require('../internals/object-create');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\n\nvar nativeErrorToString = Error.prototype.toString;\n\nvar INCORRECT_TO_STRING = fails(function () {\n if (DESCRIPTORS) {\n // Chrome 32- incorrectly call accessor\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n var object = create(Object.defineProperty({}, 'name', { get: function () {\n return this === object;\n } }));\n if (nativeErrorToString.call(object) !== 'true') return true;\n }\n // FF10- does not properly handle non-strings\n return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'\n // IE8 does not properly handle defaults\n || nativeErrorToString.call({}) !== 'Error';\n});\n\nmodule.exports = INCORRECT_TO_STRING ? function toString() {\n var O = anObject(this);\n var name = normalizeStringArgument(O.name, 'Error');\n var message = normalizeStringArgument(O.message);\n return !name ? message : !message ? name : name + ': ' + message;\n} : nativeErrorToString;\n","'use strict';\nvar global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) !== 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () {\n execCalled = true;\n return null;\n };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };\n }\n return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg) : false;\n var element, elementLen;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n elementLen = lengthOfArrayLike(element);\n targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;\n } else {\n doesNotExceedSafeInteger(targetIndex + 1);\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar arraySlice = require('../internals/array-slice');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar $Function = Function;\nvar concat = uncurryThis([].concat);\nvar join = uncurryThis([].join);\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!hasOwn(factories, argsLength)) {\n var list = [];\n var i = 0;\n for (; i < argsLength; i++) list[i] = 'a[' + i + ']';\n factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\nmodule.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) {\n var F = aCallable(this);\n var Prototype = F.prototype;\n var partArgs = arraySlice(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = concat(partArgs, arraySlice(arguments));\n return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);\n };\n if (isObject(Prototype)) boundFunction.prototype = Prototype;\n return boundFunction;\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar toString = require('../internals/to-string');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n if (isCallable(replacer)) return replacer;\n if (!isArray(replacer)) return;\n var rawLength = replacer.length;\n var keys = [];\n for (var i = 0; i < rawLength; i++) {\n var element = replacer[i];\n if (typeof element == 'string') push(keys, element);\n else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));\n }\n var keysLength = keys.length;\n var root = true;\n return function (key, value) {\n if (root) {\n root = false;\n return value;\n }\n if (isArray(this)) return value;\n for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n };\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nmodule.exports = function (a, b) {\n try {\n // eslint-disable-next-line no-console -- safe\n arguments.length === 1 ? console.error(a) : console.error(a, b);\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\n// IEEE754 conversions based on https://github.com/feross/ieee754\nvar sign = require('../internals/math-sign');\nvar trunc = require('../internals/math-trunc');\n\nvar $Array = Array;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\nvar roundToEven = function (number) {\n var truncated = trunc(number);\n var delta = abs(number - truncated);\n if (delta > 0.5 || delta === 0.5 && truncated % 2 !== 0) {\n return truncated + sign(number);\n } return truncated;\n};\n\nvar pack = function (number, mantissaLength, bytes) {\n var buffer = $Array(bytes);\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var s = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;\n var index = 0;\n var exponent, mantissa, c;\n number = abs(number);\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number !== number || number === Infinity) {\n // eslint-disable-next-line no-self-compare -- NaN check\n mantissa = number !== number ? 1 : 0;\n exponent = eMax;\n } else {\n exponent = floor(log(number) / LN2);\n c = pow(2, -exponent);\n if (number * c < 1) {\n exponent--;\n c *= 2;\n }\n if (exponent + eBias >= 1) {\n number += rt / c;\n } else {\n number += rt * pow(2, 1 - eBias);\n }\n if (number * c >= 2) {\n exponent++;\n c /= 2;\n }\n if (exponent + eBias >= eMax) {\n mantissa = 0;\n exponent = eMax;\n } else if (exponent + eBias >= 1) {\n mantissa = roundToEven((number * c - 1) * pow(2, mantissaLength));\n exponent += eBias;\n } else {\n mantissa = roundToEven(number * pow(2, eBias - 1) * pow(2, mantissaLength));\n exponent = 0;\n }\n }\n while (mantissaLength >= 8) {\n buffer[index++] = mantissa & 255;\n mantissa /= 256;\n mantissaLength -= 8;\n }\n exponent = exponent << mantissaLength | mantissa;\n exponentLength += mantissaLength;\n while (exponentLength > 0) {\n buffer[index++] = exponent & 255;\n exponent /= 256;\n exponentLength -= 8;\n }\n buffer[--index] |= s * 128;\n return buffer;\n};\n\nvar unpack = function (buffer, mantissaLength) {\n var bytes = buffer.length;\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var nBits = exponentLength - 7;\n var index = bytes - 1;\n var s = buffer[index--];\n var exponent = s & 127;\n var mantissa;\n s >>= 7;\n while (nBits > 0) {\n exponent = exponent * 256 + buffer[index--];\n nBits -= 8;\n }\n mantissa = exponent & (1 << -nBits) - 1;\n exponent >>= -nBits;\n nBits += mantissaLength;\n while (nBits > 0) {\n mantissa = mantissa * 256 + buffer[index--];\n nBits -= 8;\n }\n if (exponent === 0) {\n exponent = 1 - eBias;\n } else if (exponent === eMax) {\n return mantissa ? NaN : s ? -Infinity : Infinity;\n } else {\n mantissa += pow(2, mantissaLength);\n exponent -= eBias;\n } return (s ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);\n};\n\nmodule.exports = {\n pack: pack,\n unpack: unpack\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) === 'Array';\n};\n","'use strict';\nvar classof = require('../internals/classof');\n\nmodule.exports = function (it) {\n var klass = classof(it);\n return klass === 'BigInt64Array' || klass === 'BigUint64Array';\n};\n","'use strict';\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\n\nmodule.exports = function (descriptor) {\n return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable'));\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar floor = Math.floor;\n\n// `IsIntegralNumber` abstract operation\n// https://tc39.es/ecma262/#sec-isintegralnumber\n// eslint-disable-next-line es/no-number-isinteger -- safe\nmodule.exports = Number.isInteger || function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];\n\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n }\n\n return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\n// eslint-disable-next-line es/no-map -- safe\nvar MapPrototype = Map.prototype;\n\nmodule.exports = {\n // eslint-disable-next-line es/no-map -- safe\n Map: Map,\n set: uncurryThis(MapPrototype.set),\n get: uncurryThis(MapPrototype.get),\n has: uncurryThis(MapPrototype.has),\n remove: uncurryThis(MapPrototype['delete']),\n proto: MapPrototype\n};\n","'use strict';\n// eslint-disable-next-line es/no-math-expm1 -- safe\nvar $expm1 = Math.expm1;\nvar exp = Math.exp;\n\n// `Math.expm1` method implementation\n// https://tc39.es/ecma262/#sec-math.expm1\nmodule.exports = (!$expm1\n // Old FF bug\n // eslint-disable-next-line no-loss-of-precision -- required for old engines\n || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || $expm1(-2e-17) !== -2e-17\n) ? function expm1(x) {\n var n = +x;\n return n === 0 ? n : n > -1e-6 && n < 1e-6 ? n + n * n / 2 : exp(n) - 1;\n} : $expm1;\n","'use strict';\nvar sign = require('../internals/math-sign');\n\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\n// `Math.fround` method implementation\n// https://tc39.es/ecma262/#sec-math.fround\n// eslint-disable-next-line es/no-math-fround -- safe\nmodule.exports = Math.fround || function fround(x) {\n var n = +x;\n var $abs = abs(n);\n var $sign = sign(n);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n // eslint-disable-next-line no-self-compare -- NaN check\n if (result > MAX32 || result !== result) return $sign * Infinity;\n return $sign * result;\n};\n","'use strict';\nvar log = Math.log;\nvar LOG10E = Math.LOG10E;\n\n// eslint-disable-next-line es/no-math-log10 -- safe\nmodule.exports = Math.log10 || function log10(x) {\n return log(x) * LOG10E;\n};\n","'use strict';\nvar log = Math.log;\n\n// `Math.log1p` method implementation\n// https://tc39.es/ecma262/#sec-math.log1p\n// eslint-disable-next-line es/no-math-log1p -- safe\nmodule.exports = Math.log1p || function log1p(x) {\n var n = +x;\n return n > -1e-8 && n < 1e-8 ? n - n * n / 2 : log(1 + n);\n};\n","'use strict';\n// `Math.sign` method implementation\n// https://tc39.es/ecma262/#sec-math.sign\n// eslint-disable-next-line es/no-math-sign -- safe\nmodule.exports = Math.sign || function sign(x) {\n var n = +x;\n // eslint-disable-next-line no-self-compare -- NaN check\n return n === 0 || n !== n ? n : n < 0 ? -1 : 1;\n};\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar Queue = require('../internals/queue');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\nvar notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!microtask) {\n var queue = new Queue();\n\n var flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (fn = queue.get()) try {\n fn();\n } catch (error) {\n if (queue.head) notify();\n throw error;\n }\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessage\n // - onreadystatechange\n // - setTimeout\n } else {\n // `webpack` dev server bug on IE global methods - use bind(fn, global)\n macrotask = bind(macrotask, global);\n notify = function () {\n macrotask(flush);\n };\n }\n\n microtask = function (fn) {\n if (!queue.head) notify();\n queue.add(fn);\n };\n}\n\nmodule.exports = microtask;\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar $TypeError = TypeError;\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw $TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\nvar toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","'use strict';\nvar isRegExp = require('../internals/is-regexp');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw $TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","'use strict';\nvar global = require('../internals/global');\n\nvar globalIsFinite = global.isFinite;\n\n// `Number.isFinite` method\n// https://tc39.es/ecma262/#sec-number.isfinite\n// eslint-disable-next-line es/no-number-isfinite -- safe\nmodule.exports = Number.isFinite || function isFinite(it) {\n return typeof it == 'number' && globalIsFinite(it);\n};\n","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar charAt = uncurryThis(''.charAt);\nvar $parseFloat = global.parseFloat;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); }));\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\nmodule.exports = FORCED ? function parseFloat(string) {\n var trimmedString = trim(toString(string));\n var result = $parseFloat(trimmedString);\n return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;\n} : $parseFloat;\n","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol('assign detection');\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\n/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) === 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\n// Forced replacement object prototype accessors methods\nmodule.exports = IS_PURE || !fails(function () {\n // This feature detection crashes old WebKit\n // https://github.com/zloirock/core-js/issues/232\n if (WEBKIT && WEBKIT < 535) return;\n var key = Math.random();\n // In FF throws only define methods\n // eslint-disable-next-line no-undef, no-useless-call, es/no-legacy-object-prototype-accessor-methods -- required for testing\n __defineSetter__.call(null, key, function () { /* empty */ });\n delete global[key];\n});\n","'use strict';\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar objectGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\nvar propertyIsEnumerable = uncurryThis($propertyIsEnumerable);\nvar push = uncurryThis([].push);\n\n// in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys\n// of `null` prototype objects\nvar IE_BUG = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-create -- safe\n var O = Object.create(null);\n O[2] = 2;\n return !propertyIsEnumerable(O, 2);\n});\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null;\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) {\n push(result, TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nvar global = require('../internals/global');\n\nmodule.exports = global;\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","'use strict';\nvar global = require('../internals/global');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};\n","'use strict';\nvar global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","'use strict';\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });\n});\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (Target, Source, key) {\n key in Target || defineProperty(Target, key, {\n configurable: true,\n get: function () { return Source[key]; },\n set: function (it) { Source[key] = it; }\n });\n};\n","'use strict';\nvar Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n var tail = this.tail;\n if (tail) tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n var next = this.head = entry.next;\n if (next === null) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw $TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') !== null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') !== null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?<a>b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$<a>c') !== 'bc';\n});\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\n// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\n// eslint-disable-next-line es/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar isCallable = require('../internals/is-callable');\nvar ENGINE_IS_BUN = require('../internals/engine-is-bun');\nvar USER_AGENT = require('../internals/engine-user-agent');\nvar arraySlice = require('../internals/array-slice');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\n\nvar Function = global.Function;\n// dirty IE9- and Bun 0.3.0- checks\nvar WRAP = /MSIE .\\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () {\n var version = global.Bun.version.split('.');\n return version.length < 3 || version[0] === '0' && (version[1] < 3 || version[1] === '3' && version[2] === '0');\n})();\n\n// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers\n// https://github.com/oven-sh/bun/issues/1633\nmodule.exports = function (scheduler, hasTimeArg) {\n var firstParamIndex = hasTimeArg ? 2 : 1;\n return WRAP ? function (handler, timeout /* , ...arguments */) {\n var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;\n var fn = isCallable(handler) ? handler : Function(handler);\n var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];\n var callback = boundArgs ? function () {\n apply(fn, this, params);\n } : fn;\n return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);\n } : scheduler;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\n// eslint-disable-next-line es/no-set -- safe\nvar SetPrototype = Set.prototype;\n\nmodule.exports = {\n // eslint-disable-next-line es/no-set -- safe\n Set: Set,\n add: uncurryThis(SetPrototype.add),\n has: uncurryThis(SetPrototype.has),\n remove: uncurryThis(SetPrototype['delete']),\n proto: SetPrototype\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineBuiltInAccessor(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.32.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\n// https://github.com/zloirock/core-js/issues/280\nvar userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /Version\\/10(?:\\.\\d+){1,2}(?: [\\w./]+)?(?: Mobile\\/\\w+)? Safari\\//.test(userAgent);\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar $repeat = require('../internals/string-repeat');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar ceil = Math.ceil;\n\n// `String.prototype.{ padStart, padEnd }` methods implementation\nvar createMethod = function (IS_END) {\n return function ($this, maxLength, fillString) {\n var S = toString(requireObjectCoercible($this));\n var intMaxLength = toLength(maxLength);\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : toString(fillString);\n var fillLen, stringFiller;\n if (intMaxLength <= stringLength || fillStr === '') return S;\n fillLen = intMaxLength - stringLength;\n stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);\n return IS_END ? S + stringFiller : stringFiller + S;\n };\n};\n\nmodule.exports = {\n // `String.prototype.padStart` method\n // https://tc39.es/ecma262/#sec-string.prototype.padstart\n start: createMethod(false),\n // `String.prototype.padEnd` method\n // https://tc39.es/ecma262/#sec-string.prototype.padend\n end: createMethod(true)\n};\n","'use strict';\n// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\nvar base = 36;\nvar tMin = 1;\nvar tMax = 26;\nvar skew = 38;\nvar damp = 700;\nvar initialBias = 72;\nvar initialN = 128; // 0x80\nvar delimiter = '-'; // '\\x2D'\nvar regexNonASCII = /[^\\0-\\u007E]/; // non-ASCII chars\nvar regexSeparators = /[.\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\nvar OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';\nvar baseMinusTMin = base - tMin;\n\nvar $RangeError = RangeError;\nvar exec = uncurryThis(regexSeparators.exec);\nvar floor = Math.floor;\nvar fromCharCode = String.fromCharCode;\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar split = uncurryThis(''.split);\nvar toLowerCase = uncurryThis(''.toLowerCase);\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n */\nvar ucs2decode = function (string) {\n var output = [];\n var counter = 0;\n var length = string.length;\n while (counter < length) {\n var value = charCodeAt(string, counter++);\n if (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n // It's a high surrogate, and there is a next character.\n var extra = charCodeAt(string, counter++);\n if ((extra & 0xFC00) === 0xDC00) { // Low surrogate.\n push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n } else {\n // It's an unmatched surrogate; only append this code unit, in case the\n // next code unit is the high surrogate of a surrogate pair.\n push(output, value);\n counter--;\n }\n } else {\n push(output, value);\n }\n }\n return output;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n */\nvar digitToBasic = function (digit) {\n // 0..25 map to ASCII a..z or A..Z\n // 26..35 map to ASCII 0..9\n return digit + 22 + 75 * (digit < 26);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n */\nvar adapt = function (delta, numPoints, firstTime) {\n var k = 0;\n delta = firstTime ? floor(delta / damp) : delta >> 1;\n delta += floor(delta / numPoints);\n while (delta > baseMinusTMin * tMax >> 1) {\n delta = floor(delta / baseMinusTMin);\n k += base;\n }\n return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n */\nvar encode = function (input) {\n var output = [];\n\n // Convert the input in UCS-2 to an array of Unicode code points.\n input = ucs2decode(input);\n\n // Cache the length.\n var inputLength = input.length;\n\n // Initialize the state.\n var n = initialN;\n var delta = 0;\n var bias = initialBias;\n var i, currentValue;\n\n // Handle the basic code points.\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue < 0x80) {\n push(output, fromCharCode(currentValue));\n }\n }\n\n var basicLength = output.length; // number of basic code points.\n var handledCPCount = basicLength; // number of code points that have been handled;\n\n // Finish the basic string with a delimiter unless it's empty.\n if (basicLength) {\n push(output, delimiter);\n }\n\n // Main encoding loop:\n while (handledCPCount < inputLength) {\n // All non-basic code points < n have been handled already. Find the next larger one:\n var m = maxInt;\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue >= n && currentValue < m) {\n m = currentValue;\n }\n }\n\n // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.\n var handledCPCountPlusOne = handledCPCount + 1;\n if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n throw $RangeError(OVERFLOW_ERROR);\n }\n\n delta += (m - n) * handledCPCountPlusOne;\n n = m;\n\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue < n && ++delta > maxInt) {\n throw $RangeError(OVERFLOW_ERROR);\n }\n if (currentValue === n) {\n // Represent delta as a generalized variable-length integer.\n var q = delta;\n var k = base;\n while (true) {\n var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;\n if (q < t) break;\n var qMinusT = q - t;\n var baseMinusT = base - t;\n push(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT)));\n q = floor(qMinusT / baseMinusT);\n k += base;\n }\n\n push(output, fromCharCode(digitToBasic(q)));\n bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);\n delta = 0;\n handledCPCount++;\n }\n }\n\n delta++;\n n++;\n }\n return join(output, '');\n};\n\nmodule.exports = function (input) {\n var encoded = [];\n var labels = split(replace(toLowerCase(input), regexSeparators, '\\u002E'), '.');\n var i, label;\n for (i = 0; i < labels.length; i++) {\n label = labels[i];\n push(encoded, exec(regexNonASCII, label) ? 'xn--' + encode(label) : label);\n }\n return join(encoded, '.');\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $RangeError = RangeError;\n\n// `String.prototype.repeat` method implementation\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\nmodule.exports = function repeat(count) {\n var str = toString(requireObjectCoercible(this));\n var result = '';\n var n = toIntegerOrInfinity(count);\n if (n < 0 || n === Infinity) throw $RangeError('Wrong number of repetitions');\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;\n return result;\n};\n","'use strict';\nvar $trimEnd = require('../internals/string-trim').end;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.{ trimEnd, trimRight }` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// https://tc39.es/ecma262/#String.prototype.trimright\nmodule.exports = forcedStringTrimMethod('trimEnd') ? function trimEnd() {\n return $trimEnd(this);\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n} : ''.trimEnd;\n","'use strict';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar $trimStart = require('../internals/string-trim').start;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.{ trimStart, trimLeft }` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimstart\n// https://tc39.es/ecma262/#String.prototype.trimleft\nmodule.exports = forcedStringTrimMethod('trimStart') ? function trimStart() {\n return $trimStart(this);\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n} : ''.trimStart;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar V8 = require('../internals/engine-v8-version');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar structuredClone = global.structuredClone;\n\nmodule.exports = !!structuredClone && !fails(function () {\n // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false;\n var buffer = new ArrayBuffer(8);\n var clone = structuredClone(buffer, { transfer: [buffer] });\n return buffer.byteLength !== 0 || clone.byteLength !== 8;\n});\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar getBuiltIn = require('../internals/get-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function () {\n var Symbol = getBuiltIn('Symbol');\n var SymbolPrototype = Symbol && Symbol.prototype;\n var valueOf = SymbolPrototype && SymbolPrototype.valueOf;\n var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {\n // `Symbol.prototype[@@toPrimitive]` method\n // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\n // eslint-disable-next-line no-unused-vars -- required for .length\n defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n return call(valueOf, this);\n }, { arity: 1 });\n }\n};\n","'use strict';\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\n/* eslint-disable es/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar $location, defer, channel, port;\n\nfails(function () {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n $location = global.location;\n});\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar eventListener = function (event) {\n run(event.data);\n};\n\nvar globalPostMessageDefer = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), $location.protocol + '//' + $location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = eventListener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n $location && $location.protocol !== 'file:' &&\n !fails(globalPostMessageDefer)\n ) {\n defer = globalPostMessageDefer;\n global.addEventListener('message', eventListener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\n\nvar $TypeError = TypeError;\n\n// `ToBigInt` abstract operation\n// https://tc39.es/ecma262/#sec-tobigint\nmodule.exports = function (argument) {\n var prim = toPrimitive(argument, 'number');\n if (typeof prim == 'number') throw $TypeError(\"Can't convert number to bigint\");\n // eslint-disable-next-line es/no-bigint -- safe\n return BigInt(prim);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\n\nvar $RangeError = RangeError;\n\n// `ToIndex` abstract operation\n// https://tc39.es/ecma262/#sec-toindex\nmodule.exports = function (it) {\n if (it === undefined) return 0;\n var number = toIntegerOrInfinity(it);\n var length = toLength(number);\n if (number !== length) throw $RangeError('Wrong length or index');\n return length;\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar toPositiveInteger = require('../internals/to-positive-integer');\n\nvar $RangeError = RangeError;\n\nmodule.exports = function (it, BYTES) {\n var offset = toPositiveInteger(it);\n if (offset % BYTES) throw $RangeError('Wrong offset');\n return offset;\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar $RangeError = RangeError;\n\nmodule.exports = function (it) {\n var result = toIntegerOrInfinity(it);\n if (result < 0) throw $RangeError(\"The argument can't be less than 0\");\n return result;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar round = Math.round;\n\nmodule.exports = function (it) {\n var value = round(it);\n return value < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;\n};\n","'use strict';\nvar IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = function (name) {\n try {\n // eslint-disable-next-line no-new-func -- safe\n if (IS_NODE) return Function('return require(\"' + name + '\")')();\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anInstance = require('../internals/an-instance');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isIntegralNumber = require('../internals/is-integral-number');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar toOffset = require('../internals/to-offset');\nvar toUint8Clamped = require('../internals/to-uint8-clamped');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar create = require('../internals/object-create');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar typedArrayFrom = require('../internals/typed-array-from');\nvar forEach = require('../internals/array-iteration').forEach;\nvar setSpecies = require('../internals/set-species');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar InternalStateModule = require('../internals/internal-state');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar enforceInternalState = InternalStateModule.enforce;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar RangeError = global.RangeError;\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar ArrayBufferPrototype = ArrayBuffer.prototype;\nvar DataView = ArrayBufferModule.DataView;\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;\nvar TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG;\nvar TypedArray = ArrayBufferViewCore.TypedArray;\nvar TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar isTypedArray = ArrayBufferViewCore.isTypedArray;\nvar BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\nvar WRONG_LENGTH = 'Wrong length';\n\nvar fromList = function (C, list) {\n aTypedArrayConstructor(C);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\n\nvar addGetter = function (it, key) {\n defineBuiltInAccessor(it, key, {\n configurable: true,\n get: function () {\n return getInternalState(this)[key];\n }\n });\n};\n\nvar isArrayBuffer = function (it) {\n var klass;\n return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) === 'ArrayBuffer' || klass === 'SharedArrayBuffer';\n};\n\nvar isTypedArrayIndex = function (target, key) {\n return isTypedArray(target)\n && !isSymbol(key)\n && key in target\n && isIntegralNumber(+key)\n && key >= 0;\n};\n\nvar wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {\n key = toPropertyKey(key);\n return isTypedArrayIndex(target, key)\n ? createPropertyDescriptor(2, target[key])\n : nativeGetOwnPropertyDescriptor(target, key);\n};\n\nvar wrappedDefineProperty = function defineProperty(target, key, descriptor) {\n key = toPropertyKey(key);\n if (isTypedArrayIndex(target, key)\n && isObject(descriptor)\n && hasOwn(descriptor, 'value')\n && !hasOwn(descriptor, 'get')\n && !hasOwn(descriptor, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !descriptor.configurable\n && (!hasOwn(descriptor, 'writable') || descriptor.writable)\n && (!hasOwn(descriptor, 'enumerable') || descriptor.enumerable)\n ) {\n target[key] = descriptor.value;\n return target;\n } return nativeDefineProperty(target, key, descriptor);\n};\n\nif (DESCRIPTORS) {\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor;\n definePropertyModule.f = wrappedDefineProperty;\n addGetter(TypedArrayPrototype, 'buffer');\n addGetter(TypedArrayPrototype, 'byteOffset');\n addGetter(TypedArrayPrototype, 'byteLength');\n addGetter(TypedArrayPrototype, 'length');\n }\n\n $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {\n getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,\n defineProperty: wrappedDefineProperty\n });\n\n module.exports = function (TYPE, wrapper, CLAMPED) {\n var BYTES = TYPE.match(/\\d+/)[0] / 8;\n var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';\n var GETTER = 'get' + TYPE;\n var SETTER = 'set' + TYPE;\n var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME];\n var TypedArrayConstructor = NativeTypedArrayConstructor;\n var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;\n var exported = {};\n\n var getter = function (that, index) {\n var data = getInternalState(that);\n return data.view[GETTER](index * BYTES + data.byteOffset, true);\n };\n\n var setter = function (that, index, value) {\n var data = getInternalState(that);\n data.view[SETTER](index * BYTES + data.byteOffset, CLAMPED ? toUint8Clamped(value) : value, true);\n };\n\n var addElement = function (that, index) {\n nativeDefineProperty(that, index, {\n get: function () {\n return getter(this, index);\n },\n set: function (value) {\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n TypedArrayConstructor = wrapper(function (that, data, offset, $length) {\n anInstance(that, TypedArrayConstructorPrototype);\n var index = 0;\n var byteOffset = 0;\n var buffer, byteLength, length;\n if (!isObject(data)) {\n length = toIndex(data);\n byteLength = length * BYTES;\n buffer = new ArrayBuffer(byteLength);\n } else if (isArrayBuffer(data)) {\n buffer = data;\n byteOffset = toOffset(offset, BYTES);\n var $len = data.byteLength;\n if ($length === undefined) {\n if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n byteLength = $len - byteOffset;\n if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if (isTypedArray(data)) {\n return fromList(TypedArrayConstructor, data);\n } else {\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }\n setInternalState(that, {\n buffer: buffer,\n byteOffset: byteOffset,\n byteLength: byteLength,\n length: length,\n view: new DataView(buffer)\n });\n while (index < length) addElement(that, index++);\n });\n\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype);\n } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) {\n TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {\n anInstance(dummy, TypedArrayConstructorPrototype);\n return inheritIfRequired(function () {\n if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data));\n if (isArrayBuffer(data)) return $length !== undefined\n ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length)\n : typedArrayOffset !== undefined\n ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES))\n : new NativeTypedArrayConstructor(data);\n if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }(), dummy, TypedArrayConstructor);\n });\n\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {\n if (!(key in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);\n }\n });\n TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;\n }\n\n if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);\n }\n\n enforceInternalState(TypedArrayConstructorPrototype).TypedArrayConstructor = TypedArrayConstructor;\n\n if (TYPED_ARRAY_TAG) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);\n }\n\n var FORCED = TypedArrayConstructor !== NativeTypedArrayConstructor;\n\n exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;\n\n $({ global: true, constructor: true, forced: FORCED, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported);\n\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);\n }\n\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);\n }\n\n setSpecies(CONSTRUCTOR_NAME);\n };\n} else module.exports = function () { /* empty */ };\n","'use strict';\n/* eslint-disable no-new -- required for testing */\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar NATIVE_ARRAY_BUFFER_VIEWS = require('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER_VIEWS;\n\nvar ArrayBuffer = global.ArrayBuffer;\nvar Int8Array = global.Int8Array;\n\nmodule.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () {\n Int8Array(1);\n}) || !fails(function () {\n new Int8Array(-1);\n}) || !checkCorrectnessOfIteration(function (iterable) {\n new Int8Array();\n new Int8Array(null);\n new Int8Array(1.5);\n new Int8Array(iterable);\n}, true) || fails(function () {\n // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill\n return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1;\n});\n","'use strict';\nvar arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nmodule.exports = function (instance, list) {\n return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list);\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aConstructor = require('../internals/a-constructor');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isBigIntArray = require('../internals/is-big-int-array');\nvar aTypedArrayConstructor = require('../internals/array-buffer-view-core').aTypedArrayConstructor;\nvar toBigInt = require('../internals/to-big-int');\n\nmodule.exports = function from(source /* , mapfn, thisArg */) {\n var C = aConstructor(this);\n var O = toObject(source);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var i, length, result, thisIsBigIntArray, value, step, iterator, next;\n if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n O = [];\n while (!(step = call(next, iterator)).done) {\n O.push(step.value);\n }\n }\n if (mapping && argumentsLength > 2) {\n mapfn = bind(mapfn, arguments[2]);\n }\n length = lengthOfArrayLike(O);\n result = new (aTypedArrayConstructor(C))(length);\n thisIsBigIntArray = isBigIntArray(result);\n for (i = 0; length > i; i++) {\n value = mapping ? mapfn(O[i], i) : O[i];\n // FF30- typed arrays doesn't properly convert objects to typed array values\n result[i] = thisIsBigIntArray ? toBigInt(value) : +value;\n }\n return result;\n};\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\n\n// a part of `TypedArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#typedarray-species-create\nmodule.exports = function (originalArray) {\n return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray)));\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line unicorn/relative-url-style -- required for testing\n var url = new URL('b?a=1&b=2&c=3', 'http://a');\n var params = url.searchParams;\n var params2 = new URLSearchParams('a=1&a=2&b=3');\n var result = '';\n url.pathname = 'c%20d';\n params.forEach(function (value, key) {\n params['delete']('b');\n result += key + value;\n });\n params2['delete']('a', 2);\n // `undefined` case is a Chromium 117 bug\n // https://bugs.chromium.org/p/v8/issues/detail?id=14222\n params2['delete']('b', undefined);\n return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))\n || (!params.size && (IS_PURE || !DESCRIPTORS))\n || !params.sort\n || url.href !== 'http://a/c%20d?a=1&c=3'\n || params.get('c') !== '3'\n || String(new URLSearchParams('?a=1')) !== 'a=1'\n || !params[ITERATOR]\n // throws in Edge\n || new URL('https://a@b').username !== 'a'\n || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'\n // not punycoded in Edge\n || new URL('http://тест').host !== 'xn--e1aybc'\n // not escaped in Chrome 62-\n || new URL('http://a#б').hash !== '#%D0%B1'\n // fails in Chrome 66-\n || result !== 'a1c3'\n // throws in Safari\n || new URL('http://x', undefined).host !== 'x';\n});\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw $TypeError('Not enough arguments');\n return passed;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","'use strict';\nvar global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar proxyAccessor = require('../internals/proxy-accessor');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar installErrorCause = require('../internals/install-error-cause');\nvar installErrorStack = require('../internals/error-stack-install');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nmodule.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {\n var STACK_TRACE_LIMIT = 'stackTraceLimit';\n var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;\n var path = FULL_NAME.split('.');\n var ERROR_NAME = path[path.length - 1];\n var OriginalError = getBuiltIn.apply(null, path);\n\n if (!OriginalError) return;\n\n var OriginalErrorPrototype = OriginalError.prototype;\n\n // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006\n if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;\n\n if (!FORCED) return OriginalError;\n\n var BaseError = getBuiltIn('Error');\n\n var WrappedError = wrapper(function (a, b) {\n var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);\n var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();\n if (message !== undefined) createNonEnumerableProperty(result, 'message', message);\n installErrorStack(result, WrappedError, result.stack, 2);\n if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);\n if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);\n return result;\n });\n\n WrappedError.prototype = OriginalErrorPrototype;\n\n if (ERROR_NAME !== 'Error') {\n if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);\n else copyConstructorProperties(WrappedError, BaseError, { name: true });\n } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {\n proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);\n proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');\n }\n\n copyConstructorProperties(WrappedError, OriginalError);\n\n if (!IS_PURE) try {\n // Safari 13- bug: WebAssembly errors does not have a proper `.name`\n if (OriginalErrorPrototype.name !== ERROR_NAME) {\n createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);\n }\n OriginalErrorPrototype.constructor = WrappedError;\n } catch (error) { /* empty */ }\n\n return WrappedError;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar fails = require('../internals/fails');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar AGGREGATE_ERROR = 'AggregateError';\nvar $AggregateError = getBuiltIn(AGGREGATE_ERROR);\n\nvar FORCED = !fails(function () {\n return $AggregateError([1]).errors[0] !== 1;\n}) && fails(function () {\n return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7;\n});\n\n// https://tc39.es/ecma262/#sec-aggregate-error\n$({ global: true, constructor: true, arity: 2, forced: FORCED }, {\n AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) {\n // eslint-disable-next-line no-unused-vars -- required for functions `.length`\n return function AggregateError(errors, message) { return apply(init, this, arguments); };\n }, FORCED, true)\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar installErrorCause = require('../internals/install-error-cause');\nvar installErrorStack = require('../internals/error-stack-install');\nvar iterate = require('../internals/iterate');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Error = Error;\nvar push = [].push;\n\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n var that;\n if (setPrototypeOf) {\n that = setPrototypeOf($Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n } else {\n that = isInstance ? this : create(AggregateErrorPrototype);\n createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n }\n if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));\n installErrorStack(that, $AggregateError, that.stack, 1);\n if (arguments.length > 2) installErrorCause(that, arguments[2]);\n var errorsArray = [];\n iterate(errors, push, { that: errorsArray });\n createNonEnumerableProperty(that, 'errors', errorsArray);\n return that;\n};\n\nif (setPrototypeOf) setPrototypeOf($AggregateError, $Error);\nelse copyConstructorProperties($AggregateError, $Error, { name: true });\n\nvar AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, {\n constructor: createPropertyDescriptor(1, $AggregateError),\n message: createPropertyDescriptor(1, ''),\n name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({ global: true, constructor: true, arity: 2 }, {\n AggregateError: $AggregateError\n});\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.aggregate-error.constructor');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar arrayBufferModule = require('../internals/array-buffer');\nvar setSpecies = require('../internals/set-species');\n\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar ArrayBuffer = arrayBufferModule[ARRAY_BUFFER];\nvar NativeArrayBuffer = global[ARRAY_BUFFER];\n\n// `ArrayBuffer` constructor\n// https://tc39.es/ecma262/#sec-arraybuffer-constructor\n$({ global: true, constructor: true, forced: NativeArrayBuffer !== ArrayBuffer }, {\n ArrayBuffer: ArrayBuffer\n});\n\nsetSpecies(ARRAY_BUFFER);\n","'use strict';\nvar $ = require('../internals/export');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;\n\n// `ArrayBuffer.isView` method\n// https://tc39.es/ecma262/#sec-arraybuffer.isview\n$({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {\n isView: ArrayBufferViewCore.isView\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar fails = require('../internals/fails');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anObject = require('../internals/an-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar DataView = ArrayBufferModule.DataView;\nvar DataViewPrototype = DataView.prototype;\nvar nativeArrayBufferSlice = uncurryThis(ArrayBuffer.prototype.slice);\nvar getUint8 = uncurryThis(DataViewPrototype.getUint8);\nvar setUint8 = uncurryThis(DataViewPrototype.setUint8);\n\nvar INCORRECT_SLICE = fails(function () {\n return !new ArrayBuffer(2).slice(1, undefined).byteLength;\n});\n\n// `ArrayBuffer.prototype.slice` method\n// https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice\n$({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {\n slice: function slice(start, end) {\n if (nativeArrayBufferSlice && end === undefined) {\n return nativeArrayBufferSlice(anObject(this), start); // FF fix\n }\n var length = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first));\n var viewSource = new DataView(this);\n var viewTarget = new DataView(result);\n var index = 0;\n while (first < fin) {\n setUint8(viewTarget, index++, getUint8(viewSource, first++));\n } return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.at` method\n// https://tc39.es/ecma262/#sec-array.prototype.at\n$({ target: 'Array', proto: true }, {\n at: function at(index) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return (k < 0 || k >= len) ? undefined : O[k];\n }\n});\n\naddToUnscopables('at');\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar copyWithin = require('../internals/array-copy-within');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.copyWithin` method\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\n$({ target: 'Array', proto: true }, {\n copyWithin: copyWithin\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('copyWithin');\n","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\n\n// `Array.prototype.every` method\n// https://tc39.es/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fill = require('../internals/array-fill');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.fill` method\n// https://tc39.es/ecma262/#sec-array.prototype.fill\n$({ target: 'Array', proto: true }, {\n fill: fill\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\n// eslint-disable-next-line es/no-array-prototype-findindex -- testing\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","'use strict';\nvar $ = require('../internals/export');\nvar $findLastIndex = require('../internals/array-iteration-from-last').findLastIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.findLastIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findlastindex\n$({ target: 'Array', proto: true }, {\n findLastIndex: function findLastIndex(callbackfn /* , that = undefined */) {\n return $findLastIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\naddToUnscopables('findLastIndex');\n","'use strict';\nvar $ = require('../internals/export');\nvar $findLast = require('../internals/array-iteration-from-last').findLast;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.findLast` method\n// https://tc39.es/ecma262/#sec-array.prototype.findlast\n$({ target: 'Array', proto: true }, {\n findLast: function findLast(callbackfn /* , that = undefined */) {\n return $findLast(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\naddToUnscopables('findLast');\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\n// eslint-disable-next-line es/no-array-prototype-find -- testing\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flatMap` method\n// https://tc39.es/ecma262/#sec-array.prototype.flatmap\n$({ target: 'Array', proto: true }, {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A;\n aCallable(callbackfn);\n A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg));\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {\n forEach: forEach\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n // eslint-disable-next-line es/no-array-prototype-includes -- detection\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\n\n// `Array.isArray` method\n// https://tc39.es/ecma262/#sec-array.isarray\n$({ target: 'Array', stat: true }, {\n isArray: isArray\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n switch (kind) {\n case 'keys': return createIterResultObject(index, false);\n case 'values': return createIterResultObject(target[index], false);\n } return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = uncurryThis([].join);\n\nvar ES3_STRINGS = IndexedObject !== Object;\nvar FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: FORCED }, {\n join: function join(separator) {\n return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar lastIndexOf = require('../internals/array-last-index-of');\n\n// `Array.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\n// eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing\n$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, {\n lastIndexOf: lastIndexOf\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isConstructor = require('../internals/is-constructor');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\n\nvar ISNT_GENERIC = fails(function () {\n function F() { /* empty */ }\n // eslint-disable-next-line es/no-array-of -- safe\n return !($Array.of.call(F) instanceof F);\n});\n\n// `Array.of` method\n// https://tc39.es/ecma262/#sec-array.of\n// WebKit Array.of isn't generic\n$({ target: 'Array', stat: true, forced: ISNT_GENERIC }, {\n of: function of(/* ...args */) {\n var index = 0;\n var argumentsLength = arguments.length;\n var result = new (isConstructor(this) ? this : $Array)(argumentsLength);\n while (argumentsLength > index) createProperty(result, index, arguments[index++]);\n result.length = argumentsLength;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduceRight = require('../internals/array-reduce').right;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\nvar FORCED = CHROME_BUG || !arrayMethodIsStrict('reduceRight');\n\n// `Array.prototype.reduceRight` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduceright\n$({ target: 'Array', proto: true, forced: FORCED }, {\n reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\nvar FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: FORCED }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\n\nvar nativeReverse = uncurryThis([].reverse);\nvar test = [1, 2];\n\n// `Array.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {\n reverse: function reverse() {\n // eslint-disable-next-line no-self-assign -- dirty hack\n if (isArray(this)) this.length = this.length;\n return nativeReverse(this);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = lengthOfArrayLike(items);\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n return array;\n }\n});\n","'use strict';\nvar setSpecies = require('../internals/set-species');\n\n// `Array[@@species]` getter\n// https://tc39.es/ecma262/#sec-get-array-@@species\nsetSpecies('Array');\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n setArrayLength(O, len - actualDeleteCount + insertCount);\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar arrayToReversed = require('../internals/array-to-reversed');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar $Array = Array;\n\n// `Array.prototype.toReversed` method\n// https://tc39.es/ecma262/#sec-array.prototype.toreversed\n$({ target: 'Array', proto: true }, {\n toReversed: function toReversed() {\n return arrayToReversed(toIndexedObject(this), $Array);\n }\n});\n\naddToUnscopables('toReversed');\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\nvar getVirtual = require('../internals/entry-virtual');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar $Array = Array;\nvar sort = uncurryThis(getVirtual('Array').sort);\n\n// `Array.prototype.toSorted` method\n// https://tc39.es/ecma262/#sec-array.prototype.tosorted\n$({ target: 'Array', proto: true }, {\n toSorted: function toSorted(compareFn) {\n if (compareFn !== undefined) aCallable(compareFn);\n var O = toIndexedObject(this);\n var A = arrayFromConstructorAndList($Array, O);\n return sort(A, compareFn);\n }\n});\n\naddToUnscopables('toSorted');\n","'use strict';\nvar $ = require('../internals/export');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar $Array = Array;\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.toSpliced` method\n// https://tc39.es/ecma262/#sec-array.prototype.tospliced\n$({ target: 'Array', proto: true }, {\n toSpliced: function toSpliced(start, deleteCount /* , ...items */) {\n var O = toIndexedObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var k = 0;\n var insertCount, actualDeleteCount, newLen, A;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n newLen = doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n A = $Array(newLen);\n\n for (; k < actualStart; k++) A[k] = O[k];\n for (; k < actualStart + insertCount; k++) A[k] = arguments[k - actualStart + 2];\n for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount];\n\n return A;\n }\n});\n\naddToUnscopables('toSpliced');\n","'use strict';\n// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flatMap');\n","'use strict';\n// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\n\n// IE8-\nvar INCORRECT_RESULT = [].unshift(0) !== 1;\n\n// V8 ~ Chrome < 71 and Safari <= 15.4, FF < 23 throws InternalError\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).unshift();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_RESULT || !properErrorOnNonWritableLength();\n\n// `Array.prototype.unshift` method\n// https://tc39.es/ecma262/#sec-array.prototype.unshift\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n unshift: function unshift(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n if (argCount) {\n doesNotExceedSafeInteger(len + argCount);\n var k = len;\n while (k--) {\n var to = k + argCount;\n if (k in O) O[to] = O[k];\n else deletePropertyOrThrow(O, to);\n }\n for (var j = 0; j < argCount; j++) {\n O[j] = arguments[j];\n }\n } return setArrayLength(O, len + argCount);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar arrayWith = require('../internals/array-with');\nvar toIndexedObject = require('../internals/to-indexed-object');\n\nvar $Array = Array;\n\n// `Array.prototype.with` method\n// https://tc39.es/ecma262/#sec-array.prototype.with\n$({ target: 'Array', proto: true }, {\n 'with': function (index, value) {\n return arrayWith(toIndexedObject(this), $Array, index, value);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-basic-detection');\n\n// `DataView` constructor\n// https://tc39.es/ecma262/#sec-dataview-constructor\n$({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, {\n DataView: ArrayBufferModule.DataView\n});\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.data-view.constructor');\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\n\n// IE8- non-standard case\nvar FORCED = fails(function () {\n // eslint-disable-next-line es/no-date-prototype-getyear-setyear -- detection\n return new Date(16e11).getYear() !== 120;\n});\n\nvar getFullYear = uncurryThis(Date.prototype.getFullYear);\n\n// `Date.prototype.getYear` method\n// https://tc39.es/ecma262/#sec-date.prototype.getyear\n$({ target: 'Date', proto: true, forced: FORCED }, {\n getYear: function getYear() {\n return getFullYear(this) - 1900;\n }\n});\n","'use strict';\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar $Date = Date;\nvar thisTimeValue = uncurryThis($Date.prototype.getTime);\n\n// `Date.now` method\n// https://tc39.es/ecma262/#sec-date.now\n$({ target: 'Date', stat: true }, {\n now: function now() {\n return thisTimeValue(new $Date());\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar DatePrototype = Date.prototype;\nvar thisTimeValue = uncurryThis(DatePrototype.getTime);\nvar setFullYear = uncurryThis(DatePrototype.setFullYear);\n\n// `Date.prototype.setYear` method\n// https://tc39.es/ecma262/#sec-date.prototype.setyear\n$({ target: 'Date', proto: true }, {\n setYear: function setYear(year) {\n // validate\n thisTimeValue(this);\n var yi = toIntegerOrInfinity(year);\n var yyyy = yi >= 0 && yi <= 99 ? yi + 1900 : yi;\n return setFullYear(this, yyyy);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\n\n// `Date.prototype.toGMTString` method\n// https://tc39.es/ecma262/#sec-date.prototype.togmtstring\n$({ target: 'Date', proto: true }, {\n toGMTString: Date.prototype.toUTCString\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar toISOString = require('../internals/date-to-iso-string');\n\n// `Date.prototype.toISOString` method\n// https://tc39.es/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit has a broken implementations\n$({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, {\n toISOString: toISOString\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar FORCED = fails(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n});\n\n// `Date.prototype.toJSON` method\n// https://tc39.es/ecma262/#sec-date.prototype.tojson\n$({ target: 'Date', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O, 'number');\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar dateToPrimitive = require('../internals/date-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar DatePrototype = Date.prototype;\n\n// `Date.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nif (!hasOwn(DatePrototype, TO_PRIMITIVE)) {\n defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive);\n}\n","'use strict';\n// TODO: Remove from `core-js@4`\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar DatePrototype = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar nativeDateToString = uncurryThis(DatePrototype[TO_STRING]);\nvar thisTimeValue = uncurryThis(DatePrototype.getTime);\n\n// `Date.prototype.toString` method\n// https://tc39.es/ecma262/#sec-date.prototype.tostring\nif (String(new Date(NaN)) !== INVALID_DATE) {\n defineBuiltIn(DatePrototype, TO_STRING, function toString() {\n var value = thisTimeValue(this);\n // eslint-disable-next-line no-self-compare -- NaN check\n return value === value ? nativeDateToString(this) : INVALID_DATE;\n });\n}\n","'use strict';\n/* eslint-disable no-unused-vars -- required for functions `.length` */\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar WEB_ASSEMBLY = 'WebAssembly';\nvar WebAssembly = global[WEB_ASSEMBLY];\n\nvar FORCED = Error('e', { cause: 7 }).cause !== 7;\n\nvar exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);\n $({ global: true, constructor: true, arity: 1, forced: FORCED }, O);\n};\n\nvar exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n if (WebAssembly && WebAssembly[ERROR_NAME]) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);\n $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);\n }\n};\n\n// https://tc39.es/ecma262/#sec-nativeerror\nexportGlobalErrorCauseWrapper('Error', function (init) {\n return function Error(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('EvalError', function (init) {\n return function EvalError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('RangeError', function (init) {\n return function RangeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('ReferenceError', function (init) {\n return function ReferenceError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('SyntaxError', function (init) {\n return function SyntaxError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('TypeError', function (init) {\n return function TypeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('URIError', function (init) {\n return function URIError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('CompileError', function (init) {\n return function CompileError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('LinkError', function (init) {\n return function LinkError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {\n return function RuntimeError(message) { return apply(init, this, arguments); };\n});\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\nvar errorToString = require('../internals/error-to-string');\n\nvar ErrorPrototype = Error.prototype;\n\n// `Error.prototype.toString` method fix\n// https://tc39.es/ecma262/#sec-error.prototype.tostring\nif (ErrorPrototype.toString !== errorToString) {\n defineBuiltIn(ErrorPrototype, 'toString', errorToString);\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar exec = uncurryThis(/./.exec);\nvar numberToString = uncurryThis(1.0.toString);\nvar toUpperCase = uncurryThis(''.toUpperCase);\n\nvar raw = /[\\w*+\\-./@]/;\n\nvar hex = function (code, length) {\n var result = numberToString(code, 16);\n while (result.length < length) result = '0' + result;\n return result;\n};\n\n// `escape` method\n// https://tc39.es/ecma262/#sec-escape-string\n$({ global: true }, {\n escape: function escape(string) {\n var str = toString(string);\n var result = '';\n var length = str.length;\n var index = 0;\n var chr, code;\n while (index < length) {\n chr = charAt(str, index++);\n if (exec(raw, chr)) {\n result += chr;\n } else {\n code = charCodeAt(chr, 0);\n if (code < 256) {\n result += '%' + hex(code, 2);\n } else {\n result += '%u' + toUpperCase(hex(code, 4));\n }\n }\n } return result;\n }\n});\n","'use strict';\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar bind = require('../internals/function-bind');\n\n// `Function.prototype.bind` method\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\n$({ target: 'Function', proto: true, forced: Function.bind !== bind }, {\n bind: bind\n});\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar makeBuiltIn = require('../internals/make-built-in');\n\nvar HAS_INSTANCE = wellKnownSymbol('hasInstance');\nvar FunctionPrototype = Function.prototype;\n\n// `Function.prototype[@@hasInstance]` method\n// https://tc39.es/ecma262/#sec-function.prototype-@@hasinstance\nif (!(HAS_INSTANCE in FunctionPrototype)) {\n definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: makeBuiltIn(function (O) {\n if (!isCallable(this) || !isObject(O)) return false;\n var P = this.prototype;\n if (!isObject(P)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (P === O) return true;\n return false;\n }, HAS_INSTANCE) });\n}\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineBuiltInAccessor(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\n\n// `globalThis` object\n// https://tc39.es/ecma262/#sec-globalthis\n$({ global: true, forced: global.globalThis !== global }, {\n globalThis: global\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar getReplacerFunction = require('../internals/get-json-replacer-function');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')('stringify detection');\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) !== '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) !== '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) !== '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = getReplacerFunction(replacer);\n if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n args[1] = function (key, value) {\n // some old implementations (like WebKit) could pass numbers as keys\n if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n if (!isSymbol(value)) return value;\n };\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","'use strict';\nvar global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.map.constructor');\n","'use strict';\nvar $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\n// eslint-disable-next-line es/no-math-acosh -- required for testing\nvar $acosh = Math.acosh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\nvar LN2 = Math.LN2;\n\nvar FORCED = !$acosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n || Math.floor($acosh(Number.MAX_VALUE)) !== 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN\n || $acosh(Infinity) !== Infinity;\n\n// `Math.acosh` method\n// https://tc39.es/ecma262/#sec-math.acosh\n$({ target: 'Math', stat: true, forced: FORCED }, {\n acosh: function acosh(x) {\n var n = +x;\n return n < 1 ? NaN : n > 94906265.62425156\n ? log(n) + LN2\n : log1p(n - 1 + sqrt(n - 1) * sqrt(n + 1));\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\n\n// eslint-disable-next-line es/no-math-asinh -- required for testing\nvar $asinh = Math.asinh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\n\nfunction asinh(x) {\n var n = +x;\n return !isFinite(n) || n === 0 ? n : n < 0 ? -asinh(-n) : log(n + sqrt(n * n + 1));\n}\n\nvar FORCED = !($asinh && 1 / $asinh(0) > 0);\n\n// `Math.asinh` method\n// https://tc39.es/ecma262/#sec-math.asinh\n// Tor Browser bug: Math.asinh(0) -> -0\n$({ target: 'Math', stat: true, forced: FORCED }, {\n asinh: asinh\n});\n","'use strict';\nvar $ = require('../internals/export');\n\n// eslint-disable-next-line es/no-math-atanh -- required for testing\nvar $atanh = Math.atanh;\nvar log = Math.log;\n\nvar FORCED = !($atanh && 1 / $atanh(-0) < 0);\n\n// `Math.atanh` method\n// https://tc39.es/ecma262/#sec-math.atanh\n// Tor Browser bug: Math.atanh(-0) -> 0\n$({ target: 'Math', stat: true, forced: FORCED }, {\n atanh: function atanh(x) {\n var n = +x;\n return n === 0 ? n : log((1 + n) / (1 - n)) / 2;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\n\nvar abs = Math.abs;\nvar pow = Math.pow;\n\n// `Math.cbrt` method\n// https://tc39.es/ecma262/#sec-math.cbrt\n$({ target: 'Math', stat: true }, {\n cbrt: function cbrt(x) {\n var n = +x;\n return sign(n) * pow(abs(n), 1 / 3);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\n\nvar floor = Math.floor;\nvar log = Math.log;\nvar LOG2E = Math.LOG2E;\n\n// `Math.clz32` method\n// https://tc39.es/ecma262/#sec-math.clz32\n$({ target: 'Math', stat: true }, {\n clz32: function clz32(x) {\n var n = x >>> 0;\n return n ? 31 - floor(log(n + 0.5) * LOG2E) : 32;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\n// eslint-disable-next-line es/no-math-cosh -- required for testing\nvar $cosh = Math.cosh;\nvar abs = Math.abs;\nvar E = Math.E;\n\nvar FORCED = !$cosh || $cosh(710) === Infinity;\n\n// `Math.cosh` method\n// https://tc39.es/ecma262/#sec-math.cosh\n$({ target: 'Math', stat: true, forced: FORCED }, {\n cosh: function cosh(x) {\n var t = expm1(abs(x) - 1) + 1;\n return (t + 1 / (t * E * E)) * (E / 2);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\n// `Math.expm1` method\n// https://tc39.es/ecma262/#sec-math.expm1\n// eslint-disable-next-line es/no-math-expm1 -- required for testing\n$({ target: 'Math', stat: true, forced: expm1 !== Math.expm1 }, { expm1: expm1 });\n","'use strict';\nvar $ = require('../internals/export');\nvar fround = require('../internals/math-fround');\n\n// `Math.fround` method\n// https://tc39.es/ecma262/#sec-math.fround\n$({ target: 'Math', stat: true }, { fround: fround });\n","'use strict';\nvar $ = require('../internals/export');\n\n// eslint-disable-next-line es/no-math-hypot -- required for testing\nvar $hypot = Math.hypot;\nvar abs = Math.abs;\nvar sqrt = Math.sqrt;\n\n// Chrome 77 bug\n// https://bugs.chromium.org/p/v8/issues/detail?id=9546\nvar FORCED = !!$hypot && $hypot(Infinity, NaN) !== Infinity;\n\n// `Math.hypot` method\n// https://tc39.es/ecma262/#sec-math.hypot\n$({ target: 'Math', stat: true, arity: 2, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n hypot: function hypot(value1, value2) {\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * sqrt(sum);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-math-imul -- required for testing\nvar $imul = Math.imul;\n\nvar FORCED = fails(function () {\n return $imul(0xFFFFFFFF, 5) !== -5 || $imul.length !== 2;\n});\n\n// `Math.imul` method\n// https://tc39.es/ecma262/#sec-math.imul\n// some WebKit versions fails with big numbers, some has wrong arity\n$({ target: 'Math', stat: true, forced: FORCED }, {\n imul: function imul(x, y) {\n var UINT16 = 0xFFFF;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar log10 = require('../internals/math-log10');\n\n// `Math.log10` method\n// https://tc39.es/ecma262/#sec-math.log10\n$({ target: 'Math', stat: true }, {\n log10: log10\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\n// `Math.log1p` method\n// https://tc39.es/ecma262/#sec-math.log1p\n$({ target: 'Math', stat: true }, { log1p: log1p });\n","'use strict';\nvar $ = require('../internals/export');\n\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\n// `Math.log2` method\n// https://tc39.es/ecma262/#sec-math.log2\n$({ target: 'Math', stat: true }, {\n log2: function log2(x) {\n return log(x) / LN2;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\n\n// `Math.sign` method\n// https://tc39.es/ecma262/#sec-math.sign\n$({ target: 'Math', stat: true }, {\n sign: sign\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar expm1 = require('../internals/math-expm1');\n\nvar abs = Math.abs;\nvar exp = Math.exp;\nvar E = Math.E;\n\nvar FORCED = fails(function () {\n // eslint-disable-next-line es/no-math-sinh -- required for testing\n return Math.sinh(-2e-17) !== -2e-17;\n});\n\n// `Math.sinh` method\n// https://tc39.es/ecma262/#sec-math.sinh\n// V8 near Chromium 38 has a problem with very small numbers\n$({ target: 'Math', stat: true, forced: FORCED }, {\n sinh: function sinh(x) {\n var n = +x;\n return abs(n) < 1 ? (expm1(n) - expm1(-n)) / 2 : (exp(n - 1) - exp(-n - 1)) * (E / 2);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\nvar exp = Math.exp;\n\n// `Math.tanh` method\n// https://tc39.es/ecma262/#sec-math.tanh\n$({ target: 'Math', stat: true }, {\n tanh: function tanh(x) {\n var n = +x;\n var a = expm1(n);\n var b = expm1(-n);\n return a === Infinity ? 1 : b === Infinity ? -1 : (a - b) / (exp(n) + exp(-n));\n }\n});\n","'use strict';\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// Math[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-math-@@tostringtag\nsetToStringTag(Math, 'Math', true);\n","'use strict';\nvar $ = require('../internals/export');\nvar trunc = require('../internals/math-trunc');\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n$({ target: 'Math', stat: true }, {\n trunc: trunc\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar path = require('../internals/path');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar PureNumberNamespace = path[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar stringSlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n // fast equal of /^0b[01]+$/i\n case 66:\n case 98:\n radix = 2;\n maxCode = 49;\n break;\n // fast equal of /^0o[0-7]+$/i\n case 79:\n case 111:\n radix = 8;\n maxCode = 55;\n break;\n default:\n return +it;\n }\n digits = stringSlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nvar FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));\n\nvar calledWithNew = function (dummy) {\n // includes check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nvar NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;\n};\n\nNumberWrapper.prototype = NumberPrototype;\nif (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED }, {\n Number: NumberWrapper\n});\n\n// Use `internal/copy-constructor-properties` helper in `core-js@4`\nvar copyConstructorProperties = function (target, source) {\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\nif (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);\nif (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);\n","'use strict';\nvar $ = require('../internals/export');\n\n// `Number.EPSILON` constant\n// https://tc39.es/ecma262/#sec-number.epsilon\n$({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, {\n EPSILON: Math.pow(2, -52)\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar numberIsFinite = require('../internals/number-is-finite');\n\n// `Number.isFinite` method\n// https://tc39.es/ecma262/#sec-number.isfinite\n$({ target: 'Number', stat: true }, { isFinite: numberIsFinite });\n","'use strict';\nvar $ = require('../internals/export');\nvar isIntegralNumber = require('../internals/is-integral-number');\n\n// `Number.isInteger` method\n// https://tc39.es/ecma262/#sec-number.isinteger\n$({ target: 'Number', stat: true }, {\n isInteger: isIntegralNumber\n});\n","'use strict';\nvar $ = require('../internals/export');\n\n// `Number.isNaN` method\n// https://tc39.es/ecma262/#sec-number.isnan\n$({ target: 'Number', stat: true }, {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isIntegralNumber = require('../internals/is-integral-number');\n\nvar abs = Math.abs;\n\n// `Number.isSafeInteger` method\n// https://tc39.es/ecma262/#sec-number.issafeinteger\n$({ target: 'Number', stat: true }, {\n isSafeInteger: function isSafeInteger(number) {\n return isIntegralNumber(number) && abs(number) <= 0x1FFFFFFFFFFFFF;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\n\n// `Number.MAX_SAFE_INTEGER` constant\n// https://tc39.es/ecma262/#sec-number.max_safe_integer\n$({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, {\n MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF\n});\n","'use strict';\nvar $ = require('../internals/export');\n\n// `Number.MIN_SAFE_INTEGER` constant\n// https://tc39.es/ecma262/#sec-number.min_safe_integer\n$({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, {\n MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar parseFloat = require('../internals/number-parse-float');\n\n// `Number.parseFloat` method\n// https://tc39.es/ecma262/#sec-number.parseFloat\n// eslint-disable-next-line es/no-number-parsefloat -- required for testing\n$({ target: 'Number', stat: true, forced: Number.parseFloat !== parseFloat }, {\n parseFloat: parseFloat\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar parseInt = require('../internals/number-parse-int');\n\n// `Number.parseInt` method\n// https://tc39.es/ecma262/#sec-number.parseint\n// eslint-disable-next-line es/no-number-parseint -- required for testing\n$({ target: 'Number', stat: true, forced: Number.parseInt !== parseInt }, {\n parseInt: parseInt\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar thisNumberValue = require('../internals/this-number-value');\nvar $repeat = require('../internals/string-repeat');\nvar log10 = require('../internals/math-log10');\nvar fails = require('../internals/fails');\n\nvar $RangeError = RangeError;\nvar $String = String;\nvar $isFinite = isFinite;\nvar abs = Math.abs;\nvar floor = Math.floor;\nvar pow = Math.pow;\nvar round = Math.round;\nvar nativeToExponential = uncurryThis(1.0.toExponential);\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\n\n// Edge 17-\nvar ROUNDS_PROPERLY = nativeToExponential(-6.9e-11, 4) === '-6.9000e-11'\n // IE11- && Edge 14-\n && nativeToExponential(1.255, 2) === '1.25e+0'\n // FF86-, V8 ~ Chrome 49-50\n && nativeToExponential(12345, 3) === '1.235e+4'\n // FF86-, V8 ~ Chrome 49-50\n && nativeToExponential(25, 0) === '3e+1';\n\n// IE8-\nvar throwsOnInfinityFraction = function () {\n return fails(function () {\n nativeToExponential(1, Infinity);\n }) && fails(function () {\n nativeToExponential(1, -Infinity);\n });\n};\n\n// Safari <11 && FF <50\nvar properNonFiniteThisCheck = function () {\n return !fails(function () {\n nativeToExponential(Infinity, Infinity);\n nativeToExponential(NaN, Infinity);\n });\n};\n\nvar FORCED = !ROUNDS_PROPERLY || !throwsOnInfinityFraction() || !properNonFiniteThisCheck();\n\n// `Number.prototype.toExponential` method\n// https://tc39.es/ecma262/#sec-number.prototype.toexponential\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toExponential: function toExponential(fractionDigits) {\n var x = thisNumberValue(this);\n if (fractionDigits === undefined) return nativeToExponential(x);\n var f = toIntegerOrInfinity(fractionDigits);\n if (!$isFinite(x)) return String(x);\n // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation\n if (f < 0 || f > 20) throw $RangeError('Incorrect fraction digits');\n if (ROUNDS_PROPERLY) return nativeToExponential(x, f);\n var s = '';\n var m = '';\n var e = 0;\n var c = '';\n var d = '';\n if (x < 0) {\n s = '-';\n x = -x;\n }\n if (x === 0) {\n e = 0;\n m = repeat('0', f + 1);\n } else {\n // this block is based on https://gist.github.com/SheetJSDev/1100ad56b9f856c95299ed0e068eea08\n // TODO: improve accuracy with big fraction digits\n var l = log10(x);\n e = floor(l);\n var n = 0;\n var w = pow(10, e - f);\n n = round(x / w);\n if (2 * x >= (2 * n + 1) * w) {\n n += 1;\n }\n if (n >= pow(10, f + 1)) {\n n /= 10;\n e += 1;\n }\n m = $String(n);\n }\n if (f !== 0) {\n m = stringSlice(m, 0, 1) + '.' + stringSlice(m, 1);\n }\n if (e === 0) {\n c = '+';\n d = '0';\n } else {\n c = e > 0 ? '+' : '-';\n d = $String(abs(e));\n }\n m += 'e' + c + d;\n return s + m;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar thisNumberValue = require('../internals/this-number-value');\nvar $repeat = require('../internals/string-repeat');\nvar fails = require('../internals/fails');\n\nvar $RangeError = RangeError;\nvar $String = String;\nvar floor = Math.floor;\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar nativeToFixed = uncurryThis(1.0.toFixed);\n\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\n\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\nvar multiply = function (data, n, c) {\n var index = -1;\n var c2 = c;\n while (++index < 6) {\n c2 += n * data[index];\n data[index] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\n\nvar divide = function (data, n) {\n var index = 6;\n var c = 0;\n while (--index >= 0) {\n c += data[index];\n data[index] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\n\nvar dataToString = function (data) {\n var index = 6;\n var s = '';\n while (--index >= 0) {\n if (s !== '' || index === 0 || data[index] !== 0) {\n var t = $String(data[index]);\n s = s === '' ? t : s + repeat('0', 7 - t.length) + t;\n }\n } return s;\n};\n\nvar FORCED = fails(function () {\n return nativeToFixed(0.00008, 3) !== '0.000' ||\n nativeToFixed(0.9, 0) !== '1' ||\n nativeToFixed(1.255, 2) !== '1.25' ||\n nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128';\n}) || !fails(function () {\n // V8 ~ Android 4.3-\n nativeToFixed({});\n});\n\n// `Number.prototype.toFixed` method\n// https://tc39.es/ecma262/#sec-number.prototype.tofixed\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toFixed: function toFixed(fractionDigits) {\n var number = thisNumberValue(this);\n var fractDigits = toIntegerOrInfinity(fractionDigits);\n var data = [0, 0, 0, 0, 0, 0];\n var sign = '';\n var result = '0';\n var e, z, j, k;\n\n // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation\n if (fractDigits < 0 || fractDigits > 20) throw $RangeError('Incorrect fraction digits');\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number !== number) return 'NaN';\n if (number <= -1e21 || number >= 1e21) return $String(number);\n if (number < 0) {\n sign = '-';\n number = -number;\n }\n if (number > 1e-21) {\n e = log(number * pow(2, 69, 1)) - 69;\n z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(data, 0, z);\n j = fractDigits;\n while (j >= 7) {\n multiply(data, 1e7, 0);\n j -= 7;\n }\n multiply(data, pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(data, 1 << 23);\n j -= 23;\n }\n divide(data, 1 << j);\n multiply(data, 1, 1);\n divide(data, 2);\n result = dataToString(data);\n } else {\n multiply(data, 0, z);\n multiply(data, 1 << -e, 0);\n result = dataToString(data) + repeat('0', fractDigits);\n }\n }\n if (fractDigits > 0) {\n k = result.length;\n result = sign + (k <= fractDigits\n ? '0.' + repeat('0', fractDigits - k) + result\n : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits));\n } else {\n result = sign + result;\n } return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar thisNumberValue = require('../internals/this-number-value');\n\nvar nativeToPrecision = uncurryThis(1.0.toPrecision);\n\nvar FORCED = fails(function () {\n // IE7-\n return nativeToPrecision(1, undefined) !== '1';\n}) || !fails(function () {\n // V8 ~ Android 4.3-\n nativeToPrecision({});\n});\n\n// `Number.prototype.toPrecision` method\n// https://tc39.es/ecma262/#sec-number.prototype.toprecision\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toPrecision: function toPrecision(precision) {\n return precision === undefined\n ? nativeToPrecision(thisNumberValue(this))\n : nativeToPrecision(thisNumberValue(this), precision);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n assign: assign\n});\n","'use strict';\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar create = require('../internals/object-create');\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n create: create\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar definePropertyModule = require('../internals/object-define-property');\n\n// `Object.prototype.__defineGetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__defineGetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __defineGetter__: function __defineGetter__(P, getter) {\n definePropertyModule.f(toObject(this), P, { get: aCallable(getter), enumerable: true, configurable: true });\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperties = require('../internals/object-define-properties').f;\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, {\n defineProperties: defineProperties\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\n// eslint-disable-next-line es/no-object-defineproperty -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {\n defineProperty: defineProperty\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar definePropertyModule = require('../internals/object-define-property');\n\n// `Object.prototype.__defineSetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__defineSetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __defineSetter__: function __defineSetter__(P, setter) {\n definePropertyModule.f(toObject(this), P, { set: aCallable(setter), enumerable: true, configurable: true });\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.es/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\n\n// eslint-disable-next-line es/no-object-freeze -- safe\nvar $freeze = Object.freeze;\nvar FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); });\n\n// `Object.freeze` method\n// https://tc39.es/ecma262/#sec-object.freeze\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n freeze: function freeze(it) {\n return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar createProperty = require('../internals/create-property');\n\n// `Object.fromEntries` method\n// https://github.com/tc39/proposal-object-from-entries\n$({ target: 'Object', stat: true }, {\n fromEntries: function fromEntries(iterable) {\n var obj = {};\n iterate(iterable, function (k, v) {\n createProperty(obj, k, v);\n }, { AS_ENTRIES: true });\n return obj;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar nativeGetOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); });\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\n$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {\n return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ownKeys = require('../internals/own-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar createProperty = require('../internals/create-property');\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var index = 0;\n var key, descriptor;\n while (keys.length > index) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;\n\n// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing\nvar FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n getOwnPropertyNames: getOwnPropertyNames\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar toObject = require('../internals/to-object');\n\n// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });\n\n// `Object.getOwnPropertySymbols` method\n// https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n$({ target: 'Object', stat: true, forced: FORCED }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","'use strict';\nvar $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\n\n// `Object.hasOwn` method\n// https://tc39.es/ecma262/#sec-object.hasown\n$({ target: 'Object', stat: true }, {\n hasOwn: hasOwn\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $isExtensible = require('../internals/object-is-extensible');\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\n// eslint-disable-next-line es/no-object-isextensible -- safe\n$({ target: 'Object', stat: true, forced: Object.isExtensible !== $isExtensible }, {\n isExtensible: $isExtensible\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isfrozen -- safe\nvar $isFrozen = Object.isFrozen;\n\nvar FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isFrozen(1); });\n\n// `Object.isFrozen` method\n// https://tc39.es/ecma262/#sec-object.isfrozen\n$({ target: 'Object', stat: true, forced: FORCED }, {\n isFrozen: function isFrozen(it) {\n if (!isObject(it)) return true;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true;\n return $isFrozen ? $isFrozen(it) : false;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-issealed -- safe\nvar $isSealed = Object.isSealed;\n\nvar FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isSealed(1); });\n\n// `Object.isSealed` method\n// https://tc39.es/ecma262/#sec-object.issealed\n$({ target: 'Object', stat: true, forced: FORCED }, {\n isSealed: function isSealed(it) {\n if (!isObject(it)) return true;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true;\n return $isSealed ? $isSealed(it) : false;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar is = require('../internals/same-value');\n\n// `Object.is` method\n// https://tc39.es/ecma262/#sec-object.is\n$({ target: 'Object', stat: true }, {\n is: is\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Object.prototype.__lookupGetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__lookupGetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __lookupGetter__: function __lookupGetter__(P) {\n var O = toObject(this);\n var key = toPropertyKey(P);\n var desc;\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.get;\n } while (O = getPrototypeOf(O));\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Object.prototype.__lookupSetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__lookupSetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __lookupSetter__: function __lookupSetter__(P) {\n var O = toObject(this);\n var key = toPropertyKey(P);\n var desc;\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.set;\n } while (O = getPrototypeOf(O));\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-preventextensions -- safe\nvar $preventExtensions = Object.preventExtensions;\nvar FAILS_ON_PRIMITIVES = fails(function () { $preventExtensions(1); });\n\n// `Object.preventExtensions` method\n// https://tc39.es/ecma262/#sec-object.preventextensions\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n preventExtensions: function preventExtensions(it) {\n return $preventExtensions && isObject(it) ? $preventExtensions(onFreeze(it)) : it;\n }\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nvar getPrototypeOf = Object.getPrototypeOf;\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nvar setPrototypeOf = Object.setPrototypeOf;\nvar ObjectPrototype = Object.prototype;\nvar PROTO = '__proto__';\n\n// `Object.prototype.__proto__` accessor\n// https://tc39.es/ecma262/#sec-object.prototype.__proto__\nif (DESCRIPTORS && getPrototypeOf && setPrototypeOf && !(PROTO in ObjectPrototype)) try {\n defineBuiltInAccessor(ObjectPrototype, PROTO, {\n configurable: true,\n get: function __proto__() {\n return getPrototypeOf(toObject(this));\n },\n set: function __proto__(proto) {\n var O = requireObjectCoercible(this);\n if (!isObject(proto) && proto !== null || !isObject(O)) return;\n setPrototypeOf(O, proto);\n }\n });\n} catch (error) { /* empty */ }\n","'use strict';\nvar $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-seal -- safe\nvar $seal = Object.seal;\nvar FAILS_ON_PRIMITIVES = fails(function () { $seal(1); });\n\n// `Object.seal` method\n// https://tc39.es/ecma262/#sec-object.seal\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n seal: function seal(it) {\n return $seal && isObject(it) ? $seal(onFreeze(it)) : it;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $parseFloat = require('../internals/number-parse-float');\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\n$({ global: true, forced: parseFloat !== $parseFloat }, {\n parseFloat: $parseFloat\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $parseInt = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt !== $parseInt }, {\n parseInt: $parseInt\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.allSettled` method\n// https://tc39.es/ecma262/#sec-promise.allsettled\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n allSettled: function allSettled(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'fulfilled', value: value };\n --remaining || resolve(values);\n }, function (error) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'rejected', reason: error };\n --remaining || resolve(values);\n });\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar getBuiltIn = require('../internals/get-built-in');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\nvar PROMISE_ANY_ERROR = 'No one promise resolved';\n\n// `Promise.any` method\n// https://tc39.es/ecma262/#sec-promise.any\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n any: function any(iterable) {\n var C = this;\n var AggregateError = getBuiltIn('AggregateError');\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var errors = [];\n var counter = 0;\n var remaining = 1;\n var alreadyResolved = false;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyRejected = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyResolved = true;\n resolve(value);\n }, function (error) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyRejected = true;\n errors[index] = error;\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n });\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// `Promise.prototype.catch` method\n// https://tc39.es/ecma262/#sec-promise.prototype.catch\n$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n});\n\n// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['catch'];\n if (NativePromisePrototype['catch'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar IS_NODE = require('../internals/engine-is-node');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar PromiseConstructorDetection = require('../internals/promise-constructor-detection');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\n\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state === FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalPromiseState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n\n PromisePrototype = PromiseConstructor.prototype;\n\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state === PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n });\n\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalPromiseState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!NATIVE_PROMISE_SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromiseConstructor && fails(function () {\n // eslint-disable-next-line unicorn/no-thenable -- required for testing\n NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.es/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n 'finally': function (onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = isCallable(onFinally);\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n }\n});\n\n// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['finally'];\n if (NativePromisePrototype['finally'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'finally', method, { unsafe: true });\n }\n}\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.promise.constructor');\nrequire('../modules/es.promise.all');\nrequire('../modules/es.promise.catch');\nrequire('../modules/es.promise.race');\nrequire('../modules/es.promise.reject');\nrequire('../modules/es.promise.resolve');\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\n// `Promise.reject` method\n// https://tc39.es/ecma262/#sec-promise.reject\n$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n reject: function reject(r) {\n var capability = newPromiseCapabilityModule.f(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar promiseResolve = require('../internals/promise-resolve');\n\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {\n resolve: function resolve(x) {\n return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar functionApply = require('../internals/function-apply');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\n\n// MS Edge argumentsList argument is optional\nvar OPTIONAL_ARGUMENTS_LIST = !fails(function () {\n // eslint-disable-next-line es/no-reflect -- required for testing\n Reflect.apply(function () { /* empty */ });\n});\n\n// `Reflect.apply` method\n// https://tc39.es/ecma262/#sec-reflect.apply\n$({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, {\n apply: function apply(target, thisArgument, argumentsList) {\n return functionApply(aCallable(target), thisArgument, anObject(argumentsList));\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind');\nvar aConstructor = require('../internals/a-constructor');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar fails = require('../internals/fails');\n\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\nvar ObjectPrototype = Object.prototype;\nvar push = [].push;\n\n// `Reflect.construct` method\n// https://tc39.es/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\n\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () { /* empty */ });\n});\n\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\n$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n construct: function construct(Target, args /* , newTarget */) {\n aConstructor(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target === newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n apply(push, $args, args);\n return new (apply(bind, Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : ObjectPrototype);\n var result = apply(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar fails = require('../internals/fails');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\nvar ERROR_INSTEAD_OF_FALSE = fails(function () {\n // eslint-disable-next-line es/no-reflect -- required for testing\n Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 });\n});\n\n// `Reflect.defineProperty` method\n// https://tc39.es/ecma262/#sec-reflect.defineproperty\n$({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n var key = toPropertyKey(propertyKey);\n anObject(attributes);\n try {\n definePropertyModule.f(target, key, attributes);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Reflect.deleteProperty` method\n// https://tc39.es/ecma262/#sec-reflect.deleteproperty\n$({ target: 'Reflect', stat: true }, {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey);\n return descriptor && !descriptor.configurable ? false : delete target[propertyKey];\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\n\n// `Reflect.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-reflect.getownpropertydescriptor\n$({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar objectGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\n// `Reflect.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-reflect.getprototypeof\n$({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(target) {\n return objectGetPrototypeOf(anObject(target));\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\n// `Reflect.get` method\n// https://tc39.es/ecma262/#sec-reflect.get\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var descriptor, prototype;\n if (anObject(target) === receiver) return target[propertyKey];\n descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey);\n if (descriptor) return isDataDescriptor(descriptor)\n ? descriptor.value\n : descriptor.get === undefined ? undefined : call(descriptor.get, receiver);\n if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n}\n\n$({ target: 'Reflect', stat: true }, {\n get: get\n});\n","'use strict';\nvar $ = require('../internals/export');\n\n// `Reflect.has` method\n// https://tc39.es/ecma262/#sec-reflect.has\n$({ target: 'Reflect', stat: true }, {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar $isExtensible = require('../internals/object-is-extensible');\n\n// `Reflect.isExtensible` method\n// https://tc39.es/ecma262/#sec-reflect.isextensible\n$({ target: 'Reflect', stat: true }, {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible(target);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar ownKeys = require('../internals/own-keys');\n\n// `Reflect.ownKeys` method\n// https://tc39.es/ecma262/#sec-reflect.ownkeys\n$({ target: 'Reflect', stat: true }, {\n ownKeys: ownKeys\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar FREEZING = require('../internals/freezing');\n\n// `Reflect.preventExtensions` method\n// https://tc39.es/ecma262/#sec-reflect.preventextensions\n$({ target: 'Reflect', stat: true, sham: !FREEZING }, {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions');\n if (objectPreventExtensions) objectPreventExtensions(target);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\nvar objectSetPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Reflect.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-reflect.setprototypeof\nif (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n anObject(target);\n aPossiblePrototype(proto);\n try {\n objectSetPrototypeOf(target, proto);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar fails = require('../internals/fails');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\n// `Reflect.set` method\n// https://tc39.es/ecma262/#sec-reflect.set\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n var existingDescriptor, prototype, setter;\n if (!ownDescriptor) {\n if (isObject(prototype = getPrototypeOf(target))) {\n return set(prototype, propertyKey, V, receiver);\n }\n ownDescriptor = createPropertyDescriptor(0);\n }\n if (isDataDescriptor(ownDescriptor)) {\n if (ownDescriptor.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n definePropertyModule.f(receiver, propertyKey, existingDescriptor);\n } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V));\n } else {\n setter = ownDescriptor.set;\n if (setter === undefined) return false;\n call(setter, receiver, V);\n } return true;\n}\n\n// MS Edge 17-18 Reflect.set allows setting the property to object\n// with non-writable property on the prototype\nvar MS_EDGE_BUG = fails(function () {\n var Constructor = function () { /* empty */ };\n var object = definePropertyModule.f(new Constructor(), 'a', { configurable: true });\n // eslint-disable-next-line es/no-reflect -- required for testing\n return Reflect.set(Constructor.prototype, 'a', 1, object) !== false;\n});\n\n$({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, {\n set: set\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n$({ global: true }, { Reflect: {} });\n\n// Reflect[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-reflect-@@tostringtag\nsetToStringTag(global.Reflect, 'Reflect', true);\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar proxyAccessor = require('../internals/proxy-accessor');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar setSpecies = require('../internals/set-species');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar MATCH = wellKnownSymbol('match');\nvar NativeRegExp = global.RegExp;\nvar RegExpPrototype = NativeRegExp.prototype;\nvar SyntaxError = global.SyntaxError;\nvar exec = uncurryThis(RegExpPrototype.exec);\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n// TODO: Use only proper RegExpIdentifierName\nvar IS_NCG = /^\\?<[^\\s\\d!#%&*+<=>@^][^\\s!#%&*+<=>@^]*>/;\nvar re1 = /a/g;\nvar re2 = /a/g;\n\n// \"new\" should create a new object, old webkit bug\nvar CORRECT_NEW = new NativeRegExp(re1) !== re1;\n\nvar MISSED_STICKY = stickyHelpers.MISSED_STICKY;\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\n\nvar BASE_FORCED = DESCRIPTORS &&\n (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {\n re2[MATCH] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';\n }));\n\nvar handleDotAll = function (string) {\n var length = string.length;\n var index = 0;\n var result = '';\n var brackets = false;\n var chr;\n for (; index <= length; index++) {\n chr = charAt(string, index);\n if (chr === '\\\\') {\n result += chr + charAt(string, ++index);\n continue;\n }\n if (!brackets && chr === '.') {\n result += '[\\\\s\\\\S]';\n } else {\n if (chr === '[') {\n brackets = true;\n } else if (chr === ']') {\n brackets = false;\n } result += chr;\n }\n } return result;\n};\n\nvar handleNCG = function (string) {\n var length = string.length;\n var index = 0;\n var result = '';\n var named = [];\n var names = {};\n var brackets = false;\n var ncg = false;\n var groupid = 0;\n var groupname = '';\n var chr;\n for (; index <= length; index++) {\n chr = charAt(string, index);\n if (chr === '\\\\') {\n chr += charAt(string, ++index);\n } else if (chr === ']') {\n brackets = false;\n } else if (!brackets) switch (true) {\n case chr === '[':\n brackets = true;\n break;\n case chr === '(':\n if (exec(IS_NCG, stringSlice(string, index + 1))) {\n index += 2;\n ncg = true;\n }\n result += chr;\n groupid++;\n continue;\n case chr === '>' && ncg:\n if (groupname === '' || hasOwn(names, groupname)) {\n throw new SyntaxError('Invalid capture group name');\n }\n names[groupname] = true;\n named[named.length] = [groupname, groupid];\n ncg = false;\n groupname = '';\n continue;\n }\n if (ncg) groupname += chr;\n else result += chr;\n } return [result, named];\n};\n\n// `RegExp` constructor\n// https://tc39.es/ecma262/#sec-regexp-constructor\nif (isForced('RegExp', BASE_FORCED)) {\n var RegExpWrapper = function RegExp(pattern, flags) {\n var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);\n var patternIsRegExp = isRegExp(pattern);\n var flagsAreUndefined = flags === undefined;\n var groups = [];\n var rawPattern = pattern;\n var rawFlags, dotAll, sticky, handled, result, state;\n\n if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {\n return pattern;\n }\n\n if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {\n pattern = pattern.source;\n if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);\n }\n\n pattern = pattern === undefined ? '' : toString(pattern);\n flags = flags === undefined ? '' : toString(flags);\n rawPattern = pattern;\n\n if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {\n dotAll = !!flags && stringIndexOf(flags, 's') > -1;\n if (dotAll) flags = replace(flags, /s/g, '');\n }\n\n rawFlags = flags;\n\n if (MISSED_STICKY && 'sticky' in re1) {\n sticky = !!flags && stringIndexOf(flags, 'y') > -1;\n if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');\n }\n\n if (UNSUPPORTED_NCG) {\n handled = handleNCG(pattern);\n pattern = handled[0];\n groups = handled[1];\n }\n\n result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);\n\n if (dotAll || sticky || groups.length) {\n state = enforceInternalState(result);\n if (dotAll) {\n state.dotAll = true;\n state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);\n }\n if (sticky) state.sticky = true;\n if (groups.length) state.groups = groups;\n }\n\n if (pattern !== rawPattern) try {\n // fails in old engines, but we have no alternatives for unsupported regex syntax\n createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);\n } catch (error) { /* empty */ }\n\n return result;\n };\n\n for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {\n proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);\n }\n\n RegExpPrototype.constructor = RegExpWrapper;\n RegExpWrapper.prototype = RegExpPrototype;\n defineBuiltIn(global, 'RegExp', RegExpWrapper, { constructor: true });\n}\n\n// https://tc39.es/ecma262/#sec-get-regexp-@@species\nsetSpecies('RegExp');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar classof = require('../internals/classof-raw');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar getInternalState = require('../internals/internal-state').get;\n\nvar RegExpPrototype = RegExp.prototype;\nvar $TypeError = TypeError;\n\n// `RegExp.prototype.dotAll` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall\nif (DESCRIPTORS && UNSUPPORTED_DOT_ALL) {\n defineBuiltInAccessor(RegExpPrototype, 'dotAll', {\n configurable: true,\n get: function dotAll() {\n if (this === RegExpPrototype) return undefined;\n // We can't use InternalStateModule.getterFor because\n // we don't add metadata for regexps created by a literal.\n if (classof(this) === 'RegExp') {\n return !!getInternalState(this).dotAll;\n }\n throw $TypeError('Incompatible receiver, RegExp required');\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar regExpFlags = require('../internals/regexp-flags');\nvar fails = require('../internals/fails');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError\nvar RegExp = global.RegExp;\nvar RegExpPrototype = RegExp.prototype;\n\nvar FORCED = DESCRIPTORS && fails(function () {\n var INDICES_SUPPORT = true;\n try {\n RegExp('.', 'd');\n } catch (error) {\n INDICES_SUPPORT = false;\n }\n\n var O = {};\n // modern V8 bug\n var calls = '';\n var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';\n\n var addGetter = function (key, chr) {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(O, key, { get: function () {\n calls += chr;\n return true;\n } });\n };\n\n var pairs = {\n dotAll: 's',\n global: 'g',\n ignoreCase: 'i',\n multiline: 'm',\n sticky: 'y'\n };\n\n if (INDICES_SUPPORT) pairs.hasIndices = 'd';\n\n for (var key in pairs) addGetter(key, pairs[key]);\n\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O);\n\n return result !== expected || calls !== expected;\n});\n\n// `RegExp.prototype.flags` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nif (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', {\n configurable: true,\n get: regExpFlags\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar MISSED_STICKY = require('../internals/regexp-sticky-helpers').MISSED_STICKY;\nvar classof = require('../internals/classof-raw');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar getInternalState = require('../internals/internal-state').get;\n\nvar RegExpPrototype = RegExp.prototype;\nvar $TypeError = TypeError;\n\n// `RegExp.prototype.sticky` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky\nif (DESCRIPTORS && MISSED_STICKY) {\n defineBuiltInAccessor(RegExpPrototype, 'sticky', {\n configurable: true,\n get: function sticky() {\n if (this === RegExpPrototype) return;\n // We can't use InternalStateModule.getterFor because\n // we don't add metadata for regexps created by a literal.\n if (classof(this) === 'RegExp') {\n return !!getInternalState(this).sticky;\n }\n throw $TypeError('Incompatible receiver, RegExp required');\n }\n });\n}\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar anObject = require('../internals/an-object');\nvar toString = require('../internals/to-string');\n\nvar DELEGATES_TO_EXEC = function () {\n var execCalled = false;\n var re = /[ac]/;\n re.exec = function () {\n execCalled = true;\n return /./.exec.apply(this, arguments);\n };\n return re.test('abc') === true && execCalled;\n}();\n\nvar nativeTest = /./.test;\n\n// `RegExp.prototype.test` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.test\n$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {\n test: function (S) {\n var R = anObject(this);\n var string = toString(S);\n var exec = R.exec;\n if (!isCallable(exec)) return call(nativeTest, R, string);\n var result = call(exec, R, string);\n if (result === null) return false;\n anObject(result);\n return true;\n }\n});\n","'use strict';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar anObject = require('../internals/an-object');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var pattern = $toString(R.source);\n var flags = $toString(getRegExpFlags(R));\n return '/' + pattern + '/' + flags;\n }, { unsafe: true });\n}\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.set.constructor');\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.anchor` method\n// https://tc39.es/ecma262/#sec-string.prototype.anchor\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, {\n anchor: function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\n\nvar charAt = uncurryThis(''.charAt);\n\nvar FORCED = fails(function () {\n // eslint-disable-next-line es/no-array-string-prototype-at -- safe\n return '𠮷'.at(-2) !== '\\uD842';\n});\n\n// `String.prototype.at` method\n// https://tc39.es/ecma262/#sec-string.prototype.at\n$({ target: 'String', proto: true, forced: FORCED }, {\n at: function at(index) {\n var S = toString(requireObjectCoercible(this));\n var len = S.length;\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return (k < 0 || k >= len) ? undefined : charAt(S, k);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.big` method\n// https://tc39.es/ecma262/#sec-string.prototype.big\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, {\n big: function big() {\n return createHTML(this, 'big', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.blink` method\n// https://tc39.es/ecma262/#sec-string.prototype.blink\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, {\n blink: function blink() {\n return createHTML(this, 'blink', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.bold` method\n// https://tc39.es/ecma262/#sec-string.prototype.bold\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, {\n bold: function bold() {\n return createHTML(this, 'b', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar codeAt = require('../internals/string-multibyte').codeAt;\n\n// `String.prototype.codePointAt` method\n// https://tc39.es/ecma262/#sec-string.prototype.codepointat\n$({ target: 'String', proto: true }, {\n codePointAt: function codePointAt(pos) {\n return codeAt(this, pos);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-endswith -- safe\nvar nativeEndsWith = uncurryThis(''.endsWith);\nvar slice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = that.length;\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return nativeEndsWith\n ? nativeEndsWith(that, search, end)\n : slice(that, end - search.length, end) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fixed` method\n// https://tc39.es/ecma262/#sec-string.prototype.fixed\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {\n fixed: function fixed() {\n return createHTML(this, 'tt', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontcolor` method\n// https://tc39.es/ecma262/#sec-string.prototype.fontcolor\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') }, {\n fontcolor: function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontsize` method\n// https://tc39.es/ecma262/#sec-string.prototype.fontsize\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, {\n fontsize: function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar $RangeError = RangeError;\nvar fromCharCode = String.fromCharCode;\n// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing\nvar $fromCodePoint = String.fromCodePoint;\nvar join = uncurryThis([].join);\n\n// length should be 1, old FF problem\nvar INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1;\n\n// `String.fromCodePoint` method\n// https://tc39.es/ecma262/#sec-string.fromcodepoint\n$({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n fromCodePoint: function fromCodePoint(x) {\n var elements = [];\n var length = arguments.length;\n var i = 0;\n var code;\n while (length > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw $RangeError(code + ' is not a valid code point');\n elements[i] = code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);\n } return join(elements, '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\n\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `String.prototype.isWellFormed` method\n// https://github.com/tc39/proposal-is-usv-string\n$({ target: 'String', proto: true }, {\n isWellFormed: function isWellFormed() {\n var S = toString(requireObjectCoercible(this));\n var length = S.length;\n for (var i = 0; i < length; i++) {\n var charCode = charCodeAt(S, i);\n // single UTF-16 code unit\n if ((charCode & 0xF800) !== 0xD800) continue;\n // unpaired surrogate\n if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00) !== 0xDC00) return false;\n } return true;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.italics` method\n// https://tc39.es/ecma262/#sec-string.prototype.italics\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, {\n italics: function italics() {\n return createHTML(this, 'i', '', '');\n }\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.link` method\n// https://tc39.es/ecma262/#sec-string.prototype.link\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});\n","'use strict';\n/* eslint-disable es/no-string-prototype-matchall -- safe */\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar classof = require('../internals/classof-raw');\nvar isRegExp = require('../internals/is-regexp');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getMethod = require('../internals/get-method');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar InternalStateModule = require('../internals/internal-state');\nvar IS_PURE = require('../internals/is-pure');\n\nvar MATCH_ALL = wellKnownSymbol('matchAll');\nvar REGEXP_STRING = 'RegExp String';\nvar REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR);\nvar RegExpPrototype = RegExp.prototype;\nvar $TypeError = TypeError;\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar nativeMatchAll = uncurryThis(''.matchAll);\n\nvar WORKS_WITH_NON_GLOBAL_REGEX = !!nativeMatchAll && !fails(function () {\n nativeMatchAll('a', /./);\n});\n\nvar $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, $global, fullUnicode) {\n setInternalState(this, {\n type: REGEXP_STRING_ITERATOR,\n regexp: regexp,\n string: string,\n global: $global,\n unicode: fullUnicode,\n done: false\n });\n}, REGEXP_STRING, function next() {\n var state = getInternalState(this);\n if (state.done) return createIterResultObject(undefined, true);\n var R = state.regexp;\n var S = state.string;\n var match = regExpExec(R, S);\n if (match === null) {\n state.done = true;\n return createIterResultObject(undefined, true);\n }\n if (state.global) {\n if (toString(match[0]) === '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode);\n return createIterResultObject(match, false);\n }\n state.done = true;\n return createIterResultObject(match, false);\n});\n\nvar $matchAll = function (string) {\n var R = anObject(this);\n var S = toString(string);\n var C = speciesConstructor(R, RegExp);\n var flags = toString(getRegExpFlags(R));\n var matcher, $global, fullUnicode;\n matcher = new C(C === RegExp ? R.source : R, flags);\n $global = !!~stringIndexOf(flags, 'g');\n fullUnicode = !!~stringIndexOf(flags, 'u');\n matcher.lastIndex = toLength(R.lastIndex);\n return new $RegExpStringIterator(matcher, S, $global, fullUnicode);\n};\n\n// `String.prototype.matchAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.matchall\n$({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {\n matchAll: function matchAll(regexp) {\n var O = requireObjectCoercible(this);\n var flags, S, matcher, rx;\n if (!isNullOrUndefined(regexp)) {\n if (isRegExp(regexp)) {\n flags = toString(requireObjectCoercible(getRegExpFlags(regexp)));\n if (!~stringIndexOf(flags, 'g')) throw $TypeError('`.matchAll` does not allow non-global regexes');\n }\n if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp);\n matcher = getMethod(regexp, MATCH_ALL);\n if (matcher === undefined && IS_PURE && classof(regexp) === 'RegExp') matcher = $matchAll;\n if (matcher) return call(matcher, regexp, O);\n } else if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp);\n S = toString(O);\n rx = new RegExp(regexp, 'g');\n return IS_PURE ? call($matchAll, rx, S) : rx[MATCH_ALL](S);\n }\n});\n\nIS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_ALL, $matchAll);\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar getMethod = require('../internals/get-method');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH);\n return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeMatch, rx, S);\n\n if (res.done) return res.value;\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = toString(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $padEnd = require('../internals/string-pad').end;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padEnd` method\n// https://tc39.es/ecma262/#sec-string.prototype.padend\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $padStart = require('../internals/string-pad').start;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padStart` method\n// https://tc39.es/ecma262/#sec-string.prototype.padstart\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toObject = require('../internals/to-object');\nvar toString = require('../internals/to-string');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar push = uncurryThis([].push);\nvar join = uncurryThis([].join);\n\n// `String.raw` method\n// https://tc39.es/ecma262/#sec-string.raw\n$({ target: 'String', stat: true }, {\n raw: function raw(template) {\n var rawTemplate = toIndexedObject(toObject(template).raw);\n var literalSegments = lengthOfArrayLike(rawTemplate);\n if (!literalSegments) return '';\n var argumentsLength = arguments.length;\n var elements = [];\n var i = 0;\n while (true) {\n push(elements, toString(rawTemplate[i++]));\n if (i === literalSegments) return join(elements, '');\n if (i < argumentsLength) push(elements, toString(arguments[i]));\n }\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar repeat = require('../internals/string-repeat');\n\n// `String.prototype.repeat` method\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\n$({ target: 'String', proto: true }, {\n repeat: repeat\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar $TypeError = TypeError;\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\nvar stringIndexOf = function (string, searchValue, fromIndex) {\n if (fromIndex > string.length) return -1;\n if (searchValue === '') return fromIndex;\n return indexOf(string, searchValue, fromIndex);\n};\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n var position = 0;\n var endOfLastMatch = 0;\n var result = '';\n if (!isNullOrUndefined(searchValue)) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible(getRegExpFlags(searchValue)));\n if (!~indexOf(flags, 'g')) throw $TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) {\n return call(replacer, searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return replace(toString(O), searchValue, replaceValue);\n }\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = stringIndexOf(string, searchString, 0);\n while (position !== -1) {\n replacement = functionalReplace\n ? toString(replaceValue(searchString, position, string))\n : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = stringIndexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$<a>') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n var fullUnicode;\n if (global) {\n fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n\n var results = [];\n var result;\n while (true) {\n result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n var replacement;\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);\n return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeSearch, rx, S);\n\n if (res.done) return res.value;\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.small` method\n// https://tc39.es/ecma262/#sec-string.prototype.small\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, {\n small: function small() {\n return createHTML(this, 'small', '', '');\n }\n});\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isRegExp = require('../internals/is-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar arraySlice = require('../internals/array-slice-simple');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar fails = require('../internals/fails');\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar MAX_UINT32 = 0xFFFFFFFF;\nvar min = Math.min;\nvar $push = [].push;\nvar exec = uncurryThis(/./.exec);\nvar push = uncurryThis($push);\nvar stringSlice = uncurryThis(''.slice);\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] === 'c' ||\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n 'test'.split(/(?:)/, -1).length !== 4 ||\n 'ab'.split(/(?:ab)*/).length !== 2 ||\n '.'.split(/(.?)(.?)/).length !== 4 ||\n // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = toString(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return call(nativeSplit, string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = call(regexpExec, separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n push(output, stringSlice(string, lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !exec(separatorCopy, '')) push(output, '');\n } else push(output, stringSlice(string, lastLastIndex));\n return output.length > lim ? arraySlice(output, 0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = isNullOrUndefined(separator) ? undefined : getMethod(separator, SPLIT);\n return splitter\n ? call(splitter, separator, O, limit)\n : call(internalSplit, toString(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (string, limit) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);\n\n if (res.done) return res.value;\n\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (UNSUPPORTED_Y ? 'g' : 'y');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;\n var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n push(A, stringSlice(S, p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n push(A, z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n push(A, stringSlice(S, p));\n return A;\n }\n ];\n}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-startswith -- safe\nvar nativeStartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return nativeStartsWith\n ? nativeStartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.strike` method\n// https://tc39.es/ecma262/#sec-string.prototype.strike\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, {\n strike: function strike() {\n return createHTML(this, 'strike', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sub` method\n// https://tc39.es/ecma262/#sec-string.prototype.sub\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, {\n sub: function sub() {\n return createHTML(this, 'sub', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\n\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\nvar min = Math.min;\n\n// eslint-disable-next-line unicorn/prefer-string-slice -- required for testing\nvar FORCED = !''.substr || 'ab'.substr(-1) !== 'b';\n\n// `String.prototype.substr` method\n// https://tc39.es/ecma262/#sec-string.prototype.substr\n$({ target: 'String', proto: true, forced: FORCED }, {\n substr: function substr(start, length) {\n var that = toString(requireObjectCoercible(this));\n var size = that.length;\n var intStart = toIntegerOrInfinity(start);\n var intLength, intEnd;\n if (intStart === Infinity) intStart = 0;\n if (intStart < 0) intStart = max(size + intStart, 0);\n intLength = length === undefined ? size : toIntegerOrInfinity(length);\n if (intLength <= 0 || intLength === Infinity) return '';\n intEnd = min(intStart + intLength, size);\n return intStart >= intEnd ? '' : stringSlice(that, intStart, intEnd);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sup` method\n// https://tc39.es/ecma262/#sec-string.prototype.sup\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, {\n sup: function sup() {\n return createHTML(this, 'sup', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\n\nvar $Array = Array;\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar join = uncurryThis([].join);\n// eslint-disable-next-line es/no-string-prototype-iswellformed-towellformed -- safe\nvar $toWellFormed = ''.toWellFormed;\nvar REPLACEMENT_CHARACTER = '\\uFFFD';\n\n// Safari bug\nvar TO_STRING_CONVERSION_BUG = $toWellFormed && fails(function () {\n return call($toWellFormed, 1) !== '1';\n});\n\n// `String.prototype.toWellFormed` method\n// https://github.com/tc39/proposal-is-usv-string\n$({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, {\n toWellFormed: function toWellFormed() {\n var S = toString(requireObjectCoercible(this));\n if (TO_STRING_CONVERSION_BUG) return call($toWellFormed, S);\n var length = S.length;\n var result = $Array(length);\n for (var i = 0; i < length; i++) {\n var charCode = charCodeAt(S, i);\n // single UTF-16 code unit\n if ((charCode & 0xF800) !== 0xD800) result[i] = charAt(S, i);\n // unpaired surrogate\n else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00) !== 0xDC00) result[i] = REPLACEMENT_CHARACTER;\n // surrogate pair\n else {\n result[i] = charAt(S, i);\n result[++i] = charAt(S, i);\n }\n } return join(result, '');\n }\n});\n","'use strict';\n// TODO: Remove this line from `core-js@4`\nrequire('../modules/es.string.trim-right');\nvar $ = require('../internals/export');\nvar trimEnd = require('../internals/string-trim-end');\n\n// `String.prototype.trimEnd` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimEnd !== trimEnd }, {\n trimEnd: trimEnd\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar trimStart = require('../internals/string-trim-start');\n\n// `String.prototype.trimLeft` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimleft\n// eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe\n$({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimLeft !== trimStart }, {\n trimLeft: trimStart\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar trimEnd = require('../internals/string-trim-end');\n\n// `String.prototype.trimRight` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe\n$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimRight !== trimEnd }, {\n trimRight: trimEnd\n});\n","'use strict';\n// TODO: Remove this line from `core-js@4`\nrequire('../modules/es.string.trim-left');\nvar $ = require('../internals/export');\nvar trimStart = require('../internals/string-trim-start');\n\n// `String.prototype.trimStart` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimstart\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n$({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimStart !== trimStart }, {\n trimStart: trimStart\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a !== 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function (O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n defineBuiltIn(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n defineBuiltIn($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames\n});\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar toString = require('../internals/to-string');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = global.Symbol;\nvar SymbolPrototype = NativeSymbol && NativeSymbol.prototype;\n\nif (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);\n var result = isPrototypeOf(SymbolPrototype, this)\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n SymbolWrapper.prototype = SymbolPrototype;\n SymbolPrototype.constructor = SymbolWrapper;\n\n var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';\n var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);\n var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n var replace = uncurryThis(''.replace);\n var stringSlice = uncurryThis(''.slice);\n\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = thisSymbolValue(this);\n if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';\n var string = symbolDescriptiveString(symbol);\n var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, constructor: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.for` method\n// https://tc39.es/ecma262/#sec-symbol.for\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n 'for': function (key) {\n var string = toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = getBuiltIn('Symbol')(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n }\n});\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.hasInstance` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.hasinstance\ndefineWellKnownSymbol('hasInstance');\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.isConcatSpreadable` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable\ndefineWellKnownSymbol('isConcatSpreadable');\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.symbol.constructor');\nrequire('../modules/es.symbol.for');\nrequire('../modules/es.symbol.key-for');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.object.get-own-property-symbols');\n","'use strict';\nvar $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\nvar isSymbol = require('../internals/is-symbol');\nvar tryToString = require('../internals/try-to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.keyFor` method\n// https://tc39.es/ecma262/#sec-symbol.keyfor\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(tryToString(sym) + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n }\n});\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.matchAll` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.matchall\ndefineWellKnownSymbol('matchAll');\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.match` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.match\ndefineWellKnownSymbol('match');\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.replace` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.replace\ndefineWellKnownSymbol('replace');\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.search` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.search\ndefineWellKnownSymbol('search');\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.species` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.species\ndefineWellKnownSymbol('species');\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.split` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.split\ndefineWellKnownSymbol('split');\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag(getBuiltIn('Symbol'), 'Symbol');\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.unscopables` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.unscopables\ndefineWellKnownSymbol('unscopables');\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.at` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.at\nexportTypedArrayMethod('at', function at(index) {\n var O = aTypedArray(this);\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return (k < 0 || k >= len) ? undefined : O[k];\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $ArrayCopyWithin = require('../internals/array-copy-within');\n\nvar u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.copyWithin` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin\nexportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) {\n return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $every = require('../internals/array-iteration').every;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.every` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.every\nexportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {\n return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $fill = require('../internals/array-fill');\nvar toBigInt = require('../internals/to-big-int');\nvar classof = require('../internals/classof');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar slice = uncurryThis(''.slice);\n\n// V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18\nvar CONVERSION_BUG = fails(function () {\n var count = 0;\n // eslint-disable-next-line es/no-typed-arrays -- safe\n new Int8Array(2).fill({ valueOf: function () { return count++; } });\n return count !== 1;\n});\n\n// `%TypedArray%.prototype.fill` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill\nexportTypedArrayMethod('fill', function fill(value /* , start, end */) {\n var length = arguments.length;\n aTypedArray(this);\n var actualValue = slice(classof(this), 0, 3) === 'Big' ? toBigInt(value) : +value;\n return call($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined);\n}, CONVERSION_BUG);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $filter = require('../internals/array-iteration').filter;\nvar fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.filter` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter\nexportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) {\n var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return fromSpeciesAndList(this, list);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $findIndex = require('../internals/array-iteration').findIndex;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex\nexportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) {\n return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $findLastIndex = require('../internals/array-iteration-from-last').findLastIndex;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findLastIndex` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlastindex\nexportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , thisArg */) {\n return $findLastIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $findLast = require('../internals/array-iteration-from-last').findLast;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findLast` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlast\nexportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */) {\n return $findLast(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $find = require('../internals/array-iteration').find;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.find` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.find\nexportTypedArrayMethod('find', function find(predicate /* , thisArg */) {\n return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float32', function (init) {\n return function Float32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float64Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float64', function (init) {\n return function Float64Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach\nexportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {\n $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar exportTypedArrayStaticMethod = require('../internals/array-buffer-view-core').exportTypedArrayStaticMethod;\nvar typedArrayFrom = require('../internals/typed-array-from');\n\n// `%TypedArray%.from` method\n// https://tc39.es/ecma262/#sec-%typedarray%.from\nexportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $includes = require('../internals/array-includes').includes;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.includes` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes\nexportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) {\n return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $indexOf = require('../internals/array-includes').indexOf;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof\nexportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) {\n return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int16Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int16', function (init) {\n return function Int16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int32', function (init) {\n return function Int32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int8', function (init) {\n return function Int8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayIterators = require('../modules/es.array.iterator');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar Uint8Array = global.Uint8Array;\nvar arrayValues = uncurryThis(ArrayIterators.values);\nvar arrayKeys = uncurryThis(ArrayIterators.keys);\nvar arrayEntries = uncurryThis(ArrayIterators.entries);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar TypedArrayPrototype = Uint8Array && Uint8Array.prototype;\n\nvar GENERIC = !fails(function () {\n TypedArrayPrototype[ITERATOR].call([1]);\n});\n\nvar ITERATOR_IS_VALUES = !!TypedArrayPrototype\n && TypedArrayPrototype.values\n && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values\n && TypedArrayPrototype.values.name === 'values';\n\nvar typedArrayValues = function values() {\n return arrayValues(aTypedArray(this));\n};\n\n// `%TypedArray%.prototype.entries` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries\nexportTypedArrayMethod('entries', function entries() {\n return arrayEntries(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.keys` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys\nexportTypedArrayMethod('keys', function keys() {\n return arrayKeys(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.values` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.values\nexportTypedArrayMethod('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });\n// `%TypedArray%.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator\nexportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $join = uncurryThis([].join);\n\n// `%TypedArray%.prototype.join` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.join\nexportTypedArrayMethod('join', function join(separator) {\n return $join(aTypedArray(this), separator);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar apply = require('../internals/function-apply');\nvar $lastIndexOf = require('../internals/array-last-index-of');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof\nexportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {\n var length = arguments.length;\n return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $map = require('../internals/array-iteration').map;\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.map` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.map\nexportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {\n return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {\n return new (typedArraySpeciesConstructor(O))(length);\n });\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\n\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod;\n\n// `%TypedArray%.of` method\n// https://tc39.es/ecma262/#sec-%typedarray%.of\nexportTypedArrayStaticMethod('of', function of(/* ...items */) {\n var index = 0;\n var length = arguments.length;\n var result = new (aTypedArrayConstructor(this))(length);\n while (length > index) result[index] = arguments[index++];\n return result;\n}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduceRight = require('../internals/array-reduce').right;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduceRight` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright\nexportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduce = require('../internals/array-reduce').left;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce\nexportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar floor = Math.floor;\n\n// `%TypedArray%.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse\nexportTypedArrayMethod('reverse', function reverse() {\n var that = this;\n var length = aTypedArray(that).length;\n var middle = floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toOffset = require('../internals/to-offset');\nvar toIndexedObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\n\nvar RangeError = global.RangeError;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar $set = Int8ArrayPrototype && Int8ArrayPrototype.set;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails(function () {\n // eslint-disable-next-line es/no-typed-arrays -- required for testing\n var array = new Uint8ClampedArray(2);\n call($set, array, { length: 1, 0: 3 }, 1);\n return array[1] !== 3;\n});\n\n// https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other\nvar TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () {\n var array = new Int8Array(2);\n array.set(1);\n array.set('2', 1);\n return array[0] !== 0 || array[1] !== 2;\n});\n\n// `%TypedArray%.prototype.set` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set\nexportTypedArrayMethod('set', function set(arrayLike /* , offset */) {\n aTypedArray(this);\n var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);\n var src = toIndexedObject(arrayLike);\n if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset);\n var length = this.length;\n var len = lengthOfArrayLike(src);\n var index = 0;\n if (len + offset > length) throw RangeError('Wrong length');\n while (index < len) this[offset + index] = src[index++];\n}, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar FORCED = fails(function () {\n // eslint-disable-next-line es/no-typed-arrays -- required for testing\n new Int8Array(1).slice();\n});\n\n// `%TypedArray%.prototype.slice` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice\nexportTypedArrayMethod('slice', function slice(start, end) {\n var list = arraySlice(aTypedArray(this), start, end);\n var C = typedArraySpeciesConstructor(this);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n}, FORCED);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $some = require('../internals/array-iteration').some;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.some` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.some\nexportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {\n return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar fails = require('../internals/fails');\nvar aCallable = require('../internals/a-callable');\nvar internalSort = require('../internals/array-sort');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar Uint16Array = global.Uint16Array;\nvar nativeSort = Uint16Array && uncurryThis(Uint16Array.prototype.sort);\n\n// WebKit\nvar ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !(fails(function () {\n nativeSort(new Uint16Array(2), null);\n}) && fails(function () {\n nativeSort(new Uint16Array(2), {});\n}));\n\nvar STABLE_SORT = !!nativeSort && !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 74;\n if (FF) return FF < 67;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 602;\n\n var array = new Uint16Array(516);\n var expected = Array(516);\n var index, mod;\n\n for (index = 0; index < 516; index++) {\n mod = index % 4;\n array[index] = 515 - index;\n expected[index] = index - 2 * mod + 3;\n }\n\n nativeSort(array, function (a, b) {\n return (a / 4 | 0) - (b / 4 | 0);\n });\n\n for (index = 0; index < 516; index++) {\n if (array[index] !== expected[index]) return true;\n }\n});\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (y !== y) return -1;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (x !== x) return 1;\n if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1;\n return x > y;\n };\n};\n\n// `%TypedArray%.prototype.sort` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort\nexportTypedArrayMethod('sort', function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n if (STABLE_SORT) return nativeSort(this, comparefn);\n\n return internalSort(aTypedArray(this), getSortCompare(comparefn));\n}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.subarray` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray\nexportTypedArrayMethod('subarray', function subarray(begin, end) {\n var O = aTypedArray(this);\n var length = O.length;\n var beginIndex = toAbsoluteIndex(begin, length);\n var C = typedArraySpeciesConstructor(O);\n return new C(\n O.buffer,\n O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex)\n );\n});\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\n\nvar Int8Array = global.Int8Array;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $toLocaleString = [].toLocaleString;\n\n// iOS Safari 6.x fails here\nvar TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {\n $toLocaleString.call(new Int8Array(1));\n});\n\nvar FORCED = fails(function () {\n return [1, 2].toLocaleString() !== new Int8Array([1, 2]).toLocaleString();\n}) || !fails(function () {\n Int8Array.prototype.toLocaleString.call([1, 2]);\n});\n\n// `%TypedArray%.prototype.toLocaleString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring\nexportTypedArrayMethod('toLocaleString', function toLocaleString() {\n return apply(\n $toLocaleString,\n TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this),\n arraySlice(arguments)\n );\n}, FORCED);\n","'use strict';\nvar arrayToReversed = require('../internals/array-to-reversed');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\n\n// `%TypedArray%.prototype.toReversed` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed\nexportTypedArrayMethod('toReversed', function toReversed() {\n return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this));\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort);\n\n// `%TypedArray%.prototype.toSorted` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted\nexportTypedArrayMethod('toSorted', function toSorted(compareFn) {\n if (compareFn !== undefined) aCallable(compareFn);\n var O = aTypedArray(this);\n var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O);\n return sort(A, compareFn);\n});\n","'use strict';\nvar exportTypedArrayMethod = require('../internals/array-buffer-view-core').exportTypedArrayMethod;\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar Uint8Array = global.Uint8Array;\nvar Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {};\nvar arrayToString = [].toString;\nvar join = uncurryThis([].join);\n\nif (fails(function () { arrayToString.call({}); })) {\n arrayToString = function toString() {\n return join(this);\n };\n}\n\nvar IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString !== arrayToString;\n\n// `%TypedArray%.prototype.toString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring\nexportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);\n","'use strict';\nvar createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint16Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint16', function (init) {\n return function Uint16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint32', function (init) {\n return function Uint32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8ClampedArray` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8ClampedArray(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n}, true);\n","'use strict';\nvar arrayWith = require('../internals/array-with');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar isBigIntArray = require('../internals/is-big-int-array');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toBigInt = require('../internals/to-big-int');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar PROPER_ORDER = !!function () {\n try {\n // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing\n new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } });\n } catch (error) {\n // some early implementations, like WebKit, does not follow the final semantic\n // https://github.com/tc39/proposal-change-array-by-copy/pull/86\n return error === 8;\n }\n}();\n\n// `%TypedArray%.prototype.with` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with\nexportTypedArrayMethod('with', { 'with': function (index, value) {\n var O = aTypedArray(this);\n var relativeIndex = toIntegerOrInfinity(index);\n var actualValue = isBigIntArray(O) ? toBigInt(value) : +value;\n return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue);\n} }['with'], !PROPER_ORDER);\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\n\nvar fromCharCode = String.fromCharCode;\nvar charAt = uncurryThis(''.charAt);\nvar exec = uncurryThis(/./.exec);\nvar stringSlice = uncurryThis(''.slice);\n\nvar hex2 = /^[\\da-f]{2}$/i;\nvar hex4 = /^[\\da-f]{4}$/i;\n\n// `unescape` method\n// https://tc39.es/ecma262/#sec-unescape-string\n$({ global: true }, {\n unescape: function unescape(string) {\n var str = toString(string);\n var result = '';\n var length = str.length;\n var index = 0;\n var chr, part;\n while (index < length) {\n chr = charAt(str, index++);\n if (chr === '%') {\n if (charAt(str, index) === 'u') {\n part = stringSlice(str, index + 1, index + 5);\n if (exec(hex4, part)) {\n result += fromCharCode(parseInt(part, 16));\n index += 5;\n continue;\n }\n } else {\n part = stringSlice(str, index, index + 2);\n if (exec(hex2, part)) {\n result += fromCharCode(parseInt(part, 16));\n index += 2;\n continue;\n }\n }\n }\n result += chr;\n } return result;\n }\n});\n","'use strict';\nvar FREEZING = require('../internals/freezing');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\nvar isObject = require('../internals/is-object');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar fails = require('../internals/fails');\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\n\nvar $Object = Object;\n// eslint-disable-next-line es/no-array-isarray -- safe\nvar isArray = Array.isArray;\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar isExtensible = $Object.isExtensible;\n// eslint-disable-next-line es/no-object-isfrozen -- safe\nvar isFrozen = $Object.isFrozen;\n// eslint-disable-next-line es/no-object-issealed -- safe\nvar isSealed = $Object.isSealed;\n// eslint-disable-next-line es/no-object-freeze -- safe\nvar freeze = $Object.freeze;\n// eslint-disable-next-line es/no-object-seal -- safe\nvar seal = $Object.seal;\n\nvar FROZEN = {};\nvar SEALED = {};\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar InternalWeakMap;\n\nvar wrapper = function (init) {\n return function WeakMap() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n};\n\n// `WeakMap` constructor\n// https://tc39.es/ecma262/#sec-weakmap-constructor\nvar $WeakMap = collection('WeakMap', wrapper, collectionWeak);\nvar WeakMapPrototype = $WeakMap.prototype;\nvar nativeSet = uncurryThis(WeakMapPrototype.set);\n\n// Chakra Edge bug: adding frozen arrays to WeakMap unfreeze them\nvar hasMSEdgeFreezingBug = function () {\n return FREEZING && fails(function () {\n var frozenArray = freeze([]);\n nativeSet(new $WeakMap(), frozenArray, 1);\n return !isFrozen(frozenArray);\n });\n};\n\n// IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\nif (NATIVE_WEAK_MAP) if (IS_IE11) {\n InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n InternalMetadataModule.enable();\n var nativeDelete = uncurryThis(WeakMapPrototype['delete']);\n var nativeHas = uncurryThis(WeakMapPrototype.has);\n var nativeGet = uncurryThis(WeakMapPrototype.get);\n defineBuiltIns(WeakMapPrototype, {\n 'delete': function (key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeDelete(this, key) || state.frozen['delete'](key);\n } return nativeDelete(this, key);\n },\n has: function has(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) || state.frozen.has(key);\n } return nativeHas(this, key);\n },\n get: function get(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);\n } return nativeGet(this, key);\n },\n set: function set(key, value) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);\n } else nativeSet(this, key, value);\n return this;\n }\n });\n// Chakra Edge frozen keys fix\n} else if (hasMSEdgeFreezingBug()) {\n defineBuiltIns(WeakMapPrototype, {\n set: function set(key, value) {\n var arrayIntegrityLevel;\n if (isArray(key)) {\n if (isFrozen(key)) arrayIntegrityLevel = FROZEN;\n else if (isSealed(key)) arrayIntegrityLevel = SEALED;\n }\n nativeSet(this, key, value);\n if (arrayIntegrityLevel === FROZEN) freeze(key);\n if (arrayIntegrityLevel === SEALED) seal(key);\n return this;\n }\n });\n}\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.weak-map.constructor');\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\n\n// `WeakSet` constructor\n// https://tc39.es/ecma262/#sec-weakset-constructor\ncollection('WeakSet', function (init) {\n return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionWeak);\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.weak-set.constructor');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar toString = require('../internals/to-string');\nvar hasOwn = require('../internals/has-own-property');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar ctoi = require('../internals/base64-map').ctoi;\n\nvar disallowed = /[^\\d+/a-z]/i;\nvar whitespaces = /[\\t\\n\\f\\r ]+/g;\nvar finalEq = /[=]{1,2}$/;\n\nvar $atob = getBuiltIn('atob');\nvar fromCharCode = String.fromCharCode;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar exec = uncurryThis(disallowed.exec);\n\nvar NO_SPACES_IGNORE = fails(function () {\n return $atob(' ') !== '';\n});\n\nvar NO_ENCODING_CHECK = !fails(function () {\n $atob('a');\n});\n\nvar NO_ARG_RECEIVING_CHECK = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && !fails(function () {\n $atob();\n});\n\nvar WRONG_ARITY = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && $atob.length !== 1;\n\n// `atob` method\n// https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob\n$({ global: true, bind: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_ENCODING_CHECK || NO_ARG_RECEIVING_CHECK || WRONG_ARITY }, {\n atob: function atob(data) {\n validateArgumentsLength(arguments.length, 1);\n // `webpack` dev server bug on IE global methods - use call(fn, global, ...)\n if (NO_ARG_RECEIVING_CHECK || WRONG_ARITY) return call($atob, global, data);\n var string = replace(toString(data), whitespaces, '');\n var output = '';\n var position = 0;\n var bc = 0;\n var chr, bs;\n if (string.length % 4 === 0) {\n string = replace(string, finalEq, '');\n }\n if (string.length % 4 === 1 || exec(disallowed, string)) {\n throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError');\n }\n while (chr = charAt(string, position++)) {\n if (hasOwn(ctoi, chr)) {\n bs = bc % 4 ? bs * 64 + ctoi[chr] : ctoi[chr];\n if (bc++ % 4) output += fromCharCode(255 & bs >> (-2 * bc & 6));\n }\n } return output;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar toString = require('../internals/to-string');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar itoc = require('../internals/base64-map').itoc;\n\nvar $btoa = getBuiltIn('btoa');\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\nvar NO_ARG_RECEIVING_CHECK = !!$btoa && !fails(function () {\n $btoa();\n});\n\nvar WRONG_ARG_CONVERSION = !!$btoa && fails(function () {\n return $btoa(null) !== 'bnVsbA==';\n});\n\nvar WRONG_ARITY = !!$btoa && $btoa.length !== 1;\n\n// `btoa` method\n// https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa\n$({ global: true, bind: true, enumerable: true, forced: NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY }, {\n btoa: function btoa(data) {\n validateArgumentsLength(arguments.length, 1);\n // `webpack` dev server bug on IE global methods - use call(fn, global, ...)\n if (NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY) return call($btoa, global, toString(data));\n var string = toString(data);\n var output = '';\n var position = 0;\n var map = itoc;\n var block, charCode;\n while (charAt(string, position) || (map = '=', position % 1)) {\n charCode = charCodeAt(string, position += 3 / 4);\n if (charCode > 0xFF) {\n throw new (getBuiltIn('DOMException'))('The string contains characters outside of the Latin1 range', 'InvalidCharacterError');\n }\n block = block << 8 | charCode;\n output += charAt(map, 63 & block >> 8 - position % 1 * 8);\n } return output;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar clearImmediate = require('../internals/task').clear;\n\n// `clearImmediate` method\n// http://w3c.github.io/setImmediate/#si-clearImmediate\n$({ global: true, bind: true, enumerable: true, forced: global.clearImmediate !== clearImmediate }, {\n clearImmediate: clearImmediate\n});\n","'use strict';\nvar global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","'use strict';\nvar global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","'use strict';\nvar $ = require('../internals/export');\nvar tryNodeRequire = require('../internals/try-node-require');\nvar getBuiltIn = require('../internals/get-built-in');\nvar fails = require('../internals/fails');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar errorToString = require('../internals/error-to-string');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar InternalStateModule = require('../internals/internal-state');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar DOM_EXCEPTION = 'DOMException';\nvar DATA_CLONE_ERR = 'DATA_CLONE_ERR';\nvar Error = getBuiltIn('Error');\n// NodeJS < 17.0 does not expose `DOMException` to global\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () {\n try {\n // NodeJS < 15.0 does not expose `MessageChannel` to global\n var MessageChannel = getBuiltIn('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel;\n // eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe\n new MessageChannel().port1.postMessage(new WeakMap());\n } catch (error) {\n if (error.name === DATA_CLONE_ERR && error.code === 25) return error.constructor;\n }\n})();\nvar NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype;\nvar ErrorPrototype = Error.prototype;\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION);\nvar HAS_STACK = 'stack' in Error(DOM_EXCEPTION);\n\nvar codeFor = function (name) {\n return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0;\n};\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var code = codeFor(name);\n setInternalState(this, {\n type: DOM_EXCEPTION,\n name: name,\n message: message,\n code: code\n });\n if (!DESCRIPTORS) {\n this.name = name;\n this.message = message;\n this.code = code;\n }\n if (HAS_STACK) {\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(this, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n }\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype);\n\nvar createGetterDescriptor = function (get) {\n return { enumerable: true, configurable: true, get: get };\n};\n\nvar getterFor = function (key) {\n return createGetterDescriptor(function () {\n return getInternalState(this)[key];\n });\n};\n\nif (DESCRIPTORS) {\n // `DOMException.prototype.code` getter\n defineBuiltInAccessor(DOMExceptionPrototype, 'code', getterFor('code'));\n // `DOMException.prototype.message` getter\n defineBuiltInAccessor(DOMExceptionPrototype, 'message', getterFor('message'));\n // `DOMException.prototype.name` getter\n defineBuiltInAccessor(DOMExceptionPrototype, 'name', getterFor('name'));\n}\n\ndefineProperty(DOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, $DOMException));\n\n// FF36- DOMException is a function, but can't be constructed\nvar INCORRECT_CONSTRUCTOR = fails(function () {\n return !(new NativeDOMException() instanceof Error);\n});\n\n// Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs\nvar INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () {\n return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== '2: 1';\n});\n\n// Deno 1.6.3- DOMException.prototype.code just missed\nvar INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () {\n return new NativeDOMException(1, 'DataCloneError').code !== 25;\n});\n\n// Deno 1.6.3- DOMException constants just missed\nvar MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR\n || NativeDOMException[DATA_CLONE_ERR] !== 25\n || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25;\n\nvar FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR;\n\n// `DOMException` constructor\n// https://webidl.spec.whatwg.org/#idl-DOMException\n$({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, {\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) {\n defineBuiltIn(PolyfilledDOMExceptionPrototype, 'toString', errorToString);\n}\n\nif (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) {\n defineBuiltInAccessor(PolyfilledDOMExceptionPrototype, 'code', createGetterDescriptor(function () {\n return codeFor(anObject(this).name);\n }));\n}\n\n// `DOMException` constants\nfor (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n var descriptor = createPropertyDescriptor(6, constant.c);\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, descriptor);\n }\n if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) {\n defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor);\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar DOM_EXCEPTION = 'DOMException';\nvar Error = getBuiltIn('Error');\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION);\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var that = new NativeDOMException(message, name);\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n inheritIfRequired(that, this, $DOMException);\n return that;\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;\n\nvar ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION);\nvar DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION);\n\n// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it\n// https://github.com/Jarred-Sumner/bun/issues/399\nvar BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);\n\nvar FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;\n\n// `DOMException` constructor patch for `.stack` where it's required\n// https://webidl.spec.whatwg.org/#es-DOMException-specialness\n$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {\n if (!IS_PURE) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));\n }\n\n for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));\n }\n }\n}\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\nvar DOM_EXCEPTION = 'DOMException';\n\n// `DOMException.prototype[@@toStringTag]` property\nsetToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION);\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/web.clear-immediate');\nrequire('../modules/web.set-immediate');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar microtask = require('../internals/microtask');\nvar aCallable = require('../internals/a-callable');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar process = global.process;\n\n// `queueMicrotask` method\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask\n$({ global: true, enumerable: true, dontCallGetSet: true }, {\n queueMicrotask: function queueMicrotask(fn) {\n validateArgumentsLength(arguments.length, 1);\n aCallable(fn);\n var domain = IS_NODE && process.domain;\n microtask(domain ? domain.bind(fn) : fn);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar INCORRECT_VALUE = global.self !== global;\n\n// `self` getter\n// https://html.spec.whatwg.org/multipage/window-object.html#dom-self\ntry {\n if (DESCRIPTORS) {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n var descriptor = Object.getOwnPropertyDescriptor(global, 'self');\n // some engines have `self`, but with incorrect descriptor\n // https://github.com/denoland/deno/issues/15765\n if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) {\n defineBuiltInAccessor(global, 'self', {\n get: function self() {\n return global;\n },\n set: function self(value) {\n if (this !== global) throw $TypeError('Illegal invocation');\n defineProperty(global, 'self', {\n value: value,\n writable: true,\n configurable: true,\n enumerable: true\n });\n },\n configurable: true,\n enumerable: true\n });\n }\n } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, {\n self: global\n });\n} catch (error) { /* empty */ }\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar setTask = require('../internals/task').set;\nvar schedulersFix = require('../internals/schedulers-fix');\n\n// https://github.com/oven-sh/bun/issues/1633\nvar setImmediate = global.setImmediate ? schedulersFix(setTask, false) : setTask;\n\n// `setImmediate` method\n// http://w3c.github.io/setImmediate/#si-setImmediate\n$({ global: true, bind: true, enumerable: true, forced: global.setImmediate !== setImmediate }, {\n setImmediate: setImmediate\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar schedulersFix = require('../internals/schedulers-fix');\n\nvar setInterval = schedulersFix(global.setInterval, true);\n\n// Bun / IE9- setInterval additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval\n$({ global: true, bind: true, forced: global.setInterval !== setInterval }, {\n setInterval: setInterval\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar schedulersFix = require('../internals/schedulers-fix');\n\nvar setTimeout = schedulersFix(global.setTimeout, true);\n\n// Bun / IE9- setTimeout additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout\n$({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, {\n setTimeout: setTimeout\n});\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltin = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar uid = require('../internals/uid');\nvar isCallable = require('../internals/is-callable');\nvar isConstructor = require('../internals/is-constructor');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar iterate = require('../internals/iterate');\nvar anObject = require('../internals/an-object');\nvar classof = require('../internals/classof');\nvar hasOwn = require('../internals/has-own-property');\nvar createProperty = require('../internals/create-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar MapHelpers = require('../internals/map-helpers');\nvar SetHelpers = require('../internals/set-helpers');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\nvar PROPER_TRANSFER = require('../internals/structured-clone-proper-transfer');\n\nvar Object = global.Object;\nvar Array = global.Array;\nvar Date = global.Date;\nvar Error = global.Error;\nvar EvalError = global.EvalError;\nvar RangeError = global.RangeError;\nvar ReferenceError = global.ReferenceError;\nvar SyntaxError = global.SyntaxError;\nvar TypeError = global.TypeError;\nvar URIError = global.URIError;\nvar PerformanceMark = global.PerformanceMark;\nvar WebAssembly = global.WebAssembly;\nvar CompileError = WebAssembly && WebAssembly.CompileError || Error;\nvar LinkError = WebAssembly && WebAssembly.LinkError || Error;\nvar RuntimeError = WebAssembly && WebAssembly.RuntimeError || Error;\nvar DOMException = getBuiltin('DOMException');\nvar Map = MapHelpers.Map;\nvar mapHas = MapHelpers.has;\nvar mapGet = MapHelpers.get;\nvar mapSet = MapHelpers.set;\nvar Set = SetHelpers.Set;\nvar setAdd = SetHelpers.add;\nvar objectKeys = getBuiltin('Object', 'keys');\nvar push = uncurryThis([].push);\nvar thisBooleanValue = uncurryThis(true.valueOf);\nvar thisNumberValue = uncurryThis(1.0.valueOf);\nvar thisStringValue = uncurryThis(''.valueOf);\nvar thisTimeValue = uncurryThis(Date.prototype.getTime);\nvar PERFORMANCE_MARK = uid('structuredClone');\nvar DATA_CLONE_ERROR = 'DataCloneError';\nvar TRANSFERRING = 'Transferring';\n\nvar checkBasicSemantic = function (structuredCloneImplementation) {\n return !fails(function () {\n var set1 = new global.Set([7]);\n var set2 = structuredCloneImplementation(set1);\n var number = structuredCloneImplementation(Object(7));\n return set2 === set1 || !set2.has(7) || typeof number != 'object' || +number !== 7;\n }) && structuredCloneImplementation;\n};\n\nvar checkErrorsCloning = function (structuredCloneImplementation, $Error) {\n return !fails(function () {\n var error = new $Error();\n var test = structuredCloneImplementation({ a: error, b: error });\n return !(test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack);\n });\n};\n\n// https://github.com/whatwg/html/pull/5749\nvar checkNewErrorsCloningSemantic = function (structuredCloneImplementation) {\n return !fails(function () {\n var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 }));\n return test.name !== 'AggregateError' || test.errors[0] !== 1 || test.message !== PERFORMANCE_MARK || test.cause !== 3;\n });\n};\n\n// FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+\n// FF<103 and Safari implementations can't clone errors\n// https://bugzilla.mozilla.org/show_bug.cgi?id=1556604\n// FF103 can clone errors, but `.stack` of clone is an empty string\n// https://bugzilla.mozilla.org/show_bug.cgi?id=1778762\n// FF104+ fixed it on usual errors, but not on DOMExceptions\n// https://bugzilla.mozilla.org/show_bug.cgi?id=1777321\n// Chrome <102 returns `null` if cloned object contains multiple references to one error\n// https://bugs.chromium.org/p/v8/issues/detail?id=12542\n// NodeJS implementation can't clone DOMExceptions\n// https://github.com/nodejs/node/issues/41038\n// only FF103+ supports new (html/5749) error cloning semantic\nvar nativeStructuredClone = global.structuredClone;\n\nvar FORCED_REPLACEMENT = IS_PURE\n || !checkErrorsCloning(nativeStructuredClone, Error)\n || !checkErrorsCloning(nativeStructuredClone, DOMException)\n || !checkNewErrorsCloningSemantic(nativeStructuredClone);\n\n// Chrome 82+, Safari 14.1+, Deno 1.11+\n// Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException`\n// Chrome returns `null` if cloned object contains multiple references to one error\n// Safari 14.1 implementation doesn't clone some `RegExp` flags, so requires a workaround\n// Safari implementation can't clone errors\n// Deno 1.2-1.10 implementations too naive\n// NodeJS 16.0+ does not have `PerformanceMark` constructor\n// NodeJS <17.2 structured cloning implementation from `performance.mark` is too naive\n// and can't clone, for example, `RegExp` or some boxed primitives\n// https://github.com/nodejs/node/issues/40840\n// no one of those implementations supports new (html/5749) error cloning semantic\nvar structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) {\n return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail;\n});\n\nvar nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark;\n\nvar throwUncloneable = function (type) {\n throw new DOMException('Uncloneable type: ' + type, DATA_CLONE_ERROR);\n};\n\nvar throwUnpolyfillable = function (type, action) {\n throw new DOMException((action || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR);\n};\n\nvar tryNativeRestrictedStructuredClone = function (value, type) {\n if (!nativeRestrictedStructuredClone) throwUnpolyfillable(type);\n return nativeRestrictedStructuredClone(value);\n};\n\nvar createDataTransfer = function () {\n var dataTransfer;\n try {\n dataTransfer = new global.DataTransfer();\n } catch (error) {\n try {\n dataTransfer = new global.ClipboardEvent('').clipboardData;\n } catch (error2) { /* empty */ }\n }\n return dataTransfer && dataTransfer.items && dataTransfer.files ? dataTransfer : null;\n};\n\nvar cloneBuffer = function (value, map, $type) {\n if (mapHas(map, value)) return mapGet(map, value);\n\n var type = $type || classof(value);\n var clone, length, options, source, target, i;\n\n if (type === 'SharedArrayBuffer') {\n if (nativeRestrictedStructuredClone) clone = nativeRestrictedStructuredClone(value);\n // SharedArrayBuffer should use shared memory, we can't polyfill it, so return the original\n else clone = value;\n } else {\n var DataView = global.DataView;\n\n // `ArrayBuffer#slice` is not available in IE10\n // `ArrayBuffer#slice` and `DataView` are not available in old FF\n if (!DataView && typeof value.slice != 'function') throwUnpolyfillable('ArrayBuffer');\n // detached buffers throws in `DataView` and `.slice`\n try {\n if (typeof value.slice == 'function' && !value.resizable) {\n clone = value.slice(0);\n } else {\n length = value.byteLength;\n options = 'maxByteLength' in value ? { maxByteLength: value.maxByteLength } : undefined;\n clone = new ArrayBuffer(length, options);\n source = new DataView(value);\n target = new DataView(clone);\n for (i = 0; i < length; i++) {\n target.setUint8(i, source.getUint8(i));\n }\n }\n } catch (error) {\n throw new DOMException('ArrayBuffer is detached', DATA_CLONE_ERROR);\n }\n }\n\n mapSet(map, value, clone);\n\n return clone;\n};\n\nvar cloneView = function (value, type, offset, length, map) {\n var C = global[type];\n // in some old engines like Safari 9, typeof C is 'object'\n // on Uint8ClampedArray or some other constructors\n if (!isObject(C)) throwUnpolyfillable(type);\n return new C(cloneBuffer(value.buffer, map), offset, length);\n};\n\nvar Placeholder = function (object, type, metadata) {\n this.object = object;\n this.type = type;\n this.metadata = metadata;\n};\n\nvar structuredCloneInternal = function (value, map, transferredBuffers) {\n if (isSymbol(value)) throwUncloneable('Symbol');\n if (!isObject(value)) return value;\n // effectively preserves circular references\n if (map) {\n if (mapHas(map, value)) return mapGet(map, value);\n } else map = new Map();\n\n var type = classof(value);\n var C, name, cloned, dataTransfer, i, length, keys, key;\n\n switch (type) {\n case 'Array':\n cloned = Array(lengthOfArrayLike(value));\n break;\n case 'Object':\n cloned = {};\n break;\n case 'Map':\n cloned = new Map();\n break;\n case 'Set':\n cloned = new Set();\n break;\n case 'RegExp':\n // in this block because of a Safari 14.1 bug\n // old FF does not clone regexes passed to the constructor, so get the source and flags directly\n cloned = new RegExp(value.source, getRegExpFlags(value));\n break;\n case 'Error':\n name = value.name;\n switch (name) {\n case 'AggregateError':\n cloned = getBuiltin('AggregateError')([]);\n break;\n case 'EvalError':\n cloned = EvalError();\n break;\n case 'RangeError':\n cloned = RangeError();\n break;\n case 'ReferenceError':\n cloned = ReferenceError();\n break;\n case 'SyntaxError':\n cloned = SyntaxError();\n break;\n case 'TypeError':\n cloned = TypeError();\n break;\n case 'URIError':\n cloned = URIError();\n break;\n case 'CompileError':\n cloned = CompileError();\n break;\n case 'LinkError':\n cloned = LinkError();\n break;\n case 'RuntimeError':\n cloned = RuntimeError();\n break;\n default:\n cloned = Error();\n }\n break;\n case 'DOMException':\n cloned = new DOMException(value.message, value.name);\n break;\n case 'ArrayBuffer':\n case 'SharedArrayBuffer':\n cloned = transferredBuffers\n ? new Placeholder(value, type)\n : cloneBuffer(value, map, type);\n break;\n case 'DataView':\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float16Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'BigInt64Array':\n case 'BigUint64Array':\n length = type === 'DataView' ? value.byteLength : value.length;\n cloned = transferredBuffers\n ? new Placeholder(value, type, { offset: value.byteOffset, length: length })\n : cloneView(value, type, value.byteOffset, length, map);\n break;\n case 'DOMQuad':\n try {\n cloned = new DOMQuad(\n structuredCloneInternal(value.p1, map, transferredBuffers),\n structuredCloneInternal(value.p2, map, transferredBuffers),\n structuredCloneInternal(value.p3, map, transferredBuffers),\n structuredCloneInternal(value.p4, map, transferredBuffers)\n );\n } catch (error) {\n cloned = tryNativeRestrictedStructuredClone(value, type);\n }\n break;\n case 'File':\n if (nativeRestrictedStructuredClone) try {\n cloned = nativeRestrictedStructuredClone(value);\n // NodeJS 20.0.0 bug, https://github.com/nodejs/node/issues/47612\n if (classof(cloned) !== type) cloned = undefined;\n } catch (error) { /* empty */ }\n if (!cloned) try {\n cloned = new File([value], value.name, value);\n } catch (error) { /* empty */ }\n if (!cloned) throwUnpolyfillable(type);\n break;\n case 'FileList':\n dataTransfer = createDataTransfer();\n if (dataTransfer) {\n for (i = 0, length = lengthOfArrayLike(value); i < length; i++) {\n dataTransfer.items.add(structuredCloneInternal(value[i], map, transferredBuffers));\n }\n cloned = dataTransfer.files;\n } else cloned = tryNativeRestrictedStructuredClone(value, type);\n break;\n case 'ImageData':\n // Safari 9 ImageData is a constructor, but typeof ImageData is 'object'\n try {\n cloned = new ImageData(\n structuredCloneInternal(value.data, map, transferredBuffers),\n value.width,\n value.height,\n { colorSpace: value.colorSpace }\n );\n } catch (error) {\n cloned = tryNativeRestrictedStructuredClone(value, type);\n } break;\n default:\n if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else switch (type) {\n case 'BigInt':\n // can be a 3rd party polyfill\n cloned = Object(value.valueOf());\n break;\n case 'Boolean':\n cloned = Object(thisBooleanValue(value));\n break;\n case 'Number':\n cloned = Object(thisNumberValue(value));\n break;\n case 'String':\n cloned = Object(thisStringValue(value));\n break;\n case 'Date':\n cloned = new Date(thisTimeValue(value));\n break;\n case 'Blob':\n try {\n cloned = value.slice(0, value.size, value.type);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'DOMPoint':\n case 'DOMPointReadOnly':\n C = global[type];\n try {\n cloned = C.fromPoint\n ? C.fromPoint(value)\n : new C(value.x, value.y, value.z, value.w);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'DOMRect':\n case 'DOMRectReadOnly':\n C = global[type];\n try {\n cloned = C.fromRect\n ? C.fromRect(value)\n : new C(value.x, value.y, value.width, value.height);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'DOMMatrix':\n case 'DOMMatrixReadOnly':\n C = global[type];\n try {\n cloned = C.fromMatrix\n ? C.fromMatrix(value)\n : new C(value);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'AudioData':\n case 'VideoFrame':\n if (!isCallable(value.clone)) throwUnpolyfillable(type);\n try {\n cloned = value.clone();\n } catch (error) {\n throwUncloneable(type);\n } break;\n case 'CropTarget':\n case 'CryptoKey':\n case 'FileSystemDirectoryHandle':\n case 'FileSystemFileHandle':\n case 'FileSystemHandle':\n case 'GPUCompilationInfo':\n case 'GPUCompilationMessage':\n case 'ImageBitmap':\n case 'RTCCertificate':\n case 'WebAssembly.Module':\n throwUnpolyfillable(type);\n // break omitted\n default:\n throwUncloneable(type);\n }\n }\n\n mapSet(map, value, cloned);\n\n switch (type) {\n case 'Array':\n case 'Object':\n keys = objectKeys(value);\n for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) {\n key = keys[i];\n createProperty(cloned, key, structuredCloneInternal(value[key], map, transferredBuffers));\n } break;\n case 'Map':\n value.forEach(function (v, k) {\n mapSet(cloned, structuredCloneInternal(k, map, transferredBuffers), structuredCloneInternal(v, map, transferredBuffers));\n });\n break;\n case 'Set':\n value.forEach(function (v) {\n setAdd(cloned, structuredCloneInternal(v, map, transferredBuffers));\n });\n break;\n case 'Error':\n createNonEnumerableProperty(cloned, 'message', structuredCloneInternal(value.message, map, transferredBuffers));\n if (hasOwn(value, 'cause')) {\n createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map, transferredBuffers));\n }\n if (name === 'AggregateError') {\n cloned.errors = structuredCloneInternal(value.errors, map, transferredBuffers);\n } // break omitted\n case 'DOMException':\n if (ERROR_STACK_INSTALLABLE) {\n createNonEnumerableProperty(cloned, 'stack', structuredCloneInternal(value.stack, map, transferredBuffers));\n }\n }\n\n return cloned;\n};\n\nvar replacePlaceholders = function (value, map) {\n if (!isObject(value)) return value;\n if (mapHas(map, value)) return mapGet(map, value);\n\n var type, object, metadata, i, length, keys, key, replacement;\n\n if (value instanceof Placeholder) {\n type = value.type;\n object = value.object;\n\n switch (type) {\n case 'ArrayBuffer':\n case 'SharedArrayBuffer':\n replacement = cloneBuffer(object, map, type);\n break;\n case 'DataView':\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float16Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'BigInt64Array':\n case 'BigUint64Array':\n metadata = value.metadata;\n replacement = cloneView(object, type, metadata.offset, metadata.length, map);\n }\n } else switch (classof(value)) {\n case 'Array':\n case 'Object':\n keys = objectKeys(value);\n for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) {\n key = keys[i];\n value[key] = replacePlaceholders(value[key], map);\n } break;\n case 'Map':\n replacement = new Map();\n value.forEach(function (v, k) {\n mapSet(replacement, replacePlaceholders(k, map), replacePlaceholders(v, map));\n });\n break;\n case 'Set':\n replacement = new Set();\n value.forEach(function (v) {\n setAdd(replacement, replacePlaceholders(v, map));\n });\n break;\n case 'Error':\n value.message = replacePlaceholders(value.message, map);\n if (hasOwn(value, 'cause')) {\n value.cause = replacePlaceholders(value.cause, map);\n }\n if (value.name === 'AggregateError') {\n value.errors = replacePlaceholders(value.errors, map);\n } // break omitted\n case 'DOMException':\n if (ERROR_STACK_INSTALLABLE) {\n value.stack = replacePlaceholders(value.stack, map);\n }\n }\n\n mapSet(map, value, replacement || value);\n\n return replacement || value;\n};\n\nvar tryToTransfer = function (rawTransfer, map) {\n if (!isObject(rawTransfer)) throw TypeError('Transfer option cannot be converted to a sequence');\n\n var transfer = [];\n\n iterate(rawTransfer, function (value) {\n push(transfer, anObject(value));\n });\n\n var i = 0;\n var length = lengthOfArrayLike(transfer);\n var buffers = [];\n var value, type, C, transferred, canvas, context;\n\n while (i < length) {\n value = transfer[i++];\n\n type = classof(value);\n\n if (type === 'ArrayBuffer') {\n push(buffers, value);\n continue;\n }\n\n if (mapHas(map, value)) throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR);\n\n if (PROPER_TRANSFER) {\n transferred = nativeStructuredClone(value, { transfer: [value] });\n } else switch (type) {\n case 'ImageBitmap':\n C = global.OffscreenCanvas;\n if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING);\n try {\n canvas = new C(value.width, value.height);\n context = canvas.getContext('bitmaprenderer');\n context.transferFromImageBitmap(value);\n transferred = canvas.transferToImageBitmap();\n } catch (error) { /* empty */ }\n break;\n case 'AudioData':\n case 'VideoFrame':\n if (!isCallable(value.clone) || !isCallable(value.close)) throwUnpolyfillable(type, TRANSFERRING);\n try {\n transferred = value.clone();\n value.close();\n } catch (error) { /* empty */ }\n break;\n case 'MediaSourceHandle':\n case 'MessagePort':\n case 'OffscreenCanvas':\n case 'ReadableStream':\n case 'TransformStream':\n case 'WritableStream':\n throwUnpolyfillable(type, TRANSFERRING);\n }\n\n if (transferred === undefined) throw new DOMException('This object cannot be transferred: ' + type, DATA_CLONE_ERROR);\n\n mapSet(map, value, transferred);\n }\n\n return buffers;\n};\n\nvar tryToTransferBuffers = function (transfer, map) {\n var i = 0;\n var length = lengthOfArrayLike(transfer);\n var value, transferred;\n\n while (i < length) {\n value = transfer[i++];\n\n if (mapHas(map, value)) throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR);\n\n if (PROPER_TRANSFER) {\n transferred = nativeStructuredClone(value, { transfer: [value] });\n } else {\n if (!isCallable(value.transfer)) throwUnpolyfillable('ArrayBuffer', TRANSFERRING);\n transferred = value.transfer();\n }\n\n mapSet(map, value, transferred);\n }\n};\n\n// `structuredClone` method\n// https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone\n$({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLACEMENT }, {\n structuredClone: function structuredClone(value /* , { transfer } */) {\n var options = validateArgumentsLength(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject(arguments[1]) : undefined;\n var transfer = options ? options.transfer : undefined;\n var transferredBuffers = false;\n var map, buffers;\n\n if (transfer !== undefined) {\n map = new Map();\n buffers = tryToTransfer(transfer, map);\n transferredBuffers = !!lengthOfArrayLike(buffers);\n }\n\n var clone = structuredCloneInternal(value, map, transferredBuffers);\n\n // since of an issue with cloning views of transferred buffers, we a forced to transfer / clone them in 2 steps\n // https://github.com/zloirock/core-js/issues/1265\n if (transferredBuffers) {\n map = new Map();\n tryToTransferBuffers(transfer, map);\n clone = replacePlaceholders(clone, map);\n }\n\n return clone;\n }\n});\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/web.set-interval');\nrequire('../modules/web.set-timeout');\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.array.iterator');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar USE_NATIVE_URL = require('../internals/url-constructor-detection');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar bind = require('../internals/function-bind-context');\nvar classof = require('../internals/classof');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar $toString = require('../internals/to-string');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arraySort = require('../internals/array-sort');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar URL_SEARCH_PARAMS = 'URLSearchParams';\nvar URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);\nvar getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Avoid NodeJS experimental warning\nvar safeGetBuiltIn = function (name) {\n if (!DESCRIPTORS) return global[name];\n var descriptor = getOwnPropertyDescriptor(global, name);\n return descriptor && descriptor.value;\n};\n\nvar nativeFetch = safeGetBuiltIn('fetch');\nvar NativeRequest = safeGetBuiltIn('Request');\nvar Headers = safeGetBuiltIn('Headers');\nvar RequestPrototype = NativeRequest && NativeRequest.prototype;\nvar HeadersPrototype = Headers && Headers.prototype;\nvar RegExp = global.RegExp;\nvar TypeError = global.TypeError;\nvar decodeURIComponent = global.decodeURIComponent;\nvar encodeURIComponent = global.encodeURIComponent;\nvar charAt = uncurryThis(''.charAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar splice = uncurryThis([].splice);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\n\nvar plus = /\\+/g;\nvar sequences = Array(4);\n\nvar percentSequence = function (bytes) {\n return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\\\da-f]{2}){' + bytes + '})', 'gi'));\n};\n\nvar percentDecode = function (sequence) {\n try {\n return decodeURIComponent(sequence);\n } catch (error) {\n return sequence;\n }\n};\n\nvar deserialize = function (it) {\n var result = replace(it, plus, ' ');\n var bytes = 4;\n try {\n return decodeURIComponent(result);\n } catch (error) {\n while (bytes) {\n result = replace(result, percentSequence(bytes--), percentDecode);\n }\n return result;\n }\n};\n\nvar find = /[!'()~]|%20/g;\n\nvar replacements = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+'\n};\n\nvar replacer = function (match) {\n return replacements[match];\n};\n\nvar serialize = function (it) {\n return replace(encodeURIComponent(it), find, replacer);\n};\n\nvar URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {\n setInternalState(this, {\n type: URL_SEARCH_PARAMS_ITERATOR,\n iterator: getIterator(getInternalParamsState(params).entries),\n kind: kind\n });\n}, 'Iterator', function next() {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var step = state.iterator.next();\n var entry = step.value;\n if (!step.done) {\n step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value];\n } return step;\n}, true);\n\nvar URLSearchParamsState = function (init) {\n this.entries = [];\n this.url = null;\n\n if (init !== undefined) {\n if (isObject(init)) this.parseObject(init);\n else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));\n }\n};\n\nURLSearchParamsState.prototype = {\n type: URL_SEARCH_PARAMS,\n bindURL: function (url) {\n this.url = url;\n this.update();\n },\n parseObject: function (object) {\n var iteratorMethod = getIteratorMethod(object);\n var iterator, next, step, entryIterator, entryNext, first, second;\n\n if (iteratorMethod) {\n iterator = getIterator(object, iteratorMethod);\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n entryIterator = getIterator(anObject(step.value));\n entryNext = entryIterator.next;\n if (\n (first = call(entryNext, entryIterator)).done ||\n (second = call(entryNext, entryIterator)).done ||\n !call(entryNext, entryIterator).done\n ) throw TypeError('Expected sequence with length 2');\n push(this.entries, { key: $toString(first.value), value: $toString(second.value) });\n }\n } else for (var key in object) if (hasOwn(object, key)) {\n push(this.entries, { key: key, value: $toString(object[key]) });\n }\n },\n parseQuery: function (query) {\n if (query) {\n var attributes = split(query, '&');\n var index = 0;\n var attribute, entry;\n while (index < attributes.length) {\n attribute = attributes[index++];\n if (attribute.length) {\n entry = split(attribute, '=');\n push(this.entries, {\n key: deserialize(shift(entry)),\n value: deserialize(join(entry, '='))\n });\n }\n }\n }\n },\n serialize: function () {\n var entries = this.entries;\n var result = [];\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n push(result, serialize(entry.key) + '=' + serialize(entry.value));\n } return join(result, '&');\n },\n update: function () {\n this.entries.length = 0;\n this.parseQuery(this.url.query);\n },\n updateURL: function () {\n if (this.url) this.url.update();\n }\n};\n\n// `URLSearchParams` constructor\n// https://url.spec.whatwg.org/#interface-urlsearchparams\nvar URLSearchParamsConstructor = function URLSearchParams(/* init */) {\n anInstance(this, URLSearchParamsPrototype);\n var init = arguments.length > 0 ? arguments[0] : undefined;\n var state = setInternalState(this, new URLSearchParamsState(init));\n if (!DESCRIPTORS) this.size = state.entries.length;\n};\n\nvar URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;\n\ndefineBuiltIns(URLSearchParamsPrototype, {\n // `URLSearchParams.prototype.append` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-append\n append: function append(name, value) {\n var state = getInternalParamsState(this);\n validateArgumentsLength(arguments.length, 2);\n push(state.entries, { key: $toString(name), value: $toString(value) });\n if (!DESCRIPTORS) this.length++;\n state.updateURL();\n },\n // `URLSearchParams.prototype.delete` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-delete\n 'delete': function (name /* , value */) {\n var state = getInternalParamsState(this);\n var length = validateArgumentsLength(arguments.length, 1);\n var entries = state.entries;\n var key = $toString(name);\n var $value = length < 2 ? undefined : arguments[1];\n var value = $value === undefined ? $value : $toString($value);\n var index = 0;\n while (index < entries.length) {\n var entry = entries[index];\n if (entry.key === key && (value === undefined || entry.value === value)) {\n splice(entries, index, 1);\n if (value !== undefined) break;\n } else index++;\n }\n if (!DESCRIPTORS) this.size = entries.length;\n state.updateURL();\n },\n // `URLSearchParams.prototype.get` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-get\n get: function get(name) {\n var entries = getInternalParamsState(this).entries;\n validateArgumentsLength(arguments.length, 1);\n var key = $toString(name);\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) return entries[index].value;\n }\n return null;\n },\n // `URLSearchParams.prototype.getAll` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-getall\n getAll: function getAll(name) {\n var entries = getInternalParamsState(this).entries;\n validateArgumentsLength(arguments.length, 1);\n var key = $toString(name);\n var result = [];\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) push(result, entries[index].value);\n }\n return result;\n },\n // `URLSearchParams.prototype.has` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-has\n has: function has(name /* , value */) {\n var entries = getInternalParamsState(this).entries;\n var length = validateArgumentsLength(arguments.length, 1);\n var key = $toString(name);\n var $value = length < 2 ? undefined : arguments[1];\n var value = $value === undefined ? $value : $toString($value);\n var index = 0;\n while (index < entries.length) {\n var entry = entries[index++];\n if (entry.key === key && (value === undefined || entry.value === value)) return true;\n }\n return false;\n },\n // `URLSearchParams.prototype.set` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-set\n set: function set(name, value) {\n var state = getInternalParamsState(this);\n validateArgumentsLength(arguments.length, 1);\n var entries = state.entries;\n var found = false;\n var key = $toString(name);\n var val = $toString(value);\n var index = 0;\n var entry;\n for (; index < entries.length; index++) {\n entry = entries[index];\n if (entry.key === key) {\n if (found) splice(entries, index--, 1);\n else {\n found = true;\n entry.value = val;\n }\n }\n }\n if (!found) push(entries, { key: key, value: val });\n if (!DESCRIPTORS) this.size = entries.length;\n state.updateURL();\n },\n // `URLSearchParams.prototype.sort` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-sort\n sort: function sort() {\n var state = getInternalParamsState(this);\n arraySort(state.entries, function (a, b) {\n return a.key > b.key ? 1 : -1;\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.forEach` method\n forEach: function forEach(callback /* , thisArg */) {\n var entries = getInternalParamsState(this).entries;\n var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n boundFunction(entry.value, entry.key, this);\n }\n },\n // `URLSearchParams.prototype.keys` method\n keys: function keys() {\n return new URLSearchParamsIterator(this, 'keys');\n },\n // `URLSearchParams.prototype.values` method\n values: function values() {\n return new URLSearchParamsIterator(this, 'values');\n },\n // `URLSearchParams.prototype.entries` method\n entries: function entries() {\n return new URLSearchParamsIterator(this, 'entries');\n }\n}, { enumerable: true });\n\n// `URLSearchParams.prototype[@@iterator]` method\ndefineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });\n\n// `URLSearchParams.prototype.toString` method\n// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior\ndefineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() {\n return getInternalParamsState(this).serialize();\n}, { enumerable: true });\n\n// `URLSearchParams.prototype.size` getter\n// https://github.com/whatwg/url/pull/734\nif (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {\n get: function size() {\n return getInternalParamsState(this).entries.length;\n },\n configurable: true,\n enumerable: true\n});\n\nsetToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);\n\n$({ global: true, constructor: true, forced: !USE_NATIVE_URL }, {\n URLSearchParams: URLSearchParamsConstructor\n});\n\n// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`\nif (!USE_NATIVE_URL && isCallable(Headers)) {\n var headersHas = uncurryThis(HeadersPrototype.has);\n var headersSet = uncurryThis(HeadersPrototype.set);\n\n var wrapRequestOptions = function (init) {\n if (isObject(init)) {\n var body = init.body;\n var headers;\n if (classof(body) === URL_SEARCH_PARAMS) {\n headers = init.headers ? new Headers(init.headers) : new Headers();\n if (!headersHas(headers, 'content-type')) {\n headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n return create(init, {\n body: createPropertyDescriptor(0, $toString(body)),\n headers: createPropertyDescriptor(0, headers)\n });\n }\n } return init;\n };\n\n if (isCallable(nativeFetch)) {\n $({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {\n fetch: function fetch(input /* , init */) {\n return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n }\n });\n }\n\n if (isCallable(NativeRequest)) {\n var RequestConstructor = function Request(input /* , init */) {\n anInstance(this, RequestPrototype);\n return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n };\n\n RequestPrototype.constructor = RequestConstructor;\n RequestConstructor.prototype = RequestPrototype;\n\n $({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {\n Request: RequestConstructor\n });\n }\n}\n\nmodule.exports = {\n URLSearchParams: URLSearchParamsConstructor,\n getState: getInternalParamsState\n};\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\n\nvar $URLSearchParams = URLSearchParams;\nvar URLSearchParamsPrototype = $URLSearchParams.prototype;\nvar append = uncurryThis(URLSearchParamsPrototype.append);\nvar $delete = uncurryThis(URLSearchParamsPrototype['delete']);\nvar forEach = uncurryThis(URLSearchParamsPrototype.forEach);\nvar push = uncurryThis([].push);\nvar params = new $URLSearchParams('a=1&a=2&b=3');\n\nparams['delete']('a', 1);\n// `undefined` case is a Chromium 117 bug\n// https://bugs.chromium.org/p/v8/issues/detail?id=14222\nparams['delete']('b', undefined);\n\nif (params + '' !== 'a=2') {\n defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) {\n var length = arguments.length;\n var $value = length < 2 ? undefined : arguments[1];\n if (length && $value === undefined) return $delete(this, name);\n var entries = [];\n forEach(this, function (v, k) { // also validates `this`\n push(entries, { key: k, value: v });\n });\n validateArgumentsLength(length, 1);\n var key = toString(name);\n var value = toString($value);\n var index = 0;\n var dindex = 0;\n var found = false;\n var entriesLength = entries.length;\n var entry;\n while (index < entriesLength) {\n entry = entries[index++];\n if (found || entry.key === key) {\n found = true;\n $delete(this, entry.key);\n } else dindex++;\n }\n while (dindex < entriesLength) {\n entry = entries[dindex++];\n if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);\n }\n }, { enumerable: true, unsafe: true });\n}\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\n\nvar $URLSearchParams = URLSearchParams;\nvar URLSearchParamsPrototype = $URLSearchParams.prototype;\nvar getAll = uncurryThis(URLSearchParamsPrototype.getAll);\nvar $has = uncurryThis(URLSearchParamsPrototype.has);\nvar params = new $URLSearchParams('a=1');\n\n// `undefined` case is a Chromium 117 bug\n// https://bugs.chromium.org/p/v8/issues/detail?id=14222\nif (params.has('a', 2) || !params.has('a', undefined)) {\n defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) {\n var length = arguments.length;\n var $value = length < 2 ? undefined : arguments[1];\n if (length && $value === undefined) return $has(this, name);\n var values = getAll(this, name); // also validates `this`\n validateArgumentsLength(length, 1);\n var value = toString($value);\n var index = 0;\n while (index < values.length) {\n if (values[index++] === value) return true;\n } return false;\n }, { enumerable: true, unsafe: true });\n}\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/web.url-search-params.constructor');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar URLSearchParamsPrototype = URLSearchParams.prototype;\nvar forEach = uncurryThis(URLSearchParamsPrototype.forEach);\n\n// `URLSearchParams.prototype.size` getter\n// https://github.com/whatwg/url/pull/734\nif (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {\n defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {\n get: function size() {\n var count = 0;\n forEach(this, function () { count++; });\n return count;\n },\n configurable: true,\n enumerable: true\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar fails = require('../internals/fails');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar toString = require('../internals/to-string');\nvar USE_NATIVE_URL = require('../internals/url-constructor-detection');\n\nvar URL = getBuiltIn('URL');\n\n// https://github.com/nodejs/node/issues/47505\n// https://github.com/denoland/deno/issues/18893\nvar THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () {\n URL.canParse();\n});\n\n// `URL.canParse` method\n// https://url.spec.whatwg.org/#dom-url-canparse\n$({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, {\n canParse: function canParse(url) {\n var length = validateArgumentsLength(arguments.length, 1);\n var urlString = toString(url);\n var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]);\n try {\n return !!new URL(urlString, base);\n } catch (error) {\n return false;\n }\n }\n});\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.string.iterator');\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar USE_NATIVE_URL = require('../internals/url-constructor-detection');\nvar global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar anInstance = require('../internals/an-instance');\nvar hasOwn = require('../internals/has-own-property');\nvar assign = require('../internals/object-assign');\nvar arrayFrom = require('../internals/array-from');\nvar arraySlice = require('../internals/array-slice-simple');\nvar codeAt = require('../internals/string-multibyte').codeAt;\nvar toASCII = require('../internals/string-punycode-to-ascii');\nvar $toString = require('../internals/to-string');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar URLSearchParamsModule = require('../modules/web.url-search-params.constructor');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalURLState = InternalStateModule.getterFor('URL');\nvar URLSearchParams = URLSearchParamsModule.URLSearchParams;\nvar getInternalSearchParamsState = URLSearchParamsModule.getState;\n\nvar NativeURL = global.URL;\nvar TypeError = global.TypeError;\nvar parseInt = global.parseInt;\nvar floor = Math.floor;\nvar pow = Math.pow;\nvar charAt = uncurryThis(''.charAt);\nvar exec = uncurryThis(/./.exec);\nvar join = uncurryThis([].join);\nvar numberToString = uncurryThis(1.0.toString);\nvar pop = uncurryThis([].pop);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\nvar toLowerCase = uncurryThis(''.toLowerCase);\nvar unshift = uncurryThis([].unshift);\n\nvar INVALID_AUTHORITY = 'Invalid authority';\nvar INVALID_SCHEME = 'Invalid scheme';\nvar INVALID_HOST = 'Invalid host';\nvar INVALID_PORT = 'Invalid port';\n\nvar ALPHA = /[a-z]/i;\n// eslint-disable-next-line regexp/no-obscure-range -- safe\nvar ALPHANUMERIC = /[\\d+-.a-z]/i;\nvar DIGIT = /\\d/;\nvar HEX_START = /^0x/i;\nvar OCT = /^[0-7]+$/;\nvar DEC = /^\\d+$/;\nvar HEX = /^[\\da-f]+$/i;\n/* eslint-disable regexp/no-control-character -- safe */\nvar FORBIDDEN_HOST_CODE_POINT = /[\\0\\t\\n\\r #%/:<>?@[\\\\\\]^|]/;\nvar FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\\0\\t\\n\\r #/:<>?@[\\\\\\]^|]/;\nvar LEADING_C0_CONTROL_OR_SPACE = /^[\\u0000-\\u0020]+/;\nvar TRAILING_C0_CONTROL_OR_SPACE = /(^|[^\\u0000-\\u0020])[\\u0000-\\u0020]+$/;\nvar TAB_AND_NEW_LINE = /[\\t\\n\\r]/g;\n/* eslint-enable regexp/no-control-character -- safe */\nvar EOF;\n\n// https://url.spec.whatwg.org/#ipv4-number-parser\nvar parseIPv4 = function (input) {\n var parts = split(input, '.');\n var partsLength, numbers, index, part, radix, number, ipv4;\n if (parts.length && parts[parts.length - 1] === '') {\n parts.length--;\n }\n partsLength = parts.length;\n if (partsLength > 4) return input;\n numbers = [];\n for (index = 0; index < partsLength; index++) {\n part = parts[index];\n if (part === '') return input;\n radix = 10;\n if (part.length > 1 && charAt(part, 0) === '0') {\n radix = exec(HEX_START, part) ? 16 : 8;\n part = stringSlice(part, radix === 8 ? 1 : 2);\n }\n if (part === '') {\n number = 0;\n } else {\n if (!exec(radix === 10 ? DEC : radix === 8 ? OCT : HEX, part)) return input;\n number = parseInt(part, radix);\n }\n push(numbers, number);\n }\n for (index = 0; index < partsLength; index++) {\n number = numbers[index];\n if (index === partsLength - 1) {\n if (number >= pow(256, 5 - partsLength)) return null;\n } else if (number > 255) return null;\n }\n ipv4 = pop(numbers);\n for (index = 0; index < numbers.length; index++) {\n ipv4 += numbers[index] * pow(256, 3 - index);\n }\n return ipv4;\n};\n\n// https://url.spec.whatwg.org/#concept-ipv6-parser\n// eslint-disable-next-line max-statements -- TODO\nvar parseIPv6 = function (input) {\n var address = [0, 0, 0, 0, 0, 0, 0, 0];\n var pieceIndex = 0;\n var compress = null;\n var pointer = 0;\n var value, length, numbersSeen, ipv4Piece, number, swaps, swap;\n\n var chr = function () {\n return charAt(input, pointer);\n };\n\n if (chr() === ':') {\n if (charAt(input, 1) !== ':') return;\n pointer += 2;\n pieceIndex++;\n compress = pieceIndex;\n }\n while (chr()) {\n if (pieceIndex === 8) return;\n if (chr() === ':') {\n if (compress !== null) return;\n pointer++;\n pieceIndex++;\n compress = pieceIndex;\n continue;\n }\n value = length = 0;\n while (length < 4 && exec(HEX, chr())) {\n value = value * 16 + parseInt(chr(), 16);\n pointer++;\n length++;\n }\n if (chr() === '.') {\n if (length === 0) return;\n pointer -= length;\n if (pieceIndex > 6) return;\n numbersSeen = 0;\n while (chr()) {\n ipv4Piece = null;\n if (numbersSeen > 0) {\n if (chr() === '.' && numbersSeen < 4) pointer++;\n else return;\n }\n if (!exec(DIGIT, chr())) return;\n while (exec(DIGIT, chr())) {\n number = parseInt(chr(), 10);\n if (ipv4Piece === null) ipv4Piece = number;\n else if (ipv4Piece === 0) return;\n else ipv4Piece = ipv4Piece * 10 + number;\n if (ipv4Piece > 255) return;\n pointer++;\n }\n address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;\n numbersSeen++;\n if (numbersSeen === 2 || numbersSeen === 4) pieceIndex++;\n }\n if (numbersSeen !== 4) return;\n break;\n } else if (chr() === ':') {\n pointer++;\n if (!chr()) return;\n } else if (chr()) return;\n address[pieceIndex++] = value;\n }\n if (compress !== null) {\n swaps = pieceIndex - compress;\n pieceIndex = 7;\n while (pieceIndex !== 0 && swaps > 0) {\n swap = address[pieceIndex];\n address[pieceIndex--] = address[compress + swaps - 1];\n address[compress + --swaps] = swap;\n }\n } else if (pieceIndex !== 8) return;\n return address;\n};\n\nvar findLongestZeroSequence = function (ipv6) {\n var maxIndex = null;\n var maxLength = 1;\n var currStart = null;\n var currLength = 0;\n var index = 0;\n for (; index < 8; index++) {\n if (ipv6[index] !== 0) {\n if (currLength > maxLength) {\n maxIndex = currStart;\n maxLength = currLength;\n }\n currStart = null;\n currLength = 0;\n } else {\n if (currStart === null) currStart = index;\n ++currLength;\n }\n }\n if (currLength > maxLength) {\n maxIndex = currStart;\n maxLength = currLength;\n }\n return maxIndex;\n};\n\n// https://url.spec.whatwg.org/#host-serializing\nvar serializeHost = function (host) {\n var result, index, compress, ignore0;\n // ipv4\n if (typeof host == 'number') {\n result = [];\n for (index = 0; index < 4; index++) {\n unshift(result, host % 256);\n host = floor(host / 256);\n } return join(result, '.');\n // ipv6\n } else if (typeof host == 'object') {\n result = '';\n compress = findLongestZeroSequence(host);\n for (index = 0; index < 8; index++) {\n if (ignore0 && host[index] === 0) continue;\n if (ignore0) ignore0 = false;\n if (compress === index) {\n result += index ? ':' : '::';\n ignore0 = true;\n } else {\n result += numberToString(host[index], 16);\n if (index < 7) result += ':';\n }\n }\n return '[' + result + ']';\n } return host;\n};\n\nvar C0ControlPercentEncodeSet = {};\nvar fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {\n ' ': 1, '\"': 1, '<': 1, '>': 1, '`': 1\n});\nvar pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, {\n '#': 1, '?': 1, '{': 1, '}': 1\n});\nvar userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, {\n '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\\\': 1, ']': 1, '^': 1, '|': 1\n});\n\nvar percentEncode = function (chr, set) {\n var code = codeAt(chr, 0);\n return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr);\n};\n\n// https://url.spec.whatwg.org/#special-scheme\nvar specialSchemes = {\n ftp: 21,\n file: null,\n http: 80,\n https: 443,\n ws: 80,\n wss: 443\n};\n\n// https://url.spec.whatwg.org/#windows-drive-letter\nvar isWindowsDriveLetter = function (string, normalized) {\n var second;\n return string.length === 2 && exec(ALPHA, charAt(string, 0))\n && ((second = charAt(string, 1)) === ':' || (!normalized && second === '|'));\n};\n\n// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter\nvar startsWithWindowsDriveLetter = function (string) {\n var third;\n return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (\n string.length === 2 ||\n ((third = charAt(string, 2)) === '/' || third === '\\\\' || third === '?' || third === '#')\n );\n};\n\n// https://url.spec.whatwg.org/#single-dot-path-segment\nvar isSingleDot = function (segment) {\n return segment === '.' || toLowerCase(segment) === '%2e';\n};\n\n// https://url.spec.whatwg.org/#double-dot-path-segment\nvar isDoubleDot = function (segment) {\n segment = toLowerCase(segment);\n return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e';\n};\n\n// States:\nvar SCHEME_START = {};\nvar SCHEME = {};\nvar NO_SCHEME = {};\nvar SPECIAL_RELATIVE_OR_AUTHORITY = {};\nvar PATH_OR_AUTHORITY = {};\nvar RELATIVE = {};\nvar RELATIVE_SLASH = {};\nvar SPECIAL_AUTHORITY_SLASHES = {};\nvar SPECIAL_AUTHORITY_IGNORE_SLASHES = {};\nvar AUTHORITY = {};\nvar HOST = {};\nvar HOSTNAME = {};\nvar PORT = {};\nvar FILE = {};\nvar FILE_SLASH = {};\nvar FILE_HOST = {};\nvar PATH_START = {};\nvar PATH = {};\nvar CANNOT_BE_A_BASE_URL_PATH = {};\nvar QUERY = {};\nvar FRAGMENT = {};\n\nvar URLState = function (url, isBase, base) {\n var urlString = $toString(url);\n var baseState, failure, searchParams;\n if (isBase) {\n failure = this.parse(urlString);\n if (failure) throw TypeError(failure);\n this.searchParams = null;\n } else {\n if (base !== undefined) baseState = new URLState(base, true);\n failure = this.parse(urlString, null, baseState);\n if (failure) throw TypeError(failure);\n searchParams = getInternalSearchParamsState(new URLSearchParams());\n searchParams.bindURL(this);\n this.searchParams = searchParams;\n }\n};\n\nURLState.prototype = {\n type: 'URL',\n // https://url.spec.whatwg.org/#url-parsing\n // eslint-disable-next-line max-statements -- TODO\n parse: function (input, stateOverride, base) {\n var url = this;\n var state = stateOverride || SCHEME_START;\n var pointer = 0;\n var buffer = '';\n var seenAt = false;\n var seenBracket = false;\n var seenPasswordToken = false;\n var codePoints, chr, bufferCodePoints, failure;\n\n input = $toString(input);\n\n if (!stateOverride) {\n url.scheme = '';\n url.username = '';\n url.password = '';\n url.host = null;\n url.port = null;\n url.path = [];\n url.query = null;\n url.fragment = null;\n url.cannotBeABaseURL = false;\n input = replace(input, LEADING_C0_CONTROL_OR_SPACE, '');\n input = replace(input, TRAILING_C0_CONTROL_OR_SPACE, '$1');\n }\n\n input = replace(input, TAB_AND_NEW_LINE, '');\n\n codePoints = arrayFrom(input);\n\n while (pointer <= codePoints.length) {\n chr = codePoints[pointer];\n switch (state) {\n case SCHEME_START:\n if (chr && exec(ALPHA, chr)) {\n buffer += toLowerCase(chr);\n state = SCHEME;\n } else if (!stateOverride) {\n state = NO_SCHEME;\n continue;\n } else return INVALID_SCHEME;\n break;\n\n case SCHEME:\n if (chr && (exec(ALPHANUMERIC, chr) || chr === '+' || chr === '-' || chr === '.')) {\n buffer += toLowerCase(chr);\n } else if (chr === ':') {\n if (stateOverride && (\n (url.isSpecial() !== hasOwn(specialSchemes, buffer)) ||\n (buffer === 'file' && (url.includesCredentials() || url.port !== null)) ||\n (url.scheme === 'file' && !url.host)\n )) return;\n url.scheme = buffer;\n if (stateOverride) {\n if (url.isSpecial() && specialSchemes[url.scheme] === url.port) url.port = null;\n return;\n }\n buffer = '';\n if (url.scheme === 'file') {\n state = FILE;\n } else if (url.isSpecial() && base && base.scheme === url.scheme) {\n state = SPECIAL_RELATIVE_OR_AUTHORITY;\n } else if (url.isSpecial()) {\n state = SPECIAL_AUTHORITY_SLASHES;\n } else if (codePoints[pointer + 1] === '/') {\n state = PATH_OR_AUTHORITY;\n pointer++;\n } else {\n url.cannotBeABaseURL = true;\n push(url.path, '');\n state = CANNOT_BE_A_BASE_URL_PATH;\n }\n } else if (!stateOverride) {\n buffer = '';\n state = NO_SCHEME;\n pointer = 0;\n continue;\n } else return INVALID_SCHEME;\n break;\n\n case NO_SCHEME:\n if (!base || (base.cannotBeABaseURL && chr !== '#')) return INVALID_SCHEME;\n if (base.cannotBeABaseURL && chr === '#') {\n url.scheme = base.scheme;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n url.cannotBeABaseURL = true;\n state = FRAGMENT;\n break;\n }\n state = base.scheme === 'file' ? FILE : RELATIVE;\n continue;\n\n case SPECIAL_RELATIVE_OR_AUTHORITY:\n if (chr === '/' && codePoints[pointer + 1] === '/') {\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n pointer++;\n } else {\n state = RELATIVE;\n continue;\n } break;\n\n case PATH_OR_AUTHORITY:\n if (chr === '/') {\n state = AUTHORITY;\n break;\n } else {\n state = PATH;\n continue;\n }\n\n case RELATIVE:\n url.scheme = base.scheme;\n if (chr === EOF) {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = base.query;\n } else if (chr === '/' || (chr === '\\\\' && url.isSpecial())) {\n state = RELATIVE_SLASH;\n } else if (chr === '?') {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = '';\n state = QUERY;\n } else if (chr === '#') {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n state = FRAGMENT;\n } else {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.path.length--;\n state = PATH;\n continue;\n } break;\n\n case RELATIVE_SLASH:\n if (url.isSpecial() && (chr === '/' || chr === '\\\\')) {\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n } else if (chr === '/') {\n state = AUTHORITY;\n } else {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n state = PATH;\n continue;\n } break;\n\n case SPECIAL_AUTHORITY_SLASHES:\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n if (chr !== '/' || charAt(buffer, pointer + 1) !== '/') continue;\n pointer++;\n break;\n\n case SPECIAL_AUTHORITY_IGNORE_SLASHES:\n if (chr !== '/' && chr !== '\\\\') {\n state = AUTHORITY;\n continue;\n } break;\n\n case AUTHORITY:\n if (chr === '@') {\n if (seenAt) buffer = '%40' + buffer;\n seenAt = true;\n bufferCodePoints = arrayFrom(buffer);\n for (var i = 0; i < bufferCodePoints.length; i++) {\n var codePoint = bufferCodePoints[i];\n if (codePoint === ':' && !seenPasswordToken) {\n seenPasswordToken = true;\n continue;\n }\n var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet);\n if (seenPasswordToken) url.password += encodedCodePoints;\n else url.username += encodedCodePoints;\n }\n buffer = '';\n } else if (\n chr === EOF || chr === '/' || chr === '?' || chr === '#' ||\n (chr === '\\\\' && url.isSpecial())\n ) {\n if (seenAt && buffer === '') return INVALID_AUTHORITY;\n pointer -= arrayFrom(buffer).length + 1;\n buffer = '';\n state = HOST;\n } else buffer += chr;\n break;\n\n case HOST:\n case HOSTNAME:\n if (stateOverride && url.scheme === 'file') {\n state = FILE_HOST;\n continue;\n } else if (chr === ':' && !seenBracket) {\n if (buffer === '') return INVALID_HOST;\n failure = url.parseHost(buffer);\n if (failure) return failure;\n buffer = '';\n state = PORT;\n if (stateOverride === HOSTNAME) return;\n } else if (\n chr === EOF || chr === '/' || chr === '?' || chr === '#' ||\n (chr === '\\\\' && url.isSpecial())\n ) {\n if (url.isSpecial() && buffer === '') return INVALID_HOST;\n if (stateOverride && buffer === '' && (url.includesCredentials() || url.port !== null)) return;\n failure = url.parseHost(buffer);\n if (failure) return failure;\n buffer = '';\n state = PATH_START;\n if (stateOverride) return;\n continue;\n } else {\n if (chr === '[') seenBracket = true;\n else if (chr === ']') seenBracket = false;\n buffer += chr;\n } break;\n\n case PORT:\n if (exec(DIGIT, chr)) {\n buffer += chr;\n } else if (\n chr === EOF || chr === '/' || chr === '?' || chr === '#' ||\n (chr === '\\\\' && url.isSpecial()) ||\n stateOverride\n ) {\n if (buffer !== '') {\n var port = parseInt(buffer, 10);\n if (port > 0xFFFF) return INVALID_PORT;\n url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port;\n buffer = '';\n }\n if (stateOverride) return;\n state = PATH_START;\n continue;\n } else return INVALID_PORT;\n break;\n\n case FILE:\n url.scheme = 'file';\n if (chr === '/' || chr === '\\\\') state = FILE_SLASH;\n else if (base && base.scheme === 'file') {\n switch (chr) {\n case EOF:\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = base.query;\n break;\n case '?':\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = '';\n state = QUERY;\n break;\n case '#':\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n state = FRAGMENT;\n break;\n default:\n if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.shortenPath();\n }\n state = PATH;\n continue;\n }\n } else {\n state = PATH;\n continue;\n } break;\n\n case FILE_SLASH:\n if (chr === '/' || chr === '\\\\') {\n state = FILE_HOST;\n break;\n }\n if (base && base.scheme === 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {\n if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]);\n else url.host = base.host;\n }\n state = PATH;\n continue;\n\n case FILE_HOST:\n if (chr === EOF || chr === '/' || chr === '\\\\' || chr === '?' || chr === '#') {\n if (!stateOverride && isWindowsDriveLetter(buffer)) {\n state = PATH;\n } else if (buffer === '') {\n url.host = '';\n if (stateOverride) return;\n state = PATH_START;\n } else {\n failure = url.parseHost(buffer);\n if (failure) return failure;\n if (url.host === 'localhost') url.host = '';\n if (stateOverride) return;\n buffer = '';\n state = PATH_START;\n } continue;\n } else buffer += chr;\n break;\n\n case PATH_START:\n if (url.isSpecial()) {\n state = PATH;\n if (chr !== '/' && chr !== '\\\\') continue;\n } else if (!stateOverride && chr === '?') {\n url.query = '';\n state = QUERY;\n } else if (!stateOverride && chr === '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr !== EOF) {\n state = PATH;\n if (chr !== '/') continue;\n } break;\n\n case PATH:\n if (\n chr === EOF || chr === '/' ||\n (chr === '\\\\' && url.isSpecial()) ||\n (!stateOverride && (chr === '?' || chr === '#'))\n ) {\n if (isDoubleDot(buffer)) {\n url.shortenPath();\n if (chr !== '/' && !(chr === '\\\\' && url.isSpecial())) {\n push(url.path, '');\n }\n } else if (isSingleDot(buffer)) {\n if (chr !== '/' && !(chr === '\\\\' && url.isSpecial())) {\n push(url.path, '');\n }\n } else {\n if (url.scheme === 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {\n if (url.host) url.host = '';\n buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter\n }\n push(url.path, buffer);\n }\n buffer = '';\n if (url.scheme === 'file' && (chr === EOF || chr === '?' || chr === '#')) {\n while (url.path.length > 1 && url.path[0] === '') {\n shift(url.path);\n }\n }\n if (chr === '?') {\n url.query = '';\n state = QUERY;\n } else if (chr === '#') {\n url.fragment = '';\n state = FRAGMENT;\n }\n } else {\n buffer += percentEncode(chr, pathPercentEncodeSet);\n } break;\n\n case CANNOT_BE_A_BASE_URL_PATH:\n if (chr === '?') {\n url.query = '';\n state = QUERY;\n } else if (chr === '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr !== EOF) {\n url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet);\n } break;\n\n case QUERY:\n if (!stateOverride && chr === '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr !== EOF) {\n if (chr === \"'\" && url.isSpecial()) url.query += '%27';\n else if (chr === '#') url.query += '%23';\n else url.query += percentEncode(chr, C0ControlPercentEncodeSet);\n } break;\n\n case FRAGMENT:\n if (chr !== EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet);\n break;\n }\n\n pointer++;\n }\n },\n // https://url.spec.whatwg.org/#host-parsing\n parseHost: function (input) {\n var result, codePoints, index;\n if (charAt(input, 0) === '[') {\n if (charAt(input, input.length - 1) !== ']') return INVALID_HOST;\n result = parseIPv6(stringSlice(input, 1, -1));\n if (!result) return INVALID_HOST;\n this.host = result;\n // opaque host\n } else if (!this.isSpecial()) {\n if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST;\n result = '';\n codePoints = arrayFrom(input);\n for (index = 0; index < codePoints.length; index++) {\n result += percentEncode(codePoints[index], C0ControlPercentEncodeSet);\n }\n this.host = result;\n } else {\n input = toASCII(input);\n if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST;\n result = parseIPv4(input);\n if (result === null) return INVALID_HOST;\n this.host = result;\n }\n },\n // https://url.spec.whatwg.org/#cannot-have-a-username-password-port\n cannotHaveUsernamePasswordPort: function () {\n return !this.host || this.cannotBeABaseURL || this.scheme === 'file';\n },\n // https://url.spec.whatwg.org/#include-credentials\n includesCredentials: function () {\n return this.username !== '' || this.password !== '';\n },\n // https://url.spec.whatwg.org/#is-special\n isSpecial: function () {\n return hasOwn(specialSchemes, this.scheme);\n },\n // https://url.spec.whatwg.org/#shorten-a-urls-path\n shortenPath: function () {\n var path = this.path;\n var pathSize = path.length;\n if (pathSize && (this.scheme !== 'file' || pathSize !== 1 || !isWindowsDriveLetter(path[0], true))) {\n path.length--;\n }\n },\n // https://url.spec.whatwg.org/#concept-url-serializer\n serialize: function () {\n var url = this;\n var scheme = url.scheme;\n var username = url.username;\n var password = url.password;\n var host = url.host;\n var port = url.port;\n var path = url.path;\n var query = url.query;\n var fragment = url.fragment;\n var output = scheme + ':';\n if (host !== null) {\n output += '//';\n if (url.includesCredentials()) {\n output += username + (password ? ':' + password : '') + '@';\n }\n output += serializeHost(host);\n if (port !== null) output += ':' + port;\n } else if (scheme === 'file') output += '//';\n output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';\n if (query !== null) output += '?' + query;\n if (fragment !== null) output += '#' + fragment;\n return output;\n },\n // https://url.spec.whatwg.org/#dom-url-href\n setHref: function (href) {\n var failure = this.parse(href);\n if (failure) throw TypeError(failure);\n this.searchParams.update();\n },\n // https://url.spec.whatwg.org/#dom-url-origin\n getOrigin: function () {\n var scheme = this.scheme;\n var port = this.port;\n if (scheme === 'blob') try {\n return new URLConstructor(scheme.path[0]).origin;\n } catch (error) {\n return 'null';\n }\n if (scheme === 'file' || !this.isSpecial()) return 'null';\n return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : '');\n },\n // https://url.spec.whatwg.org/#dom-url-protocol\n getProtocol: function () {\n return this.scheme + ':';\n },\n setProtocol: function (protocol) {\n this.parse($toString(protocol) + ':', SCHEME_START);\n },\n // https://url.spec.whatwg.org/#dom-url-username\n getUsername: function () {\n return this.username;\n },\n setUsername: function (username) {\n var codePoints = arrayFrom($toString(username));\n if (this.cannotHaveUsernamePasswordPort()) return;\n this.username = '';\n for (var i = 0; i < codePoints.length; i++) {\n this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet);\n }\n },\n // https://url.spec.whatwg.org/#dom-url-password\n getPassword: function () {\n return this.password;\n },\n setPassword: function (password) {\n var codePoints = arrayFrom($toString(password));\n if (this.cannotHaveUsernamePasswordPort()) return;\n this.password = '';\n for (var i = 0; i < codePoints.length; i++) {\n this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet);\n }\n },\n // https://url.spec.whatwg.org/#dom-url-host\n getHost: function () {\n var host = this.host;\n var port = this.port;\n return host === null ? ''\n : port === null ? serializeHost(host)\n : serializeHost(host) + ':' + port;\n },\n setHost: function (host) {\n if (this.cannotBeABaseURL) return;\n this.parse(host, HOST);\n },\n // https://url.spec.whatwg.org/#dom-url-hostname\n getHostname: function () {\n var host = this.host;\n return host === null ? '' : serializeHost(host);\n },\n setHostname: function (hostname) {\n if (this.cannotBeABaseURL) return;\n this.parse(hostname, HOSTNAME);\n },\n // https://url.spec.whatwg.org/#dom-url-port\n getPort: function () {\n var port = this.port;\n return port === null ? '' : $toString(port);\n },\n setPort: function (port) {\n if (this.cannotHaveUsernamePasswordPort()) return;\n port = $toString(port);\n if (port === '') this.port = null;\n else this.parse(port, PORT);\n },\n // https://url.spec.whatwg.org/#dom-url-pathname\n getPathname: function () {\n var path = this.path;\n return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';\n },\n setPathname: function (pathname) {\n if (this.cannotBeABaseURL) return;\n this.path = [];\n this.parse(pathname, PATH_START);\n },\n // https://url.spec.whatwg.org/#dom-url-search\n getSearch: function () {\n var query = this.query;\n return query ? '?' + query : '';\n },\n setSearch: function (search) {\n search = $toString(search);\n if (search === '') {\n this.query = null;\n } else {\n if (charAt(search, 0) === '?') search = stringSlice(search, 1);\n this.query = '';\n this.parse(search, QUERY);\n }\n this.searchParams.update();\n },\n // https://url.spec.whatwg.org/#dom-url-searchparams\n getSearchParams: function () {\n return this.searchParams.facade;\n },\n // https://url.spec.whatwg.org/#dom-url-hash\n getHash: function () {\n var fragment = this.fragment;\n return fragment ? '#' + fragment : '';\n },\n setHash: function (hash) {\n hash = $toString(hash);\n if (hash === '') {\n this.fragment = null;\n return;\n }\n if (charAt(hash, 0) === '#') hash = stringSlice(hash, 1);\n this.fragment = '';\n this.parse(hash, FRAGMENT);\n },\n update: function () {\n this.query = this.searchParams.serialize() || null;\n }\n};\n\n// `URL` constructor\n// https://url.spec.whatwg.org/#url-class\nvar URLConstructor = function URL(url /* , base */) {\n var that = anInstance(this, URLPrototype);\n var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;\n var state = setInternalState(that, new URLState(url, false, base));\n if (!DESCRIPTORS) {\n that.href = state.serialize();\n that.origin = state.getOrigin();\n that.protocol = state.getProtocol();\n that.username = state.getUsername();\n that.password = state.getPassword();\n that.host = state.getHost();\n that.hostname = state.getHostname();\n that.port = state.getPort();\n that.pathname = state.getPathname();\n that.search = state.getSearch();\n that.searchParams = state.getSearchParams();\n that.hash = state.getHash();\n }\n};\n\nvar URLPrototype = URLConstructor.prototype;\n\nvar accessorDescriptor = function (getter, setter) {\n return {\n get: function () {\n return getInternalURLState(this)[getter]();\n },\n set: setter && function (value) {\n return getInternalURLState(this)[setter](value);\n },\n configurable: true,\n enumerable: true\n };\n};\n\nif (DESCRIPTORS) {\n // `URL.prototype.href` accessors pair\n // https://url.spec.whatwg.org/#dom-url-href\n defineBuiltInAccessor(URLPrototype, 'href', accessorDescriptor('serialize', 'setHref'));\n // `URL.prototype.origin` getter\n // https://url.spec.whatwg.org/#dom-url-origin\n defineBuiltInAccessor(URLPrototype, 'origin', accessorDescriptor('getOrigin'));\n // `URL.prototype.protocol` accessors pair\n // https://url.spec.whatwg.org/#dom-url-protocol\n defineBuiltInAccessor(URLPrototype, 'protocol', accessorDescriptor('getProtocol', 'setProtocol'));\n // `URL.prototype.username` accessors pair\n // https://url.spec.whatwg.org/#dom-url-username\n defineBuiltInAccessor(URLPrototype, 'username', accessorDescriptor('getUsername', 'setUsername'));\n // `URL.prototype.password` accessors pair\n // https://url.spec.whatwg.org/#dom-url-password\n defineBuiltInAccessor(URLPrototype, 'password', accessorDescriptor('getPassword', 'setPassword'));\n // `URL.prototype.host` accessors pair\n // https://url.spec.whatwg.org/#dom-url-host\n defineBuiltInAccessor(URLPrototype, 'host', accessorDescriptor('getHost', 'setHost'));\n // `URL.prototype.hostname` accessors pair\n // https://url.spec.whatwg.org/#dom-url-hostname\n defineBuiltInAccessor(URLPrototype, 'hostname', accessorDescriptor('getHostname', 'setHostname'));\n // `URL.prototype.port` accessors pair\n // https://url.spec.whatwg.org/#dom-url-port\n defineBuiltInAccessor(URLPrototype, 'port', accessorDescriptor('getPort', 'setPort'));\n // `URL.prototype.pathname` accessors pair\n // https://url.spec.whatwg.org/#dom-url-pathname\n defineBuiltInAccessor(URLPrototype, 'pathname', accessorDescriptor('getPathname', 'setPathname'));\n // `URL.prototype.search` accessors pair\n // https://url.spec.whatwg.org/#dom-url-search\n defineBuiltInAccessor(URLPrototype, 'search', accessorDescriptor('getSearch', 'setSearch'));\n // `URL.prototype.searchParams` getter\n // https://url.spec.whatwg.org/#dom-url-searchparams\n defineBuiltInAccessor(URLPrototype, 'searchParams', accessorDescriptor('getSearchParams'));\n // `URL.prototype.hash` accessors pair\n // https://url.spec.whatwg.org/#dom-url-hash\n defineBuiltInAccessor(URLPrototype, 'hash', accessorDescriptor('getHash', 'setHash'));\n}\n\n// `URL.prototype.toJSON` method\n// https://url.spec.whatwg.org/#dom-url-tojson\ndefineBuiltIn(URLPrototype, 'toJSON', function toJSON() {\n return getInternalURLState(this).serialize();\n}, { enumerable: true });\n\n// `URL.prototype.toString` method\n// https://url.spec.whatwg.org/#URL-stringification-behavior\ndefineBuiltIn(URLPrototype, 'toString', function toString() {\n return getInternalURLState(this).serialize();\n}, { enumerable: true });\n\nif (NativeURL) {\n var nativeCreateObjectURL = NativeURL.createObjectURL;\n var nativeRevokeObjectURL = NativeURL.revokeObjectURL;\n // `URL.createObjectURL` method\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL\n if (nativeCreateObjectURL) defineBuiltIn(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL));\n // `URL.revokeObjectURL` method\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL\n if (nativeRevokeObjectURL) defineBuiltIn(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL));\n}\n\nsetToStringTag(URLConstructor, 'URL');\n\n$({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {\n URL: URLConstructor\n});\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/web.url.constructor');\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\n\n// `URL.prototype.toJSON` method\n// https://url.spec.whatwg.org/#dom-url-tojson\n$({ target: 'URL', proto: true, enumerable: true }, {\n toJSON: function toJSON() {\n return call(URL.prototype.toString, this);\n }\n});\n","'use strict';\nrequire('../modules/es.symbol');\nrequire('../modules/es.symbol.description');\nrequire('../modules/es.symbol.async-iterator');\nrequire('../modules/es.symbol.has-instance');\nrequire('../modules/es.symbol.is-concat-spreadable');\nrequire('../modules/es.symbol.iterator');\nrequire('../modules/es.symbol.match');\nrequire('../modules/es.symbol.match-all');\nrequire('../modules/es.symbol.replace');\nrequire('../modules/es.symbol.search');\nrequire('../modules/es.symbol.species');\nrequire('../modules/es.symbol.split');\nrequire('../modules/es.symbol.to-primitive');\nrequire('../modules/es.symbol.to-string-tag');\nrequire('../modules/es.symbol.unscopables');\nrequire('../modules/es.error.cause');\nrequire('../modules/es.error.to-string');\nrequire('../modules/es.aggregate-error');\nrequire('../modules/es.aggregate-error.cause');\nrequire('../modules/es.array.at');\nrequire('../modules/es.array.concat');\nrequire('../modules/es.array.copy-within');\nrequire('../modules/es.array.every');\nrequire('../modules/es.array.fill');\nrequire('../modules/es.array.filter');\nrequire('../modules/es.array.find');\nrequire('../modules/es.array.find-index');\nrequire('../modules/es.array.find-last');\nrequire('../modules/es.array.find-last-index');\nrequire('../modules/es.array.flat');\nrequire('../modules/es.array.flat-map');\nrequire('../modules/es.array.for-each');\nrequire('../modules/es.array.from');\nrequire('../modules/es.array.includes');\nrequire('../modules/es.array.index-of');\nrequire('../modules/es.array.is-array');\nrequire('../modules/es.array.iterator');\nrequire('../modules/es.array.join');\nrequire('../modules/es.array.last-index-of');\nrequire('../modules/es.array.map');\nrequire('../modules/es.array.of');\nrequire('../modules/es.array.push');\nrequire('../modules/es.array.reduce');\nrequire('../modules/es.array.reduce-right');\nrequire('../modules/es.array.reverse');\nrequire('../modules/es.array.slice');\nrequire('../modules/es.array.some');\nrequire('../modules/es.array.sort');\nrequire('../modules/es.array.species');\nrequire('../modules/es.array.splice');\nrequire('../modules/es.array.to-reversed');\nrequire('../modules/es.array.to-sorted');\nrequire('../modules/es.array.to-spliced');\nrequire('../modules/es.array.unscopables.flat');\nrequire('../modules/es.array.unscopables.flat-map');\nrequire('../modules/es.array.unshift');\nrequire('../modules/es.array.with');\nrequire('../modules/es.array-buffer.constructor');\nrequire('../modules/es.array-buffer.is-view');\nrequire('../modules/es.array-buffer.slice');\nrequire('../modules/es.data-view');\nrequire('../modules/es.date.get-year');\nrequire('../modules/es.date.now');\nrequire('../modules/es.date.set-year');\nrequire('../modules/es.date.to-gmt-string');\nrequire('../modules/es.date.to-iso-string');\nrequire('../modules/es.date.to-json');\nrequire('../modules/es.date.to-primitive');\nrequire('../modules/es.date.to-string');\nrequire('../modules/es.escape');\nrequire('../modules/es.function.bind');\nrequire('../modules/es.function.has-instance');\nrequire('../modules/es.function.name');\nrequire('../modules/es.global-this');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.json.to-string-tag');\nrequire('../modules/es.map');\nrequire('../modules/es.math.acosh');\nrequire('../modules/es.math.asinh');\nrequire('../modules/es.math.atanh');\nrequire('../modules/es.math.cbrt');\nrequire('../modules/es.math.clz32');\nrequire('../modules/es.math.cosh');\nrequire('../modules/es.math.expm1');\nrequire('../modules/es.math.fround');\nrequire('../modules/es.math.hypot');\nrequire('../modules/es.math.imul');\nrequire('../modules/es.math.log10');\nrequire('../modules/es.math.log1p');\nrequire('../modules/es.math.log2');\nrequire('../modules/es.math.sign');\nrequire('../modules/es.math.sinh');\nrequire('../modules/es.math.tanh');\nrequire('../modules/es.math.to-string-tag');\nrequire('../modules/es.math.trunc');\nrequire('../modules/es.number.constructor');\nrequire('../modules/es.number.epsilon');\nrequire('../modules/es.number.is-finite');\nrequire('../modules/es.number.is-integer');\nrequire('../modules/es.number.is-nan');\nrequire('../modules/es.number.is-safe-integer');\nrequire('../modules/es.number.max-safe-integer');\nrequire('../modules/es.number.min-safe-integer');\nrequire('../modules/es.number.parse-float');\nrequire('../modules/es.number.parse-int');\nrequire('../modules/es.number.to-exponential');\nrequire('../modules/es.number.to-fixed');\nrequire('../modules/es.number.to-precision');\nrequire('../modules/es.object.assign');\nrequire('../modules/es.object.create');\nrequire('../modules/es.object.define-getter');\nrequire('../modules/es.object.define-properties');\nrequire('../modules/es.object.define-property');\nrequire('../modules/es.object.define-setter');\nrequire('../modules/es.object.entries');\nrequire('../modules/es.object.freeze');\nrequire('../modules/es.object.from-entries');\nrequire('../modules/es.object.get-own-property-descriptor');\nrequire('../modules/es.object.get-own-property-descriptors');\nrequire('../modules/es.object.get-own-property-names');\nrequire('../modules/es.object.get-prototype-of');\nrequire('../modules/es.object.has-own');\nrequire('../modules/es.object.is');\nrequire('../modules/es.object.is-extensible');\nrequire('../modules/es.object.is-frozen');\nrequire('../modules/es.object.is-sealed');\nrequire('../modules/es.object.keys');\nrequire('../modules/es.object.lookup-getter');\nrequire('../modules/es.object.lookup-setter');\nrequire('../modules/es.object.prevent-extensions');\nrequire('../modules/es.object.proto');\nrequire('../modules/es.object.seal');\nrequire('../modules/es.object.set-prototype-of');\nrequire('../modules/es.object.to-string');\nrequire('../modules/es.object.values');\nrequire('../modules/es.parse-float');\nrequire('../modules/es.parse-int');\nrequire('../modules/es.promise');\nrequire('../modules/es.promise.all-settled');\nrequire('../modules/es.promise.any');\nrequire('../modules/es.promise.finally');\nrequire('../modules/es.reflect.apply');\nrequire('../modules/es.reflect.construct');\nrequire('../modules/es.reflect.define-property');\nrequire('../modules/es.reflect.delete-property');\nrequire('../modules/es.reflect.get');\nrequire('../modules/es.reflect.get-own-property-descriptor');\nrequire('../modules/es.reflect.get-prototype-of');\nrequire('../modules/es.reflect.has');\nrequire('../modules/es.reflect.is-extensible');\nrequire('../modules/es.reflect.own-keys');\nrequire('../modules/es.reflect.prevent-extensions');\nrequire('../modules/es.reflect.set');\nrequire('../modules/es.reflect.set-prototype-of');\nrequire('../modules/es.reflect.to-string-tag');\nrequire('../modules/es.regexp.constructor');\nrequire('../modules/es.regexp.dot-all');\nrequire('../modules/es.regexp.exec');\nrequire('../modules/es.regexp.flags');\nrequire('../modules/es.regexp.sticky');\nrequire('../modules/es.regexp.test');\nrequire('../modules/es.regexp.to-string');\nrequire('../modules/es.set');\nrequire('../modules/es.string.at-alternative');\nrequire('../modules/es.string.code-point-at');\nrequire('../modules/es.string.ends-with');\nrequire('../modules/es.string.from-code-point');\nrequire('../modules/es.string.includes');\nrequire('../modules/es.string.is-well-formed');\nrequire('../modules/es.string.iterator');\nrequire('../modules/es.string.match');\nrequire('../modules/es.string.match-all');\nrequire('../modules/es.string.pad-end');\nrequire('../modules/es.string.pad-start');\nrequire('../modules/es.string.raw');\nrequire('../modules/es.string.repeat');\nrequire('../modules/es.string.replace');\nrequire('../modules/es.string.replace-all');\nrequire('../modules/es.string.search');\nrequire('../modules/es.string.split');\nrequire('../modules/es.string.starts-with');\nrequire('../modules/es.string.substr');\nrequire('../modules/es.string.to-well-formed');\nrequire('../modules/es.string.trim');\nrequire('../modules/es.string.trim-end');\nrequire('../modules/es.string.trim-start');\nrequire('../modules/es.string.anchor');\nrequire('../modules/es.string.big');\nrequire('../modules/es.string.blink');\nrequire('../modules/es.string.bold');\nrequire('../modules/es.string.fixed');\nrequire('../modules/es.string.fontcolor');\nrequire('../modules/es.string.fontsize');\nrequire('../modules/es.string.italics');\nrequire('../modules/es.string.link');\nrequire('../modules/es.string.small');\nrequire('../modules/es.string.strike');\nrequire('../modules/es.string.sub');\nrequire('../modules/es.string.sup');\nrequire('../modules/es.typed-array.float32-array');\nrequire('../modules/es.typed-array.float64-array');\nrequire('../modules/es.typed-array.int8-array');\nrequire('../modules/es.typed-array.int16-array');\nrequire('../modules/es.typed-array.int32-array');\nrequire('../modules/es.typed-array.uint8-array');\nrequire('../modules/es.typed-array.uint8-clamped-array');\nrequire('../modules/es.typed-array.uint16-array');\nrequire('../modules/es.typed-array.uint32-array');\nrequire('../modules/es.typed-array.at');\nrequire('../modules/es.typed-array.copy-within');\nrequire('../modules/es.typed-array.every');\nrequire('../modules/es.typed-array.fill');\nrequire('../modules/es.typed-array.filter');\nrequire('../modules/es.typed-array.find');\nrequire('../modules/es.typed-array.find-index');\nrequire('../modules/es.typed-array.find-last');\nrequire('../modules/es.typed-array.find-last-index');\nrequire('../modules/es.typed-array.for-each');\nrequire('../modules/es.typed-array.from');\nrequire('../modules/es.typed-array.includes');\nrequire('../modules/es.typed-array.index-of');\nrequire('../modules/es.typed-array.iterator');\nrequire('../modules/es.typed-array.join');\nrequire('../modules/es.typed-array.last-index-of');\nrequire('../modules/es.typed-array.map');\nrequire('../modules/es.typed-array.of');\nrequire('../modules/es.typed-array.reduce');\nrequire('../modules/es.typed-array.reduce-right');\nrequire('../modules/es.typed-array.reverse');\nrequire('../modules/es.typed-array.set');\nrequire('../modules/es.typed-array.slice');\nrequire('../modules/es.typed-array.some');\nrequire('../modules/es.typed-array.sort');\nrequire('../modules/es.typed-array.subarray');\nrequire('../modules/es.typed-array.to-locale-string');\nrequire('../modules/es.typed-array.to-reversed');\nrequire('../modules/es.typed-array.to-sorted');\nrequire('../modules/es.typed-array.to-string');\nrequire('../modules/es.typed-array.with');\nrequire('../modules/es.unescape');\nrequire('../modules/es.weak-map');\nrequire('../modules/es.weak-set');\nrequire('../modules/web.atob');\nrequire('../modules/web.btoa');\nrequire('../modules/web.dom-collections.for-each');\nrequire('../modules/web.dom-collections.iterator');\nrequire('../modules/web.dom-exception.constructor');\nrequire('../modules/web.dom-exception.stack');\nrequire('../modules/web.dom-exception.to-string-tag');\nrequire('../modules/web.immediate');\nrequire('../modules/web.queue-microtask');\nrequire('../modules/web.self');\nrequire('../modules/web.structured-clone');\nrequire('../modules/web.timers');\nrequire('../modules/web.url');\nrequire('../modules/web.url.can-parse');\nrequire('../modules/web.url.to-json');\nrequire('../modules/web.url-search-params');\nrequire('../modules/web.url-search-params.delete');\nrequire('../modules/web.url-search-params.has');\nrequire('../modules/web.url-search-params.size');\n\nmodule.exports = require('../internals/path');\n","/*!\n * @overview es6-promise - a tiny implementation of Promises/A+.\n * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)\n * @license Licensed under MIT license\n * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE\n * @version v4.2.8+1e68dce6\n */\n\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(global.ES6Promise = factory());\n}(this, (function () { 'use strict';\n\nfunction objectOrFunction(x) {\n var type = typeof x;\n return x !== null && (type === 'object' || type === 'function');\n}\n\nfunction isFunction(x) {\n return typeof x === 'function';\n}\n\n\n\nvar _isArray = void 0;\nif (Array.isArray) {\n _isArray = Array.isArray;\n} else {\n _isArray = function (x) {\n return Object.prototype.toString.call(x) === '[object Array]';\n };\n}\n\nvar isArray = _isArray;\n\nvar len = 0;\nvar vertxNext = void 0;\nvar customSchedulerFn = void 0;\n\nvar asap = function asap(callback, arg) {\n queue[len] = callback;\n queue[len + 1] = arg;\n len += 2;\n if (len === 2) {\n // If len is 2, that means that we need to schedule an async flush.\n // If additional callbacks are queued before the queue is flushed, they\n // will be processed by this flush that we are scheduling.\n if (customSchedulerFn) {\n customSchedulerFn(flush);\n } else {\n scheduleFlush();\n }\n }\n};\n\nfunction setScheduler(scheduleFn) {\n customSchedulerFn = scheduleFn;\n}\n\nfunction setAsap(asapFn) {\n asap = asapFn;\n}\n\nvar browserWindow = typeof window !== 'undefined' ? window : undefined;\nvar browserGlobal = browserWindow || {};\nvar BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;\nvar isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n\n// test for web worker but not in IE10\nvar isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';\n\n// node\nfunction useNextTick() {\n // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n // see https://github.com/cujojs/when/issues/410 for details\n return function () {\n return process.nextTick(flush);\n };\n}\n\n// vertx\nfunction useVertxTimer() {\n if (typeof vertxNext !== 'undefined') {\n return function () {\n vertxNext(flush);\n };\n }\n\n return useSetTimeout();\n}\n\nfunction useMutationObserver() {\n var iterations = 0;\n var observer = new BrowserMutationObserver(flush);\n var node = document.createTextNode('');\n observer.observe(node, { characterData: true });\n\n return function () {\n node.data = iterations = ++iterations % 2;\n };\n}\n\n// web worker\nfunction useMessageChannel() {\n var channel = new MessageChannel();\n channel.port1.onmessage = flush;\n return function () {\n return channel.port2.postMessage(0);\n };\n}\n\nfunction useSetTimeout() {\n // Store setTimeout reference so es6-promise will be unaffected by\n // other code modifying setTimeout (like sinon.useFakeTimers())\n var globalSetTimeout = setTimeout;\n return function () {\n return globalSetTimeout(flush, 1);\n };\n}\n\nvar queue = new Array(1000);\nfunction flush() {\n for (var i = 0; i < len; i += 2) {\n var callback = queue[i];\n var arg = queue[i + 1];\n\n callback(arg);\n\n queue[i] = undefined;\n queue[i + 1] = undefined;\n }\n\n len = 0;\n}\n\nfunction attemptVertx() {\n try {\n var vertx = Function('return this')().require('vertx');\n vertxNext = vertx.runOnLoop || vertx.runOnContext;\n return useVertxTimer();\n } catch (e) {\n return useSetTimeout();\n }\n}\n\nvar scheduleFlush = void 0;\n// Decide what async method to use to triggering processing of queued callbacks:\nif (isNode) {\n scheduleFlush = useNextTick();\n} else if (BrowserMutationObserver) {\n scheduleFlush = useMutationObserver();\n} else if (isWorker) {\n scheduleFlush = useMessageChannel();\n} else if (browserWindow === undefined && typeof require === 'function') {\n scheduleFlush = attemptVertx();\n} else {\n scheduleFlush = useSetTimeout();\n}\n\nfunction then(onFulfillment, onRejection) {\n var parent = this;\n\n var child = new this.constructor(noop);\n\n if (child[PROMISE_ID] === undefined) {\n makePromise(child);\n }\n\n var _state = parent._state;\n\n\n if (_state) {\n var callback = arguments[_state - 1];\n asap(function () {\n return invokeCallback(_state, child, callback, parent._result);\n });\n } else {\n subscribe(parent, child, onFulfillment, onRejection);\n }\n\n return child;\n}\n\n/**\n `Promise.resolve` returns a promise that will become resolved with the\n passed `value`. It is shorthand for the following:\n\n ```javascript\n let promise = new Promise(function(resolve, reject){\n resolve(1);\n });\n\n promise.then(function(value){\n // value === 1\n });\n ```\n\n Instead of writing the above, your code now simply becomes the following:\n\n ```javascript\n let promise = Promise.resolve(1);\n\n promise.then(function(value){\n // value === 1\n });\n ```\n\n @method resolve\n @static\n @param {Any} value value that the returned promise will be resolved with\n Useful for tooling.\n @return {Promise} a promise that will become fulfilled with the given\n `value`\n*/\nfunction resolve$1(object) {\n /*jshint validthis:true */\n var Constructor = this;\n\n if (object && typeof object === 'object' && object.constructor === Constructor) {\n return object;\n }\n\n var promise = new Constructor(noop);\n resolve(promise, object);\n return promise;\n}\n\nvar PROMISE_ID = Math.random().toString(36).substring(2);\n\nfunction noop() {}\n\nvar PENDING = void 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\n\nfunction selfFulfillment() {\n return new TypeError(\"You cannot resolve a promise with itself\");\n}\n\nfunction cannotReturnOwn() {\n return new TypeError('A promises callback cannot return that same promise.');\n}\n\nfunction tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {\n try {\n then$$1.call(value, fulfillmentHandler, rejectionHandler);\n } catch (e) {\n return e;\n }\n}\n\nfunction handleForeignThenable(promise, thenable, then$$1) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(then$$1, thenable, function (value) {\n if (sealed) {\n return;\n }\n sealed = true;\n if (thenable !== value) {\n resolve(promise, value);\n } else {\n fulfill(promise, value);\n }\n }, function (reason) {\n if (sealed) {\n return;\n }\n sealed = true;\n\n reject(promise, reason);\n }, 'Settle: ' + (promise._label || ' unknown promise'));\n\n if (!sealed && error) {\n sealed = true;\n reject(promise, error);\n }\n }, promise);\n}\n\nfunction handleOwnThenable(promise, thenable) {\n if (thenable._state === FULFILLED) {\n fulfill(promise, thenable._result);\n } else if (thenable._state === REJECTED) {\n reject(promise, thenable._result);\n } else {\n subscribe(thenable, undefined, function (value) {\n return resolve(promise, value);\n }, function (reason) {\n return reject(promise, reason);\n });\n }\n}\n\nfunction handleMaybeThenable(promise, maybeThenable, then$$1) {\n if (maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1) {\n handleOwnThenable(promise, maybeThenable);\n } else {\n if (then$$1 === undefined) {\n fulfill(promise, maybeThenable);\n } else if (isFunction(then$$1)) {\n handleForeignThenable(promise, maybeThenable, then$$1);\n } else {\n fulfill(promise, maybeThenable);\n }\n }\n}\n\nfunction resolve(promise, value) {\n if (promise === value) {\n reject(promise, selfFulfillment());\n } else if (objectOrFunction(value)) {\n var then$$1 = void 0;\n try {\n then$$1 = value.then;\n } catch (error) {\n reject(promise, error);\n return;\n }\n handleMaybeThenable(promise, value, then$$1);\n } else {\n fulfill(promise, value);\n }\n}\n\nfunction publishRejection(promise) {\n if (promise._onerror) {\n promise._onerror(promise._result);\n }\n\n publish(promise);\n}\n\nfunction fulfill(promise, value) {\n if (promise._state !== PENDING) {\n return;\n }\n\n promise._result = value;\n promise._state = FULFILLED;\n\n if (promise._subscribers.length !== 0) {\n asap(publish, promise);\n }\n}\n\nfunction reject(promise, reason) {\n if (promise._state !== PENDING) {\n return;\n }\n promise._state = REJECTED;\n promise._result = reason;\n\n asap(publishRejection, promise);\n}\n\nfunction subscribe(parent, child, onFulfillment, onRejection) {\n var _subscribers = parent._subscribers;\n var length = _subscribers.length;\n\n\n parent._onerror = null;\n\n _subscribers[length] = child;\n _subscribers[length + FULFILLED] = onFulfillment;\n _subscribers[length + REJECTED] = onRejection;\n\n if (length === 0 && parent._state) {\n asap(publish, parent);\n }\n}\n\nfunction publish(promise) {\n var subscribers = promise._subscribers;\n var settled = promise._state;\n\n if (subscribers.length === 0) {\n return;\n }\n\n var child = void 0,\n callback = void 0,\n detail = promise._result;\n\n for (var i = 0; i < subscribers.length; i += 3) {\n child = subscribers[i];\n callback = subscribers[i + settled];\n\n if (child) {\n invokeCallback(settled, child, callback, detail);\n } else {\n callback(detail);\n }\n }\n\n promise._subscribers.length = 0;\n}\n\nfunction invokeCallback(settled, promise, callback, detail) {\n var hasCallback = isFunction(callback),\n value = void 0,\n error = void 0,\n succeeded = true;\n\n if (hasCallback) {\n try {\n value = callback(detail);\n } catch (e) {\n succeeded = false;\n error = e;\n }\n\n if (promise === value) {\n reject(promise, cannotReturnOwn());\n return;\n }\n } else {\n value = detail;\n }\n\n if (promise._state !== PENDING) {\n // noop\n } else if (hasCallback && succeeded) {\n resolve(promise, value);\n } else if (succeeded === false) {\n reject(promise, error);\n } else if (settled === FULFILLED) {\n fulfill(promise, value);\n } else if (settled === REJECTED) {\n reject(promise, value);\n }\n}\n\nfunction initializePromise(promise, resolver) {\n try {\n resolver(function resolvePromise(value) {\n resolve(promise, value);\n }, function rejectPromise(reason) {\n reject(promise, reason);\n });\n } catch (e) {\n reject(promise, e);\n }\n}\n\nvar id = 0;\nfunction nextId() {\n return id++;\n}\n\nfunction makePromise(promise) {\n promise[PROMISE_ID] = id++;\n promise._state = undefined;\n promise._result = undefined;\n promise._subscribers = [];\n}\n\nfunction validationError() {\n return new Error('Array Methods must be provided an Array');\n}\n\nvar Enumerator = function () {\n function Enumerator(Constructor, input) {\n this._instanceConstructor = Constructor;\n this.promise = new Constructor(noop);\n\n if (!this.promise[PROMISE_ID]) {\n makePromise(this.promise);\n }\n\n if (isArray(input)) {\n this.length = input.length;\n this._remaining = input.length;\n\n this._result = new Array(this.length);\n\n if (this.length === 0) {\n fulfill(this.promise, this._result);\n } else {\n this.length = this.length || 0;\n this._enumerate(input);\n if (this._remaining === 0) {\n fulfill(this.promise, this._result);\n }\n }\n } else {\n reject(this.promise, validationError());\n }\n }\n\n Enumerator.prototype._enumerate = function _enumerate(input) {\n for (var i = 0; this._state === PENDING && i < input.length; i++) {\n this._eachEntry(input[i], i);\n }\n };\n\n Enumerator.prototype._eachEntry = function _eachEntry(entry, i) {\n var c = this._instanceConstructor;\n var resolve$$1 = c.resolve;\n\n\n if (resolve$$1 === resolve$1) {\n var _then = void 0;\n var error = void 0;\n var didError = false;\n try {\n _then = entry.then;\n } catch (e) {\n didError = true;\n error = e;\n }\n\n if (_then === then && entry._state !== PENDING) {\n this._settledAt(entry._state, i, entry._result);\n } else if (typeof _then !== 'function') {\n this._remaining--;\n this._result[i] = entry;\n } else if (c === Promise$1) {\n var promise = new c(noop);\n if (didError) {\n reject(promise, error);\n } else {\n handleMaybeThenable(promise, entry, _then);\n }\n this._willSettleAt(promise, i);\n } else {\n this._willSettleAt(new c(function (resolve$$1) {\n return resolve$$1(entry);\n }), i);\n }\n } else {\n this._willSettleAt(resolve$$1(entry), i);\n }\n };\n\n Enumerator.prototype._settledAt = function _settledAt(state, i, value) {\n var promise = this.promise;\n\n\n if (promise._state === PENDING) {\n this._remaining--;\n\n if (state === REJECTED) {\n reject(promise, value);\n } else {\n this._result[i] = value;\n }\n }\n\n if (this._remaining === 0) {\n fulfill(promise, this._result);\n }\n };\n\n Enumerator.prototype._willSettleAt = function _willSettleAt(promise, i) {\n var enumerator = this;\n\n subscribe(promise, undefined, function (value) {\n return enumerator._settledAt(FULFILLED, i, value);\n }, function (reason) {\n return enumerator._settledAt(REJECTED, i, reason);\n });\n };\n\n return Enumerator;\n}();\n\n/**\n `Promise.all` accepts an array of promises, and returns a new promise which\n is fulfilled with an array of fulfillment values for the passed promises, or\n rejected with the reason of the first passed promise to be rejected. It casts all\n elements of the passed iterable to promises as it runs this algorithm.\n\n Example:\n\n ```javascript\n let promise1 = resolve(1);\n let promise2 = resolve(2);\n let promise3 = resolve(3);\n let promises = [ promise1, promise2, promise3 ];\n\n Promise.all(promises).then(function(array){\n // The array here would be [ 1, 2, 3 ];\n });\n ```\n\n If any of the `promises` given to `all` are rejected, the first promise\n that is rejected will be given as an argument to the returned promises's\n rejection handler. For example:\n\n Example:\n\n ```javascript\n let promise1 = resolve(1);\n let promise2 = reject(new Error(\"2\"));\n let promise3 = reject(new Error(\"3\"));\n let promises = [ promise1, promise2, promise3 ];\n\n Promise.all(promises).then(function(array){\n // Code here never runs because there are rejected promises!\n }, function(error) {\n // error.message === \"2\"\n });\n ```\n\n @method all\n @static\n @param {Array} entries array of promises\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Promise} promise that is fulfilled when all `promises` have been\n fulfilled, or rejected if any of them become rejected.\n @static\n*/\nfunction all(entries) {\n return new Enumerator(this, entries).promise;\n}\n\n/**\n `Promise.race` returns a new promise which is settled in the same way as the\n first passed promise to settle.\n\n Example:\n\n ```javascript\n let promise1 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n\n let promise2 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 2');\n }, 100);\n });\n\n Promise.race([promise1, promise2]).then(function(result){\n // result === 'promise 2' because it was resolved before promise1\n // was resolved.\n });\n ```\n\n `Promise.race` is deterministic in that only the state of the first\n settled promise matters. For example, even if other promises given to the\n `promises` array argument are resolved, but the first settled promise has\n become rejected before the other promises became fulfilled, the returned\n promise will become rejected:\n\n ```javascript\n let promise1 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n\n let promise2 = new Promise(function(resolve, reject){\n setTimeout(function(){\n reject(new Error('promise 2'));\n }, 100);\n });\n\n Promise.race([promise1, promise2]).then(function(result){\n // Code here never runs\n }, function(reason){\n // reason.message === 'promise 2' because promise 2 became rejected before\n // promise 1 became fulfilled\n });\n ```\n\n An example real-world use case is implementing timeouts:\n\n ```javascript\n Promise.race([ajax('foo.json'), timeout(5000)])\n ```\n\n @method race\n @static\n @param {Array} promises array of promises to observe\n Useful for tooling.\n @return {Promise} a promise which settles in the same way as the first passed\n promise to settle.\n*/\nfunction race(entries) {\n /*jshint validthis:true */\n var Constructor = this;\n\n if (!isArray(entries)) {\n return new Constructor(function (_, reject) {\n return reject(new TypeError('You must pass an array to race.'));\n });\n } else {\n return new Constructor(function (resolve, reject) {\n var length = entries.length;\n for (var i = 0; i < length; i++) {\n Constructor.resolve(entries[i]).then(resolve, reject);\n }\n });\n }\n}\n\n/**\n `Promise.reject` returns a promise rejected with the passed `reason`.\n It is shorthand for the following:\n\n ```javascript\n let promise = new Promise(function(resolve, reject){\n reject(new Error('WHOOPS'));\n });\n\n promise.then(function(value){\n // Code here doesn't run because the promise is rejected!\n }, function(reason){\n // reason.message === 'WHOOPS'\n });\n ```\n\n Instead of writing the above, your code now simply becomes the following:\n\n ```javascript\n let promise = Promise.reject(new Error('WHOOPS'));\n\n promise.then(function(value){\n // Code here doesn't run because the promise is rejected!\n }, function(reason){\n // reason.message === 'WHOOPS'\n });\n ```\n\n @method reject\n @static\n @param {Any} reason value that the returned promise will be rejected with.\n Useful for tooling.\n @return {Promise} a promise rejected with the given `reason`.\n*/\nfunction reject$1(reason) {\n /*jshint validthis:true */\n var Constructor = this;\n var promise = new Constructor(noop);\n reject(promise, reason);\n return promise;\n}\n\nfunction needsResolver() {\n throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n}\n\nfunction needsNew() {\n throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");\n}\n\n/**\n Promise objects represent the eventual result of an asynchronous operation. The\n primary way of interacting with a promise is through its `then` method, which\n registers callbacks to receive either a promise's eventual value or the reason\n why the promise cannot be fulfilled.\n\n Terminology\n -----------\n\n - `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n - `thenable` is an object or function that defines a `then` method.\n - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n - `exception` is a value that is thrown using the throw statement.\n - `reason` is a value that indicates why a promise was rejected.\n - `settled` the final resting state of a promise, fulfilled or rejected.\n\n A promise can be in one of three states: pending, fulfilled, or rejected.\n\n Promises that are fulfilled have a fulfillment value and are in the fulfilled\n state. Promises that are rejected have a rejection reason and are in the\n rejected state. A fulfillment value is never a thenable.\n\n Promises can also be said to *resolve* a value. If this value is also a\n promise, then the original promise's settled state will match the value's\n settled state. So a promise that *resolves* a promise that rejects will\n itself reject, and a promise that *resolves* a promise that fulfills will\n itself fulfill.\n\n\n Basic Usage:\n ------------\n\n ```js\n let promise = new Promise(function(resolve, reject) {\n // on success\n resolve(value);\n\n // on failure\n reject(reason);\n });\n\n promise.then(function(value) {\n // on fulfillment\n }, function(reason) {\n // on rejection\n });\n ```\n\n Advanced Usage:\n ---------------\n\n Promises shine when abstracting away asynchronous interactions such as\n `XMLHttpRequest`s.\n\n ```js\n function getJSON(url) {\n return new Promise(function(resolve, reject){\n let xhr = new XMLHttpRequest();\n\n xhr.open('GET', url);\n xhr.onreadystatechange = handler;\n xhr.responseType = 'json';\n xhr.setRequestHeader('Accept', 'application/json');\n xhr.send();\n\n function handler() {\n if (this.readyState === this.DONE) {\n if (this.status === 200) {\n resolve(this.response);\n } else {\n reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n }\n }\n };\n });\n }\n\n getJSON('/posts.json').then(function(json) {\n // on fulfillment\n }, function(reason) {\n // on rejection\n });\n ```\n\n Unlike callbacks, promises are great composable primitives.\n\n ```js\n Promise.all([\n getJSON('/posts'),\n getJSON('/comments')\n ]).then(function(values){\n values[0] // => postsJSON\n values[1] // => commentsJSON\n\n return values;\n });\n ```\n\n @class Promise\n @param {Function} resolver\n Useful for tooling.\n @constructor\n*/\n\nvar Promise$1 = function () {\n function Promise(resolver) {\n this[PROMISE_ID] = nextId();\n this._result = this._state = undefined;\n this._subscribers = [];\n\n if (noop !== resolver) {\n typeof resolver !== 'function' && needsResolver();\n this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n }\n }\n\n /**\n The primary way of interacting with a promise is through its `then` method,\n which registers callbacks to receive either a promise's eventual value or the\n reason why the promise cannot be fulfilled.\n ```js\n findUser().then(function(user){\n // user is available\n }, function(reason){\n // user is unavailable, and you are given the reason why\n });\n ```\n Chaining\n --------\n The return value of `then` is itself a promise. This second, 'downstream'\n promise is resolved with the return value of the first promise's fulfillment\n or rejection handler, or rejected if the handler throws an exception.\n ```js\n findUser().then(function (user) {\n return user.name;\n }, function (reason) {\n return 'default name';\n }).then(function (userName) {\n // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n // will be `'default name'`\n });\n findUser().then(function (user) {\n throw new Error('Found user, but still unhappy');\n }, function (reason) {\n throw new Error('`findUser` rejected and we're unhappy');\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n // If `findUser` rejected, `reason` will be '`findUser` rejected and we're unhappy'.\n });\n ```\n If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n ```js\n findUser().then(function (user) {\n throw new PedagogicalException('Upstream error');\n }).then(function (value) {\n // never reached\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // The `PedgagocialException` is propagated all the way down to here\n });\n ```\n Assimilation\n ------------\n Sometimes the value you want to propagate to a downstream promise can only be\n retrieved asynchronously. This can be achieved by returning a promise in the\n fulfillment or rejection handler. The downstream promise will then be pending\n until the returned promise is settled. This is called *assimilation*.\n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // The user's comments are now available\n });\n ```\n If the assimliated promise rejects, then the downstream promise will also reject.\n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // If `findCommentsByAuthor` fulfills, we'll have the value here\n }, function (reason) {\n // If `findCommentsByAuthor` rejects, we'll have the reason here\n });\n ```\n Simple Example\n --------------\n Synchronous Example\n ```javascript\n let result;\n try {\n result = findResult();\n // success\n } catch(reason) {\n // failure\n }\n ```\n Errback Example\n ```js\n findResult(function(result, err){\n if (err) {\n // failure\n } else {\n // success\n }\n });\n ```\n Promise Example;\n ```javascript\n findResult().then(function(result){\n // success\n }, function(reason){\n // failure\n });\n ```\n Advanced Example\n --------------\n Synchronous Example\n ```javascript\n let author, books;\n try {\n author = findAuthor();\n books = findBooksByAuthor(author);\n // success\n } catch(reason) {\n // failure\n }\n ```\n Errback Example\n ```js\n function foundBooks(books) {\n }\n function failure(reason) {\n }\n findAuthor(function(author, err){\n if (err) {\n failure(err);\n // failure\n } else {\n try {\n findBoooksByAuthor(author, function(books, err) {\n if (err) {\n failure(err);\n } else {\n try {\n foundBooks(books);\n } catch(reason) {\n failure(reason);\n }\n }\n });\n } catch(error) {\n failure(err);\n }\n // success\n }\n });\n ```\n Promise Example;\n ```javascript\n findAuthor().\n then(findBooksByAuthor).\n then(function(books){\n // found books\n }).catch(function(reason){\n // something went wrong\n });\n ```\n @method then\n @param {Function} onFulfilled\n @param {Function} onRejected\n Useful for tooling.\n @return {Promise}\n */\n\n /**\n `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n as the catch block of a try/catch statement.\n ```js\n function findAuthor(){\n throw new Error('couldn't find that author');\n }\n // synchronous\n try {\n findAuthor();\n } catch(reason) {\n // something went wrong\n }\n // async with promises\n findAuthor().catch(function(reason){\n // something went wrong\n });\n ```\n @method catch\n @param {Function} onRejection\n Useful for tooling.\n @return {Promise}\n */\n\n\n Promise.prototype.catch = function _catch(onRejection) {\n return this.then(null, onRejection);\n };\n\n /**\n `finally` will be invoked regardless of the promise's fate just as native\n try/catch/finally behaves\n \n Synchronous example:\n \n ```js\n findAuthor() {\n if (Math.random() > 0.5) {\n throw new Error();\n }\n return new Author();\n }\n \n try {\n return findAuthor(); // succeed or fail\n } catch(error) {\n return findOtherAuther();\n } finally {\n // always runs\n // doesn't affect the return value\n }\n ```\n \n Asynchronous example:\n \n ```js\n findAuthor().catch(function(reason){\n return findOtherAuther();\n }).finally(function(){\n // author was either found, or not\n });\n ```\n \n @method finally\n @param {Function} callback\n @return {Promise}\n */\n\n\n Promise.prototype.finally = function _finally(callback) {\n var promise = this;\n var constructor = promise.constructor;\n\n if (isFunction(callback)) {\n return promise.then(function (value) {\n return constructor.resolve(callback()).then(function () {\n return value;\n });\n }, function (reason) {\n return constructor.resolve(callback()).then(function () {\n throw reason;\n });\n });\n }\n\n return promise.then(callback, callback);\n };\n\n return Promise;\n}();\n\nPromise$1.prototype.then = then;\nPromise$1.all = all;\nPromise$1.race = race;\nPromise$1.resolve = resolve$1;\nPromise$1.reject = reject$1;\nPromise$1._setScheduler = setScheduler;\nPromise$1._setAsap = setAsap;\nPromise$1._asap = asap;\n\n/*global self*/\nfunction polyfill() {\n var local = void 0;\n\n if (typeof global !== 'undefined') {\n local = global;\n } else if (typeof self !== 'undefined') {\n local = self;\n } else {\n try {\n local = Function('return this')();\n } catch (e) {\n throw new Error('polyfill failed because global object is unavailable in this environment');\n }\n }\n\n var P = local.Promise;\n\n if (P) {\n var promiseToString = null;\n try {\n promiseToString = Object.prototype.toString.call(P.resolve());\n } catch (e) {\n // silently ignored\n }\n\n if (promiseToString === '[object Promise]' && !P.cast) {\n return;\n }\n }\n\n local.Promise = Promise$1;\n}\n\n// Strange compat..\nPromise$1.polyfill = polyfill;\nPromise$1.Promise = Promise$1;\n\nreturn Promise$1;\n\n})));\n\n\n\n//# sourceMappingURL=es6-promise.map\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; };\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n defineProperty(generator, \"_invoke\", { value: makeInvokeMethod(innerFn, self, context) });\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n defineProperty(Gp, \"constructor\", { value: GeneratorFunctionPrototype, configurable: true });\n defineProperty(\n GeneratorFunctionPrototype,\n \"constructor\",\n { value: GeneratorFunction, configurable: true }\n );\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n defineProperty(this, \"_invoke\", { value: enqueue });\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method;\n var method = delegate.iterator[methodName];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method, or a missing .next mehtod, always terminate the\n // yield* loop.\n context.delegate = null;\n\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (methodName === \"throw\" && delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n if (methodName !== \"return\") {\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a '\" + methodName + \"' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(val) {\n var object = Object(val);\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","","// startup\n// Load entry module and return exports\n// This entry module used 'module' so it can't be inlined\n__webpack_require__(\"./node_modules/core-js/stable/index.js\");\nvar __webpack_exports__ = __webpack_require__(\"./node_modules/regenerator-runtime/runtime.js\");\n",""],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/dist/taskpane.html b/dist/taskpane.html new file mode 100644 index 0000000..f77c692 --- /dev/null +++ b/dist/taskpane.html @@ -0,0 +1,27 @@ +<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. --> +<!-- See LICENSE in the project root for license information --> + +<!doctype html> +<html lang="en" data-framework="typescript"> + +<head> + <meta charset="UTF-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>Press-release analyzer + + + + + + + + + + + + +
+ + + diff --git a/dist/taskpane.js b/dist/taskpane.js new file mode 100644 index 0000000..b83a2af --- /dev/null +++ b/dist/taskpane.js @@ -0,0 +1,115508 @@ +/******/ (function() { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateFormatting/dateFormatting.defaults.js": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateFormatting/dateFormatting.defaults.js ***! + \***********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DEFAULT_CALENDAR_STRINGS = exports.DEFAULT_DATE_FORMATTING = exports.DEFAULT_DATE_GRID_STRINGS = exports.formatYear = exports.formatMonth = exports.formatMonthYear = exports.formatMonthDayYear = exports.formatDay = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +/** + * Format date to a day string representation + * @param date - input date to format + */ +var formatDay = function (date) { return date.getDate().toString(); }; +exports.formatDay = formatDay; +/** + * Format date to a month-day-year string + * @param date - input date to format + * @param strings - localized strings + */ +var formatMonthDayYear = function (date, strings) { + return strings.months[date.getMonth()] + ' ' + date.getDate() + ', ' + date.getFullYear(); +}; +exports.formatMonthDayYear = formatMonthDayYear; +/** + * Format date to a month-year string + * @param date - input date to format + * @param strings - localized strings + */ +var formatMonthYear = function (date, strings) { + return strings.months[date.getMonth()] + ' ' + date.getFullYear(); +}; +exports.formatMonthYear = formatMonthYear; +/** + * Format date to a month string + * @param date - input date to format + * @param strings - localized strings + */ +var formatMonth = function (date, strings) { return strings.months[date.getMonth()]; }; +exports.formatMonth = formatMonth; +/** + * Format date to a year string representation + * @param date - input date to format + */ +var formatYear = function (date) { return date.getFullYear().toString(); }; +exports.formatYear = formatYear; +exports.DEFAULT_DATE_GRID_STRINGS = { + months: [ + 'January', + 'February', + 'March', + 'April', + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December', + ], + shortMonths: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + shortDays: ['S', 'M', 'T', 'W', 'T', 'F', 'S'], +}; +exports.DEFAULT_DATE_FORMATTING = { + formatDay: exports.formatDay, + formatMonth: exports.formatMonth, + formatYear: exports.formatYear, + formatMonthDayYear: exports.formatMonthDayYear, + formatMonthYear: exports.formatMonthYear, +}; +exports.DEFAULT_CALENDAR_STRINGS = tslib_1.__assign(tslib_1.__assign({}, exports.DEFAULT_DATE_GRID_STRINGS), { goToToday: 'Go to today', weekNumberFormatString: 'Week number {0}', prevMonthAriaLabel: 'Previous month', nextMonthAriaLabel: 'Next month', prevYearAriaLabel: 'Previous year', nextYearAriaLabel: 'Next year', prevYearRangeAriaLabel: 'Previous year range', nextYearRangeAriaLabel: 'Next year range', closeButtonAriaLabel: 'Close', selectedDateFormatString: 'Selected date {0}', todayDateFormatString: "Today's date {0}", monthPickerHeaderAriaLabel: '{0}, change year', yearPickerHeaderAriaLabel: '{0}, change month', dayMarkedAriaLabel: 'marked' }); +//# sourceMappingURL=dateFormatting.defaults.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateFormatting/dateFormatting.types.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateFormatting/dateFormatting.types.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=dateFormatting.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateFormatting/index.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateFormatting/index.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./dateFormatting.types */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateFormatting/dateFormatting.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./dateFormatting.defaults */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateFormatting/dateFormatting.defaults.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/dateGrid.types.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/dateGrid.types.js ***! + \********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=dateGrid.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/findAvailableDate.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/findAvailableDate.js ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.findAvailableDate = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var isRestrictedDate_1 = __webpack_require__(/*! ./isRestrictedDate */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isRestrictedDate.js"); +var isAfterMaxDate_1 = __webpack_require__(/*! ./isAfterMaxDate */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isAfterMaxDate.js"); +var isBeforeMinDate_1 = __webpack_require__(/*! ./isBeforeMinDate */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isBeforeMinDate.js"); +var dateMath_1 = __webpack_require__(/*! ../dateMath/dateMath */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateMath/dateMath.js"); +/** + * Returns closest available date given the restriction `options`, or undefined otherwise + * @param options - list of search options + */ +var findAvailableDate = function (options) { + var targetDate = options.targetDate, initialDate = options.initialDate, direction = options.direction, restrictedDateOptions = tslib_1.__rest(options, ["targetDate", "initialDate", "direction"]); + var availableDate = targetDate; + // if the target date is available, return it immediately + if (!(0, isRestrictedDate_1.isRestrictedDate)(targetDate, restrictedDateOptions)) { + return targetDate; + } + while ((0, dateMath_1.compareDatePart)(initialDate, availableDate) !== 0 && + (0, isRestrictedDate_1.isRestrictedDate)(availableDate, restrictedDateOptions) && + !(0, isAfterMaxDate_1.isAfterMaxDate)(availableDate, restrictedDateOptions) && + !(0, isBeforeMinDate_1.isBeforeMinDate)(availableDate, restrictedDateOptions)) { + availableDate = (0, dateMath_1.addDays)(availableDate, direction); + } + if ((0, dateMath_1.compareDatePart)(initialDate, availableDate) !== 0 && !(0, isRestrictedDate_1.isRestrictedDate)(availableDate, restrictedDateOptions)) { + return availableDate; + } + return undefined; +}; +exports.findAvailableDate = findAvailableDate; +//# sourceMappingURL=findAvailableDate.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/getBoundedDateRange.js": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/getBoundedDateRange.js ***! + \*************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getBoundedDateRange = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var dateMath_1 = __webpack_require__(/*! ../dateMath/dateMath */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateMath/dateMath.js"); +/** + * Generates a list of dates, bounded by min and max dates + * @param dateRange - input date range + * @param minDate - min date to limit the range + * @param maxDate - max date to limit the range + */ +var getBoundedDateRange = function (dateRange, minDate, maxDate) { + var boundedDateRange = tslib_1.__spreadArray([], dateRange, true); + if (minDate) { + boundedDateRange = boundedDateRange.filter(function (date) { return (0, dateMath_1.compareDatePart)(date, minDate) >= 0; }); + } + if (maxDate) { + boundedDateRange = boundedDateRange.filter(function (date) { return (0, dateMath_1.compareDatePart)(date, maxDate) <= 0; }); + } + return boundedDateRange; +}; +exports.getBoundedDateRange = getBoundedDateRange; +//# sourceMappingURL=getBoundedDateRange.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/getDateRangeTypeToUse.js": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/getDateRangeTypeToUse.js ***! + \***************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getDateRangeTypeToUse = void 0; +var dateValues_1 = __webpack_require__(/*! ../dateValues/dateValues */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateValues/dateValues.js"); +var isContiguous_1 = __webpack_require__(/*! ./isContiguous */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isContiguous.js"); +/** + * Return corrected date range type, given `dateRangeType` and list of working days. + * For non-contiguous working days and working week range type, returns general week range type. + * For other cases returns input date range type. + * @param dateRangeType - input type of range + * @param workWeekDays - list of working days in a week + */ +var getDateRangeTypeToUse = function (dateRangeType, workWeekDays, firstDayOfWeek) { + if (workWeekDays && dateRangeType === dateValues_1.DateRangeType.WorkWeek) { + if (!(0, isContiguous_1.isContiguous)(workWeekDays, true, firstDayOfWeek) || workWeekDays.length === 0) { + return dateValues_1.DateRangeType.Week; + } + } + return dateRangeType; +}; +exports.getDateRangeTypeToUse = getDateRangeTypeToUse; +//# sourceMappingURL=getDateRangeTypeToUse.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/getDayGrid.js": +/*!****************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/getDayGrid.js ***! + \****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getDayGrid = void 0; +var dateMath_1 = __webpack_require__(/*! ../dateMath/dateMath */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateMath/dateMath.js"); +var dateValues_1 = __webpack_require__(/*! ../dateValues/dateValues */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateValues/dateValues.js"); +var getDateRangeTypeToUse_1 = __webpack_require__(/*! ./getDateRangeTypeToUse */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/getDateRangeTypeToUse.js"); +var getBoundedDateRange_1 = __webpack_require__(/*! ./getBoundedDateRange */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/getBoundedDateRange.js"); +var isRestrictedDate_1 = __webpack_require__(/*! ./isRestrictedDate */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isRestrictedDate.js"); +/** + * Generates a grid of days, given the `options`. + * Returns one additional week at the begining from the previous range + * and one at the end from the future range + * @param options - parameters to specify date related restrictions for the resulting grid + */ +var getDayGrid = function (options) { + var selectedDate = options.selectedDate, dateRangeType = options.dateRangeType, firstDayOfWeek = options.firstDayOfWeek, today = options.today, minDate = options.minDate, maxDate = options.maxDate, weeksToShow = options.weeksToShow, workWeekDays = options.workWeekDays, daysToSelectInDayView = options.daysToSelectInDayView, restrictedDates = options.restrictedDates, markedDays = options.markedDays; + var restrictedDateOptions = { minDate: minDate, maxDate: maxDate, restrictedDates: restrictedDates }; + var todaysDate = today || new Date(); + var navigatedDate = options.navigatedDate ? options.navigatedDate : todaysDate; + var date; + if (weeksToShow && weeksToShow <= 4) { + // if showing less than a full month, just use date == navigatedDate + date = new Date(navigatedDate.getFullYear(), navigatedDate.getMonth(), navigatedDate.getDate()); + } + else { + date = new Date(navigatedDate.getFullYear(), navigatedDate.getMonth(), 1); + } + var weeks = []; + // Cycle the date backwards to get to the first day of the week. + while (date.getDay() !== firstDayOfWeek) { + date.setDate(date.getDate() - 1); + } + // add the transition week as last week of previous range + date = (0, dateMath_1.addDays)(date, -dateValues_1.DAYS_IN_WEEK); + // a flag to indicate whether all days of the week are outside the month + var isAllDaysOfWeekOutOfMonth = false; + // in work week view if the days aren't contiguous we use week view instead + var selectedDateRangeType = (0, getDateRangeTypeToUse_1.getDateRangeTypeToUse)(dateRangeType, workWeekDays, firstDayOfWeek); + var selectedDates = []; + if (selectedDate) { + selectedDates = (0, dateMath_1.getDateRangeArray)(selectedDate, selectedDateRangeType, firstDayOfWeek, workWeekDays, daysToSelectInDayView); + selectedDates = (0, getBoundedDateRange_1.getBoundedDateRange)(selectedDates, minDate, maxDate); + } + var shouldGetWeeks = true; + for (var weekIndex = 0; shouldGetWeeks; weekIndex++) { + var week = []; + isAllDaysOfWeekOutOfMonth = true; + var _loop_1 = function (dayIndex) { + var originalDate = new Date(date.getTime()); + var dayInfo = { + key: date.toString(), + date: date.getDate().toString(), + originalDate: originalDate, + isInMonth: date.getMonth() === navigatedDate.getMonth(), + isToday: (0, dateMath_1.compareDates)(todaysDate, date), + isSelected: (0, dateMath_1.isInDateRangeArray)(date, selectedDates), + isInBounds: !(0, isRestrictedDate_1.isRestrictedDate)(date, restrictedDateOptions), + isMarked: (markedDays === null || markedDays === void 0 ? void 0 : markedDays.some(function (markedDay) { return (0, dateMath_1.compareDates)(originalDate, markedDay); })) || false, + }; + week.push(dayInfo); + if (dayInfo.isInMonth) { + isAllDaysOfWeekOutOfMonth = false; + } + date.setDate(date.getDate() + 1); + }; + for (var dayIndex = 0; dayIndex < dateValues_1.DAYS_IN_WEEK; dayIndex++) { + _loop_1(dayIndex); + } + // We append the condition of the loop depending upon the showSixWeeksByDefault prop. + shouldGetWeeks = weeksToShow ? weekIndex < weeksToShow + 1 : !isAllDaysOfWeekOutOfMonth || weekIndex === 0; + // we don't check shouldGetWeeks before pushing because we want to add one extra week for transition state + weeks.push(week); + } + return weeks; +}; +exports.getDayGrid = getDayGrid; +//# sourceMappingURL=getDayGrid.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/index.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/index.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./dateGrid.types */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/dateGrid.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./findAvailableDate */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/findAvailableDate.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./getBoundedDateRange */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/getBoundedDateRange.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./getDateRangeTypeToUse */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/getDateRangeTypeToUse.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./getDayGrid */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/getDayGrid.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./isAfterMaxDate */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isAfterMaxDate.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./isBeforeMinDate */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isBeforeMinDate.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./isRestrictedDate */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isRestrictedDate.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./isContiguous */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isContiguous.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isAfterMaxDate.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isAfterMaxDate.js ***! + \********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isAfterMaxDate = void 0; +var dateMath_1 = __webpack_require__(/*! ../dateMath/dateMath */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateMath/dateMath.js"); +/** + * Checks if `date` happens later than max date + * @param date - date to check + * @param options - object with max date to check against + */ +var isAfterMaxDate = function (date, options) { + var maxDate = options.maxDate; + return maxDate ? (0, dateMath_1.compareDatePart)(date, maxDate) >= 1 : false; +}; +exports.isAfterMaxDate = isAfterMaxDate; +//# sourceMappingURL=isAfterMaxDate.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isBeforeMinDate.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isBeforeMinDate.js ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isBeforeMinDate = void 0; +var dateMath_1 = __webpack_require__(/*! ../dateMath/dateMath */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateMath/dateMath.js"); +/** + * Checks if `date` happens earlier than min date + * @param date - date to check + * @param options - object with min date to check against + */ +var isBeforeMinDate = function (date, options) { + var minDate = options.minDate; + return minDate ? (0, dateMath_1.compareDatePart)(minDate, date) >= 1 : false; +}; +exports.isBeforeMinDate = isBeforeMinDate; +//# sourceMappingURL=isBeforeMinDate.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isContiguous.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isContiguous.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isContiguous = void 0; +/** + * Returns whether provided week days are contiguous. + * @param days - list of days in a week + * @param isSingleWeek - decides whether the contiguous logic applies across week boundaries or not + * @param firstDayOfWeek - decides which day of week is the first one in the order. + */ +var isContiguous = function (days, isSingleWeek, firstDayOfWeek) { + var daySet = new Set(days); + var amountOfNoNeighbors = 0; + for (var _i = 0, days_1 = days; _i < days_1.length; _i++) { + var day = days_1[_i]; + var nextDay = (day + 1) % 7; + if (!(daySet.has(nextDay) && (!isSingleWeek || firstDayOfWeek !== nextDay))) { + amountOfNoNeighbors++; + } + } + // In case the full week is provided, then each day has a neighbor + //, otherwise the last day does not have a neighbor. + return amountOfNoNeighbors < 2; +}; +exports.isContiguous = isContiguous; +//# sourceMappingURL=isContiguous.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isRestrictedDate.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isRestrictedDate.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isRestrictedDate = void 0; +var dateMath_1 = __webpack_require__(/*! ../dateMath/dateMath */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateMath/dateMath.js"); +var isBeforeMinDate_1 = __webpack_require__(/*! ./isBeforeMinDate */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isBeforeMinDate.js"); +var isAfterMaxDate_1 = __webpack_require__(/*! ./isAfterMaxDate */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/isAfterMaxDate.js"); +/** + * Checks if `date` falls into the restricted `options` + * @param date - date to check + * @param options - restriction options (min date, max date and list of restricted dates) + */ +var isRestrictedDate = function (date, options) { + var restrictedDates = options.restrictedDates, minDate = options.minDate, maxDate = options.maxDate; + if (!restrictedDates && !minDate && !maxDate) { + return false; + } + var inRestrictedDates = restrictedDates && restrictedDates.some(function (rd) { return (0, dateMath_1.compareDates)(rd, date); }); + return inRestrictedDates || (0, isBeforeMinDate_1.isBeforeMinDate)(date, options) || (0, isAfterMaxDate_1.isAfterMaxDate)(date, options); +}; +exports.isRestrictedDate = isRestrictedDate; +//# sourceMappingURL=isRestrictedDate.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateMath/dateMath.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateMath/dateMath.js ***! + \**************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getDatePartHashValue = exports.getEndDateOfWeek = exports.getStartDateOfWeek = exports.getWeekNumber = exports.getWeekNumbersInMonth = exports.isInDateRangeArray = exports.getDateRangeArray = exports.compareDatePart = exports.compareDates = exports.setMonth = exports.getYearEnd = exports.getYearStart = exports.getMonthEnd = exports.getMonthStart = exports.addYears = exports.addMonths = exports.addWeeks = exports.addDays = void 0; +var dateValues_1 = __webpack_require__(/*! ../dateValues/dateValues */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateValues/dateValues.js"); +var timeConstants_1 = __webpack_require__(/*! ../dateValues/timeConstants */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateValues/timeConstants.js"); +/** + * Returns a date offset from the given date by the specified number of days. + * @param date - The origin date + * @param days - The number of days to offset. 'days' can be negative. + * @returns A new Date object offset from the origin date by the given number of days + */ +function addDays(date, days) { + var result = new Date(date.getTime()); + result.setDate(result.getDate() + days); + return result; +} +exports.addDays = addDays; +/** + * Returns a date offset from the given date by the specified number of weeks. + * @param date - The origin date + * @param weeks - The number of weeks to offset. 'weeks' can be negative. + * @returns A new Date object offset from the origin date by the given number of weeks + */ +function addWeeks(date, weeks) { + return addDays(date, weeks * timeConstants_1.TimeConstants.DaysInOneWeek); +} +exports.addWeeks = addWeeks; +/** + * Returns a date offset from the given date by the specified number of months. + * The method tries to preserve the day-of-month; however, if the new month does not have enough days + * to contain the original day-of-month, we'll use the last day of the new month. + * @param date - The origin date + * @param months - The number of months to offset. 'months' can be negative. + * @returns A new Date object offset from the origin date by the given number of months + */ +function addMonths(date, months) { + var result = new Date(date.getTime()); + var newMonth = result.getMonth() + months; + result.setMonth(newMonth); + // We want to maintain the same day-of-month, but that may not be possible if the new month doesn't have enough days. + // Loop until we back up to a day the new month has. + // (Weird modulo math is due to Javascript's treatment of negative numbers in modulo) + if (result.getMonth() !== + ((newMonth % timeConstants_1.TimeConstants.MonthInOneYear) + timeConstants_1.TimeConstants.MonthInOneYear) % timeConstants_1.TimeConstants.MonthInOneYear) { + result = addDays(result, -result.getDate()); + } + return result; +} +exports.addMonths = addMonths; +/** + * Returns a date offset from the given date by the specified number of years. + * The method tries to preserve the day-of-month; however, if the new month does not have enough days + * to contain the original day-of-month, we'll use the last day of the new month. + * @param date - The origin date + * @param years - The number of years to offset. 'years' can be negative. + * @returns A new Date object offset from the origin date by the given number of years + */ +function addYears(date, years) { + var result = new Date(date.getTime()); + result.setFullYear(date.getFullYear() + years); + // We want to maintain the same day-of-month, but that may not be possible if the new month doesn't have enough days. + // Loop until we back up to a day the new month has. + // (Weird modulo math is due to Javascript's treatment of negative numbers in modulo) + if (result.getMonth() !== + ((date.getMonth() % timeConstants_1.TimeConstants.MonthInOneYear) + timeConstants_1.TimeConstants.MonthInOneYear) % timeConstants_1.TimeConstants.MonthInOneYear) { + result = addDays(result, -result.getDate()); + } + return result; +} +exports.addYears = addYears; +/** + * Returns a date that is the first day of the month of the provided date. + * @param date - The origin date + * @returns A new Date object with the day set to the first day of the month. + */ +function getMonthStart(date) { + return new Date(date.getFullYear(), date.getMonth(), 1, 0, 0, 0, 0); +} +exports.getMonthStart = getMonthStart; +/** + * Returns a date that is the last day of the month of the provided date. + * @param date - The origin date + * @returns A new Date object with the day set to the last day of the month. + */ +function getMonthEnd(date) { + return new Date(date.getFullYear(), date.getMonth() + 1, 0, 0, 0, 0, 0); +} +exports.getMonthEnd = getMonthEnd; +/** + * Returns a date that is the first day of the year of the provided date. + * @param date - The origin date + * @returns A new Date object with the day set to the first day of the year. + */ +function getYearStart(date) { + return new Date(date.getFullYear(), 0, 1, 0, 0, 0, 0); +} +exports.getYearStart = getYearStart; +/** + * Returns a date that is the last day of the year of the provided date. + * @param date - The origin date + * @returns A new Date object with the day set to the last day of the year. + */ +function getYearEnd(date) { + return new Date(date.getFullYear() + 1, 0, 0, 0, 0, 0, 0); +} +exports.getYearEnd = getYearEnd; +/** + * Returns a date that is a copy of the given date, aside from the month changing to the given month. + * The method tries to preserve the day-of-month; however, if the new month does not have enough days + * to contain the original day-of-month, we'll use the last day of the new month. + * @param date - The origin date + * @param month - The 0-based index of the month to set on the date. + * @returns A new Date object with the given month set. + */ +function setMonth(date, month) { + return addMonths(date, month - date.getMonth()); +} +exports.setMonth = setMonth; +/** + * Compares two dates, and returns true if the two dates (not accounting for time-of-day) are equal. + * @returns True if the two dates represent the same date (regardless of time-of-day), false otherwise. + */ +function compareDates(date1, date2) { + if (!date1 && !date2) { + return true; + } + else if (!date1 || !date2) { + return false; + } + else { + return (date1.getFullYear() === date2.getFullYear() && + date1.getMonth() === date2.getMonth() && + date1.getDate() === date2.getDate()); + } +} +exports.compareDates = compareDates; +/** + * Compare the date parts of two dates + * @param date1 - The first date to compare + * @param date2 - The second date to compare + * @returns A negative value if date1 is earlier than date2, 0 if the dates are equal, or a positive value + * if date1 is later than date2. + */ +function compareDatePart(date1, date2) { + return getDatePartHashValue(date1) - getDatePartHashValue(date2); +} +exports.compareDatePart = compareDatePart; +/** + * Gets the date range array including the specified date. The date range array is calculated as the list + * of dates accounting for the specified first day of the week and date range type. + * @param date - The input date + * @param dateRangeType - The desired date range type, i.e., day, week, month, etc. + * @param firstDayOfWeek - The first day of the week. + * @param workWeekDays - The allowed days in work week. If not provided, assumes all days are allowed. + * @param daysToSelectInDayView - The number of days to include when using dateRangeType === DateRangeType.Day + * for multiday view. Defaults to 1 + * @returns An array of dates representing the date range containing the specified date. + */ +function getDateRangeArray(date, dateRangeType, firstDayOfWeek, workWeekDays, daysToSelectInDayView) { + if (daysToSelectInDayView === void 0) { daysToSelectInDayView = 1; } + var datesArray = []; + var startDate; + var endDate = null; + if (!workWeekDays) { + workWeekDays = [dateValues_1.DayOfWeek.Monday, dateValues_1.DayOfWeek.Tuesday, dateValues_1.DayOfWeek.Wednesday, dateValues_1.DayOfWeek.Thursday, dateValues_1.DayOfWeek.Friday]; + } + daysToSelectInDayView = Math.max(daysToSelectInDayView, 1); + switch (dateRangeType) { + case dateValues_1.DateRangeType.Day: + startDate = getDatePart(date); + endDate = addDays(startDate, daysToSelectInDayView); + break; + case dateValues_1.DateRangeType.Week: + case dateValues_1.DateRangeType.WorkWeek: + startDate = getStartDateOfWeek(getDatePart(date), firstDayOfWeek); + endDate = addDays(startDate, timeConstants_1.TimeConstants.DaysInOneWeek); + break; + case dateValues_1.DateRangeType.Month: + startDate = new Date(date.getFullYear(), date.getMonth(), 1); + endDate = addMonths(startDate, 1); + break; + default: + throw new Error('Unexpected object: ' + dateRangeType); + } + // Populate the dates array with the dates in range + var nextDate = startDate; + do { + if (dateRangeType !== dateValues_1.DateRangeType.WorkWeek) { + // push all days not in work week view + datesArray.push(nextDate); + } + else if (workWeekDays.indexOf(nextDate.getDay()) !== -1) { + datesArray.push(nextDate); + } + nextDate = addDays(nextDate, 1); + } while (!compareDates(nextDate, endDate)); + return datesArray; +} +exports.getDateRangeArray = getDateRangeArray; +/** + * Checks whether the specified date is in the given date range. + * @param date - The origin date + * @param dateRange - An array of dates to do the lookup on + * @returns True if the date matches one of the dates in the specified array, false otherwise. + */ +function isInDateRangeArray(date, dateRange) { + for (var _i = 0, dateRange_1 = dateRange; _i < dateRange_1.length; _i++) { + var dateInRange = dateRange_1[_i]; + if (compareDates(date, dateInRange)) { + return true; + } + } + return false; +} +exports.isInDateRangeArray = isInDateRangeArray; +/** + * Returns the week number for a date. + * Week numbers are 1 - 52 (53) in a year + * @param navigatedDate - A date to find the week number for. + * @param firstDayOfWeek - The first day of the week (0-6, Sunday = 0) + * @param firstWeekOfYear - The first week of the year (1-2) + * @returns The weeks number array for the current month. + */ +function getWeekNumbersInMonth(weeksInMonth, firstDayOfWeek, firstWeekOfYear, navigatedDate) { + var selectedYear = navigatedDate.getFullYear(); + var selectedMonth = navigatedDate.getMonth(); + var dayOfMonth = 1; + var fistDayOfMonth = new Date(selectedYear, selectedMonth, dayOfMonth); + var endOfFirstWeek = dayOfMonth + + (firstDayOfWeek + timeConstants_1.TimeConstants.DaysInOneWeek - 1) - + adjustWeekDay(firstDayOfWeek, fistDayOfMonth.getDay()); + var endOfWeekRange = new Date(selectedYear, selectedMonth, endOfFirstWeek); + dayOfMonth = endOfWeekRange.getDate(); + var weeksArray = []; + for (var i = 0; i < weeksInMonth; i++) { + // Get week number for end of week + weeksArray.push(getWeekNumber(endOfWeekRange, firstDayOfWeek, firstWeekOfYear)); + dayOfMonth += timeConstants_1.TimeConstants.DaysInOneWeek; + endOfWeekRange = new Date(selectedYear, selectedMonth, dayOfMonth); + } + return weeksArray; +} +exports.getWeekNumbersInMonth = getWeekNumbersInMonth; +/** + * Returns the week number for a date. + * Week numbers are 1 - 52 (53) in a year + * @param date - A date to find the week number for. + * @param firstDayOfWeek - The first day of the week (0-6, Sunday = 0) + * @param firstWeekOfYear - The first week of the year (1-2) + * @returns The week's number in the year. + */ +function getWeekNumber(date, firstDayOfWeek, firstWeekOfYear) { + // First four-day week of the year - minumum days count + var fourDayWeek = 4; + switch (firstWeekOfYear) { + case dateValues_1.FirstWeekOfYear.FirstFullWeek: + return getWeekOfYearFullDays(date, firstDayOfWeek, timeConstants_1.TimeConstants.DaysInOneWeek); + case dateValues_1.FirstWeekOfYear.FirstFourDayWeek: + return getWeekOfYearFullDays(date, firstDayOfWeek, fourDayWeek); + default: + return getFirstDayWeekOfYear(date, firstDayOfWeek); + } +} +exports.getWeekNumber = getWeekNumber; +/** + * Gets the date for the first day of the week based on the given date assuming + * the specified first day of the week. + * @param date - The date to find the beginning of the week date for. + * @returns A new date object representing the first day of the week containing the input date. + */ +function getStartDateOfWeek(date, firstDayOfWeek) { + var daysOffset = firstDayOfWeek - date.getDay(); + if (daysOffset > 0) { + // If first day of week is > date, go 1 week back, to ensure resulting date is in the past. + daysOffset -= timeConstants_1.TimeConstants.DaysInOneWeek; + } + return addDays(date, daysOffset); +} +exports.getStartDateOfWeek = getStartDateOfWeek; +/** + * Gets the date for the last day of the week based on the given date assuming + * the specified first day of the week. + * @param date - The date to find the beginning of the week date for. + * @returns A new date object representing the first day of the week containing the input date. + */ +function getEndDateOfWeek(date, firstDayOfWeek) { + var lastDayOfWeek = firstDayOfWeek - 1 >= 0 ? firstDayOfWeek - 1 : timeConstants_1.TimeConstants.DaysInOneWeek - 1; + var daysOffset = lastDayOfWeek - date.getDay(); + if (daysOffset < 0) { + // If last day of week is < date, go 1 week forward, to ensure resulting date is in the future. + daysOffset += timeConstants_1.TimeConstants.DaysInOneWeek; + } + return addDays(date, daysOffset); +} +exports.getEndDateOfWeek = getEndDateOfWeek; +/** + * Gets a new date with the time portion zeroed out, i.e., set to midnight + * @param date - The origin date + * @returns A new date with the time set to midnight + */ +function getDatePart(date) { + return new Date(date.getFullYear(), date.getMonth(), date.getDate()); +} +/** + * Helper function to assist in date comparisons + */ +function getDatePartHashValue(date) { + // Generate date hash value created as sum of Date (up to 31 = 5 bits), Month (up to 11 = 4 bits) and Year. + // eslint-disable-next-line no-bitwise + return date.getDate() + (date.getMonth() << 5) + (date.getFullYear() << 9); +} +exports.getDatePartHashValue = getDatePartHashValue; +/** + * Helper function for `getWeekNumber`. + * Returns week number for a date. + * @param date - current selected date. + * @param firstDayOfWeek - The first day of week (0-6, Sunday = 0) + * @param numberOfFullDays - week settings. + * @returns The week's number in the year. + */ +function getWeekOfYearFullDays(date, firstDayOfWeek, numberOfFullDays) { + var dayOfYear = getDayOfYear(date) - 1; + var num = date.getDay() - (dayOfYear % timeConstants_1.TimeConstants.DaysInOneWeek); + var lastDayOfPrevYear = new Date(date.getFullYear() - 1, dateValues_1.MonthOfYear.December, 31); + var daysInYear = getDayOfYear(lastDayOfPrevYear) - 1; + var num2 = (firstDayOfWeek - num + 2 * timeConstants_1.TimeConstants.DaysInOneWeek) % timeConstants_1.TimeConstants.DaysInOneWeek; + if (num2 !== 0 && num2 >= numberOfFullDays) { + num2 -= timeConstants_1.TimeConstants.DaysInOneWeek; + } + var num3 = dayOfYear - num2; + if (num3 < 0) { + num -= daysInYear % timeConstants_1.TimeConstants.DaysInOneWeek; + num2 = (firstDayOfWeek - num + 2 * timeConstants_1.TimeConstants.DaysInOneWeek) % timeConstants_1.TimeConstants.DaysInOneWeek; + if (num2 !== 0 && num2 + 1 >= numberOfFullDays) { + num2 -= timeConstants_1.TimeConstants.DaysInOneWeek; + } + num3 = daysInYear - num2; + } + return Math.floor(num3 / timeConstants_1.TimeConstants.DaysInOneWeek + 1); +} +/** + * Helper function for `getWeekNumber`. + * Returns week number for a date. + * @param date - current selected date. + * @param firstDayOfWeek - The first day of week (0-6, Sunday = 0) + * @returns The week's number in the year. + */ +function getFirstDayWeekOfYear(date, firstDayOfWeek) { + var num = getDayOfYear(date) - 1; + var num2 = date.getDay() - (num % timeConstants_1.TimeConstants.DaysInOneWeek); + var num3 = (num2 - firstDayOfWeek + 2 * timeConstants_1.TimeConstants.DaysInOneWeek) % timeConstants_1.TimeConstants.DaysInOneWeek; + return Math.floor((num + num3) / timeConstants_1.TimeConstants.DaysInOneWeek + 1); +} +/** + * Helper function for `getWeekNumber`. + * Returns adjusted week day number when `firstDayOfWeek` is other than Sunday. + * For Week Day Number comparison checks + * @param firstDayOfWeek - The first day of week (0-6, Sunday = 0) + * @param dateWeekDay - shifts number forward to 1 week in case passed as true + * @returns The day of week adjusted to `firstDayOfWeek`; e.g. when `firstDayOfWeek` is Monday (1), + * Sunday becomes 7. + */ +function adjustWeekDay(firstDayOfWeek, dateWeekDay) { + return firstDayOfWeek !== dateValues_1.DayOfWeek.Sunday && dateWeekDay < firstDayOfWeek + ? dateWeekDay + timeConstants_1.TimeConstants.DaysInOneWeek + : dateWeekDay; +} +/** + * Returns the day number for a date in a year: + * the number of days since January 1st in the particular year. + * @param date - A date to find the day number for. + * @returns The day's number in the year. + */ +function getDayOfYear(date) { + var month = date.getMonth(); + var year = date.getFullYear(); + var daysUntilDate = 0; + for (var i = 0; i < month; i++) { + daysUntilDate += daysInMonth(i + 1, year); + } + daysUntilDate += date.getDate(); + return daysUntilDate; +} +/** + * Returns the number of days in the month + * @param month - The month number to target (months 1-12). + * @param year - The year to target. + * @returns The number of days in the month. + */ +function daysInMonth(month, year) { + return new Date(year, month, 0).getDate(); +} +//# sourceMappingURL=dateMath.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateValues/dateValues.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateValues/dateValues.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DAYS_IN_WEEK = exports.DateRangeType = exports.FirstWeekOfYear = exports.MonthOfYear = exports.DayOfWeek = void 0; +/** + * The days of the week + * {@docCategory DateTimeUtilities} + */ +var DayOfWeek; +(function (DayOfWeek) { + DayOfWeek[DayOfWeek["Sunday"] = 0] = "Sunday"; + DayOfWeek[DayOfWeek["Monday"] = 1] = "Monday"; + DayOfWeek[DayOfWeek["Tuesday"] = 2] = "Tuesday"; + DayOfWeek[DayOfWeek["Wednesday"] = 3] = "Wednesday"; + DayOfWeek[DayOfWeek["Thursday"] = 4] = "Thursday"; + DayOfWeek[DayOfWeek["Friday"] = 5] = "Friday"; + DayOfWeek[DayOfWeek["Saturday"] = 6] = "Saturday"; +})(DayOfWeek = exports.DayOfWeek || (exports.DayOfWeek = {})); +/** + * The months + * {@docCategory DateTimeUtilities} + */ +var MonthOfYear; +(function (MonthOfYear) { + MonthOfYear[MonthOfYear["January"] = 0] = "January"; + MonthOfYear[MonthOfYear["February"] = 1] = "February"; + MonthOfYear[MonthOfYear["March"] = 2] = "March"; + MonthOfYear[MonthOfYear["April"] = 3] = "April"; + MonthOfYear[MonthOfYear["May"] = 4] = "May"; + MonthOfYear[MonthOfYear["June"] = 5] = "June"; + MonthOfYear[MonthOfYear["July"] = 6] = "July"; + MonthOfYear[MonthOfYear["August"] = 7] = "August"; + MonthOfYear[MonthOfYear["September"] = 8] = "September"; + MonthOfYear[MonthOfYear["October"] = 9] = "October"; + MonthOfYear[MonthOfYear["November"] = 10] = "November"; + MonthOfYear[MonthOfYear["December"] = 11] = "December"; +})(MonthOfYear = exports.MonthOfYear || (exports.MonthOfYear = {})); +/** + * First week of the year settings types + * {@docCategory DateTimeUtilities} + */ +var FirstWeekOfYear; +(function (FirstWeekOfYear) { + FirstWeekOfYear[FirstWeekOfYear["FirstDay"] = 0] = "FirstDay"; + FirstWeekOfYear[FirstWeekOfYear["FirstFullWeek"] = 1] = "FirstFullWeek"; + FirstWeekOfYear[FirstWeekOfYear["FirstFourDayWeek"] = 2] = "FirstFourDayWeek"; +})(FirstWeekOfYear = exports.FirstWeekOfYear || (exports.FirstWeekOfYear = {})); +/** + * The supported date range types + * {@docCategory DateTimeUtilities} + */ +var DateRangeType; +(function (DateRangeType) { + DateRangeType[DateRangeType["Day"] = 0] = "Day"; + DateRangeType[DateRangeType["Week"] = 1] = "Week"; + DateRangeType[DateRangeType["Month"] = 2] = "Month"; + DateRangeType[DateRangeType["WorkWeek"] = 3] = "WorkWeek"; +})(DateRangeType = exports.DateRangeType || (exports.DateRangeType = {})); +exports.DAYS_IN_WEEK = 7; +//# sourceMappingURL=dateValues.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateValues/timeConstants.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateValues/timeConstants.js ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TimeConstants = void 0; +exports.TimeConstants = { + MillisecondsInOneDay: 86400000, + MillisecondsIn1Sec: 1000, + MillisecondsIn1Min: 60000, + MillisecondsIn30Mins: 1800000, + MillisecondsIn1Hour: 3600000, + MinutesInOneDay: 1440, + MinutesInOneHour: 60, + DaysInOneWeek: 7, + MonthInOneYear: 12, + HoursInOneDay: 24, + SecondsInOneMinute: 60, + OffsetTo24HourFormat: 12, + /** + * Matches a time string. Groups: + * 1. hours (with or without leading 0) + * 2. minutes + * 3. seconds (optional) + * 4. meridiem (am/pm, case-insensitive, optional) + */ + TimeFormatRegex: /^(\d\d?):(\d\d):?(\d\d)? ?([ap]m)?/i, +}; +//# sourceMappingURL=timeConstants.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js ***! + \**************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./dateMath/dateMath */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateMath/dateMath.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./dateValues/dateValues */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateValues/dateValues.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./dateValues/timeConstants */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateValues/timeConstants.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./dateFormatting/index */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateFormatting/index.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./dateGrid/index */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateGrid/index.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./timeMath/timeMath */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/timeMath/timeMath.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./timeFormatting/index */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/timeFormatting/index.js"), exports); +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/version.js"); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/timeFormatting/index.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/timeFormatting/index.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.formatTimeString = void 0; +/** + * Format a date object to a localized time string using the browser's default locale + * @param date - Input date to format + * @param showSeconds - Whether to show seconds in the formatted string + * @param useHour12 - Whether to use 12-hour time + */ +var formatTimeString = function (date, showSeconds, useHour12) { + var localeTimeString = date.toLocaleTimeString([], { + hour: 'numeric', + minute: '2-digit', + second: showSeconds ? '2-digit' : undefined, + hour12: useHour12, + }); + if (!useHour12 && localeTimeString.slice(0, 2) === '24') { + localeTimeString = '00' + localeTimeString.slice(2); + } + return localeTimeString; +}; +exports.formatTimeString = formatTimeString; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/timeMath/timeMath.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/timeMath/timeMath.js ***! + \**************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getDateFromTimeSelection = exports.ceilMinuteToIncrement = exports.addMinutes = void 0; +var timeConstants_1 = __webpack_require__(/*! ../dateValues/timeConstants */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/dateValues/timeConstants.js"); +/** + * Returns a date offset from the given date by the specified number of minutes. + * @param date - The origin date + * @param minutes - The number of minutes to offset. 'minutes' can be negative. + * @returns A new Date object offset from the origin date by the given number of minutes + */ +var addMinutes = function (date, minutes) { + var result = new Date(date.getTime()); + result.setTime(result.getTime() + minutes * timeConstants_1.TimeConstants.MinutesInOneHour * timeConstants_1.TimeConstants.MillisecondsIn1Sec); + return result; +}; +exports.addMinutes = addMinutes; +/** + * Rounds the date's minute up to the next available increment. For example, if `date` has time 1:21 + * and `increments` is 5, the resulting time will be 1:25. + * @param date - Date to ceil minutes + * @param increments - Time increments + * @returns Date with ceiled minute + */ +var ceilMinuteToIncrement = function (date, increments) { + var result = new Date(date.getTime()); + var minute = result.getMinutes(); + if (timeConstants_1.TimeConstants.MinutesInOneHour % increments) { + result.setMinutes(0); + } + else { + var times = timeConstants_1.TimeConstants.MinutesInOneHour / increments; + for (var i = 1; i <= times; i++) { + if (minute > increments * (i - 1) && minute <= increments * i) { + minute = increments * i; + break; + } + } + result.setMinutes(minute); + } + return result; +}; +exports.ceilMinuteToIncrement = ceilMinuteToIncrement; +/** + * Returns a date object from the selected time. + * @param useHour12 - If the time picker uses 12 or 24 hour formatting + * @param dateStartAnchor - The baseline date to calculate the offset of the selected time + * @param selectedTime - A string representing the user selected time + * @returns A new date object offset from the baseDate using the selected time. + */ +var getDateFromTimeSelection = function (useHour12, dateStartAnchor, selectedTime) { + var _a = timeConstants_1.TimeConstants.TimeFormatRegex.exec(selectedTime) || [], selectedHours = _a[1], selectedMinutes = _a[2], selectedSeconds = _a[3], selectedAp = _a[4]; + var hours = +selectedHours; + var minutes = +selectedMinutes; + var seconds = selectedSeconds ? +selectedSeconds : 0; + if (useHour12 && selectedAp) { + if (selectedAp.toLowerCase() === 'pm' && hours !== timeConstants_1.TimeConstants.OffsetTo24HourFormat) { + hours += timeConstants_1.TimeConstants.OffsetTo24HourFormat; + } + else if (selectedAp.toLowerCase() === 'am' && hours === timeConstants_1.TimeConstants.OffsetTo24HourFormat) { + hours -= timeConstants_1.TimeConstants.OffsetTo24HourFormat; + } + } + var hoursOffset; + if (dateStartAnchor.getHours() > hours || + (dateStartAnchor.getHours() === hours && dateStartAnchor.getMinutes() > minutes)) { + hoursOffset = timeConstants_1.TimeConstants.HoursInOneDay - dateStartAnchor.getHours() + hours; + } + else { + hoursOffset = Math.abs(dateStartAnchor.getHours() - hours); + } + var offset = timeConstants_1.TimeConstants.MillisecondsIn1Sec * timeConstants_1.TimeConstants.MinutesInOneHour * hoursOffset * timeConstants_1.TimeConstants.SecondsInOneMinute + + seconds * timeConstants_1.TimeConstants.MillisecondsIn1Sec; + var date = new Date(dateStartAnchor.getTime() + offset); + date.setMinutes(minutes); + date.setSeconds(seconds); + return date; +}; +exports.getDateFromTimeSelection = getDateFromTimeSelection; +//# sourceMappingURL=timeMath.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/version.js": +/*!****************************************************************************!*\ + !*** ./node_modules/@fluentui/date-time-utilities/lib-commonjs/version.js ***! + \****************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +// Do not modify this file; it is generated as part of publish. +// The checked in version is a placeholder only and will not be updated. +var set_version_1 = __webpack_require__(/*! @fluentui/set-version */ "./node_modules/@fluentui/set-version/lib-commonjs/index.js"); +(0, set_version_1.setVersion)('@fluentui/date-time-utilities', '8.5.13'); +//# sourceMappingURL=version.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/IVirtualElement.js": +/*!******************************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/IVirtualElement.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=IVirtualElement.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/elementContains.js": +/*!******************************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/elementContains.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.elementContains = void 0; +var getParent_1 = __webpack_require__(/*! ./getParent */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/getParent.js"); +/** + * Determines whether or not a parent element contains a given child element. + * If `allowVirtualParents` is true, this method may return `true` if the child + * has the parent in its virtual element hierarchy. + * + * @public + */ +function elementContains(parent, child, allowVirtualParents) { + if (allowVirtualParents === void 0) { allowVirtualParents = true; } + var isContained = false; + if (parent && child) { + if (allowVirtualParents) { + if (parent === child) { + isContained = true; + } + else { + isContained = false; + while (child) { + var nextParent = (0, getParent_1.getParent)(child); + if (nextParent === parent) { + isContained = true; + break; + } + child = nextParent; + } + } + } + else if (parent.contains) { + isContained = parent.contains(child); + } + } + return isContained; +} +exports.elementContains = elementContains; +//# sourceMappingURL=elementContains.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/elementContainsAttribute.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/elementContainsAttribute.js ***! + \***************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.elementContainsAttribute = void 0; +var findElementRecursive_1 = __webpack_require__(/*! ./findElementRecursive */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/findElementRecursive.js"); +/** + * Determines if an element, or any of its ancestors, contain the given attribute + * @param element - element to start searching at + * @param attribute - the attribute to search for + * @returns the value of the first instance found + */ +function elementContainsAttribute(element, attribute) { + var elementMatch = (0, findElementRecursive_1.findElementRecursive)(element, function (testElement) { return testElement.hasAttribute(attribute); }); + return elementMatch && elementMatch.getAttribute(attribute); +} +exports.elementContainsAttribute = elementContainsAttribute; +//# sourceMappingURL=elementContainsAttribute.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/findElementRecursive.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/findElementRecursive.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.findElementRecursive = void 0; +var getParent_1 = __webpack_require__(/*! ./getParent */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/getParent.js"); +/** + * Finds the first parent element where the matchFunction returns true + * @param element - element to start searching at + * @param matchFunction - the function that determines if the element is a match + * @returns the matched element or null no match was found + */ +function findElementRecursive(element, matchFunction) { + if (!element || element === document.body) { + return null; + } + return matchFunction(element) ? element : findElementRecursive((0, getParent_1.getParent)(element), matchFunction); +} +exports.findElementRecursive = findElementRecursive; +//# sourceMappingURL=findElementRecursive.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/getChildren.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/getChildren.js ***! + \**************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getChildren = void 0; +var isVirtualElement_1 = __webpack_require__(/*! ./isVirtualElement */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/isVirtualElement.js"); +/** + * Gets the elements which are child elements of the given element. + * If `allowVirtualChildren` is `true`, this method enumerates virtual child elements + * after the original children. + * @param parent - The element to get the children of. + * @param allowVirtualChildren - true if the method should enumerate virtual child elements. + */ +function getChildren(parent, allowVirtualChildren) { + if (allowVirtualChildren === void 0) { allowVirtualChildren = true; } + var children = []; + if (parent) { + for (var i = 0; i < parent.children.length; i++) { + children.push(parent.children.item(i)); + } + if (allowVirtualChildren && (0, isVirtualElement_1.isVirtualElement)(parent)) { + children.push.apply(children, parent._virtual.children); + } + } + return children; +} +exports.getChildren = getChildren; +//# sourceMappingURL=getChildren.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/getParent.js": +/*!************************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/getParent.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getParent = void 0; +var getVirtualParent_1 = __webpack_require__(/*! ./getVirtualParent */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/getVirtualParent.js"); +/** + * Gets the element which is the parent of a given element. + * If `allowVirtuaParents` is `true`, this method prefers the virtual parent over + * real DOM parent when present. + * + * @public + */ +function getParent(child, allowVirtualParents) { + if (allowVirtualParents === void 0) { allowVirtualParents = true; } + return (child && + ((allowVirtualParents && (0, getVirtualParent_1.getVirtualParent)(child)) || (child.parentNode && child.parentNode))); +} +exports.getParent = getParent; +//# sourceMappingURL=getParent.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/getVirtualParent.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/getVirtualParent.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getVirtualParent = void 0; +var isVirtualElement_1 = __webpack_require__(/*! ./isVirtualElement */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/isVirtualElement.js"); +/** + * Gets the virtual parent given the child element, if it exists. + * + * @public + */ +function getVirtualParent(child) { + var parent; + if (child && (0, isVirtualElement_1.isVirtualElement)(child)) { + parent = child._virtual.parent; + } + return parent; +} +exports.getVirtualParent = getVirtualParent; +//# sourceMappingURL=getVirtualParent.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/index.js": +/*!********************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/index.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./IVirtualElement */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/IVirtualElement.js"), exports); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./elementContains */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/elementContains.js"), exports); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./elementContainsAttribute */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/elementContainsAttribute.js"), exports); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./findElementRecursive */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/findElementRecursive.js"), exports); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./getChildren */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/getChildren.js"), exports); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./getParent */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/getParent.js"), exports); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./getVirtualParent */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/getVirtualParent.js"), exports); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./isVirtualElement */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/isVirtualElement.js"), exports); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./portalContainsElement */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/portalContainsElement.js"), exports); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./setPortalAttribute */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/setPortalAttribute.js"), exports); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./setVirtualParent */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/setVirtualParent.js"), exports); +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/version.js"); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/isVirtualElement.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/isVirtualElement.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isVirtualElement = void 0; +/** + * Determines whether or not an element has the virtual hierarchy extension. + * + * @public + */ +function isVirtualElement(element) { + return element && !!element._virtual; +} +exports.isVirtualElement = isVirtualElement; +//# sourceMappingURL=isVirtualElement.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/portalContainsElement.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/portalContainsElement.js ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.portalContainsElement = void 0; +var findElementRecursive_1 = __webpack_require__(/*! ./findElementRecursive */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/findElementRecursive.js"); +var setPortalAttribute_1 = __webpack_require__(/*! ./setPortalAttribute */ "./node_modules/@fluentui/dom-utilities/lib-commonjs/setPortalAttribute.js"); +/** + * Determine whether a target is within a portal from perspective of root or optional parent. + * This function only works against portal components that use the setPortalAttribute function. + * If both parent and child are within the same portal this function will return false. + * @param target - Element to query portal containment status of. + * @param parent - Optional parent perspective. Search for containing portal stops at parent + * (or root if parent is undefined or invalid.) + */ +function portalContainsElement(target, parent) { + var elementMatch = (0, findElementRecursive_1.findElementRecursive)(target, function (testElement) { return parent === testElement || testElement.hasAttribute(setPortalAttribute_1.DATA_PORTAL_ATTRIBUTE); }); + return elementMatch !== null && elementMatch.hasAttribute(setPortalAttribute_1.DATA_PORTAL_ATTRIBUTE); +} +exports.portalContainsElement = portalContainsElement; +//# sourceMappingURL=portalContainsElement.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/setPortalAttribute.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/setPortalAttribute.js ***! + \*********************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.setPortalAttribute = exports.DATA_PORTAL_ATTRIBUTE = void 0; +exports.DATA_PORTAL_ATTRIBUTE = 'data-portal-element'; +/** + * Identify element as a portal by setting an attribute. + * @param element - Element to mark as a portal. + */ +function setPortalAttribute(element) { + element.setAttribute(exports.DATA_PORTAL_ATTRIBUTE, 'true'); +} +exports.setPortalAttribute = setPortalAttribute; +//# sourceMappingURL=setPortalAttribute.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/setVirtualParent.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/setVirtualParent.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.setVirtualParent = void 0; +/** + * Sets the virtual parent of an element. + * Pass `undefined` as the `parent` to clear the virtual parent. + * + * @public + */ +function setVirtualParent(child, parent) { + var virtualChild = child; + var virtualParent = parent; + if (!virtualChild._virtual) { + virtualChild._virtual = { + children: [], + }; + } + var oldParent = virtualChild._virtual.parent; + if (oldParent && oldParent !== parent) { + // Remove the child from its old parent. + var index = oldParent._virtual.children.indexOf(virtualChild); + if (index > -1) { + oldParent._virtual.children.splice(index, 1); + } + } + virtualChild._virtual.parent = virtualParent || undefined; + if (virtualParent) { + if (!virtualParent._virtual) { + virtualParent._virtual = { + children: [], + }; + } + virtualParent._virtual.children.push(virtualChild); + } +} +exports.setVirtualParent = setVirtualParent; +//# sourceMappingURL=setVirtualParent.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/dom-utilities/lib-commonjs/version.js": +/*!**********************************************************************!*\ + !*** ./node_modules/@fluentui/dom-utilities/lib-commonjs/version.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +// Do not modify this file; it is generated as part of publish. +// The checked in version is a placeholder only and will not be updated. +var set_version_1 = __webpack_require__(/*! @fluentui/set-version */ "./node_modules/@fluentui/set-version/lib-commonjs/index.js"); +(0, set_version_1.setVersion)('@fluentui/dom-utilities', '2.2.11'); +//# sourceMappingURL=version.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-0.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-0.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-0\"", + src: "url('".concat(baseUrl, "fabric-icons-0-467ee27f.woff') format('woff')") + }, + icons: { + 'PageLink': '\uE302', + 'CommentSolid': '\uE30E', + 'ChangeEntitlements': '\uE310', + 'Installation': '\uE311', + 'WebAppBuilderModule': '\uE313', + 'WebAppBuilderFragment': '\uE314', + 'WebAppBuilderSlot': '\uE315', + 'BullseyeTargetEdit': '\uE319', + 'WebAppBuilderFragmentCreate': '\uE31B', + 'PageData': '\uE31C', + 'PageHeaderEdit': '\uE31D', + 'ProductList': '\uE31E', + 'UnpublishContent': '\uE31F', + 'DependencyAdd': '\uE344', + 'DependencyRemove': '\uE345', + 'EntitlementPolicy': '\uE346', + 'EntitlementRedemption': '\uE347', + 'SchoolDataSyncLogo': '\uE34C', + 'PinSolid12': '\uE352', + 'PinSolidOff12': '\uE353', + 'AddLink': '\uE35E', + 'SharepointAppIcon16': '\uE365', + 'DataflowsLink': '\uE366', + 'TimePicker': '\uE367', + 'UserWarning': '\uE368', + 'ComplianceAudit': '\uE369', + 'InternetSharing': '\uE704', + 'Brightness': '\uE706', + 'MapPin': '\uE707', + 'Airplane': '\uE709', + 'Tablet': '\uE70A', + 'QuickNote': '\uE70B', + 'Video': '\uE714', + 'People': '\uE716', + 'Phone': '\uE717', + 'Pin': '\uE718', + 'Shop': '\uE719', + 'Stop': '\uE71A', + 'Link': '\uE71B', + 'AllApps': '\uE71D', + 'Zoom': '\uE71E', + 'ZoomOut': '\uE71F', + 'Microphone': '\uE720', + 'Camera': '\uE722', + 'Attach': '\uE723', + 'Send': '\uE724', + 'FavoriteList': '\uE728', + 'PageSolid': '\uE729', + 'Forward': '\uE72A', + 'Back': '\uE72B', + 'Refresh': '\uE72C', + 'Lock': '\uE72E', + 'ReportHacked': '\uE730', + 'EMI': '\uE731', + 'MiniLink': '\uE732', + 'Blocked': '\uE733', + 'ReadingMode': '\uE736', + 'Favicon': '\uE737', + 'Remove': '\uE738', + 'Checkbox': '\uE739', + 'CheckboxComposite': '\uE73A', + 'CheckboxFill': '\uE73B', + 'CheckboxIndeterminate': '\uE73C', + 'CheckboxCompositeReversed': '\uE73D', + 'BackToWindow': '\uE73F', + 'FullScreen': '\uE740', + 'Print': '\uE749', + 'Up': '\uE74A', + 'Down': '\uE74B', + 'OEM': '\uE74C', + 'Save': '\uE74E', + 'ReturnKey': '\uE751', + 'Cloud': '\uE753', + 'Flashlight': '\uE754', + 'CommandPrompt': '\uE756', + 'Sad': '\uE757', + 'RealEstate': '\uE758', + 'SIPMove': '\uE759', + 'EraseTool': '\uE75C', + 'GripperTool': '\uE75E', + 'Dialpad': '\uE75F', + 'PageLeft': '\uE760', + 'PageRight': '\uE761', + 'MultiSelect': '\uE762', + 'KeyboardClassic': '\uE765', + 'Play': '\uE768', + 'Pause': '\uE769', + 'InkingTool': '\uE76D', + 'Emoji2': '\uE76E', + 'GripperBarHorizontal': '\uE76F', + 'System': '\uE770', + 'Personalize': '\uE771', + 'SearchAndApps': '\uE773', + 'Globe': '\uE774', + 'EaseOfAccess': '\uE776', + 'ContactInfo': '\uE779', + 'Unpin': '\uE77A', + 'Contact': '\uE77B', + 'Memo': '\uE77C', + 'IncomingCall': '\uE77E' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-0.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-1.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-1.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-1\"", + src: "url('".concat(baseUrl, "fabric-icons-1-4d521695.woff') format('woff')") + }, + icons: { + 'Paste': '\uE77F', + 'WindowsLogo': '\uE782', + 'Error': '\uE783', + 'GripperBarVertical': '\uE784', + 'Unlock': '\uE785', + 'Slideshow': '\uE786', + 'Trim': '\uE78A', + 'AutoEnhanceOn': '\uE78D', + 'AutoEnhanceOff': '\uE78E', + 'Color': '\uE790', + 'SaveAs': '\uE792', + 'Light': '\uE793', + 'Filters': '\uE795', + 'AspectRatio': '\uE799', + 'Contrast': '\uE7A1', + 'Redo': '\uE7A6', + 'Crop': '\uE7A8', + 'PhotoCollection': '\uE7AA', + 'Album': '\uE7AB', + 'Rotate': '\uE7AD', + 'PanoIndicator': '\uE7B0', + 'Translate': '\uE7B2', + 'RedEye': '\uE7B3', + 'ViewOriginal': '\uE7B4', + 'ThumbnailView': '\uE7B6', + 'Package': '\uE7B8', + 'Telemarketer': '\uE7B9', + 'Warning': '\uE7BA', + 'Financial': '\uE7BB', + 'Education': '\uE7BE', + 'ShoppingCart': '\uE7BF', + 'Train': '\uE7C0', + 'Move': '\uE7C2', + 'TouchPointer': '\uE7C9', + 'Merge': '\uE7D5', + 'TurnRight': '\uE7DB', + 'Ferry': '\uE7E3', + 'Highlight': '\uE7E6', + 'PowerButton': '\uE7E8', + 'Tab': '\uE7E9', + 'Admin': '\uE7EF', + 'TVMonitor': '\uE7F4', + 'Speakers': '\uE7F5', + 'Game': '\uE7FC', + 'HorizontalTabKey': '\uE7FD', + 'UnstackSelected': '\uE7FE', + 'StackIndicator': '\uE7FF', + 'Nav2DMapView': '\uE800', + 'StreetsideSplitMinimize': '\uE802', + 'Car': '\uE804', + 'Bus': '\uE806', + 'EatDrink': '\uE807', + 'SeeDo': '\uE808', + 'LocationCircle': '\uE80E', + 'Home': '\uE80F', + 'SwitcherStartEnd': '\uE810', + 'ParkingLocation': '\uE811', + 'IncidentTriangle': '\uE814', + 'Touch': '\uE815', + 'MapDirections': '\uE816', + 'CaretHollow': '\uE817', + 'CaretSolid': '\uE818', + 'History': '\uE81C', + 'Location': '\uE81D', + 'MapLayers': '\uE81E', + 'SearchNearby': '\uE820', + 'Work': '\uE821', + 'Recent': '\uE823', + 'Hotel': '\uE824', + 'Bank': '\uE825', + 'LocationDot': '\uE827', + 'Dictionary': '\uE82D', + 'ChromeBack': '\uE830', + 'FolderOpen': '\uE838', + 'PinnedFill': '\uE842', + 'RevToggleKey': '\uE845', + 'USB': '\uE88E', + 'Previous': '\uE892', + 'Next': '\uE893', + 'Sync': '\uE895', + 'Help': '\uE897', + 'Emoji': '\uE899', + 'MailForward': '\uE89C', + 'ClosePane': '\uE89F', + 'OpenPane': '\uE8A0', + 'PreviewLink': '\uE8A1', + 'ZoomIn': '\uE8A3', + 'Bookmarks': '\uE8A4', + 'Document': '\uE8A5', + 'ProtectedDocument': '\uE8A6', + 'OpenInNewWindow': '\uE8A7', + 'MailFill': '\uE8A8', + 'ViewAll': '\uE8A9', + 'Switch': '\uE8AB', + 'Rename': '\uE8AC', + 'Go': '\uE8AD', + 'Remote': '\uE8AF', + 'SelectAll': '\uE8B3', + 'Orientation': '\uE8B4', + 'Import': '\uE8B5' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-1.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-10.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-10.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-10\"", + src: "url('".concat(baseUrl, "fabric-icons-10-c4ded8e4.woff') format('woff')") + }, + icons: { + 'ViewListGroup': '\uF248', + 'ViewListTree': '\uF249', + 'TriggerAuto': '\uF24A', + 'TriggerUser': '\uF24B', + 'PivotChart': '\uF24C', + 'StackedBarChart': '\uF24D', + 'StackedLineChart': '\uF24E', + 'BuildQueue': '\uF24F', + 'BuildQueueNew': '\uF250', + 'UserFollowed': '\uF25C', + 'ContactLink': '\uF25F', + 'Stack': '\uF26F', + 'Bullseye': '\uF272', + 'VennDiagram': '\uF273', + 'FiveTileGrid': '\uF274', + 'FocalPoint': '\uF277', + 'Insert': '\uF278', + 'RingerRemove': '\uF279', + 'TeamsLogoInverse': '\uF27A', + 'TeamsLogo': '\uF27B', + 'TeamsLogoFill': '\uF27C', + 'SkypeForBusinessLogoFill': '\uF27D', + 'SharepointLogo': '\uF27E', + 'SharepointLogoFill': '\uF27F', + 'DelveLogo': '\uF280', + 'DelveLogoFill': '\uF281', + 'OfficeVideoLogo': '\uF282', + 'OfficeVideoLogoFill': '\uF283', + 'ExchangeLogo': '\uF284', + 'ExchangeLogoFill': '\uF285', + 'Signin': '\uF286', + 'DocumentApproval': '\uF28B', + 'CloneToDesktop': '\uF28C', + 'InstallToDrive': '\uF28D', + 'Blur': '\uF28E', + 'Build': '\uF28F', + 'ProcessMetaTask': '\uF290', + 'BranchFork2': '\uF291', + 'BranchLocked': '\uF292', + 'BranchCommit': '\uF293', + 'BranchCompare': '\uF294', + 'BranchMerge': '\uF295', + 'BranchPullRequest': '\uF296', + 'BranchSearch': '\uF297', + 'BranchShelveset': '\uF298', + 'RawSource': '\uF299', + 'MergeDuplicate': '\uF29A', + 'RowsGroup': '\uF29B', + 'RowsChild': '\uF29C', + 'Deploy': '\uF29D', + 'Redeploy': '\uF29E', + 'ServerEnviroment': '\uF29F', + 'VisioDiagram': '\uF2A0', + 'HighlightMappedShapes': '\uF2A1', + 'TextCallout': '\uF2A2', + 'IconSetsFlag': '\uF2A4', + 'VisioLogo': '\uF2A7', + 'VisioLogoFill': '\uF2A8', + 'VisioDocument': '\uF2A9', + 'TimelineProgress': '\uF2AA', + 'TimelineDelivery': '\uF2AB', + 'Backlog': '\uF2AC', + 'TeamFavorite': '\uF2AD', + 'TaskGroup': '\uF2AE', + 'TaskGroupMirrored': '\uF2AF', + 'ScopeTemplate': '\uF2B0', + 'AssessmentGroupTemplate': '\uF2B1', + 'NewTeamProject': '\uF2B2', + 'CommentAdd': '\uF2B3', + 'CommentNext': '\uF2B4', + 'CommentPrevious': '\uF2B5', + 'ShopServer': '\uF2B6', + 'LocaleLanguage': '\uF2B7', + 'QueryList': '\uF2B8', + 'UserSync': '\uF2B9', + 'UserPause': '\uF2BA', + 'StreamingOff': '\uF2BB', + 'ArrowTallUpLeft': '\uF2BD', + 'ArrowTallUpRight': '\uF2BE', + 'ArrowTallDownLeft': '\uF2BF', + 'ArrowTallDownRight': '\uF2C0', + 'FieldEmpty': '\uF2C1', + 'FieldFilled': '\uF2C2', + 'FieldChanged': '\uF2C3', + 'FieldNotChanged': '\uF2C4', + 'RingerOff': '\uF2C5', + 'PlayResume': '\uF2C6', + 'BulletedList2': '\uF2C7', + 'BulletedList2Mirrored': '\uF2C8', + 'ImageCrosshair': '\uF2C9', + 'GitGraph': '\uF2CA', + 'Repo': '\uF2CB', + 'RepoSolid': '\uF2CC', + 'FolderQuery': '\uF2CD', + 'FolderList': '\uF2CE', + 'FolderListMirrored': '\uF2CF', + 'LocationOutline': '\uF2D0', + 'POISolid': '\uF2D1', + 'CalculatorNotEqualTo': '\uF2D2', + 'BoxSubtractSolid': '\uF2D3' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-10.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-11.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-11.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-11\"", + src: "url('".concat(baseUrl, "fabric-icons-11-2a8393d6.woff') format('woff')") + }, + icons: { + 'BoxAdditionSolid': '\uF2D4', + 'BoxMultiplySolid': '\uF2D5', + 'BoxPlaySolid': '\uF2D6', + 'BoxCheckmarkSolid': '\uF2D7', + 'CirclePauseSolid': '\uF2D8', + 'CirclePause': '\uF2D9', + 'MSNVideosSolid': '\uF2DA', + 'CircleStopSolid': '\uF2DB', + 'CircleStop': '\uF2DC', + 'NavigateBack': '\uF2DD', + 'NavigateBackMirrored': '\uF2DE', + 'NavigateForward': '\uF2DF', + 'NavigateForwardMirrored': '\uF2E0', + 'UnknownSolid': '\uF2E1', + 'UnknownMirroredSolid': '\uF2E2', + 'CircleAddition': '\uF2E3', + 'CircleAdditionSolid': '\uF2E4', + 'FilePDB': '\uF2E5', + 'FileTemplate': '\uF2E6', + 'FileSQL': '\uF2E7', + 'FileJAVA': '\uF2E8', + 'FileASPX': '\uF2E9', + 'FileCSS': '\uF2EA', + 'FileSass': '\uF2EB', + 'FileLess': '\uF2EC', + 'FileHTML': '\uF2ED', + 'JavaScriptLanguage': '\uF2EE', + 'CSharpLanguage': '\uF2EF', + 'CSharp': '\uF2F0', + 'VisualBasicLanguage': '\uF2F1', + 'VB': '\uF2F2', + 'CPlusPlusLanguage': '\uF2F3', + 'CPlusPlus': '\uF2F4', + 'FSharpLanguage': '\uF2F5', + 'FSharp': '\uF2F6', + 'TypeScriptLanguage': '\uF2F7', + 'PythonLanguage': '\uF2F8', + 'PY': '\uF2F9', + 'CoffeeScript': '\uF2FA', + 'MarkDownLanguage': '\uF2FB', + 'FullWidth': '\uF2FE', + 'FullWidthEdit': '\uF2FF', + 'Plug': '\uF300', + 'PlugSolid': '\uF301', + 'PlugConnected': '\uF302', + 'PlugDisconnected': '\uF303', + 'UnlockSolid': '\uF304', + 'Variable': '\uF305', + 'Parameter': '\uF306', + 'CommentUrgent': '\uF307', + 'Storyboard': '\uF308', + 'DiffInline': '\uF309', + 'DiffSideBySide': '\uF30A', + 'ImageDiff': '\uF30B', + 'ImagePixel': '\uF30C', + 'FileBug': '\uF30D', + 'FileCode': '\uF30E', + 'FileComment': '\uF30F', + 'BusinessHoursSign': '\uF310', + 'FileImage': '\uF311', + 'FileSymlink': '\uF312', + 'AutoFillTemplate': '\uF313', + 'WorkItem': '\uF314', + 'WorkItemBug': '\uF315', + 'LogRemove': '\uF316', + 'ColumnOptions': '\uF317', + 'Packages': '\uF318', + 'BuildIssue': '\uF319', + 'AssessmentGroup': '\uF31A', + 'VariableGroup': '\uF31B', + 'FullHistory': '\uF31C', + 'Wheelchair': '\uF31F', + 'SingleColumnEdit': '\uF321', + 'DoubleColumnEdit': '\uF322', + 'TripleColumnEdit': '\uF323', + 'ColumnLeftTwoThirdsEdit': '\uF324', + 'ColumnRightTwoThirdsEdit': '\uF325', + 'StreamLogo': '\uF329', + 'PassiveAuthentication': '\uF32A', + 'AlertSolid': '\uF331', + 'MegaphoneSolid': '\uF332', + 'TaskSolid': '\uF333', + 'ConfigurationSolid': '\uF334', + 'BugSolid': '\uF335', + 'CrownSolid': '\uF336', + 'Trophy2Solid': '\uF337', + 'QuickNoteSolid': '\uF338', + 'ConstructionConeSolid': '\uF339', + 'PageListSolid': '\uF33A', + 'PageListMirroredSolid': '\uF33B', + 'StarburstSolid': '\uF33C', + 'ReadingModeSolid': '\uF33D', + 'SadSolid': '\uF33E', + 'HealthSolid': '\uF33F', + 'ShieldSolid': '\uF340', + 'GiftBoxSolid': '\uF341', + 'ShoppingCartSolid': '\uF342', + 'MailSolid': '\uF343', + 'ChatSolid': '\uF344', + 'RibbonSolid': '\uF345' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-11.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-12.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-12.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-12\"", + src: "url('".concat(baseUrl, "fabric-icons-12-7e945a1e.woff') format('woff')") + }, + icons: { + 'FinancialSolid': '\uF346', + 'FinancialMirroredSolid': '\uF347', + 'HeadsetSolid': '\uF348', + 'PermissionsSolid': '\uF349', + 'ParkingSolid': '\uF34A', + 'ParkingMirroredSolid': '\uF34B', + 'DiamondSolid': '\uF34C', + 'AsteriskSolid': '\uF34D', + 'OfflineStorageSolid': '\uF34E', + 'BankSolid': '\uF34F', + 'DecisionSolid': '\uF350', + 'Parachute': '\uF351', + 'ParachuteSolid': '\uF352', + 'FiltersSolid': '\uF353', + 'ColorSolid': '\uF354', + 'ReviewSolid': '\uF355', + 'ReviewRequestSolid': '\uF356', + 'ReviewRequestMirroredSolid': '\uF357', + 'ReviewResponseSolid': '\uF358', + 'FeedbackRequestSolid': '\uF359', + 'FeedbackRequestMirroredSolid': '\uF35A', + 'FeedbackResponseSolid': '\uF35B', + 'WorkItemBar': '\uF35C', + 'WorkItemBarSolid': '\uF35D', + 'Separator': '\uF35E', + 'NavigateExternalInline': '\uF35F', + 'PlanView': '\uF360', + 'TimelineMatrixView': '\uF361', + 'EngineeringGroup': '\uF362', + 'ProjectCollection': '\uF363', + 'CaretBottomRightCenter8': '\uF364', + 'CaretBottomLeftCenter8': '\uF365', + 'CaretTopRightCenter8': '\uF366', + 'CaretTopLeftCenter8': '\uF367', + 'DonutChart': '\uF368', + 'ChevronUnfold10': '\uF369', + 'ChevronFold10': '\uF36A', + 'DoubleChevronDown8': '\uF36B', + 'DoubleChevronUp8': '\uF36C', + 'DoubleChevronLeft8': '\uF36D', + 'DoubleChevronRight8': '\uF36E', + 'ChevronDownEnd6': '\uF36F', + 'ChevronUpEnd6': '\uF370', + 'ChevronLeftEnd6': '\uF371', + 'ChevronRightEnd6': '\uF372', + 'ContextMenu': '\uF37C', + 'AzureAPIManagement': '\uF37F', + 'AzureServiceEndpoint': '\uF380', + 'VSTSLogo': '\uF381', + 'VSTSAltLogo1': '\uF382', + 'VSTSAltLogo2': '\uF383', + 'FileTypeSolution': '\uF387', + 'WordLogoInverse16': '\uF390', + 'WordLogo16': '\uF391', + 'WordLogoFill16': '\uF392', + 'PowerPointLogoInverse16': '\uF393', + 'PowerPointLogo16': '\uF394', + 'PowerPointLogoFill16': '\uF395', + 'ExcelLogoInverse16': '\uF396', + 'ExcelLogo16': '\uF397', + 'ExcelLogoFill16': '\uF398', + 'OneNoteLogoInverse16': '\uF399', + 'OneNoteLogo16': '\uF39A', + 'OneNoteLogoFill16': '\uF39B', + 'OutlookLogoInverse16': '\uF39C', + 'OutlookLogo16': '\uF39D', + 'OutlookLogoFill16': '\uF39E', + 'PublisherLogoInverse16': '\uF39F', + 'PublisherLogo16': '\uF3A0', + 'PublisherLogoFill16': '\uF3A1', + 'VisioLogoInverse16': '\uF3A2', + 'VisioLogo16': '\uF3A3', + 'VisioLogoFill16': '\uF3A4', + 'TestBeaker': '\uF3A5', + 'TestBeakerSolid': '\uF3A6', + 'TestExploreSolid': '\uF3A7', + 'TestAutoSolid': '\uF3A8', + 'TestUserSolid': '\uF3A9', + 'TestImpactSolid': '\uF3AA', + 'TestPlan': '\uF3AB', + 'TestStep': '\uF3AC', + 'TestParameter': '\uF3AD', + 'TestSuite': '\uF3AE', + 'TestCase': '\uF3AF', + 'Sprint': '\uF3B0', + 'SignOut': '\uF3B1', + 'TriggerApproval': '\uF3B2', + 'Rocket': '\uF3B3', + 'AzureKeyVault': '\uF3B4', + 'Onboarding': '\uF3BA', + 'Transition': '\uF3BC', + 'LikeSolid': '\uF3BF', + 'DislikeSolid': '\uF3C0', + 'CRMCustomerInsightsApp': '\uF3C8', + 'EditCreate': '\uF3C9', + 'PlayReverseResume': '\uF3E4', + 'PlayReverse': '\uF3E5', + 'SearchData': '\uF3F1', + 'UnSetColor': '\uF3F9', + 'DeclineCall': '\uF405' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-12.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-13.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-13.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-13\"", + src: "url('".concat(baseUrl, "fabric-icons-13-c3989a02.woff') format('woff')") + }, + icons: { + 'RectangularClipping': '\uF407', + 'TeamsLogo16': '\uF40A', + 'TeamsLogoFill16': '\uF40B', + 'Spacer': '\uF40D', + 'SkypeLogo16': '\uF40E', + 'SkypeForBusinessLogo16': '\uF40F', + 'SkypeForBusinessLogoFill16': '\uF410', + 'FilterSolid': '\uF412', + 'MailUndelivered': '\uF415', + 'MailTentative': '\uF416', + 'MailTentativeMirrored': '\uF417', + 'MailReminder': '\uF418', + 'ReceiptUndelivered': '\uF419', + 'ReceiptTentative': '\uF41A', + 'ReceiptTentativeMirrored': '\uF41B', + 'Inbox': '\uF41C', + 'IRMReply': '\uF41D', + 'IRMReplyMirrored': '\uF41E', + 'IRMForward': '\uF41F', + 'IRMForwardMirrored': '\uF420', + 'VoicemailIRM': '\uF421', + 'EventAccepted': '\uF422', + 'EventTentative': '\uF423', + 'EventTentativeMirrored': '\uF424', + 'EventDeclined': '\uF425', + 'IDBadge': '\uF427', + 'BackgroundColor': '\uF42B', + 'OfficeFormsLogoInverse16': '\uF433', + 'OfficeFormsLogo': '\uF434', + 'OfficeFormsLogoFill': '\uF435', + 'OfficeFormsLogo16': '\uF436', + 'OfficeFormsLogoFill16': '\uF437', + 'OfficeFormsLogoInverse24': '\uF43A', + 'OfficeFormsLogo24': '\uF43B', + 'OfficeFormsLogoFill24': '\uF43C', + 'PageLock': '\uF43F', + 'NotExecuted': '\uF440', + 'NotImpactedSolid': '\uF441', + 'FieldReadOnly': '\uF442', + 'FieldRequired': '\uF443', + 'BacklogBoard': '\uF444', + 'ExternalBuild': '\uF445', + 'ExternalTFVC': '\uF446', + 'ExternalXAML': '\uF447', + 'IssueSolid': '\uF448', + 'DefectSolid': '\uF449', + 'LadybugSolid': '\uF44A', + 'NugetLogo': '\uF44C', + 'TFVCLogo': '\uF44D', + 'ProjectLogo32': '\uF47E', + 'ProjectLogoFill32': '\uF47F', + 'ProjectLogo16': '\uF480', + 'ProjectLogoFill16': '\uF481', + 'SwayLogo32': '\uF482', + 'SwayLogoFill32': '\uF483', + 'SwayLogo16': '\uF484', + 'SwayLogoFill16': '\uF485', + 'ClassNotebookLogo32': '\uF486', + 'ClassNotebookLogoFill32': '\uF487', + 'ClassNotebookLogo16': '\uF488', + 'ClassNotebookLogoFill16': '\uF489', + 'ClassNotebookLogoInverse32': '\uF48A', + 'ClassNotebookLogoInverse16': '\uF48B', + 'StaffNotebookLogo32': '\uF48C', + 'StaffNotebookLogoFill32': '\uF48D', + 'StaffNotebookLogo16': '\uF48E', + 'StaffNotebookLogoFill16': '\uF48F', + 'StaffNotebookLogoInverted32': '\uF490', + 'StaffNotebookLogoInverted16': '\uF491', + 'KaizalaLogo': '\uF492', + 'TaskLogo': '\uF493', + 'ProtectionCenterLogo32': '\uF494', + 'GallatinLogo': '\uF496', + 'Globe2': '\uF49A', + 'Guitar': '\uF49B', + 'Breakfast': '\uF49C', + 'Brunch': '\uF49D', + 'BeerMug': '\uF49E', + 'Vacation': '\uF49F', + 'Teeth': '\uF4A0', + 'Taxi': '\uF4A1', + 'Chopsticks': '\uF4A2', + 'SyncOccurence': '\uF4A3', + 'UnsyncOccurence': '\uF4A4', + 'GIF': '\uF4A9', + 'PrimaryCalendar': '\uF4AE', + 'SearchCalendar': '\uF4AF', + 'VideoOff': '\uF4B0', + 'MicrosoftFlowLogo': '\uF4B1', + 'BusinessCenterLogo': '\uF4B2', + 'ToDoLogoBottom': '\uF4B3', + 'ToDoLogoTop': '\uF4B4', + 'EditSolid12': '\uF4B5', + 'EditSolidMirrored12': '\uF4B6', + 'UneditableSolid12': '\uF4B7', + 'UneditableSolidMirrored12': '\uF4B8', + 'UneditableMirrored': '\uF4B9', + 'AdminALogo32': '\uF4BA', + 'AdminALogoFill32': '\uF4BB', + 'ToDoLogoInverse': '\uF4BC' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-13.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-14.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-14.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-14\"", + src: "url('".concat(baseUrl, "fabric-icons-14-5cf58db8.woff') format('woff')") + }, + icons: { + 'Snooze': '\uF4BD', + 'WaffleOffice365': '\uF4E0', + 'ImageSearch': '\uF4E8', + 'NewsSearch': '\uF4E9', + 'VideoSearch': '\uF4EA', + 'R': '\uF4EB', + 'FontColorA': '\uF4EC', + 'FontColorSwatch': '\uF4ED', + 'LightWeight': '\uF4EE', + 'NormalWeight': '\uF4EF', + 'SemiboldWeight': '\uF4F0', + 'GroupObject': '\uF4F1', + 'UngroupObject': '\uF4F2', + 'AlignHorizontalLeft': '\uF4F3', + 'AlignHorizontalCenter': '\uF4F4', + 'AlignHorizontalRight': '\uF4F5', + 'AlignVerticalTop': '\uF4F6', + 'AlignVerticalCenter': '\uF4F7', + 'AlignVerticalBottom': '\uF4F8', + 'HorizontalDistributeCenter': '\uF4F9', + 'VerticalDistributeCenter': '\uF4FA', + 'Ellipse': '\uF4FB', + 'Line': '\uF4FC', + 'Octagon': '\uF4FD', + 'Hexagon': '\uF4FE', + 'Pentagon': '\uF4FF', + 'RightTriangle': '\uF500', + 'HalfCircle': '\uF501', + 'QuarterCircle': '\uF502', + 'ThreeQuarterCircle': '\uF503', + '6PointStar': '\uF504', + '12PointStar': '\uF505', + 'ArrangeBringToFront': '\uF506', + 'ArrangeSendToBack': '\uF507', + 'ArrangeSendBackward': '\uF508', + 'ArrangeBringForward': '\uF509', + 'BorderDash': '\uF50A', + 'BorderDot': '\uF50B', + 'LineStyle': '\uF50C', + 'LineThickness': '\uF50D', + 'WindowEdit': '\uF50E', + 'HintText': '\uF50F', + 'MediaAdd': '\uF510', + 'AnchorLock': '\uF511', + 'AutoHeight': '\uF512', + 'ChartSeries': '\uF513', + 'ChartXAngle': '\uF514', + 'ChartYAngle': '\uF515', + 'Combobox': '\uF516', + 'LineSpacing': '\uF517', + 'Padding': '\uF518', + 'PaddingTop': '\uF519', + 'PaddingBottom': '\uF51A', + 'PaddingLeft': '\uF51B', + 'PaddingRight': '\uF51C', + 'NavigationFlipper': '\uF51D', + 'AlignJustify': '\uF51E', + 'TextOverflow': '\uF51F', + 'VisualsFolder': '\uF520', + 'VisualsStore': '\uF521', + 'PictureCenter': '\uF522', + 'PictureFill': '\uF523', + 'PicturePosition': '\uF524', + 'PictureStretch': '\uF525', + 'PictureTile': '\uF526', + 'Slider': '\uF527', + 'SliderHandleSize': '\uF528', + 'DefaultRatio': '\uF529', + 'NumberSequence': '\uF52A', + 'GUID': '\uF52B', + 'ReportAdd': '\uF52C', + 'DashboardAdd': '\uF52D', + 'MapPinSolid': '\uF52E', + 'WebPublish': '\uF52F', + 'PieSingleSolid': '\uF530', + 'BlockedSolid': '\uF531', + 'DrillDown': '\uF532', + 'DrillDownSolid': '\uF533', + 'DrillExpand': '\uF534', + 'DrillShow': '\uF535', + 'SpecialEvent': '\uF536', + 'OneDriveFolder16': '\uF53B', + 'FunctionalManagerDashboard': '\uF542', + 'BIDashboard': '\uF543', + 'CodeEdit': '\uF544', + 'RenewalCurrent': '\uF545', + 'RenewalFuture': '\uF546', + 'SplitObject': '\uF547', + 'BulkUpload': '\uF548', + 'DownloadDocument': '\uF549', + 'GreetingCard': '\uF54B', + 'Flower': '\uF54E', + 'WaitlistConfirm': '\uF550', + 'WaitlistConfirmMirrored': '\uF551', + 'LaptopSecure': '\uF552', + 'DragObject': '\uF553', + 'EntryView': '\uF554', + 'EntryDecline': '\uF555', + 'ContactCardSettings': '\uF556', + 'ContactCardSettingsMirrored': '\uF557' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-14.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-15.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-15.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-15\"", + src: "url('".concat(baseUrl, "fabric-icons-15-3807251b.woff') format('woff')") + }, + icons: { + 'CalendarSettings': '\uF558', + 'CalendarSettingsMirrored': '\uF559', + 'HardDriveLock': '\uF55A', + 'HardDriveUnlock': '\uF55B', + 'AccountManagement': '\uF55C', + 'ReportWarning': '\uF569', + 'TransitionPop': '\uF5B2', + 'TransitionPush': '\uF5B3', + 'TransitionEffect': '\uF5B4', + 'LookupEntities': '\uF5B5', + 'ExploreData': '\uF5B6', + 'AddBookmark': '\uF5B7', + 'SearchBookmark': '\uF5B8', + 'DrillThrough': '\uF5B9', + 'MasterDatabase': '\uF5BA', + 'CertifiedDatabase': '\uF5BB', + 'MaximumValue': '\uF5BC', + 'MinimumValue': '\uF5BD', + 'VisualStudioIDELogo32': '\uF5D0', + 'PasteAsText': '\uF5D5', + 'PasteAsCode': '\uF5D6', + 'BrowserTab': '\uF5D7', + 'BrowserTabScreenshot': '\uF5D8', + 'DesktopScreenshot': '\uF5D9', + 'FileYML': '\uF5DA', + 'ClipboardSolid': '\uF5DC', + 'FabricUserFolder': '\uF5E5', + 'FabricNetworkFolder': '\uF5E6', + 'BullseyeTarget': '\uF5F0', + 'AnalyticsView': '\uF5F1', + 'Video360Generic': '\uF609', + 'Untag': '\uF60B', + 'Leave': '\uF627', + 'Trending12': '\uF62D', + 'Blocked12': '\uF62E', + 'Warning12': '\uF62F', + 'CheckedOutByOther12': '\uF630', + 'CheckedOutByYou12': '\uF631', + 'CircleShapeSolid': '\uF63C', + 'SquareShapeSolid': '\uF63D', + 'TriangleShapeSolid': '\uF63E', + 'DropShapeSolid': '\uF63F', + 'RectangleShapeSolid': '\uF640', + 'ZoomToFit': '\uF649', + 'InsertColumnsLeft': '\uF64A', + 'InsertColumnsRight': '\uF64B', + 'InsertRowsAbove': '\uF64C', + 'InsertRowsBelow': '\uF64D', + 'DeleteColumns': '\uF64E', + 'DeleteRows': '\uF64F', + 'DeleteRowsMirrored': '\uF650', + 'DeleteTable': '\uF651', + 'AccountBrowser': '\uF652', + 'VersionControlPush': '\uF664', + 'StackedColumnChart2': '\uF666', + 'TripleColumnWide': '\uF66E', + 'QuadColumn': '\uF66F', + 'WhiteBoardApp16': '\uF673', + 'WhiteBoardApp32': '\uF674', + 'PinnedSolid': '\uF676', + 'InsertSignatureLine': '\uF677', + 'ArrangeByFrom': '\uF678', + 'Phishing': '\uF679', + 'CreateMailRule': '\uF67A', + 'PublishCourse': '\uF699', + 'DictionaryRemove': '\uF69A', + 'UserRemove': '\uF69B', + 'UserEvent': '\uF69C', + 'Encryption': '\uF69D', + 'PasswordField': '\uF6AA', + 'OpenInNewTab': '\uF6AB', + 'Hide3': '\uF6AC', + 'VerifiedBrandSolid': '\uF6AD', + 'MarkAsProtected': '\uF6AE', + 'AuthenticatorApp': '\uF6B1', + 'WebTemplate': '\uF6B2', + 'DefenderTVM': '\uF6B3', + 'MedalSolid': '\uF6B9', + 'D365TalentLearn': '\uF6BB', + 'D365TalentInsight': '\uF6BC', + 'D365TalentHRCore': '\uF6BD', + 'BacklogList': '\uF6BF', + 'ButtonControl': '\uF6C0', + 'TableGroup': '\uF6D9', + 'MountainClimbing': '\uF6DB', + 'TagUnknown': '\uF6DF', + 'TagUnknownMirror': '\uF6E0', + 'TagUnknown12': '\uF6E1', + 'TagUnknown12Mirror': '\uF6E2', + 'Link12': '\uF6E3', + 'Presentation': '\uF6E4', + 'Presentation12': '\uF6E5', + 'Lock12': '\uF6E6', + 'BuildDefinition': '\uF6E9', + 'ReleaseDefinition': '\uF6EA', + 'SaveTemplate': '\uF6EC', + 'UserGauge': '\uF6ED', + 'BlockedSiteSolid12': '\uF70A', + 'TagSolid': '\uF70E', + 'OfficeChat': '\uF70F' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-15.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-16.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-16.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-16\"", + src: "url('".concat(baseUrl, "fabric-icons-16-9cf93f3b.woff') format('woff')") + }, + icons: { + 'OfficeChatSolid': '\uF710', + 'MailSchedule': '\uF72E', + 'WarningSolid': '\uF736', + 'Blocked2Solid': '\uF737', + 'SkypeCircleArrow': '\uF747', + 'SkypeArrow': '\uF748', + 'SyncStatus': '\uF751', + 'SyncStatusSolid': '\uF752', + 'ProjectDocument': '\uF759', + 'ToDoLogoOutline': '\uF75B', + 'VisioOnlineLogoFill32': '\uF75F', + 'VisioOnlineLogo32': '\uF760', + 'VisioOnlineLogoCloud32': '\uF761', + 'VisioDiagramSync': '\uF762', + 'Event12': '\uF763', + 'EventDateMissed12': '\uF764', + 'UserOptional': '\uF767', + 'ResponsesMenu': '\uF768', + 'DoubleDownArrow': '\uF769', + 'DistributeDown': '\uF76A', + 'BookmarkReport': '\uF76B', + 'FilterSettings': '\uF76C', + 'GripperDotsVertical': '\uF772', + 'MailAttached': '\uF774', + 'AddIn': '\uF775', + 'LinkedDatabase': '\uF779', + 'TableLink': '\uF77A', + 'PromotedDatabase': '\uF77D', + 'BarChartVerticalFilter': '\uF77E', + 'BarChartVerticalFilterSolid': '\uF77F', + 'MicOff2': '\uF781', + 'MicrosoftTranslatorLogo': '\uF782', + 'ShowTimeAs': '\uF787', + 'FileRequest': '\uF789', + 'WorkItemAlert': '\uF78F', + 'PowerBILogo16': '\uF790', + 'PowerBILogoBackplate16': '\uF791', + 'BulletedListText': '\uF792', + 'BulletedListBullet': '\uF793', + 'BulletedListTextMirrored': '\uF794', + 'BulletedListBulletMirrored': '\uF795', + 'NumberedListText': '\uF796', + 'NumberedListNumber': '\uF797', + 'NumberedListTextMirrored': '\uF798', + 'NumberedListNumberMirrored': '\uF799', + 'RemoveLinkChain': '\uF79A', + 'RemoveLinkX': '\uF79B', + 'FabricTextHighlight': '\uF79C', + 'ClearFormattingA': '\uF79D', + 'ClearFormattingEraser': '\uF79E', + 'Photo2Fill': '\uF79F', + 'IncreaseIndentText': '\uF7A0', + 'IncreaseIndentArrow': '\uF7A1', + 'DecreaseIndentText': '\uF7A2', + 'DecreaseIndentArrow': '\uF7A3', + 'IncreaseIndentTextMirrored': '\uF7A4', + 'IncreaseIndentArrowMirrored': '\uF7A5', + 'DecreaseIndentTextMirrored': '\uF7A6', + 'DecreaseIndentArrowMirrored': '\uF7A7', + 'CheckListText': '\uF7A8', + 'CheckListCheck': '\uF7A9', + 'CheckListTextMirrored': '\uF7AA', + 'CheckListCheckMirrored': '\uF7AB', + 'NumberSymbol': '\uF7AC', + 'Coupon': '\uF7BC', + 'VerifiedBrand': '\uF7BD', + 'ReleaseGate': '\uF7BE', + 'ReleaseGateCheck': '\uF7BF', + 'ReleaseGateError': '\uF7C0', + 'M365InvoicingLogo': '\uF7C1', + 'RemoveFromShoppingList': '\uF7D5', + 'ShieldAlert': '\uF7D7', + 'FabricTextHighlightComposite': '\uF7DA', + 'Dataflows': '\uF7DD', + 'GenericScanFilled': '\uF7DE', + 'DiagnosticDataBarTooltip': '\uF7DF', + 'SaveToMobile': '\uF7E0', + 'Orientation2': '\uF7E1', + 'ScreenCast': '\uF7E2', + 'ShowGrid': '\uF7E3', + 'SnapToGrid': '\uF7E4', + 'ContactList': '\uF7E5', + 'NewMail': '\uF7EA', + 'EyeShadow': '\uF7EB', + 'FabricFolderConfirm': '\uF7FF', + 'InformationBarriers': '\uF803', + 'CommentActive': '\uF804', + 'ColumnVerticalSectionEdit': '\uF806', + 'WavingHand': '\uF807', + 'ShakeDevice': '\uF80A', + 'SmartGlassRemote': '\uF80B', + 'Rotate90Clockwise': '\uF80D', + 'Rotate90CounterClockwise': '\uF80E', + 'CampaignTemplate': '\uF811', + 'ChartTemplate': '\uF812', + 'PageListFilter': '\uF813', + 'SecondaryNav': '\uF814', + 'ColumnVerticalSection': '\uF81E', + 'SkypeCircleSlash': '\uF825', + 'SkypeSlash': '\uF826' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-16.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-17.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-17.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-17\"", + src: "url('".concat(baseUrl, "fabric-icons-17-0c4ed701.woff') format('woff')") + }, + icons: { + 'CustomizeToolbar': '\uF828', + 'DuplicateRow': '\uF82A', + 'RemoveFromTrash': '\uF82B', + 'MailOptions': '\uF82C', + 'Childof': '\uF82D', + 'Footer': '\uF82E', + 'Header': '\uF82F', + 'BarChartVerticalFill': '\uF830', + 'StackedColumnChart2Fill': '\uF831', + 'PlainText': '\uF834', + 'AccessibiltyChecker': '\uF835', + 'DatabaseSync': '\uF842', + 'ReservationOrders': '\uF845', + 'TabOneColumn': '\uF849', + 'TabTwoColumn': '\uF84A', + 'TabThreeColumn': '\uF84B', + 'BulletedTreeList': '\uF84C', + 'MicrosoftTranslatorLogoGreen': '\uF852', + 'MicrosoftTranslatorLogoBlue': '\uF853', + 'InternalInvestigation': '\uF854', + 'AddReaction': '\uF85D', + 'ContactHeart': '\uF862', + 'VisuallyImpaired': '\uF866', + 'EventToDoLogo': '\uF869', + 'Variable2': '\uF86D', + 'ModelingView': '\uF871', + 'DisconnectVirtualMachine': '\uF873', + 'ReportLock': '\uF875', + 'Uneditable2': '\uF876', + 'Uneditable2Mirrored': '\uF877', + 'BarChartVerticalEdit': '\uF89D', + 'GlobalNavButtonActive': '\uF89F', + 'PollResults': '\uF8A0', + 'Rerun': '\uF8A1', + 'QandA': '\uF8A2', + 'QandAMirror': '\uF8A3', + 'BookAnswers': '\uF8A4', + 'AlertSettings': '\uF8B6', + 'TrimStart': '\uF8BB', + 'TrimEnd': '\uF8BC', + 'TableComputed': '\uF8F5', + 'DecreaseIndentLegacy': '\uE290', + 'IncreaseIndentLegacy': '\uE291', + 'SizeLegacy': '\uE2B2' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-17.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-2.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-2.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-2\"", + src: "url('".concat(baseUrl, "fabric-icons-2-63c99abf.woff') format('woff')") + }, + icons: { + 'Picture': '\uE8B9', + 'ChromeClose': '\uE8BB', + 'ShowResults': '\uE8BC', + 'Message': '\uE8BD', + 'CalendarDay': '\uE8BF', + 'CalendarWeek': '\uE8C0', + 'MailReplyAll': '\uE8C2', + 'Read': '\uE8C3', + 'Cut': '\uE8C6', + 'PaymentCard': '\uE8C7', + 'Copy': '\uE8C8', + 'Important': '\uE8C9', + 'MailReply': '\uE8CA', + 'GotoToday': '\uE8D1', + 'Font': '\uE8D2', + 'FontColor': '\uE8D3', + 'FolderFill': '\uE8D5', + 'Permissions': '\uE8D7', + 'DisableUpdates': '\uE8D8', + 'Unfavorite': '\uE8D9', + 'Italic': '\uE8DB', + 'Underline': '\uE8DC', + 'Bold': '\uE8DD', + 'MoveToFolder': '\uE8DE', + 'Dislike': '\uE8E0', + 'Like': '\uE8E1', + 'AlignCenter': '\uE8E3', + 'OpenFile': '\uE8E5', + 'ClearSelection': '\uE8E6', + 'FontDecrease': '\uE8E7', + 'FontIncrease': '\uE8E8', + 'FontSize': '\uE8E9', + 'CellPhone': '\uE8EA', + 'RepeatOne': '\uE8ED', + 'RepeatAll': '\uE8EE', + 'Calculator': '\uE8EF', + 'Library': '\uE8F1', + 'PostUpdate': '\uE8F3', + 'NewFolder': '\uE8F4', + 'CalendarReply': '\uE8F5', + 'UnsyncFolder': '\uE8F6', + 'SyncFolder': '\uE8F7', + 'BlockContact': '\uE8F8', + 'Accept': '\uE8FB', + 'BulletedList': '\uE8FD', + 'Preview': '\uE8FF', + 'News': '\uE900', + 'Chat': '\uE901', + 'Group': '\uE902', + 'World': '\uE909', + 'Comment': '\uE90A', + 'DockLeft': '\uE90C', + 'DockRight': '\uE90D', + 'Repair': '\uE90F', + 'Accounts': '\uE910', + 'Street': '\uE913', + 'RadioBullet': '\uE915', + 'Stopwatch': '\uE916', + 'Clock': '\uE917', + 'WorldClock': '\uE918', + 'AlarmClock': '\uE919', + 'Photo': '\uE91B', + 'ActionCenter': '\uE91C', + 'Hospital': '\uE91D', + 'Timer': '\uE91E', + 'FullCircleMask': '\uE91F', + 'LocationFill': '\uE920', + 'ChromeMinimize': '\uE921', + 'ChromeRestore': '\uE923', + 'Annotation': '\uE924', + 'Fingerprint': '\uE928', + 'Handwriting': '\uE929', + 'ChromeFullScreen': '\uE92D', + 'Completed': '\uE930', + 'Label': '\uE932', + 'FlickDown': '\uE935', + 'FlickUp': '\uE936', + 'FlickLeft': '\uE937', + 'FlickRight': '\uE938', + 'MiniExpand': '\uE93A', + 'MiniContract': '\uE93B', + 'Streaming': '\uE93E', + 'MusicInCollection': '\uE940', + 'OneDriveLogo': '\uE941', + 'CompassNW': '\uE942', + 'Code': '\uE943', + 'LightningBolt': '\uE945', + 'CalculatorMultiply': '\uE947', + 'CalculatorAddition': '\uE948', + 'CalculatorSubtract': '\uE949', + 'CalculatorPercentage': '\uE94C', + 'CalculatorEqualTo': '\uE94E', + 'PrintfaxPrinterFile': '\uE956', + 'StorageOptical': '\uE958', + 'Communications': '\uE95A', + 'Headset': '\uE95B', + 'Health': '\uE95E', + 'Webcam2': '\uE960', + 'FrontCamera': '\uE96B', + 'ChevronUpSmall': '\uE96D' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-2.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-3.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-3.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-3\"", + src: "url('".concat(baseUrl, "fabric-icons-3-089e217a.woff') format('woff')") + }, + icons: { + 'ChevronDownSmall': '\uE96E', + 'ChevronLeftSmall': '\uE96F', + 'ChevronRightSmall': '\uE970', + 'ChevronUpMed': '\uE971', + 'ChevronDownMed': '\uE972', + 'ChevronLeftMed': '\uE973', + 'ChevronRightMed': '\uE974', + 'Devices2': '\uE975', + 'PC1': '\uE977', + 'PresenceChickletVideo': '\uE979', + 'Reply': '\uE97A', + 'HalfAlpha': '\uE97E', + 'ConstructionCone': '\uE98F', + 'DoubleChevronLeftMed': '\uE991', + 'Volume0': '\uE992', + 'Volume1': '\uE993', + 'Volume2': '\uE994', + 'Volume3': '\uE995', + 'Chart': '\uE999', + 'Robot': '\uE99A', + 'Manufacturing': '\uE99C', + 'LockSolid': '\uE9A2', + 'FitPage': '\uE9A6', + 'FitWidth': '\uE9A7', + 'BidiLtr': '\uE9AA', + 'BidiRtl': '\uE9AB', + 'RightDoubleQuote': '\uE9B1', + 'Sunny': '\uE9BD', + 'CloudWeather': '\uE9BE', + 'Cloudy': '\uE9BF', + 'PartlyCloudyDay': '\uE9C0', + 'PartlyCloudyNight': '\uE9C1', + 'ClearNight': '\uE9C2', + 'RainShowersDay': '\uE9C3', + 'Rain': '\uE9C4', + 'Thunderstorms': '\uE9C6', + 'RainSnow': '\uE9C7', + 'Snow': '\uE9C8', + 'BlowingSnow': '\uE9C9', + 'Frigid': '\uE9CA', + 'Fog': '\uE9CB', + 'Squalls': '\uE9CC', + 'Duststorm': '\uE9CD', + 'Unknown': '\uE9CE', + 'Precipitation': '\uE9CF', + 'Ribbon': '\uE9D1', + 'AreaChart': '\uE9D2', + 'Assign': '\uE9D3', + 'FlowChart': '\uE9D4', + 'CheckList': '\uE9D5', + 'Diagnostic': '\uE9D9', + 'Generate': '\uE9DA', + 'LineChart': '\uE9E6', + 'Equalizer': '\uE9E9', + 'BarChartHorizontal': '\uE9EB', + 'BarChartVertical': '\uE9EC', + 'Freezing': '\uE9EF', + 'FunnelChart': '\uE9F1', + 'Processing': '\uE9F5', + 'Quantity': '\uE9F8', + 'ReportDocument': '\uE9F9', + 'StackColumnChart': '\uE9FC', + 'SnowShowerDay': '\uE9FD', + 'HailDay': '\uEA00', + 'WorkFlow': '\uEA01', + 'HourGlass': '\uEA03', + 'StoreLogoMed20': '\uEA04', + 'TimeSheet': '\uEA05', + 'TriangleSolid': '\uEA08', + 'UpgradeAnalysis': '\uEA0B', + 'VideoSolid': '\uEA0C', + 'RainShowersNight': '\uEA0F', + 'SnowShowerNight': '\uEA11', + 'Teamwork': '\uEA12', + 'HailNight': '\uEA13', + 'PeopleAdd': '\uEA15', + 'Glasses': '\uEA16', + 'DateTime2': '\uEA17', + 'Shield': '\uEA18', + 'Header1': '\uEA19', + 'PageAdd': '\uEA1A', + 'NumberedList': '\uEA1C', + 'PowerBILogo': '\uEA1E', + 'Info2': '\uEA1F', + 'MusicInCollectionFill': '\uEA36', + 'Asterisk': '\uEA38', + 'ErrorBadge': '\uEA39', + 'CircleFill': '\uEA3B', + 'Record2': '\uEA3F', + 'AllAppsMirrored': '\uEA40', + 'BookmarksMirrored': '\uEA41', + 'BulletedListMirrored': '\uEA42', + 'CaretHollowMirrored': '\uEA45', + 'CaretSolidMirrored': '\uEA46', + 'ChromeBackMirrored': '\uEA47', + 'ClearSelectionMirrored': '\uEA48', + 'ClosePaneMirrored': '\uEA49', + 'DockLeftMirrored': '\uEA4C', + 'DoubleChevronLeftMedMirrored': '\uEA4D', + 'GoMirrored': '\uEA4F' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-3.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-4.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-4.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-4\"", + src: "url('".concat(baseUrl, "fabric-icons-4-a656cc0a.woff') format('woff')") + }, + icons: { + 'HelpMirrored': '\uEA51', + 'ImportMirrored': '\uEA52', + 'ImportAllMirrored': '\uEA53', + 'ListMirrored': '\uEA55', + 'MailForwardMirrored': '\uEA56', + 'MailReplyMirrored': '\uEA57', + 'MailReplyAllMirrored': '\uEA58', + 'MiniContractMirrored': '\uEA59', + 'MiniExpandMirrored': '\uEA5A', + 'OpenPaneMirrored': '\uEA5B', + 'ParkingLocationMirrored': '\uEA5E', + 'SendMirrored': '\uEA63', + 'ShowResultsMirrored': '\uEA65', + 'ThumbnailViewMirrored': '\uEA67', + 'Media': '\uEA69', + 'Devices3': '\uEA6C', + 'Focus': '\uEA6F', + 'VideoLightOff': '\uEA74', + 'Lightbulb': '\uEA80', + 'StatusTriangle': '\uEA82', + 'VolumeDisabled': '\uEA85', + 'Puzzle': '\uEA86', + 'EmojiNeutral': '\uEA87', + 'EmojiDisappointed': '\uEA88', + 'HomeSolid': '\uEA8A', + 'Ringer': '\uEA8F', + 'PDF': '\uEA90', + 'HeartBroken': '\uEA92', + 'StoreLogo16': '\uEA96', + 'MultiSelectMirrored': '\uEA98', + 'Broom': '\uEA99', + 'AddToShoppingList': '\uEA9A', + 'Cocktails': '\uEA9D', + 'Wines': '\uEABF', + 'Articles': '\uEAC1', + 'Cycling': '\uEAC7', + 'DietPlanNotebook': '\uEAC8', + 'Pill': '\uEACB', + 'ExerciseTracker': '\uEACC', + 'HandsFree': '\uEAD0', + 'Medical': '\uEAD4', + 'Running': '\uEADA', + 'Weights': '\uEADB', + 'Trackers': '\uEADF', + 'AddNotes': '\uEAE3', + 'AllCurrency': '\uEAE4', + 'BarChart4': '\uEAE7', + 'CirclePlus': '\uEAEE', + 'Coffee': '\uEAEF', + 'Cotton': '\uEAF3', + 'Market': '\uEAFC', + 'Money': '\uEAFD', + 'PieDouble': '\uEB04', + 'PieSingle': '\uEB05', + 'RemoveFilter': '\uEB08', + 'Savings': '\uEB0B', + 'Sell': '\uEB0C', + 'StockDown': '\uEB0F', + 'StockUp': '\uEB11', + 'Lamp': '\uEB19', + 'Source': '\uEB1B', + 'MSNVideos': '\uEB1C', + 'Cricket': '\uEB1E', + 'Golf': '\uEB1F', + 'Baseball': '\uEB20', + 'Soccer': '\uEB21', + 'MoreSports': '\uEB22', + 'AutoRacing': '\uEB24', + 'CollegeHoops': '\uEB25', + 'CollegeFootball': '\uEB26', + 'ProFootball': '\uEB27', + 'ProHockey': '\uEB28', + 'Rugby': '\uEB2D', + 'SubstitutionsIn': '\uEB31', + 'Tennis': '\uEB33', + 'Arrivals': '\uEB34', + 'Design': '\uEB3C', + 'Website': '\uEB41', + 'Drop': '\uEB42', + 'HistoricalWeather': '\uEB43', + 'SkiResorts': '\uEB45', + 'Snowflake': '\uEB46', + 'BusSolid': '\uEB47', + 'FerrySolid': '\uEB48', + 'AirplaneSolid': '\uEB4C', + 'TrainSolid': '\uEB4D', + 'Ticket': '\uEB54', + 'WifiWarning4': '\uEB63', + 'Devices4': '\uEB66', + 'AzureLogo': '\uEB6A', + 'BingLogo': '\uEB6B', + 'MSNLogo': '\uEB6C', + 'OutlookLogoInverse': '\uEB6D', + 'OfficeLogo': '\uEB6E', + 'SkypeLogo': '\uEB6F', + 'Door': '\uEB75', + 'EditMirrored': '\uEB7E', + 'GiftCard': '\uEB8E', + 'DoubleBookmark': '\uEB8F', + 'StatusErrorFull': '\uEB90' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-4.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-5.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-5.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-5\"", + src: "url('".concat(baseUrl, "fabric-icons-5-f95ba260.woff') format('woff')") + }, + icons: { + 'Certificate': '\uEB95', + 'FastForward': '\uEB9D', + 'Rewind': '\uEB9E', + 'Photo2': '\uEB9F', + 'OpenSource': '\uEBC2', + 'Movers': '\uEBCD', + 'CloudDownload': '\uEBD3', + 'Family': '\uEBDA', + 'WindDirection': '\uEBE6', + 'Bug': '\uEBE8', + 'SiteScan': '\uEBEC', + 'BrowserScreenShot': '\uEBED', + 'F12DevTools': '\uEBEE', + 'CSS': '\uEBEF', + 'JS': '\uEBF0', + 'DeliveryTruck': '\uEBF4', + 'ReminderPerson': '\uEBF7', + 'ReminderGroup': '\uEBF8', + 'ReminderTime': '\uEBF9', + 'TabletMode': '\uEBFC', + 'Umbrella': '\uEC04', + 'NetworkTower': '\uEC05', + 'CityNext': '\uEC06', + 'CityNext2': '\uEC07', + 'Section': '\uEC0C', + 'OneNoteLogoInverse': '\uEC0D', + 'ToggleFilled': '\uEC11', + 'ToggleBorder': '\uEC12', + 'SliderThumb': '\uEC13', + 'ToggleThumb': '\uEC14', + 'Documentation': '\uEC17', + 'Badge': '\uEC1B', + 'Giftbox': '\uEC1F', + 'VisualStudioLogo': '\uEC22', + 'HomeGroup': '\uEC26', + 'ExcelLogoInverse': '\uEC28', + 'WordLogoInverse': '\uEC29', + 'PowerPointLogoInverse': '\uEC2A', + 'Cafe': '\uEC32', + 'SpeedHigh': '\uEC4A', + 'Commitments': '\uEC4D', + 'ThisPC': '\uEC4E', + 'MusicNote': '\uEC4F', + 'MicOff': '\uEC54', + 'PlaybackRate1x': '\uEC57', + 'EdgeLogo': '\uEC60', + 'CompletedSolid': '\uEC61', + 'AlbumRemove': '\uEC62', + 'MessageFill': '\uEC70', + 'TabletSelected': '\uEC74', + 'MobileSelected': '\uEC75', + 'LaptopSelected': '\uEC76', + 'TVMonitorSelected': '\uEC77', + 'DeveloperTools': '\uEC7A', + 'Shapes': '\uEC7C', + 'InsertTextBox': '\uEC7D', + 'LowerBrightness': '\uEC8A', + 'WebComponents': '\uEC8B', + 'OfflineStorage': '\uEC8C', + 'DOM': '\uEC8D', + 'CloudUpload': '\uEC8E', + 'ScrollUpDown': '\uEC8F', + 'DateTime': '\uEC92', + 'Event': '\uECA3', + 'Cake': '\uECA4', + 'Org': '\uECA6', + 'PartyLeader': '\uECA7', + 'DRM': '\uECA8', + 'CloudAdd': '\uECA9', + 'AppIconDefault': '\uECAA', + 'Photo2Add': '\uECAB', + 'Photo2Remove': '\uECAC', + 'Calories': '\uECAD', + 'POI': '\uECAF', + 'AddTo': '\uECC8', + 'RadioBtnOff': '\uECCA', + 'RadioBtnOn': '\uECCB', + 'ExploreContent': '\uECCD', + 'Product': '\uECDC', + 'ProgressLoopInner': '\uECDE', + 'ProgressLoopOuter': '\uECDF', + 'Blocked2': '\uECE4', + 'FangBody': '\uECEB', + 'Toolbox': '\uECED', + 'PageHeader': '\uECEE', + 'ChatInviteFriend': '\uECFE', + 'Brush': '\uECFF', + 'Shirt': '\uED00', + 'Crown': '\uED01', + 'Diamond': '\uED02', + 'ScaleUp': '\uED09', + 'QRCode': '\uED14', + 'Feedback': '\uED15', + 'SharepointLogoInverse': '\uED18', + 'YammerLogo': '\uED19', + 'Hide': '\uED1A', + 'Uneditable': '\uED1D', + 'ReturnToSession': '\uED24', + 'OpenFolderHorizontal': '\uED25', + 'CalendarMirrored': '\uED28' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-5.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-6.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-6.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-6\"", + src: "url('".concat(baseUrl, "fabric-icons-6-ef6fd590.woff') format('woff')") + }, + icons: { + 'SwayLogoInverse': '\uED29', + 'OutOfOffice': '\uED34', + 'Trophy': '\uED3F', + 'ReopenPages': '\uED50', + 'EmojiTabSymbols': '\uED58', + 'AADLogo': '\uED68', + 'AccessLogo': '\uED69', + 'AdminALogoInverse32': '\uED6A', + 'AdminCLogoInverse32': '\uED6B', + 'AdminDLogoInverse32': '\uED6C', + 'AdminELogoInverse32': '\uED6D', + 'AdminLLogoInverse32': '\uED6E', + 'AdminMLogoInverse32': '\uED6F', + 'AdminOLogoInverse32': '\uED70', + 'AdminPLogoInverse32': '\uED71', + 'AdminSLogoInverse32': '\uED72', + 'AdminYLogoInverse32': '\uED73', + 'DelveLogoInverse': '\uED76', + 'ExchangeLogoInverse': '\uED78', + 'LyncLogo': '\uED79', + 'OfficeVideoLogoInverse': '\uED7A', + 'SocialListeningLogo': '\uED7C', + 'VisioLogoInverse': '\uED7D', + 'Balloons': '\uED7E', + 'Cat': '\uED7F', + 'MailAlert': '\uED80', + 'MailCheck': '\uED81', + 'MailLowImportance': '\uED82', + 'MailPause': '\uED83', + 'MailRepeat': '\uED84', + 'SecurityGroup': '\uED85', + 'Table': '\uED86', + 'VoicemailForward': '\uED87', + 'VoicemailReply': '\uED88', + 'Waffle': '\uED89', + 'RemoveEvent': '\uED8A', + 'EventInfo': '\uED8B', + 'ForwardEvent': '\uED8C', + 'WipePhone': '\uED8D', + 'AddOnlineMeeting': '\uED8E', + 'JoinOnlineMeeting': '\uED8F', + 'RemoveLink': '\uED90', + 'PeopleBlock': '\uED91', + 'PeopleRepeat': '\uED92', + 'PeopleAlert': '\uED93', + 'PeoplePause': '\uED94', + 'TransferCall': '\uED95', + 'AddPhone': '\uED96', + 'UnknownCall': '\uED97', + 'NoteReply': '\uED98', + 'NoteForward': '\uED99', + 'NotePinned': '\uED9A', + 'RemoveOccurrence': '\uED9B', + 'Timeline': '\uED9C', + 'EditNote': '\uED9D', + 'CircleHalfFull': '\uED9E', + 'Room': '\uED9F', + 'Unsubscribe': '\uEDA0', + 'Subscribe': '\uEDA1', + 'HardDrive': '\uEDA2', + 'RecurringTask': '\uEDB2', + 'TaskManager': '\uEDB7', + 'TaskManagerMirrored': '\uEDB8', + 'Combine': '\uEDBB', + 'Split': '\uEDBC', + 'DoubleChevronUp': '\uEDBD', + 'DoubleChevronLeft': '\uEDBE', + 'DoubleChevronRight': '\uEDBF', + 'TextBox': '\uEDC2', + 'TextField': '\uEDC3', + 'NumberField': '\uEDC4', + 'Dropdown': '\uEDC5', + 'PenWorkspace': '\uEDC6', + 'BookingsLogo': '\uEDC7', + 'ClassNotebookLogoInverse': '\uEDC8', + 'DelveAnalyticsLogo': '\uEDCA', + 'DocsLogoInverse': '\uEDCB', + 'Dynamics365Logo': '\uEDCC', + 'DynamicSMBLogo': '\uEDCD', + 'OfficeAssistantLogo': '\uEDCE', + 'OfficeStoreLogo': '\uEDCF', + 'OneNoteEduLogoInverse': '\uEDD0', + 'PlannerLogo': '\uEDD1', + 'PowerApps': '\uEDD2', + 'Suitcase': '\uEDD3', + 'ProjectLogoInverse': '\uEDD4', + 'CaretLeft8': '\uEDD5', + 'CaretRight8': '\uEDD6', + 'CaretUp8': '\uEDD7', + 'CaretDown8': '\uEDD8', + 'CaretLeftSolid8': '\uEDD9', + 'CaretRightSolid8': '\uEDDA', + 'CaretUpSolid8': '\uEDDB', + 'CaretDownSolid8': '\uEDDC', + 'ClearFormatting': '\uEDDD', + 'Superscript': '\uEDDE', + 'Subscript': '\uEDDF', + 'Strikethrough': '\uEDE0', + 'Export': '\uEDE1', + 'ExportMirrored': '\uEDE2' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-6.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-7.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-7.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-7\"", + src: "url('".concat(baseUrl, "fabric-icons-7-2b97bb99.woff') format('woff')") + }, + icons: { + 'SingleBookmark': '\uEDFF', + 'SingleBookmarkSolid': '\uEE00', + 'DoubleChevronDown': '\uEE04', + 'FollowUser': '\uEE05', + 'ReplyAll': '\uEE0A', + 'WorkforceManagement': '\uEE0F', + 'RecruitmentManagement': '\uEE12', + 'Questionnaire': '\uEE19', + 'ManagerSelfService': '\uEE23', + 'ProductionFloorManagement': '\uEE29', + 'ProductRelease': '\uEE2E', + 'ProductVariant': '\uEE30', + 'ReplyMirrored': '\uEE35', + 'ReplyAllMirrored': '\uEE36', + 'Medal': '\uEE38', + 'AddGroup': '\uEE3D', + 'QuestionnaireMirrored': '\uEE4B', + 'CloudImportExport': '\uEE55', + 'TemporaryUser': '\uEE58', + 'CaretSolid16': '\uEE62', + 'GroupedDescending': '\uEE66', + 'GroupedAscending': '\uEE67', + 'AwayStatus': '\uEE6A', + 'MyMoviesTV': '\uEE6C', + 'GenericScan': '\uEE6F', + 'AustralianRules': '\uEE70', + 'WifiEthernet': '\uEE77', + 'TrackersMirrored': '\uEE92', + 'DateTimeMirrored': '\uEE93', + 'StopSolid': '\uEE95', + 'DoubleChevronUp12': '\uEE96', + 'DoubleChevronDown12': '\uEE97', + 'DoubleChevronLeft12': '\uEE98', + 'DoubleChevronRight12': '\uEE99', + 'CalendarAgenda': '\uEE9A', + 'ConnectVirtualMachine': '\uEE9D', + 'AddEvent': '\uEEB5', + 'AssetLibrary': '\uEEB6', + 'DataConnectionLibrary': '\uEEB7', + 'DocLibrary': '\uEEB8', + 'FormLibrary': '\uEEB9', + 'FormLibraryMirrored': '\uEEBA', + 'ReportLibrary': '\uEEBB', + 'ReportLibraryMirrored': '\uEEBC', + 'ContactCard': '\uEEBD', + 'CustomList': '\uEEBE', + 'CustomListMirrored': '\uEEBF', + 'IssueTracking': '\uEEC0', + 'IssueTrackingMirrored': '\uEEC1', + 'PictureLibrary': '\uEEC2', + 'OfficeAddinsLogo': '\uEEC7', + 'OfflineOneDriveParachute': '\uEEC8', + 'OfflineOneDriveParachuteDisabled': '\uEEC9', + 'TriangleSolidUp12': '\uEECC', + 'TriangleSolidDown12': '\uEECD', + 'TriangleSolidLeft12': '\uEECE', + 'TriangleSolidRight12': '\uEECF', + 'TriangleUp12': '\uEED0', + 'TriangleDown12': '\uEED1', + 'TriangleLeft12': '\uEED2', + 'TriangleRight12': '\uEED3', + 'ArrowUpRight8': '\uEED4', + 'ArrowDownRight8': '\uEED5', + 'DocumentSet': '\uEED6', + 'GoToDashboard': '\uEEED', + 'DelveAnalytics': '\uEEEE', + 'ArrowUpRightMirrored8': '\uEEEF', + 'ArrowDownRightMirrored8': '\uEEF0', + 'CompanyDirectory': '\uEF0D', + 'OpenEnrollment': '\uEF1C', + 'CompanyDirectoryMirrored': '\uEF2B', + 'OneDriveAdd': '\uEF32', + 'ProfileSearch': '\uEF35', + 'Header2': '\uEF36', + 'Header3': '\uEF37', + 'Header4': '\uEF38', + 'RingerSolid': '\uEF3A', + 'Eyedropper': '\uEF3C', + 'MarketDown': '\uEF42', + 'CalendarWorkWeek': '\uEF51', + 'SidePanel': '\uEF52', + 'GlobeFavorite': '\uEF53', + 'CaretTopLeftSolid8': '\uEF54', + 'CaretTopRightSolid8': '\uEF55', + 'ViewAll2': '\uEF56', + 'DocumentReply': '\uEF57', + 'PlayerSettings': '\uEF58', + 'ReceiptForward': '\uEF59', + 'ReceiptReply': '\uEF5A', + 'ReceiptCheck': '\uEF5B', + 'Fax': '\uEF5C', + 'RecurringEvent': '\uEF5D', + 'ReplyAlt': '\uEF5E', + 'ReplyAllAlt': '\uEF5F', + 'EditStyle': '\uEF60', + 'EditMail': '\uEF61', + 'Lifesaver': '\uEF62', + 'LifesaverLock': '\uEF63', + 'InboxCheck': '\uEF64', + 'FolderSearch': '\uEF65' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-7.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-8.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-8.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-8\"", + src: "url('".concat(baseUrl, "fabric-icons-8-6fdf1528.woff') format('woff')") + }, + icons: { + 'CollapseMenu': '\uEF66', + 'ExpandMenu': '\uEF67', + 'Boards': '\uEF68', + 'SunAdd': '\uEF69', + 'SunQuestionMark': '\uEF6A', + 'LandscapeOrientation': '\uEF6B', + 'DocumentSearch': '\uEF6C', + 'PublicCalendar': '\uEF6D', + 'PublicContactCard': '\uEF6E', + 'PublicEmail': '\uEF6F', + 'PublicFolder': '\uEF70', + 'WordDocument': '\uEF71', + 'PowerPointDocument': '\uEF72', + 'ExcelDocument': '\uEF73', + 'GroupedList': '\uEF74', + 'ClassroomLogo': '\uEF75', + 'Sections': '\uEF76', + 'EditPhoto': '\uEF77', + 'Starburst': '\uEF78', + 'ShareiOS': '\uEF79', + 'AirTickets': '\uEF7A', + 'PencilReply': '\uEF7B', + 'Tiles2': '\uEF7C', + 'SkypeCircleCheck': '\uEF7D', + 'SkypeCircleClock': '\uEF7E', + 'SkypeCircleMinus': '\uEF7F', + 'SkypeMessage': '\uEF83', + 'ClosedCaption': '\uEF84', + 'ATPLogo': '\uEF85', + 'OfficeFormsLogoInverse': '\uEF86', + 'RecycleBin': '\uEF87', + 'EmptyRecycleBin': '\uEF88', + 'Hide2': '\uEF89', + 'Breadcrumb': '\uEF8C', + 'BirthdayCake': '\uEF8D', + 'TimeEntry': '\uEF95', + 'CRMProcesses': '\uEFB1', + 'PageEdit': '\uEFB6', + 'PageArrowRight': '\uEFB8', + 'PageRemove': '\uEFBA', + 'Database': '\uEFC7', + 'DataManagementSettings': '\uEFC8', + 'CRMServices': '\uEFD2', + 'EditContact': '\uEFD3', + 'ConnectContacts': '\uEFD4', + 'AppIconDefaultAdd': '\uEFDA', + 'AppIconDefaultList': '\uEFDE', + 'ActivateOrders': '\uEFE0', + 'DeactivateOrders': '\uEFE1', + 'ProductCatalog': '\uEFE8', + 'ScatterChart': '\uEFEB', + 'AccountActivity': '\uEFF4', + 'DocumentManagement': '\uEFFC', + 'CRMReport': '\uEFFE', + 'KnowledgeArticle': '\uF000', + 'Relationship': '\uF003', + 'HomeVerify': '\uF00E', + 'ZipFolder': '\uF012', + 'SurveyQuestions': '\uF01B', + 'TextDocument': '\uF029', + 'TextDocumentShared': '\uF02B', + 'PageCheckedOut': '\uF02C', + 'PageShared': '\uF02D', + 'SaveAndClose': '\uF038', + 'Script': '\uF03A', + 'Archive': '\uF03F', + 'ActivityFeed': '\uF056', + 'Compare': '\uF057', + 'EventDate': '\uF059', + 'ArrowUpRight': '\uF069', + 'CaretRight': '\uF06B', + 'SetAction': '\uF071', + 'ChatBot': '\uF08B', + 'CaretSolidLeft': '\uF08D', + 'CaretSolidDown': '\uF08E', + 'CaretSolidRight': '\uF08F', + 'CaretSolidUp': '\uF090', + 'PowerAppsLogo': '\uF091', + 'PowerApps2Logo': '\uF092', + 'SearchIssue': '\uF09A', + 'SearchIssueMirrored': '\uF09B', + 'FabricAssetLibrary': '\uF09C', + 'FabricDataConnectionLibrary': '\uF09D', + 'FabricDocLibrary': '\uF09E', + 'FabricFormLibrary': '\uF09F', + 'FabricFormLibraryMirrored': '\uF0A0', + 'FabricReportLibrary': '\uF0A1', + 'FabricReportLibraryMirrored': '\uF0A2', + 'FabricPublicFolder': '\uF0A3', + 'FabricFolderSearch': '\uF0A4', + 'FabricMovetoFolder': '\uF0A5', + 'FabricUnsyncFolder': '\uF0A6', + 'FabricSyncFolder': '\uF0A7', + 'FabricOpenFolderHorizontal': '\uF0A8', + 'FabricFolder': '\uF0A9', + 'FabricFolderFill': '\uF0AA', + 'FabricNewFolder': '\uF0AB', + 'FabricPictureLibrary': '\uF0AC', + 'PhotoVideoMedia': '\uF0B1', + 'AddFavorite': '\uF0C8' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-8.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-9.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-9.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none' + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons-9\"", + src: "url('".concat(baseUrl, "fabric-icons-9-c6162b42.woff') format('woff')") + }, + icons: { + 'AddFavoriteFill': '\uF0C9', + 'BufferTimeBefore': '\uF0CF', + 'BufferTimeAfter': '\uF0D0', + 'BufferTimeBoth': '\uF0D1', + 'PublishContent': '\uF0D4', + 'ClipboardList': '\uF0E3', + 'ClipboardListMirrored': '\uF0E4', + 'CannedChat': '\uF0F2', + 'SkypeForBusinessLogo': '\uF0FC', + 'TabCenter': '\uF100', + 'PageCheckedin': '\uF104', + 'PageList': '\uF106', + 'ReadOutLoud': '\uF112', + 'CaretBottomLeftSolid8': '\uF121', + 'CaretBottomRightSolid8': '\uF122', + 'FolderHorizontal': '\uF12B', + 'MicrosoftStaffhubLogo': '\uF130', + 'GiftboxOpen': '\uF133', + 'StatusCircleOuter': '\uF136', + 'StatusCircleInner': '\uF137', + 'StatusCircleRing': '\uF138', + 'StatusTriangleOuter': '\uF139', + 'StatusTriangleInner': '\uF13A', + 'StatusTriangleExclamation': '\uF13B', + 'StatusCircleExclamation': '\uF13C', + 'StatusCircleErrorX': '\uF13D', + 'StatusCircleInfo': '\uF13F', + 'StatusCircleBlock': '\uF140', + 'StatusCircleBlock2': '\uF141', + 'StatusCircleQuestionMark': '\uF142', + 'StatusCircleSync': '\uF143', + 'Toll': '\uF160', + 'ExploreContentSingle': '\uF164', + 'CollapseContent': '\uF165', + 'CollapseContentSingle': '\uF166', + 'InfoSolid': '\uF167', + 'GroupList': '\uF168', + 'ProgressRingDots': '\uF16A', + 'CaloriesAdd': '\uF172', + 'BranchFork': '\uF173', + 'MuteChat': '\uF17A', + 'AddHome': '\uF17B', + 'AddWork': '\uF17C', + 'MobileReport': '\uF18A', + 'ScaleVolume': '\uF18C', + 'HardDriveGroup': '\uF18F', + 'FastMode': '\uF19A', + 'ToggleLeft': '\uF19E', + 'ToggleRight': '\uF19F', + 'TriangleShape': '\uF1A7', + 'RectangleShape': '\uF1A9', + 'CubeShape': '\uF1AA', + 'Trophy2': '\uF1AE', + 'BucketColor': '\uF1B6', + 'BucketColorFill': '\uF1B7', + 'Taskboard': '\uF1C2', + 'SingleColumn': '\uF1D3', + 'DoubleColumn': '\uF1D4', + 'TripleColumn': '\uF1D5', + 'ColumnLeftTwoThirds': '\uF1D6', + 'ColumnRightTwoThirds': '\uF1D7', + 'AccessLogoFill': '\uF1DB', + 'AnalyticsLogo': '\uF1DE', + 'AnalyticsQuery': '\uF1DF', + 'NewAnalyticsQuery': '\uF1E0', + 'AnalyticsReport': '\uF1E1', + 'WordLogo': '\uF1E3', + 'WordLogoFill': '\uF1E4', + 'ExcelLogo': '\uF1E5', + 'ExcelLogoFill': '\uF1E6', + 'OneNoteLogo': '\uF1E7', + 'OneNoteLogoFill': '\uF1E8', + 'OutlookLogo': '\uF1E9', + 'OutlookLogoFill': '\uF1EA', + 'PowerPointLogo': '\uF1EB', + 'PowerPointLogoFill': '\uF1EC', + 'PublisherLogo': '\uF1ED', + 'PublisherLogoFill': '\uF1EE', + 'ScheduleEventAction': '\uF1EF', + 'FlameSolid': '\uF1F3', + 'ServerProcesses': '\uF1FE', + 'Server': '\uF201', + 'SaveAll': '\uF203', + 'LinkedInLogo': '\uF20A', + 'Decimals': '\uF218', + 'SidePanelMirrored': '\uF221', + 'ProtectRestrict': '\uF22A', + 'Blog': '\uF22B', + 'UnknownMirrored': '\uF22E', + 'PublicContactCardMirrored': '\uF230', + 'GridViewSmall': '\uF232', + 'GridViewMedium': '\uF233', + 'GridViewLarge': '\uF234', + 'Step': '\uF241', + 'StepInsert': '\uF242', + 'StepShared': '\uF243', + 'StepSharedAdd': '\uF244', + 'StepSharedInsert': '\uF245', + 'ViewDashboard': '\uF246', + 'ViewList': '\uF247' + } + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons-9.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons.js ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +// Your use of the content in the files referenced here is subject to the terms of the license at https://aka.ms/fluentui-assets-license +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +function initializeIcons(baseUrl, options) { + if (baseUrl === void 0) { baseUrl = ''; } + var subset = { + style: { + MozOsxFontSmoothing: 'grayscale', + WebkitFontSmoothing: 'antialiased', + fontStyle: 'normal', + fontWeight: 'normal', + speak: 'none', + }, + fontFace: { + fontFamily: "\"FabricMDL2Icons\"", + src: "url('".concat(baseUrl, "fabric-icons-a13498cf.woff') format('woff')"), + }, + icons: { + GlobalNavButton: '\uE700', + ChevronDown: '\uE70D', + ChevronUp: '\uE70E', + Edit: '\uE70F', + Add: '\uE710', + Cancel: '\uE711', + More: '\uE712', + Settings: '\uE713', + Mail: '\uE715', + Filter: '\uE71C', + Search: '\uE721', + Share: '\uE72D', + BlockedSite: '\uE72F', + FavoriteStar: '\uE734', + FavoriteStarFill: '\uE735', + CheckMark: '\uE73E', + Delete: '\uE74D', + ChevronLeft: '\uE76B', + ChevronRight: '\uE76C', + Calendar: '\uE787', + Megaphone: '\uE789', + Undo: '\uE7A7', + Flag: '\uE7C1', + Page: '\uE7C3', + Pinned: '\uE840', + View: '\uE890', + Clear: '\uE894', + Download: '\uE896', + Upload: '\uE898', + Folder: '\uE8B7', + Sort: '\uE8CB', + AlignRight: '\uE8E2', + AlignLeft: '\uE8E4', + Tag: '\uE8EC', + AddFriend: '\uE8FA', + Info: '\uE946', + SortLines: '\uE9D0', + List: '\uEA37', + CircleRing: '\uEA3A', + Heart: '\uEB51', + HeartFill: '\uEB52', + Tiles: '\uECA5', + Embed: '\uECCE', + Glimmer: '\uECF4', + Ascending: '\uEDC0', + Descending: '\uEDC1', + SortUp: '\uEE68', + SortDown: '\uEE69', + SyncToPC: '\uEE6E', + LargeGrid: '\uEECB', + SkypeCheck: '\uEF80', + SkypeClock: '\uEF81', + SkypeMinus: '\uEF82', + ClearFilter: '\uEF8F', + Flow: '\uEF90', + StatusCircleCheckmark: '\uF13E', + MoreVertical: '\uF2BC', + }, + }; + (0, style_utilities_1.registerIcons)(subset, options); +} +exports.initializeIcons = initializeIcons; +//# sourceMappingURL=fabric-icons.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/iconAliases.js": +/*!****************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/iconAliases.js ***! + \****************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.registerIconAliases = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var registerIconAliases = function () { + (0, style_utilities_1.registerIconAlias)('trash', 'delete'); + (0, style_utilities_1.registerIconAlias)('onedrive', 'onedrivelogo'); + (0, style_utilities_1.registerIconAlias)('alertsolid12', 'eventdatemissed12'); + (0, style_utilities_1.registerIconAlias)('sixpointstar', '6pointstar'); + (0, style_utilities_1.registerIconAlias)('twelvepointstar', '12pointstar'); + (0, style_utilities_1.registerIconAlias)('toggleon', 'toggleleft'); + (0, style_utilities_1.registerIconAlias)('toggleoff', 'toggleright'); +}; +exports.registerIconAliases = registerIconAliases; +exports["default"] = exports.registerIconAliases; +//# sourceMappingURL=iconAliases.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/index.js": +/*!**********************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/index.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var fabric_icons_1 = __webpack_require__(/*! ./fabric-icons */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons.js"); +var fabric_icons_0_1 = __webpack_require__(/*! ./fabric-icons-0 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-0.js"); +var fabric_icons_1_1 = __webpack_require__(/*! ./fabric-icons-1 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-1.js"); +var fabric_icons_2_1 = __webpack_require__(/*! ./fabric-icons-2 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-2.js"); +var fabric_icons_3_1 = __webpack_require__(/*! ./fabric-icons-3 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-3.js"); +var fabric_icons_4_1 = __webpack_require__(/*! ./fabric-icons-4 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-4.js"); +var fabric_icons_5_1 = __webpack_require__(/*! ./fabric-icons-5 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-5.js"); +var fabric_icons_6_1 = __webpack_require__(/*! ./fabric-icons-6 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-6.js"); +var fabric_icons_7_1 = __webpack_require__(/*! ./fabric-icons-7 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-7.js"); +var fabric_icons_8_1 = __webpack_require__(/*! ./fabric-icons-8 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-8.js"); +var fabric_icons_9_1 = __webpack_require__(/*! ./fabric-icons-9 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-9.js"); +var fabric_icons_10_1 = __webpack_require__(/*! ./fabric-icons-10 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-10.js"); +var fabric_icons_11_1 = __webpack_require__(/*! ./fabric-icons-11 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-11.js"); +var fabric_icons_12_1 = __webpack_require__(/*! ./fabric-icons-12 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-12.js"); +var fabric_icons_13_1 = __webpack_require__(/*! ./fabric-icons-13 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-13.js"); +var fabric_icons_14_1 = __webpack_require__(/*! ./fabric-icons-14 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-14.js"); +var fabric_icons_15_1 = __webpack_require__(/*! ./fabric-icons-15 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-15.js"); +var fabric_icons_16_1 = __webpack_require__(/*! ./fabric-icons-16 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-16.js"); +var fabric_icons_17_1 = __webpack_require__(/*! ./fabric-icons-17 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/fabric-icons-17.js"); +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var iconAliases_1 = __webpack_require__(/*! ./iconAliases */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/iconAliases.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var DEFAULT_BASE_URL = "".concat(style_utilities_1.FLUENT_CDN_BASE_URL, "/assets/icons/"); +var win = (0, utilities_1.getWindow)(); +function initializeIcons(baseUrl, options) { + var _a, _b; + if (baseUrl === void 0) { baseUrl = ((_a = win === null || win === void 0 ? void 0 : win.FabricConfig) === null || _a === void 0 ? void 0 : _a.iconBaseUrl) || ((_b = win === null || win === void 0 ? void 0 : win.FabricConfig) === null || _b === void 0 ? void 0 : _b.fontBaseUrl) || DEFAULT_BASE_URL; } + [fabric_icons_1.initializeIcons, fabric_icons_0_1.initializeIcons, fabric_icons_1_1.initializeIcons, fabric_icons_2_1.initializeIcons, fabric_icons_3_1.initializeIcons, fabric_icons_4_1.initializeIcons, fabric_icons_5_1.initializeIcons, fabric_icons_6_1.initializeIcons, fabric_icons_7_1.initializeIcons, fabric_icons_8_1.initializeIcons, fabric_icons_9_1.initializeIcons, fabric_icons_10_1.initializeIcons, fabric_icons_11_1.initializeIcons, fabric_icons_12_1.initializeIcons, fabric_icons_13_1.initializeIcons, fabric_icons_14_1.initializeIcons, fabric_icons_15_1.initializeIcons, fabric_icons_16_1.initializeIcons, fabric_icons_17_1.initializeIcons].forEach(function (initialize) { return initialize(baseUrl, options); }); + (0, iconAliases_1.registerIconAliases)(); +} +exports.initializeIcons = initializeIcons; +/* eslint-enable deprecation/deprecation */ +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/version.js"); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/version.js": +/*!************************************************************************!*\ + !*** ./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/version.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +// Do not modify this file; it is generated as part of publish. +// The checked in version is a placeholder only and will not be updated. +var set_version_1 = __webpack_require__(/*! @fluentui/set-version */ "./node_modules/@fluentui/set-version/lib-commonjs/index.js"); +(0, set_version_1.setVersion)('@fluentui/font-icons-mdl2', '8.5.24'); +//# sourceMappingURL=version.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/IComponent.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@fluentui/foundation-legacy/lib-commonjs/IComponent.js ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=IComponent.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/IHTMLSlots.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@fluentui/foundation-legacy/lib-commonjs/IHTMLSlots.js ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=IHTMLSlots.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/ISlots.js": +/*!*************************************************************************!*\ + !*** ./node_modules/@fluentui/foundation-legacy/lib-commonjs/ISlots.js ***! + \*************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=ISlots.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/ThemeProvider.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/foundation-legacy/lib-commonjs/ThemeProvider.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ThemeProvider = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +/** + * Theme provider is a simplified version of Customizer that activates the appropriate theme data + * for a given scheme name. + * + * @param providers - Injected providers for accessing theme data and providing it via a Customizer component. + * @deprecated This is an old ThemeProvider implementation. New code should use the ThemeProvider exported from + * `@fluentui/react` (or `@fluentui/react/lib/Theme`) instead. + */ +var ThemeProvider = function (props) { + var scheme = props.scheme, theme = props.theme, rest = tslib_1.__rest(props, ["scheme", "theme"]); + // TODO: consider merging implementation with theme-proto, which only stores a reference / scheme name to theme + // in context and uses quick global store accessor to trigger change by passing in theme object as child and + // triggering re-render. (perf benefits need verification) + var contextTransform = function (context) { + return (0, style_utilities_1.getThemedContext)(context, scheme, theme); + }; + // eslint-disable-next-line react/jsx-no-bind, deprecation/deprecation + return React.createElement(utilities_1.Customizer, tslib_1.__assign({}, rest, { contextTransform: contextTransform })); +}; +exports.ThemeProvider = ThemeProvider; +//# sourceMappingURL=ThemeProvider.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/createComponent.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/@fluentui/foundation-legacy/lib-commonjs/createComponent.js ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.createComponent = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var slots_1 = __webpack_require__(/*! ./slots */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/slots.js"); +var utilities_2 = __webpack_require__(/*! ./utilities */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/utilities.js"); +/** + * Assembles a higher order component based on the following: styles, theme, view, and state. + * Imposes a separation of concern and centralizes styling processing to increase ease of use and robustness + * in how components use and apply styling and theming. + * + * Automatically merges and applies themes and styles with theme / styleprops having the highest priority. + * State component, if provided, is passed in props for processing. Props from state / user are automatically processed + * and styled before finally being passed to view. + * + * State components should contain all stateful behavior and should not generate any JSX, but rather simply call + * the view prop. + * + * Views should simply be stateless pure functions that receive all props needed for rendering their output. + * + * State component is optional. If state is not provided, created component is essentially a functional + * stateless component. + * + * @param options - component Component options. See IComponentOptions for more detail. + */ +function createComponent(view, options) { + if (options === void 0) { options = {}; } + var _a = options.factoryOptions, factoryOptions = _a === void 0 ? {} : _a; + var defaultProp = factoryOptions.defaultProp; + var ResultComponent = function (componentProps) { + var settings = _getCustomizations(options.displayName, React.useContext(utilities_1.CustomizerContext), options.fields); + var stateReducer = options.state; + if (stateReducer) { + // Don't assume state will return all props, so spread useState result over component props. + componentProps = tslib_1.__assign(tslib_1.__assign({}, componentProps), stateReducer(componentProps)); + } + var theme = componentProps.theme || settings.theme; + var tokens = _resolveTokens(componentProps, theme, options.tokens, settings.tokens, componentProps.tokens); + var styles = _resolveStyles(componentProps, theme, tokens, options.styles, settings.styles, componentProps.styles); + var viewProps = tslib_1.__assign(tslib_1.__assign({}, componentProps), { styles: styles, tokens: tokens, _defaultStyles: styles, theme: theme }); + return view(viewProps); + }; + ResultComponent.displayName = options.displayName || view.name; + // If a shorthand prop is defined, create a factory for the component. + // TODO: This shouldn't be a concern of createComponent.. factoryOptions should just be forwarded. + // Need to weigh creating default factories on component creation vs. memoizing them on use in slots.tsx. + if (defaultProp) { + ResultComponent.create = (0, slots_1.createFactory)(ResultComponent, { defaultProp: defaultProp }); + } + (0, utilities_2.assign)(ResultComponent, options.statics); + // Later versions of TypeSript should allow us to merge objects in a type safe way and avoid this cast. + return ResultComponent; +} +exports.createComponent = createComponent; +/** + * Resolve all styles functions with both props and tokens and flatten results along with all styles objects. + */ +function _resolveStyles(props, theme, tokens) { + var allStyles = []; + for (var _i = 3; _i < arguments.length; _i++) { + allStyles[_i - 3] = arguments[_i]; + } + return style_utilities_1.concatStyleSets.apply(void 0, allStyles.map(function (styles) { + return typeof styles === 'function' ? styles(props, theme, tokens) : styles; + })); +} +/** + * Resolve all tokens functions with props flatten results along with all tokens objects. + */ +function _resolveTokens(props, theme) { + var allTokens = []; + for (var _i = 2; _i < arguments.length; _i++) { + allTokens[_i - 2] = arguments[_i]; + } + var tokens = {}; + for (var _a = 0, allTokens_1 = allTokens; _a < allTokens_1.length; _a++) { + var currentTokens = allTokens_1[_a]; + if (currentTokens) { + // TODO: why is this cast needed? TS seems to think there is a (TToken | Function) union from somewhere. + currentTokens = + typeof currentTokens === 'function' + ? currentTokens(props, theme) + : currentTokens; + if (Array.isArray(currentTokens)) { + currentTokens = _resolveTokens.apply(void 0, tslib_1.__spreadArray([props, theme], currentTokens, false)); + } + (0, utilities_2.assign)(tokens, currentTokens); + } + } + return tokens; +} +/** + * Helper function for calling Customizations.getSettings falling back to default fields. + * + * @param displayName Displayable name for component. + * @param context React context passed to component containing contextual settings. + * @param fields Optional list of properties to grab from global store and context. + */ +function _getCustomizations(displayName, context, fields) { + // TODO: do we want field props? should fields be part of IComponent and used here? + // TODO: should we centrally define DefaultFields? (not exported from styling) + // TODO: tie this array to ICustomizationProps, such that each array element is keyof ICustomizationProps + var DefaultFields = ['theme', 'styles', 'tokens']; + return utilities_1.Customizations.getSettings(fields || DefaultFields, displayName, context.customizations); +} +//# sourceMappingURL=createComponent.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/hooks/controlled.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/foundation-legacy/lib-commonjs/hooks/controlled.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getControlledDerivedProps = exports.useControlledState = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * Controlled state helper that gives priority to props value. Useful for components that have props with both + * controlled and uncontrolled modes. Any props values will override state, but will not update internal state. + * If prop is defined and then later undefined, state will revert to its previous value. + * + * @param props - The props object containing controlled prop values. + * @param propName - The controlled prop name. + * @param options - Options. defaultPropValue is only used if defaultPropName (or its value) is undefined. + */ +function useControlledState(props, propName, options) { + var defaultValue; + if (options) { + if (options.defaultPropName && props[options.defaultPropName] !== undefined) { + // No easy way to coerce TProps[TDefaultProp] to match TProps[TProp] in generic typings, so cast it here. + defaultValue = props[options.defaultPropName]; + } + else { + defaultValue = options && options.defaultPropValue; + } + } + var _a = React.useState(defaultValue), state = _a[0], setState = _a[1]; + if (props[propName] !== undefined) { + return [props[propName], setState]; + } + else { + return [state, setState]; + } +} +exports.useControlledState = useControlledState; +/** + * Simple controlled helper that gives priority to props value and falls back to derived value. + * + * @param props - The props object containing controlled prop values. + * @param propName - The controlled prop name. + * @param derivedValue - Derived value. Returned when controlled value is not present. + */ +function getControlledDerivedProps(props, propName, derivedValue) { + if (props[propName] !== undefined) { + return props[propName]; + } + else { + return derivedValue; + } +} +exports.getControlledDerivedProps = getControlledDerivedProps; +//# sourceMappingURL=controlled.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/hooks/index.js": +/*!******************************************************************************!*\ + !*** ./node_modules/@fluentui/foundation-legacy/lib-commonjs/hooks/index.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./controlled */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/hooks/controlled.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/index.js": +/*!************************************************************************!*\ + !*** ./node_modules/@fluentui/foundation-legacy/lib-commonjs/index.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.legacyStyled = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./createComponent */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/createComponent.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./IComponent */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/IComponent.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./IHTMLSlots */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/IHTMLSlots.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ISlots */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/ISlots.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./slots */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/slots.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ThemeProvider */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/ThemeProvider.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./hooks/index */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/hooks/index.js"), exports); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +Object.defineProperty(exports, "legacyStyled", ({ enumerable: true, get: function () { return utilities_1.styled; } })); +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/version.js"); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/slots.js": +/*!************************************************************************!*\ + !*** ./node_modules/@fluentui/foundation-legacy/lib-commonjs/slots.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getSlots = exports.createFactory = exports.withSlots = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var merge_styles_1 = __webpack_require__(/*! @fluentui/merge-styles */ "./node_modules/@fluentui/merge-styles/lib-commonjs/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var utilities_2 = __webpack_require__(/*! ./utilities */ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/utilities.js"); +/** + * This function is required for any module that uses slots. + * + * This function is a slot resolver that automatically evaluates slot functions to generate React elements. + * A byproduct of this resolver is that it removes slots from the React hierarchy by bypassing React.createElement. + * + * To use this function on a per-file basis, use the jsx directive targeting withSlots. + * This directive must be the FIRST LINE in the file to work correctly. + * Usage of this pragma also requires withSlots import statement. + * + * See React.createElement + */ +// Can't use typeof on React.createElement since it's overloaded. Approximate createElement's signature for now +// and widen as needed. +function withSlots(type, props) { + var children = []; + for (var _i = 2; _i < arguments.length; _i++) { + children[_i - 2] = arguments[_i]; + } + var slotType = type; + if (slotType.isSlot) { + // Since we are bypassing createElement, use React.Children.toArray to make sure children are + // properly assigned keys. + // TODO: should this be mutating? does React mutate children subprop with createElement? + // TODO: will toArray clobber existing keys? + // TODO: React generates warnings because it doesn't detect hidden member _store that is set in createElement. + // Even children passed to createElement without keys don't generate this warning. + // Is there a better way to prevent slots from appearing in hierarchy? toArray doesn't address root issue. + children = React.Children.toArray(children); + // TODO: There is something weird going on here with children embedded in props vs. rest args. + // Comment out these lines to see. Make sure this function is doing the right things. + if (children.length === 0) { + return slotType(props); + } + return slotType(tslib_1.__assign(tslib_1.__assign({}, props), { children: children })); + } + else { + // TODO: Are there some cases where children should NOT be spread? Also, spreading reraises perf question. + // Children had to be spread to avoid breaking KeytipData in Toggle.view: + // react-dom.development.js:18931 Uncaught TypeError: children is not a function + // Without spread, function child is a child array of one element + // TODO: is there a reason this can't be: + // return React.createElement.apply(this, arguments); + return React.createElement.apply(React, tslib_1.__spreadArray([type, props], children, false)); + } +} +exports.withSlots = withSlots; +/** + * This function creates factories that render ouput depending on the user ISlotProp props passed in. + * @param DefaultComponent - Base component to render when not overridden by user props. + * @param options - Factory options, including defaultProp value for shorthand prop mapping. + * @returns ISlotFactory function used for rendering slots. + */ +function createFactory(DefaultComponent, options) { + if (options === void 0) { options = {}; } + var _a = options.defaultProp, defaultProp = _a === void 0 ? 'children' : _a; + var result = function (componentProps, userProps, userSlotOptions, defaultStyles, theme) { + // If they passed in raw JSX, just return that. + if (React.isValidElement(userProps)) { + return userProps; + } + var flattenedUserProps = _translateShorthand(defaultProp, userProps); + var finalProps = _constructFinalProps(defaultStyles, theme, componentProps, flattenedUserProps); + if (userSlotOptions) { + if (userSlotOptions.component) { + // TODO: Remove cast if possible. This cast is needed because TS errors on the intrinsic portion of ReactType. + // return ; + var UserComponent = userSlotOptions.component; + return React.createElement(UserComponent, tslib_1.__assign({}, finalProps)); + } + if (userSlotOptions.render) { + return userSlotOptions.render(finalProps, DefaultComponent); + } + } + return React.createElement(DefaultComponent, tslib_1.__assign({}, finalProps)); + }; + return result; +} +exports.createFactory = createFactory; +/** + * Default factory for components without explicit factories. + */ +var defaultFactory = (0, utilities_1.memoizeFunction)(function (type) { return createFactory(type); }); +/** + * This function generates slots that can be used in JSX given a definition of slots and their corresponding types. + * @param userProps - Props as pass to component. + * @param slots - Slot definition object defining the default slot component for each slot. + * @returns A set of created slots that components can render in JSX. + */ +function getSlots(userProps, slots) { + var result = {}; + // userProps already has default props mixed in by createComponent. Recast here to gain typing for this function. + var mixedProps = userProps; + var _loop_1 = function (name_1) { + if (slots.hasOwnProperty(name_1)) { + // This closure method requires the use of withSlots to prevent unnecessary rerenders. This is because React + // detects each closure as a different component (since it is a new instance) from the previous one and then + // forces a rerender of the entire slot subtree. For now, the only way to avoid this is to use withSlots, which + // bypasses the call to React.createElement. + var slot = function (componentProps) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + if (args.length > 0) { + // If React.createElement is being incorrectly used with slots, there will be additional arguments. + // We can detect these additional arguments and error on their presence. + throw new Error('Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.'); + } + // TODO: having TS infer types here seems to cause infinite loop. + // use explicit types or casting to preserve typing if possible. + // TODO: this should be a lookup on TProps property instead of being TProps directly, which is probably + // causing the infinite loop + return _renderSlot(slots[name_1], + // TODO: this cast to any is hiding a relationship issue between the first two args + componentProps, mixedProps[name_1], mixedProps.slots && mixedProps.slots[name_1], + // _defaultStyles should always be present, but a check for existence is added to make view tests + // easier to use. + mixedProps._defaultStyles && mixedProps._defaultStyles[name_1], mixedProps.theme); + }; + slot.isSlot = true; + result[name_1] = slot; + } + }; + for (var name_1 in slots) { + _loop_1(name_1); + } + return result; +} +exports.getSlots = getSlots; +/** + * Helper function that translates shorthand as needed. + * @param defaultProp + * @param slotProps + */ +function _translateShorthand(defaultProp, slotProps) { + var _a; + var transformedProps; + if (typeof slotProps === 'string' || typeof slotProps === 'number' || typeof slotProps === 'boolean') { + transformedProps = (_a = {}, + _a[defaultProp] = slotProps, + _a); + } + else { + transformedProps = slotProps; + } + return transformedProps; +} +/** + * Helper function that constructs final styles and props given a series of props ordered by increasing priority. + */ +function _constructFinalProps(defaultStyles, theme) { + var allProps = []; + for (var _i = 2; _i < arguments.length; _i++) { + allProps[_i - 2] = arguments[_i]; + } + var finalProps = {}; + var classNames = []; + for (var _a = 0, allProps_1 = allProps; _a < allProps_1.length; _a++) { + var props = allProps_1[_a]; + classNames.push(props && props.className); + (0, utilities_2.assign)(finalProps, props); + } + finalProps.className = (0, merge_styles_1.mergeCss)([defaultStyles, classNames], { rtl: (0, utilities_1.getRTL)(theme) }); + return finalProps; +} +/** + * Render a slot given component and user props. Uses component factory if available, otherwise falls back + * to default factory. + * @param ComponentType Factory component type. + * @param componentProps The properties passed into slot from within the component. + * @param userProps The user properties passed in from outside of the component. + */ +function _renderSlot(ComponentType, componentProps, userProps, slotOptions, defaultStyles, theme) { + if (ComponentType.create !== undefined) { + return ComponentType.create(componentProps, userProps, slotOptions, defaultStyles); + } + else { + // TODO: need to resolve typing / generic issues passing through memoizeFunction. for now, cast to 'unknown' + return defaultFactory(ComponentType)(componentProps, userProps, slotOptions, defaultStyles, theme); + } +} +//# sourceMappingURL=slots.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/utilities.js": +/*!****************************************************************************!*\ + !*** ./node_modules/@fluentui/foundation-legacy/lib-commonjs/utilities.js ***! + \****************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.assign = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +exports.assign = tslib_1.__assign; +//# sourceMappingURL=utilities.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/foundation-legacy/lib-commonjs/version.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@fluentui/foundation-legacy/lib-commonjs/version.js ***! + \**************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +// Do not modify this file; it is generated as part of publish. +// The checked in version is a placeholder only and will not be updated. +var set_version_1 = __webpack_require__(/*! @fluentui/set-version */ "./node_modules/@fluentui/set-version/lib-commonjs/index.js"); +(0, set_version_1.setVersion)('@fluentui/foundation-legacy', '8.2.44'); +//# sourceMappingURL=version.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/StyleOptionsState.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/StyleOptionsState.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyleOptions = exports.getRTL = exports.setRTL = void 0; +/** + * Sets the current RTL value. + */ +function setRTL(isRTL) { + if (_rtl !== isRTL) { + _rtl = isRTL; + } +} +exports.setRTL = setRTL; +/** + * Gets the current RTL value. + */ +function getRTL() { + if (_rtl === undefined) { + _rtl = + typeof document !== 'undefined' && + !!document.documentElement && + document.documentElement.getAttribute('dir') === 'rtl'; + } + return _rtl; +} +exports.getRTL = getRTL; +// This has been split into 2 lines because it was working in Fabric due to the code being transpiled to es5, so this +// was converted to var while not working in Fluent that uses babel to transpile the code to be es6-like. Splitting the +// logic into two lines, however, allows it to work in both scenarios. +var _rtl; +_rtl = getRTL(); +function getStyleOptions() { + return { + rtl: getRTL(), + }; +} +exports.getStyleOptions = getStyleOptions; +//# sourceMappingURL=StyleOptionsState.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/Stylesheet.js": +/*!************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/Stylesheet.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Stylesheet = exports.InjectionMode = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +exports.InjectionMode = { + /** + * Avoids style injection, use getRules() to read the styles. + */ + none: 0, + /** + * Inserts rules using the insertRule api. + */ + insertNode: 1, + /** + * Appends rules using appendChild. + */ + appendChild: 2, +}; +var STYLESHEET_SETTING = '__stylesheet__'; +/** + * MSIE 11 doesn't cascade styles based on DOM ordering, but rather on the order that each style node + * is created. As such, to maintain consistent priority, IE11 should reuse a single style node. + */ +var REUSE_STYLE_NODE = typeof navigator !== 'undefined' && /rv:11.0/.test(navigator.userAgent); +var _global = {}; +// Grab window. +try { + // Why the cast? + // if compiled/type checked in same program with `@fluentui/font-icons-mdl2` which extends `Window` on global + // ( check packages/font-icons-mdl2/src/index.ts ) the definitions don't match! Thus the need of this extra assertion + _global = (window || {}); +} +catch (_a) { + /* leave as blank object */ +} +var _stylesheet; +/** + * Represents the state of styles registered in the page. Abstracts + * the surface for adding styles to the stylesheet, exposes helpers + * for reading the styles registered in server rendered scenarios. + * + * @public + */ +var Stylesheet = /** @class */ (function () { + function Stylesheet(config, serializedStylesheet) { + var _a, _b, _c, _d, _e, _f; + this._rules = []; + this._preservedRules = []; + this._counter = 0; + this._keyToClassName = {}; + this._onInsertRuleCallbacks = []; + this._onResetCallbacks = []; + this._classNameToArgs = {}; + this._config = (0, tslib_1.__assign)({ + // If there is no document we won't have an element to inject into. + injectionMode: typeof document === 'undefined' ? exports.InjectionMode.none : exports.InjectionMode.insertNode, defaultPrefix: 'css', namespace: undefined, cspSettings: undefined }, config); + this._classNameToArgs = (_a = serializedStylesheet === null || serializedStylesheet === void 0 ? void 0 : serializedStylesheet.classNameToArgs) !== null && _a !== void 0 ? _a : this._classNameToArgs; + this._counter = (_b = serializedStylesheet === null || serializedStylesheet === void 0 ? void 0 : serializedStylesheet.counter) !== null && _b !== void 0 ? _b : this._counter; + this._keyToClassName = (_d = (_c = this._config.classNameCache) !== null && _c !== void 0 ? _c : serializedStylesheet === null || serializedStylesheet === void 0 ? void 0 : serializedStylesheet.keyToClassName) !== null && _d !== void 0 ? _d : this._keyToClassName; + this._preservedRules = (_e = serializedStylesheet === null || serializedStylesheet === void 0 ? void 0 : serializedStylesheet.preservedRules) !== null && _e !== void 0 ? _e : this._preservedRules; + this._rules = (_f = serializedStylesheet === null || serializedStylesheet === void 0 ? void 0 : serializedStylesheet.rules) !== null && _f !== void 0 ? _f : this._rules; + } + /** + * Gets the singleton instance. + */ + Stylesheet.getInstance = function () { + _stylesheet = _global[STYLESHEET_SETTING]; + if (!_stylesheet || (_stylesheet._lastStyleElement && _stylesheet._lastStyleElement.ownerDocument !== document)) { + var fabricConfig = (_global === null || _global === void 0 ? void 0 : _global.FabricConfig) || {}; + var stylesheet = new Stylesheet(fabricConfig.mergeStyles, fabricConfig.serializedStylesheet); + _stylesheet = stylesheet; + _global[STYLESHEET_SETTING] = stylesheet; + } + return _stylesheet; + }; + /** + * Serializes the Stylesheet instance into a format which allows rehydration on creation. + * @returns string representation of `ISerializedStylesheet` interface. + */ + Stylesheet.prototype.serialize = function () { + return JSON.stringify({ + classNameToArgs: this._classNameToArgs, + counter: this._counter, + keyToClassName: this._keyToClassName, + preservedRules: this._preservedRules, + rules: this._rules, + }); + }; + /** + * Configures the stylesheet. + */ + Stylesheet.prototype.setConfig = function (config) { + this._config = (0, tslib_1.__assign)((0, tslib_1.__assign)({}, this._config), config); + }; + /** + * Configures a reset callback. + * + * @param callback - A callback which will be called when the Stylesheet is reset. + * @returns function which when called un-registers provided callback. + */ + Stylesheet.prototype.onReset = function (callback) { + var _this = this; + this._onResetCallbacks.push(callback); + return function () { + _this._onResetCallbacks = _this._onResetCallbacks.filter(function (cb) { return cb !== callback; }); + }; + }; + /** + * Configures an insert rule callback. + * + * @param callback - A callback which will be called when a rule is inserted. + * @returns function which when called un-registers provided callback. + */ + Stylesheet.prototype.onInsertRule = function (callback) { + var _this = this; + this._onInsertRuleCallbacks.push(callback); + return function () { + _this._onInsertRuleCallbacks = _this._onInsertRuleCallbacks.filter(function (cb) { return cb !== callback; }); + }; + }; + /** + * Generates a unique classname. + * + * @param displayName - Optional value to use as a prefix. + */ + Stylesheet.prototype.getClassName = function (displayName) { + var namespace = this._config.namespace; + var prefix = displayName || this._config.defaultPrefix; + return "".concat(namespace ? namespace + '-' : '').concat(prefix, "-").concat(this._counter++); + }; + /** + * Used internally to cache information about a class which was + * registered with the stylesheet. + */ + Stylesheet.prototype.cacheClassName = function (className, key, args, rules) { + this._keyToClassName[key] = className; + this._classNameToArgs[className] = { + args: args, + rules: rules, + }; + }; + /** + * Gets the appropriate classname given a key which was previously + * registered using cacheClassName. + */ + Stylesheet.prototype.classNameFromKey = function (key) { + return this._keyToClassName[key]; + }; + /** + * Gets all classnames cache with the stylesheet. + */ + Stylesheet.prototype.getClassNameCache = function () { + return this._keyToClassName; + }; + /** + * Gets the arguments associated with a given classname which was + * previously registered using cacheClassName. + */ + Stylesheet.prototype.argsFromClassName = function (className) { + var entry = this._classNameToArgs[className]; + return entry && entry.args; + }; + /** + * Gets the rules associated with a given classname which was + * previously registered using cacheClassName. + */ + Stylesheet.prototype.insertedRulesFromClassName = function (className) { + var entry = this._classNameToArgs[className]; + return entry && entry.rules; + }; + /** + * Inserts a css rule into the stylesheet. + * @param preserve - Preserves the rule beyond a reset boundary. + */ + Stylesheet.prototype.insertRule = function (rule, preserve) { + var injectionMode = this._config.injectionMode; + var element = injectionMode !== exports.InjectionMode.none ? this._getStyleElement() : undefined; + if (preserve) { + this._preservedRules.push(rule); + } + if (element) { + switch (injectionMode) { + case exports.InjectionMode.insertNode: + var sheet = element.sheet; + try { + sheet.insertRule(rule, sheet.cssRules.length); + } + catch (e) { + // The browser will throw exceptions on unsupported rules (such as a moz prefix in webkit.) + // We need to swallow the exceptions for this scenario, otherwise we'd need to filter + // which could be slower and bulkier. + } + break; + case exports.InjectionMode.appendChild: + element.appendChild(document.createTextNode(rule)); + break; + } + } + else { + this._rules.push(rule); + } + // eslint-disable-next-line deprecation/deprecation + if (this._config.onInsertRule) { + // eslint-disable-next-line deprecation/deprecation + this._config.onInsertRule(rule); + } + this._onInsertRuleCallbacks.forEach(function (callback) { return callback(); }); + }; + /** + * Gets all rules registered with the stylesheet; only valid when + * using InsertionMode.none. + */ + Stylesheet.prototype.getRules = function (includePreservedRules) { + return (includePreservedRules ? this._preservedRules.join('') : '') + this._rules.join(''); + }; + /** + * Resets the internal state of the stylesheet. Only used in server + * rendered scenarios where we're using InsertionMode.none. + */ + Stylesheet.prototype.reset = function () { + this._rules = []; + this._counter = 0; + this._classNameToArgs = {}; + this._keyToClassName = {}; + this._onResetCallbacks.forEach(function (callback) { return callback(); }); + }; + // Forces the regeneration of incoming styles without totally resetting the stylesheet. + Stylesheet.prototype.resetKeys = function () { + this._keyToClassName = {}; + }; + Stylesheet.prototype._getStyleElement = function () { + var _this = this; + if (!this._styleElement && typeof document !== 'undefined') { + this._styleElement = this._createStyleElement(); + if (!REUSE_STYLE_NODE) { + // Reset the style element on the next frame. + window.requestAnimationFrame(function () { + _this._styleElement = undefined; + }); + } + } + return this._styleElement; + }; + Stylesheet.prototype._createStyleElement = function () { + var head = document.head; + var styleElement = document.createElement('style'); + var nodeToInsertBefore = null; + styleElement.setAttribute('data-merge-styles', 'true'); + var cspSettings = this._config.cspSettings; + if (cspSettings) { + if (cspSettings.nonce) { + styleElement.setAttribute('nonce', cspSettings.nonce); + } + } + if (this._lastStyleElement) { + // If the `nextElementSibling` is null, then the insertBefore will act as a regular append. + // https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore#Syntax + nodeToInsertBefore = this._lastStyleElement.nextElementSibling; + } + else { + var placeholderStyleTag = this._findPlaceholderStyleTag(); + if (placeholderStyleTag) { + nodeToInsertBefore = placeholderStyleTag.nextElementSibling; + } + else { + nodeToInsertBefore = head.childNodes[0]; + } + } + head.insertBefore(styleElement, head.contains(nodeToInsertBefore) ? nodeToInsertBefore : null); + this._lastStyleElement = styleElement; + return styleElement; + }; + Stylesheet.prototype._findPlaceholderStyleTag = function () { + var head = document.head; + if (head) { + return head.querySelector('style[data-merge-styles]'); + } + return null; + }; + return Stylesheet; +}()); +exports.Stylesheet = Stylesheet; +//# sourceMappingURL=Stylesheet.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/concatStyleSets.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/concatStyleSets.js ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.concatStyleSets = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +/** + * Combine a set of styles together (but does not register css classes). + * @param styleSets - One or more stylesets to be merged (each param can also be falsy). + */ +function concatStyleSets() { + var styleSets = []; + for (var _i = 0; _i < arguments.length; _i++) { + styleSets[_i] = arguments[_i]; + } + if (styleSets && styleSets.length === 1 && styleSets[0] && !styleSets[0].subComponentStyles) { + return styleSets[0]; + } + var mergedSet = {}; + // We process sub component styles in two phases. First we collect them, then we combine them into 1 style function. + var workingSubcomponentStyles = {}; + for (var _a = 0, styleSets_1 = styleSets; _a < styleSets_1.length; _a++) { + var currentSet = styleSets_1[_a]; + if (currentSet) { + for (var prop in currentSet) { + if (currentSet.hasOwnProperty(prop)) { + if (prop === 'subComponentStyles' && currentSet.subComponentStyles !== undefined) { + // subcomponent styles - style functions or objects + var currentComponentStyles = currentSet.subComponentStyles; + for (var subCompProp in currentComponentStyles) { + if (currentComponentStyles.hasOwnProperty(subCompProp)) { + if (workingSubcomponentStyles.hasOwnProperty(subCompProp)) { + workingSubcomponentStyles[subCompProp].push(currentComponentStyles[subCompProp]); + } + else { + workingSubcomponentStyles[subCompProp] = [currentComponentStyles[subCompProp]]; + } + } + } + continue; + } + // the as any casts below is a workaround for ts 2.8. + // todo: remove cast to any in ts 2.9. + var mergedValue = mergedSet[prop]; + var currentValue = currentSet[prop]; + if (mergedValue === undefined) { + mergedSet[prop] = currentValue; + } + else { + mergedSet[prop] = (0, tslib_1.__spreadArray)((0, tslib_1.__spreadArray)([], (Array.isArray(mergedValue) ? mergedValue : [mergedValue]), true), (Array.isArray(currentValue) ? currentValue : [currentValue]), true); + } + } + } + } + } + if (Object.keys(workingSubcomponentStyles).length > 0) { + mergedSet.subComponentStyles = {}; + var mergedSubStyles = mergedSet.subComponentStyles; + var _loop_1 = function (subCompProp) { + if (workingSubcomponentStyles.hasOwnProperty(subCompProp)) { + var workingSet_1 = workingSubcomponentStyles[subCompProp]; + mergedSubStyles[subCompProp] = function (styleProps) { + return concatStyleSets.apply(void 0, workingSet_1.map(function (styleFunctionOrObject) { + return typeof styleFunctionOrObject === 'function' ? styleFunctionOrObject(styleProps) : styleFunctionOrObject; + })); + }; + } + }; + // now we process the subcomponent styles if there are any + for (var subCompProp in workingSubcomponentStyles) { + _loop_1(subCompProp); + } + } + return mergedSet; +} +exports.concatStyleSets = concatStyleSets; +//# sourceMappingURL=concatStyleSets.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/concatStyleSetsWithProps.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/concatStyleSetsWithProps.js ***! + \**************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.concatStyleSetsWithProps = void 0; +var concatStyleSets_1 = __webpack_require__(/*! ./concatStyleSets */ "./node_modules/@fluentui/merge-styles/lib-commonjs/concatStyleSets.js"); +/** + * Concatenates style sets into one, but resolves functional sets using the given props. + * @param styleProps - Props used to resolve functional sets. + * @param allStyles - Style sets, which can be functions or objects. + */ +function concatStyleSetsWithProps(styleProps) { + var allStyles = []; + for (var _i = 1; _i < arguments.length; _i++) { + allStyles[_i - 1] = arguments[_i]; + } + var result = []; + for (var _a = 0, allStyles_1 = allStyles; _a < allStyles_1.length; _a++) { + var styles = allStyles_1[_a]; + if (styles) { + result.push(typeof styles === 'function' ? styles(styleProps) : styles); + } + } + if (result.length === 1) { + return result[0]; + } + else if (result.length) { + // cliffkoh: I cannot figure out how to avoid the cast to any here. + // It is something to do with the use of Omit in IStyleSet. + // It might not be necessary once Omit becomes part of lib.d.ts (when we remove our own Omit and rely on + // the official version). + return concatStyleSets_1.concatStyleSets.apply(void 0, result); + } + return {}; +} +exports.concatStyleSetsWithProps = concatStyleSetsWithProps; +//# sourceMappingURL=concatStyleSetsWithProps.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/extractStyleParts.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/extractStyleParts.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.extractStyleParts = void 0; +var Stylesheet_1 = __webpack_require__(/*! ./Stylesheet */ "./node_modules/@fluentui/merge-styles/lib-commonjs/Stylesheet.js"); +/** + * Separates the classes and style objects. Any classes that are pre-registered + * args are auto expanded into objects. + */ +function extractStyleParts() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var classes = []; + var objects = []; + var stylesheet = Stylesheet_1.Stylesheet.getInstance(); + function _processArgs(argsList) { + for (var _i = 0, argsList_1 = argsList; _i < argsList_1.length; _i++) { + var arg = argsList_1[_i]; + if (arg) { + if (typeof arg === 'string') { + if (arg.indexOf(' ') >= 0) { + _processArgs(arg.split(' ')); + } + else { + var translatedArgs = stylesheet.argsFromClassName(arg); + if (translatedArgs) { + _processArgs(translatedArgs); + } + else { + // Avoid adding the same class twice. + if (classes.indexOf(arg) === -1) { + classes.push(arg); + } + } + } + } + else if (Array.isArray(arg)) { + _processArgs(arg); + } + else if (typeof arg === 'object') { + objects.push(arg); + } + } + } + } + _processArgs(args); + return { + classes: classes, + objects: objects, + }; +} +exports.extractStyleParts = extractStyleParts; +//# sourceMappingURL=extractStyleParts.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/fontFace.js": +/*!**********************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/fontFace.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fontFace = void 0; +var StyleOptionsState_1 = __webpack_require__(/*! ./StyleOptionsState */ "./node_modules/@fluentui/merge-styles/lib-commonjs/StyleOptionsState.js"); +var Stylesheet_1 = __webpack_require__(/*! ./Stylesheet */ "./node_modules/@fluentui/merge-styles/lib-commonjs/Stylesheet.js"); +var styleToClassName_1 = __webpack_require__(/*! ./styleToClassName */ "./node_modules/@fluentui/merge-styles/lib-commonjs/styleToClassName.js"); +/** + * Registers a font face. + * @public + */ +function fontFace(font) { + var stylesheet = Stylesheet_1.Stylesheet.getInstance(); + var rule = (0, styleToClassName_1.serializeRuleEntries)((0, StyleOptionsState_1.getStyleOptions)(), font); + var className = stylesheet.classNameFromKey(rule); + if (className) { + return; + } + var name = stylesheet.getClassName(); + stylesheet.insertRule("@font-face{".concat(rule, "}"), true); + stylesheet.cacheClassName(name, rule, [], ['font-face', rule]); +} +exports.fontFace = fontFace; +//# sourceMappingURL=fontFace.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/getVendorSettings.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/getVendorSettings.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.setVendorSettings = exports.getVendorSettings = void 0; +var _vendorSettings; +function getVendorSettings() { + var _a; + if (!_vendorSettings) { + var doc = typeof document !== 'undefined' ? document : undefined; + var nav = typeof navigator !== 'undefined' ? navigator : undefined; + var userAgent = (_a = nav === null || nav === void 0 ? void 0 : nav.userAgent) === null || _a === void 0 ? void 0 : _a.toLowerCase(); + if (!doc) { + _vendorSettings = { + isWebkit: true, + isMoz: true, + isOpera: true, + isMs: true, + }; + } + else { + _vendorSettings = { + isWebkit: !!(doc && 'WebkitAppearance' in doc.documentElement.style), + isMoz: !!(userAgent && userAgent.indexOf('firefox') > -1), + isOpera: !!(userAgent && userAgent.indexOf('opera') > -1), + isMs: !!(nav && (/rv:11.0/i.test(nav.userAgent) || /Edge\/\d./i.test(navigator.userAgent))), + }; + } + } + return _vendorSettings; +} +exports.getVendorSettings = getVendorSettings; +/** + * Sets the vendor settings for prefixing and vendor specific operations. + */ +function setVendorSettings(vendorSettings) { + _vendorSettings = vendorSettings; +} +exports.setVendorSettings = setVendorSettings; +//# sourceMappingURL=getVendorSettings.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/index.js": +/*!*******************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/index.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.setRTL = exports.Stylesheet = exports.InjectionMode = exports.keyframes = exports.fontFace = exports.concatStyleSetsWithProps = exports.concatStyleSets = exports.mergeCssSets = exports.mergeStyleSets = exports.mergeCss = exports.mergeStyles = void 0; +var mergeStyles_1 = __webpack_require__(/*! ./mergeStyles */ "./node_modules/@fluentui/merge-styles/lib-commonjs/mergeStyles.js"); +Object.defineProperty(exports, "mergeStyles", ({ enumerable: true, get: function () { return mergeStyles_1.mergeStyles; } })); +Object.defineProperty(exports, "mergeCss", ({ enumerable: true, get: function () { return mergeStyles_1.mergeCss; } })); +var mergeStyleSets_1 = __webpack_require__(/*! ./mergeStyleSets */ "./node_modules/@fluentui/merge-styles/lib-commonjs/mergeStyleSets.js"); +Object.defineProperty(exports, "mergeStyleSets", ({ enumerable: true, get: function () { return mergeStyleSets_1.mergeStyleSets; } })); +Object.defineProperty(exports, "mergeCssSets", ({ enumerable: true, get: function () { return mergeStyleSets_1.mergeCssSets; } })); +var concatStyleSets_1 = __webpack_require__(/*! ./concatStyleSets */ "./node_modules/@fluentui/merge-styles/lib-commonjs/concatStyleSets.js"); +Object.defineProperty(exports, "concatStyleSets", ({ enumerable: true, get: function () { return concatStyleSets_1.concatStyleSets; } })); +var concatStyleSetsWithProps_1 = __webpack_require__(/*! ./concatStyleSetsWithProps */ "./node_modules/@fluentui/merge-styles/lib-commonjs/concatStyleSetsWithProps.js"); +Object.defineProperty(exports, "concatStyleSetsWithProps", ({ enumerable: true, get: function () { return concatStyleSetsWithProps_1.concatStyleSetsWithProps; } })); +var fontFace_1 = __webpack_require__(/*! ./fontFace */ "./node_modules/@fluentui/merge-styles/lib-commonjs/fontFace.js"); +Object.defineProperty(exports, "fontFace", ({ enumerable: true, get: function () { return fontFace_1.fontFace; } })); +var keyframes_1 = __webpack_require__(/*! ./keyframes */ "./node_modules/@fluentui/merge-styles/lib-commonjs/keyframes.js"); +Object.defineProperty(exports, "keyframes", ({ enumerable: true, get: function () { return keyframes_1.keyframes; } })); +var Stylesheet_1 = __webpack_require__(/*! ./Stylesheet */ "./node_modules/@fluentui/merge-styles/lib-commonjs/Stylesheet.js"); +Object.defineProperty(exports, "InjectionMode", ({ enumerable: true, get: function () { return Stylesheet_1.InjectionMode; } })); +Object.defineProperty(exports, "Stylesheet", ({ enumerable: true, get: function () { return Stylesheet_1.Stylesheet; } })); +var StyleOptionsState_1 = __webpack_require__(/*! ./StyleOptionsState */ "./node_modules/@fluentui/merge-styles/lib-commonjs/StyleOptionsState.js"); +Object.defineProperty(exports, "setRTL", ({ enumerable: true, get: function () { return StyleOptionsState_1.setRTL; } })); +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/merge-styles/lib-commonjs/version.js"); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/keyframes.js": +/*!***********************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/keyframes.js ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.keyframes = void 0; +var StyleOptionsState_1 = __webpack_require__(/*! ./StyleOptionsState */ "./node_modules/@fluentui/merge-styles/lib-commonjs/StyleOptionsState.js"); +var Stylesheet_1 = __webpack_require__(/*! ./Stylesheet */ "./node_modules/@fluentui/merge-styles/lib-commonjs/Stylesheet.js"); +var styleToClassName_1 = __webpack_require__(/*! ./styleToClassName */ "./node_modules/@fluentui/merge-styles/lib-commonjs/styleToClassName.js"); +/** + * Registers keyframe definitions. + * + * @public + */ +function keyframes(timeline) { + var stylesheet = Stylesheet_1.Stylesheet.getInstance(); + var rulesArray = []; + for (var prop in timeline) { + if (timeline.hasOwnProperty(prop)) { + rulesArray.push(prop, '{', (0, styleToClassName_1.serializeRuleEntries)((0, StyleOptionsState_1.getStyleOptions)(), timeline[prop]), '}'); + } + } + var rules = rulesArray.join(''); + var className = stylesheet.classNameFromKey(rules); + if (className) { + return className; + } + var name = stylesheet.getClassName(); + stylesheet.insertRule("@keyframes ".concat(name, "{").concat(rules, "}"), true); + stylesheet.cacheClassName(name, rules, [], ['keyframes', rules]); + return name; +} +exports.keyframes = keyframes; +//# sourceMappingURL=keyframes.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/mergeStyleSets.js": +/*!****************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/mergeStyleSets.js ***! + \****************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.mergeCssSets = exports.mergeStyleSets = void 0; +var concatStyleSets_1 = __webpack_require__(/*! ./concatStyleSets */ "./node_modules/@fluentui/merge-styles/lib-commonjs/concatStyleSets.js"); +var extractStyleParts_1 = __webpack_require__(/*! ./extractStyleParts */ "./node_modules/@fluentui/merge-styles/lib-commonjs/extractStyleParts.js"); +var StyleOptionsState_1 = __webpack_require__(/*! ./StyleOptionsState */ "./node_modules/@fluentui/merge-styles/lib-commonjs/StyleOptionsState.js"); +var styleToClassName_1 = __webpack_require__(/*! ./styleToClassName */ "./node_modules/@fluentui/merge-styles/lib-commonjs/styleToClassName.js"); +/** + * Takes in one or more style set objects, each consisting of a set of areas, + * each which will produce a class name. Using this is analogous to calling + * `mergeStyles` for each property in the object, but ensures we maintain the + * set ordering when multiple style sets are merged. + * + * @param styleSets - One or more style sets to be merged. + */ +function mergeStyleSets() { + var styleSets = []; + for (var _i = 0; _i < arguments.length; _i++) { + styleSets[_i] = arguments[_i]; + } + return mergeCssSets(styleSets, (0, StyleOptionsState_1.getStyleOptions)()); +} +exports.mergeStyleSets = mergeStyleSets; +/** + * Takes in one or more style set objects, each1consisting of a set of areas, + * each which will produce a class name. Using this is analogous to calling + * `mergeCss` for each property in the object, but ensures the + * set ordering when multiple style sets are merged. + * + * @param styleSets - One or more style sets to be merged. + * @param options - (optional) Options to use when creating rules. + */ +function mergeCssSets(styleSets, options) { + var classNameSet = { subComponentStyles: {} }; + var styleSet = styleSets[0]; + if (!styleSet && styleSets.length <= 1) { + return { subComponentStyles: {} }; + } + var concatenatedStyleSet = concatStyleSets_1.concatStyleSets.apply(void 0, styleSets); + var registrations = []; + for (var styleSetArea in concatenatedStyleSet) { + if (concatenatedStyleSet.hasOwnProperty(styleSetArea)) { + if (styleSetArea === 'subComponentStyles') { + classNameSet.subComponentStyles = concatenatedStyleSet.subComponentStyles || {}; + continue; + } + var styles = concatenatedStyleSet[styleSetArea]; + var _a = (0, extractStyleParts_1.extractStyleParts)(styles), classes = _a.classes, objects = _a.objects; + if (objects === null || objects === void 0 ? void 0 : objects.length) { + var registration = (0, styleToClassName_1.styleToRegistration)(options || {}, { displayName: styleSetArea }, objects); + if (registration) { + registrations.push(registration); + // FIXME: classNameSet invalid types - exposed in TS 4.5 - cast needed + classNameSet[styleSetArea] = classes.concat([registration.className]).join(' '); + } + } + else { + // FIXME: classNameSet invalid types - exposed in TS 4.5 - cast needed + classNameSet[styleSetArea] = classes.join(' '); + } + } + } + for (var _i = 0, registrations_1 = registrations; _i < registrations_1.length; _i++) { + var registration = registrations_1[_i]; + if (registration) { + (0, styleToClassName_1.applyRegistration)(registration, options === null || options === void 0 ? void 0 : options.specificityMultiplier); + } + } + return classNameSet; +} +exports.mergeCssSets = mergeCssSets; +//# sourceMappingURL=mergeStyleSets.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/mergeStyles.js": +/*!*************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/mergeStyles.js ***! + \*************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.mergeCss = exports.mergeStyles = void 0; +var extractStyleParts_1 = __webpack_require__(/*! ./extractStyleParts */ "./node_modules/@fluentui/merge-styles/lib-commonjs/extractStyleParts.js"); +var StyleOptionsState_1 = __webpack_require__(/*! ./StyleOptionsState */ "./node_modules/@fluentui/merge-styles/lib-commonjs/StyleOptionsState.js"); +var styleToClassName_1 = __webpack_require__(/*! ./styleToClassName */ "./node_modules/@fluentui/merge-styles/lib-commonjs/styleToClassName.js"); +/** + * Concatenation helper, which can merge class names together. Skips over falsey values. + * + * @public + */ +function mergeStyles() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + return mergeCss(args, (0, StyleOptionsState_1.getStyleOptions)()); +} +exports.mergeStyles = mergeStyles; +/** + * Concatenation helper, which can merge class names together. Skips over falsey values. + * Accepts a set of options that will be used when calculating styles. + * + * @public + */ +function mergeCss(args, options) { + var styleArgs = args instanceof Array ? args : [args]; + var _a = (0, extractStyleParts_1.extractStyleParts)(styleArgs), classes = _a.classes, objects = _a.objects; + if (objects.length) { + classes.push((0, styleToClassName_1.styleToClassName)(options || {}, objects)); + } + return classes.join(' '); +} +exports.mergeCss = mergeCss; +//# sourceMappingURL=mergeStyles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/styleToClassName.js": +/*!******************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/styleToClassName.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.styleToClassName = exports.applyRegistration = exports.styleToRegistration = exports.serializeRuleEntries = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Stylesheet_1 = __webpack_require__(/*! ./Stylesheet */ "./node_modules/@fluentui/merge-styles/lib-commonjs/Stylesheet.js"); +var kebabRules_1 = __webpack_require__(/*! ./transforms/kebabRules */ "./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/kebabRules.js"); +var prefixRules_1 = __webpack_require__(/*! ./transforms/prefixRules */ "./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/prefixRules.js"); +var provideUnits_1 = __webpack_require__(/*! ./transforms/provideUnits */ "./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/provideUnits.js"); +var rtlifyRules_1 = __webpack_require__(/*! ./transforms/rtlifyRules */ "./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/rtlifyRules.js"); +var tokenizeWithParentheses_1 = __webpack_require__(/*! ./tokenizeWithParentheses */ "./node_modules/@fluentui/merge-styles/lib-commonjs/tokenizeWithParentheses.js"); +var DISPLAY_NAME = 'displayName'; +function getDisplayName(rules) { + var rootStyle = rules && rules['&']; + return rootStyle ? rootStyle.displayName : undefined; +} +var globalSelectorRegExp = /\:global\((.+?)\)/g; +/** + * Finds comma separated selectors in a :global() e.g. ":global(.class1, .class2, .class3)" + * and wraps them each in their own global ":global(.class1), :global(.class2), :global(.class3)" + * + * @param selectorWithGlobals The selector to process + * @returns The updated selector + */ +function expandCommaSeparatedGlobals(selectorWithGlobals) { + // We the selector does not have a :global() we can shortcut + if (!globalSelectorRegExp.test(selectorWithGlobals)) { + return selectorWithGlobals; + } + var replacementInfo = []; + var findGlobal = /\:global\((.+?)\)/g; + var match = null; + // Create a result list for global selectors so we can replace them. + while ((match = findGlobal.exec(selectorWithGlobals))) { + // Only if the found selector is a comma separated list we'll process it. + if (match[1].indexOf(',') > -1) { + replacementInfo.push([ + match.index, + match.index + match[0].length, + // Wrap each of the found selectors in :global() + match[1] + .split(',') + .map(function (v) { return ":global(".concat(v.trim(), ")"); }) + .join(', '), + ]); + } + } + // Replace the found selectors with their wrapped variants in reverse order + return replacementInfo + .reverse() + .reduce(function (selector, _a) { + var matchIndex = _a[0], matchEndIndex = _a[1], replacement = _a[2]; + var prefix = selector.slice(0, matchIndex); + var suffix = selector.slice(matchEndIndex); + return prefix + replacement + suffix; + }, selectorWithGlobals); +} +function expandSelector(newSelector, currentSelector) { + if (newSelector.indexOf(':global(') >= 0) { + return newSelector.replace(globalSelectorRegExp, '$1'); + } + else if (newSelector.indexOf(':') === 0) { + return currentSelector + newSelector; + } + else if (newSelector.indexOf('&') < 0) { + return currentSelector + ' ' + newSelector; + } + return newSelector; +} +function extractSelector(currentSelector, rules, selector, value) { + if (rules === void 0) { rules = { __order: [] }; } + if (selector.indexOf('@') === 0) { + selector = selector + '{' + currentSelector; + extractRules([value], rules, selector); + } + else if (selector.indexOf(',') > -1) { + expandCommaSeparatedGlobals(selector) + .split(',') + .map(function (s) { return s.trim(); }) + .forEach(function (separatedSelector) { + return extractRules([value], rules, expandSelector(separatedSelector, currentSelector)); + }); + } + else { + extractRules([value], rules, expandSelector(selector, currentSelector)); + } +} +function extractRules(args, rules, currentSelector) { + if (rules === void 0) { rules = { __order: [] }; } + if (currentSelector === void 0) { currentSelector = '&'; } + var stylesheet = Stylesheet_1.Stylesheet.getInstance(); + var currentRules = rules[currentSelector]; + if (!currentRules) { + currentRules = {}; + rules[currentSelector] = currentRules; + rules.__order.push(currentSelector); + } + for (var _i = 0, args_1 = args; _i < args_1.length; _i++) { + var arg = args_1[_i]; + // If the arg is a string, we need to look up the class map and merge. + if (typeof arg === 'string') { + var expandedRules = stylesheet.argsFromClassName(arg); + if (expandedRules) { + extractRules(expandedRules, rules, currentSelector); + } + // Else if the arg is an array, we need to recurse in. + } + else if (Array.isArray(arg)) { + extractRules(arg, rules, currentSelector); + } + else { + for (var prop in arg) { + if (arg.hasOwnProperty(prop)) { + var propValue = arg[prop]; + if (prop === 'selectors') { + // every child is a selector. + var selectors = arg.selectors; + for (var newSelector in selectors) { + if (selectors.hasOwnProperty(newSelector)) { + extractSelector(currentSelector, rules, newSelector, selectors[newSelector]); + } + } + } + else if (typeof propValue === 'object') { + // prop is a selector. + if (propValue !== null) { + extractSelector(currentSelector, rules, prop, propValue); + } + } + else { + if (propValue !== undefined) { + // Else, add the rule to the currentSelector. + if (prop === 'margin' || prop === 'padding') { + expandQuads(currentRules, prop, propValue); + } + else { + currentRules[prop] = propValue; + } + } + } + } + } + } + } + return rules; +} +function expandQuads(currentRules, name, value) { + var parts = typeof value === 'string' ? (0, tokenizeWithParentheses_1.tokenizeWithParentheses)(value) : [value]; + if (parts.length === 0) { + parts.push(value); + } + if (parts[parts.length - 1] === '!important') { + // Remove !important from parts, and append it to each part individually + parts = parts.slice(0, -1).map(function (p) { return p + ' !important'; }); + } + currentRules[name + 'Top'] = parts[0]; + currentRules[name + 'Right'] = parts[1] || parts[0]; + currentRules[name + 'Bottom'] = parts[2] || parts[0]; + currentRules[name + 'Left'] = parts[3] || parts[1] || parts[0]; +} +function getKeyForRules(options, rules) { + var serialized = [options.rtl ? 'rtl' : 'ltr']; + var hasProps = false; + for (var _i = 0, _a = rules.__order; _i < _a.length; _i++) { + var selector = _a[_i]; + serialized.push(selector); + var rulesForSelector = rules[selector]; + for (var propName in rulesForSelector) { + if (rulesForSelector.hasOwnProperty(propName) && rulesForSelector[propName] !== undefined) { + hasProps = true; + serialized.push(propName, rulesForSelector[propName]); + } + } + } + return hasProps ? serialized.join('') : undefined; +} +function repeatString(target, count) { + if (count <= 0) { + return ''; + } + if (count === 1) { + return target; + } + return target + repeatString(target, count - 1); +} +function serializeRuleEntries(options, ruleEntries) { + if (!ruleEntries) { + return ''; + } + var allEntries = []; + for (var entry in ruleEntries) { + if (ruleEntries.hasOwnProperty(entry) && entry !== DISPLAY_NAME && ruleEntries[entry] !== undefined) { + allEntries.push(entry, ruleEntries[entry]); + } + } + // Apply transforms. + for (var i = 0; i < allEntries.length; i += 2) { + (0, kebabRules_1.kebabRules)(allEntries, i); + (0, provideUnits_1.provideUnits)(allEntries, i); + (0, rtlifyRules_1.rtlifyRules)(options, allEntries, i); + (0, prefixRules_1.prefixRules)(allEntries, i); + } + // Apply punctuation. + for (var i = 1; i < allEntries.length; i += 4) { + allEntries.splice(i, 1, ':', allEntries[i], ';'); + } + return allEntries.join(''); +} +exports.serializeRuleEntries = serializeRuleEntries; +function styleToRegistration(options) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var rules = extractRules(args); + var key = getKeyForRules(options, rules); + if (key) { + var stylesheet = Stylesheet_1.Stylesheet.getInstance(); + var registration = { + className: stylesheet.classNameFromKey(key), + key: key, + args: args, + }; + if (!registration.className) { + registration.className = stylesheet.getClassName(getDisplayName(rules)); + var rulesToInsert = []; + for (var _a = 0, _b = rules.__order; _a < _b.length; _a++) { + var selector = _b[_a]; + rulesToInsert.push(selector, serializeRuleEntries(options, rules[selector])); + } + registration.rulesToInsert = rulesToInsert; + } + return registration; + } + return undefined; +} +exports.styleToRegistration = styleToRegistration; +/** + * Insert style to stylesheet. + * @param registration Style registration. + * @param specificityMultiplier Number of times classname selector is repeated in the css rule. + * This is to increase css specificity in case it's needed. Default to 1. + */ +function applyRegistration(registration, specificityMultiplier) { + if (specificityMultiplier === void 0) { specificityMultiplier = 1; } + var stylesheet = Stylesheet_1.Stylesheet.getInstance(); + var className = registration.className, key = registration.key, args = registration.args, rulesToInsert = registration.rulesToInsert; + if (rulesToInsert) { + // rulesToInsert is an ordered array of selector/rule pairs. + for (var i = 0; i < rulesToInsert.length; i += 2) { + var rules = rulesToInsert[i + 1]; + if (rules) { + var selector = rulesToInsert[i]; + selector = selector.replace(/&/g, repeatString(".".concat(registration.className), specificityMultiplier)); + // Insert. Note if a media query, we must close the query with a final bracket. + var processedRule = "".concat(selector, "{").concat(rules, "}").concat(selector.indexOf('@') === 0 ? '}' : ''); + stylesheet.insertRule(processedRule); + } + } + stylesheet.cacheClassName(className, key, args, rulesToInsert); + } +} +exports.applyRegistration = applyRegistration; +function styleToClassName(options) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var registration = styleToRegistration.apply(void 0, (0, tslib_1.__spreadArray)([options], args, false)); + if (registration) { + applyRegistration(registration, options.specificityMultiplier); + return registration.className; + } + return ''; +} +exports.styleToClassName = styleToClassName; +//# sourceMappingURL=styleToClassName.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/tokenizeWithParentheses.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/tokenizeWithParentheses.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.tokenizeWithParentheses = void 0; +/** + * Split a string into tokens separated by whitespace, except all text within parentheses + * is treated as a single token (whitespace is ignored within parentheses). + * + * Unlike String.split(' '), multiple consecutive space characters are collapsed and + * removed from the returned array (including leading and trailing spaces). + * + * For example: + * `tokenizeWithParentheses("3px calc(var(--x) / 2) 9px 0 ")` + * => `["3px", "calc(var(--x) / 2)", "9px", "0"]` + * + * @returns The array of tokens. Returns an empty array if the string was empty or contained only whitespace. + */ +function tokenizeWithParentheses(value) { + var parts = []; + var partStart = 0; + var parens = 0; + for (var i = 0; i < value.length; i++) { + switch (value[i]) { + case '(': + parens++; + break; + case ')': + if (parens) { + parens--; + } + break; + case '\t': + case ' ': + if (!parens) { + // Add the new part if it's not an empty string + if (i > partStart) { + parts.push(value.substring(partStart, i)); + } + partStart = i + 1; + } + break; + } + } + // Add the last part + if (partStart < value.length) { + parts.push(value.substring(partStart)); + } + return parts; +} +exports.tokenizeWithParentheses = tokenizeWithParentheses; +//# sourceMappingURL=tokenizeWithParentheses.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/kebabRules.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/kebabRules.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.kebabRules = void 0; +var rules = {}; +function kebabRules(rulePairs, index) { + var rule = rulePairs[index]; + if (rule.charAt(0) !== '-') { + rulePairs[index] = rules[rule] = rules[rule] || rule.replace(/([A-Z])/g, '-$1').toLowerCase(); + } +} +exports.kebabRules = kebabRules; +//# sourceMappingURL=kebabRules.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/prefixRules.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/prefixRules.js ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.prefixRules = void 0; +var getVendorSettings_1 = __webpack_require__(/*! ../getVendorSettings */ "./node_modules/@fluentui/merge-styles/lib-commonjs/getVendorSettings.js"); +var autoPrefixNames = { + 'user-select': 1, +}; +function prefixRules(rulePairs, index) { + var vendorSettings = (0, getVendorSettings_1.getVendorSettings)(); + var name = rulePairs[index]; + if (autoPrefixNames[name]) { + var value = rulePairs[index + 1]; + if (autoPrefixNames[name]) { + if (vendorSettings.isWebkit) { + rulePairs.push('-webkit-' + name, value); + } + if (vendorSettings.isMoz) { + rulePairs.push('-moz-' + name, value); + } + if (vendorSettings.isMs) { + rulePairs.push('-ms-' + name, value); + } + if (vendorSettings.isOpera) { + rulePairs.push('-o-' + name, value); + } + } + } +} +exports.prefixRules = prefixRules; +//# sourceMappingURL=prefixRules.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/provideUnits.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/provideUnits.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.provideUnits = void 0; +var NON_PIXEL_NUMBER_PROPS = [ + 'column-count', + 'font-weight', + 'flex', + 'flex-grow', + 'flex-shrink', + 'fill-opacity', + 'opacity', + 'order', + 'z-index', + 'zoom', +]; +function provideUnits(rulePairs, index) { + var name = rulePairs[index]; + var value = rulePairs[index + 1]; + if (typeof value === 'number') { + var isNonPixelProp = NON_PIXEL_NUMBER_PROPS.indexOf(name) > -1; + var isVariableOrPrefixed = name.indexOf('--') > -1; + var unit = isNonPixelProp || isVariableOrPrefixed ? '' : 'px'; + rulePairs[index + 1] = "".concat(value).concat(unit); + } +} +exports.provideUnits = provideUnits; +//# sourceMappingURL=provideUnits.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/rtlifyRules.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/transforms/rtlifyRules.js ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +var _a; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.rtlifyRules = void 0; +var LEFT = 'left'; +var RIGHT = 'right'; +var NO_FLIP = '@noflip'; +var NAME_REPLACEMENTS = (_a = {}, + _a[LEFT] = RIGHT, + _a[RIGHT] = LEFT, + _a); +var VALUE_REPLACEMENTS = { + 'w-resize': 'e-resize', + 'sw-resize': 'se-resize', + 'nw-resize': 'ne-resize', +}; +/** + * RTLifies the rulePair in the array at the current index. This mutates the array for performance + * reasons. + */ +function rtlifyRules(options, rulePairs, index) { + if (options.rtl) { + var name_1 = rulePairs[index]; + if (!name_1) { + return; + } + var value = rulePairs[index + 1]; + if (typeof value === 'string' && value.indexOf(NO_FLIP) >= 0) { + rulePairs[index + 1] = value.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g, ''); + } + else if (name_1.indexOf(LEFT) >= 0) { + rulePairs[index] = name_1.replace(LEFT, RIGHT); + } + else if (name_1.indexOf(RIGHT) >= 0) { + rulePairs[index] = name_1.replace(RIGHT, LEFT); + } + else if (String(value).indexOf(LEFT) >= 0) { + rulePairs[index + 1] = value.replace(LEFT, RIGHT); + } + else if (String(value).indexOf(RIGHT) >= 0) { + rulePairs[index + 1] = value.replace(RIGHT, LEFT); + } + else if (NAME_REPLACEMENTS[name_1]) { + rulePairs[index] = NAME_REPLACEMENTS[name_1]; + } + else if (VALUE_REPLACEMENTS[value]) { + rulePairs[index + 1] = VALUE_REPLACEMENTS[value]; + } + else { + switch (name_1) { + case 'margin': + case 'padding': + rulePairs[index + 1] = flipQuad(value); + break; + case 'box-shadow': + rulePairs[index + 1] = negateNum(value, 0); + break; + } + } + } +} +exports.rtlifyRules = rtlifyRules; +/** + * Given a string value in a space delimited format (e.g. "1 2 3 4"), negates a particular value. + */ +function negateNum(value, partIndex) { + var parts = value.split(' '); + var numberVal = parseInt(parts[partIndex], 10); + parts[0] = parts[0].replace(String(numberVal), String(numberVal * -1)); + return parts.join(' '); +} +/** + * Given a string quad, flips the left and right values. + */ +function flipQuad(value) { + if (typeof value === 'string') { + var parts = value.split(' '); + if (parts.length === 4) { + return "".concat(parts[0], " ").concat(parts[3], " ").concat(parts[2], " ").concat(parts[1]); + } + } + return value; +} +//# sourceMappingURL=rtlifyRules.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/merge-styles/lib-commonjs/version.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/merge-styles/lib-commonjs/version.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +// Do not modify this file; it is generated as part of publish. +// The checked in version is a placeholder only and will not be updated. +var set_version_1 = __webpack_require__(/*! @fluentui/set-version */ "./node_modules/@fluentui/set-version/lib-commonjs/index.js"); +(0, set_version_1.setVersion)('@fluentui/merge-styles', '8.5.12'); +//# sourceMappingURL=version.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-focus/lib-commonjs/components/FocusZone/FocusZone.js": +/*!*******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react-focus/lib-commonjs/components/FocusZone/FocusZone.js ***! + \*******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FocusZone = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var FocusZone_types_1 = __webpack_require__(/*! ./FocusZone.types */ "./node_modules/@fluentui/react-focus/lib-commonjs/components/FocusZone/FocusZone.types.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var merge_styles_1 = __webpack_require__(/*! @fluentui/merge-styles */ "./node_modules/@fluentui/merge-styles/lib-commonjs/index.js"); +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var IS_FOCUSABLE_ATTRIBUTE = 'data-is-focusable'; +var IS_ENTER_DISABLED_ATTRIBUTE = 'data-disable-click-on-enter'; +var FOCUSZONE_ID_ATTRIBUTE = 'data-focuszone-id'; +var TABINDEX = 'tabindex'; +var NO_VERTICAL_WRAP = 'data-no-vertical-wrap'; +var NO_HORIZONTAL_WRAP = 'data-no-horizontal-wrap'; +var LARGE_DISTANCE_FROM_CENTER = 999999999; +var LARGE_NEGATIVE_DISTANCE_FROM_CENTER = -999999999; +var focusZoneStyles; +var focusZoneClass = 'ms-FocusZone'; +/** + * Raises a click on a target element based on a keyboard event. + */ +function raiseClickFromKeyboardEvent(target, ev) { + var event; + if (typeof MouseEvent === 'function') { + event = new MouseEvent('click', { + ctrlKey: ev === null || ev === void 0 ? void 0 : ev.ctrlKey, + metaKey: ev === null || ev === void 0 ? void 0 : ev.metaKey, + shiftKey: ev === null || ev === void 0 ? void 0 : ev.shiftKey, + altKey: ev === null || ev === void 0 ? void 0 : ev.altKey, + bubbles: ev === null || ev === void 0 ? void 0 : ev.bubbles, + cancelable: ev === null || ev === void 0 ? void 0 : ev.cancelable, + }); + } + else { + event = document.createEvent('MouseEvents'); + // eslint-disable-next-line deprecation/deprecation + event.initMouseEvent('click', ev ? ev.bubbles : false, ev ? ev.cancelable : false, window, // not using getWindow() since this can only be run client side + 0, // detail + 0, // screen x + 0, // screen y + 0, // client x + 0, // client y + ev ? ev.ctrlKey : false, ev ? ev.altKey : false, ev ? ev.shiftKey : false, ev ? ev.metaKey : false, 0, // button + null); + } + target.dispatchEvent(event); +} +// Helper function that will return a class for when the root is focused +function getRootClass() { + if (!focusZoneStyles) { + focusZoneStyles = (0, merge_styles_1.mergeStyles)({ + selectors: { + ':focus': { + outline: 'none', + }, + }, + }, focusZoneClass); + } + return focusZoneStyles; +} +var _allInstances = {}; +var _outerZones = new Set(); +var ALLOWED_INPUT_TYPES = ['text', 'number', 'password', 'email', 'tel', 'url', 'search', 'textarea']; +var ALLOW_VIRTUAL_ELEMENTS = false; +var FocusZone = /** @class */ (function (_super) { + tslib_1.__extends(FocusZone, _super); + function FocusZone(props) { + var _this = this; + var _a, _b, _c, _d; + _this = _super.call(this, props) || this; + _this._root = React.createRef(); + _this._mergedRef = (0, utilities_1.createMergedRef)(); + _this._onFocus = function (ev) { + if (_this._portalContainsElement(ev.target)) { + // If the event target is inside a portal do not process the event. + return; + } + var _a = _this.props, onActiveElementChanged = _a.onActiveElementChanged, + // eslint-disable-next-line deprecation/deprecation + doNotAllowFocusEventToPropagate = _a.doNotAllowFocusEventToPropagate, stopFocusPropagation = _a.stopFocusPropagation, + // eslint-disable-next-line deprecation/deprecation + onFocusNotification = _a.onFocusNotification, onFocus = _a.onFocus, shouldFocusInnerElementWhenReceivedFocus = _a.shouldFocusInnerElementWhenReceivedFocus, defaultTabbableElement = _a.defaultTabbableElement; + var isImmediateDescendant = _this._isImmediateDescendantOfZone(ev.target); + var newActiveElement; + if (isImmediateDescendant) { + newActiveElement = ev.target; + } + else { + var parentElement = ev.target; + while (parentElement && parentElement !== _this._root.current) { + if ((0, utilities_1.isElementTabbable)(parentElement) && _this._isImmediateDescendantOfZone(parentElement)) { + newActiveElement = parentElement; + break; + } + parentElement = (0, utilities_1.getParent)(parentElement, ALLOW_VIRTUAL_ELEMENTS); + } + } + // If an inner focusable element should be focused when FocusZone container receives focus + if (shouldFocusInnerElementWhenReceivedFocus && ev.target === _this._root.current) { + var maybeElementToFocus = defaultTabbableElement && + typeof defaultTabbableElement === 'function' && + _this._root.current && + defaultTabbableElement(_this._root.current); + // try to focus defaultTabbable element + if (maybeElementToFocus && (0, utilities_1.isElementTabbable)(maybeElementToFocus)) { + newActiveElement = maybeElementToFocus; + maybeElementToFocus.focus(); + } + else { + // force focus on first focusable element + _this.focus(true); + if (_this._activeElement) { + // set to null as new active element was handled in method above + newActiveElement = null; + } + } + } + var initialElementFocused = !_this._activeElement; + // If the new active element is a child of this zone and received focus, + // update alignment an immediate descendant + if (newActiveElement && newActiveElement !== _this._activeElement) { + if (isImmediateDescendant || initialElementFocused) { + _this._setFocusAlignment(newActiveElement, true, true); + } + _this._activeElement = newActiveElement; + if (initialElementFocused) { + _this._updateTabIndexes(); + } + } + if (onActiveElementChanged) { + onActiveElementChanged(_this._activeElement, ev); + } + if (stopFocusPropagation || doNotAllowFocusEventToPropagate) { + ev.stopPropagation(); + } + if (onFocus) { + onFocus(ev); + } + else if (onFocusNotification) { + onFocusNotification(); + } + }; + _this._onBlur = function () { + _this._setParkedFocus(false); + }; + _this._onMouseDown = function (ev) { + if (_this._portalContainsElement(ev.target)) { + // If the event target is inside a portal do not process the event. + return; + } + var disabled = _this.props.disabled; + if (disabled) { + return; + } + var target = ev.target; + var path = []; + while (target && target !== _this._root.current) { + path.push(target); + target = (0, utilities_1.getParent)(target, ALLOW_VIRTUAL_ELEMENTS); + } + while (path.length) { + target = path.pop(); + if (target && (0, utilities_1.isElementTabbable)(target)) { + _this._setActiveElement(target, true); + } + if ((0, utilities_1.isElementFocusZone)(target)) { + // Stop here since the focus zone will take care of its own children. + break; + } + } + }; + /** + * Handle the keystrokes. + */ + _this._onKeyDown = function (ev, theme) { + if (_this._portalContainsElement(ev.target)) { + // If the event target is inside a portal do not process the event. + return; + } + // eslint-disable-next-line deprecation/deprecation + var _a = _this.props, direction = _a.direction, disabled = _a.disabled, isInnerZoneKeystroke = _a.isInnerZoneKeystroke, pagingSupportDisabled = _a.pagingSupportDisabled, shouldEnterInnerZone = _a.shouldEnterInnerZone; + if (disabled) { + return; + } + if (_this.props.onKeyDown) { + _this.props.onKeyDown(ev); + } + // If the default has been prevented, do not process keyboard events. + if (ev.isDefaultPrevented()) { + return; + } + if (_this._getDocument().activeElement === _this._root.current && _this._isInnerZone) { + // If this element has focus, it is being controlled by a parent. + // Ignore the keystroke. + return; + } + if (((shouldEnterInnerZone && shouldEnterInnerZone(ev)) || (isInnerZoneKeystroke && isInnerZoneKeystroke(ev))) && + _this._isImmediateDescendantOfZone(ev.target)) { + // Try to focus + var innerZone = _this._getFirstInnerZone(); + if (innerZone) { + if (!innerZone.focus(true)) { + return; + } + } + else if ((0, utilities_1.isElementFocusSubZone)(ev.target)) { + if (!_this.focusElement((0, utilities_1.getNextElement)(ev.target, ev.target.firstChild, true))) { + return; + } + } + else { + return; + } + } + else if (ev.altKey) { + return; + } + else { + // eslint-disable-next-line @fluentui/deprecated-keyboard-event-props, deprecation/deprecation + switch (ev.which) { + case utilities_1.KeyCodes.space: + if (_this._shouldRaiseClicksOnSpace && _this._tryInvokeClickForFocusable(ev.target, ev)) { + break; + } + return; + case utilities_1.KeyCodes.left: + if (direction !== FocusZone_types_1.FocusZoneDirection.vertical) { + _this._preventDefaultWhenHandled(ev); + if (_this._moveFocusLeft(theme)) { + break; + } + } + return; + case utilities_1.KeyCodes.right: + if (direction !== FocusZone_types_1.FocusZoneDirection.vertical) { + _this._preventDefaultWhenHandled(ev); + if (_this._moveFocusRight(theme)) { + break; + } + } + return; + case utilities_1.KeyCodes.up: + if (direction !== FocusZone_types_1.FocusZoneDirection.horizontal) { + _this._preventDefaultWhenHandled(ev); + if (_this._moveFocusUp()) { + break; + } + } + return; + case utilities_1.KeyCodes.down: + if (direction !== FocusZone_types_1.FocusZoneDirection.horizontal) { + _this._preventDefaultWhenHandled(ev); + if (_this._moveFocusDown()) { + break; + } + } + return; + case utilities_1.KeyCodes.pageDown: + if (!pagingSupportDisabled && _this._moveFocusPaging(true)) { + break; + } + return; + case utilities_1.KeyCodes.pageUp: + if (!pagingSupportDisabled && _this._moveFocusPaging(false)) { + break; + } + return; + case utilities_1.KeyCodes.tab: + if ( + // eslint-disable-next-line deprecation/deprecation + _this.props.allowTabKey || + _this.props.handleTabKey === FocusZone_types_1.FocusZoneTabbableElements.all || + (_this.props.handleTabKey === FocusZone_types_1.FocusZoneTabbableElements.inputOnly && + _this._isElementInput(ev.target))) { + var focusChanged = false; + _this._processingTabKey = true; + if (direction === FocusZone_types_1.FocusZoneDirection.vertical || + !_this._shouldWrapFocus(_this._activeElement, NO_HORIZONTAL_WRAP)) { + focusChanged = ev.shiftKey ? _this._moveFocusUp() : _this._moveFocusDown(); + } + else { + var tabWithDirection = (0, utilities_1.getRTL)(theme) ? !ev.shiftKey : ev.shiftKey; + focusChanged = tabWithDirection ? _this._moveFocusLeft(theme) : _this._moveFocusRight(theme); + } + _this._processingTabKey = false; + if (focusChanged) { + break; + } + else if (_this.props.shouldResetActiveElementWhenTabFromZone) { + _this._activeElement = null; + } + } + return; + case utilities_1.KeyCodes.home: + if (_this._isContentEditableElement(ev.target) || + (_this._isElementInput(ev.target) && + !_this._shouldInputLoseFocus(ev.target, false))) { + return false; + } + var firstChild = _this._root.current && _this._root.current.firstChild; + if (_this._root.current && + firstChild && + _this.focusElement((0, utilities_1.getNextElement)(_this._root.current, firstChild, true))) { + break; + } + return; + case utilities_1.KeyCodes.end: + if (_this._isContentEditableElement(ev.target) || + (_this._isElementInput(ev.target) && + !_this._shouldInputLoseFocus(ev.target, true))) { + return false; + } + var lastChild = _this._root.current && _this._root.current.lastChild; + if (_this._root.current && + _this.focusElement((0, utilities_1.getPreviousElement)(_this._root.current, lastChild, true, true, true))) { + break; + } + return; + case utilities_1.KeyCodes.enter: + if (_this._shouldRaiseClicksOnEnter && _this._tryInvokeClickForFocusable(ev.target, ev)) { + break; + } + return; + default: + return; + } + } + ev.preventDefault(); + ev.stopPropagation(); + }; + _this._getHorizontalDistanceFromCenter = function (isForward, + // eslint-disable-next-line deprecation/deprecation + activeRect, + // eslint-disable-next-line deprecation/deprecation + targetRect) { + // eslint-disable-next-line deprecation/deprecation + var leftAlignment = _this._focusAlignment.left || _this._focusAlignment.x || 0; + // ClientRect values can be floats that differ by very small fractions of a decimal. + // If the difference between top and bottom are within a pixel then we should treat + // them as equivalent by using Math.floor. For instance 5.2222 and 5.222221 should be equivalent, + // but without Math.Floor they will be handled incorrectly. + var targetRectTop = Math.floor(targetRect.top); + var activeRectBottom = Math.floor(activeRect.bottom); + var targetRectBottom = Math.floor(targetRect.bottom); + var activeRectTop = Math.floor(activeRect.top); + var isValidCandidateOnpagingDown = isForward && targetRectTop > activeRectBottom; + var isValidCandidateOnpagingUp = !isForward && targetRectBottom < activeRectTop; + if (isValidCandidateOnpagingDown || isValidCandidateOnpagingUp) { + if (leftAlignment >= targetRect.left && leftAlignment <= targetRect.left + targetRect.width) { + return 0; + } + return Math.abs(targetRect.left + targetRect.width / 2 - leftAlignment); + } + if (!_this._shouldWrapFocus(_this._activeElement, NO_VERTICAL_WRAP)) { + return LARGE_NEGATIVE_DISTANCE_FROM_CENTER; + } + return LARGE_DISTANCE_FROM_CENTER; + }; + // Manage componentRef resolution. + (0, utilities_1.initializeComponentRef)(_this); + if (true) { + (0, utilities_1.warnDeprecations)('FocusZone', props, { + rootProps: undefined, + allowTabKey: 'handleTabKey', + elementType: 'as', + ariaDescribedBy: 'aria-describedby', + ariaLabelledBy: 'aria-labelledby', + }); + } + _this._id = (0, utilities_1.getId)('FocusZone'); + _this._focusAlignment = { + left: 0, + top: 0, + }; + _this._processingTabKey = false; + var shouldRaiseClicksFallback = (_b = (_a = props.shouldRaiseClicks) !== null && _a !== void 0 ? _a : FocusZone.defaultProps.shouldRaiseClicks) !== null && _b !== void 0 ? _b : true; + _this._shouldRaiseClicksOnEnter = (_c = props.shouldRaiseClicksOnEnter) !== null && _c !== void 0 ? _c : shouldRaiseClicksFallback; + _this._shouldRaiseClicksOnSpace = (_d = props.shouldRaiseClicksOnSpace) !== null && _d !== void 0 ? _d : shouldRaiseClicksFallback; + return _this; + } + /** Used for testing purposes only. */ + FocusZone.getOuterZones = function () { + return _outerZones.size; + }; + /** + * Handle global tab presses so that we can patch tabindexes on the fly. + * HEADS UP: This must not be an arrow function in order to be referentially equal among instances + * for ref counting to work correctly! + */ + FocusZone._onKeyDownCapture = function (ev) { + // eslint-disable-next-line deprecation/deprecation, @fluentui/deprecated-keyboard-event-props + if (ev.which === utilities_1.KeyCodes.tab) { + _outerZones.forEach(function (zone) { return zone._updateTabIndexes(); }); + } + }; + FocusZone.prototype.componentDidMount = function () { + var root = this._root.current; + _allInstances[this._id] = this; + if (root) { + var parentElement = (0, utilities_1.getParent)(root, ALLOW_VIRTUAL_ELEMENTS); + while (parentElement && parentElement !== this._getDocument().body && parentElement.nodeType === 1) { + if ((0, utilities_1.isElementFocusZone)(parentElement)) { + this._isInnerZone = true; + break; + } + parentElement = (0, utilities_1.getParent)(parentElement, ALLOW_VIRTUAL_ELEMENTS); + } + if (!this._isInnerZone) { + _outerZones.add(this); + this._root.current && this._root.current.addEventListener('keydown', FocusZone._onKeyDownCapture, true); + } + this._root.current && this._root.current.addEventListener('blur', this._onBlur, true); + // Assign initial tab indexes so that we can set initial focus as appropriate. + this._updateTabIndexes(); + if (this.props.defaultTabbableElement && typeof this.props.defaultTabbableElement === 'string') { + this._activeElement = this._getDocument().querySelector(this.props.defaultTabbableElement); + // eslint-disable-next-line deprecation/deprecation + } + else if (this.props.defaultActiveElement) { + // eslint-disable-next-line deprecation/deprecation + this._activeElement = this._getDocument().querySelector(this.props.defaultActiveElement); + } + if (this.props.shouldFocusOnMount) { + this.focus(); + } + } + }; + FocusZone.prototype.componentDidUpdate = function () { + var root = this._root.current; + var doc = this._getDocument(); + // If either _activeElement or _defaultFocusElement are no longer contained by _root, + // reset those variables (and update tab indexes) to avoid memory leaks + if ((this._activeElement && !(0, utilities_1.elementContains)(this._root.current, this._activeElement, ALLOW_VIRTUAL_ELEMENTS)) || + (this._defaultFocusElement && + !(0, utilities_1.elementContains)(this._root.current, this._defaultFocusElement, ALLOW_VIRTUAL_ELEMENTS))) { + this._activeElement = null; + this._defaultFocusElement = null; + this._updateTabIndexes(); + } + if (!this.props.preventFocusRestoration && + doc && + this._lastIndexPath && + (doc.activeElement === doc.body || doc.activeElement === null || doc.activeElement === root)) { + // The element has been removed after the render, attempt to restore focus. + var elementToFocus = (0, utilities_1.getFocusableByIndexPath)(root, this._lastIndexPath); + if (elementToFocus) { + this._setActiveElement(elementToFocus, true); + elementToFocus.focus(); + this._setParkedFocus(false); + } + else { + // We had a focus path to restore, but now that path is unresolvable. Park focus + // on the container until we can try again. + this._setParkedFocus(true); + } + } + }; + FocusZone.prototype.componentWillUnmount = function () { + delete _allInstances[this._id]; + if (!this._isInnerZone) { + _outerZones.delete(this); + this._root.current && this._root.current.removeEventListener('keydown', FocusZone._onKeyDownCapture, true); + } + if (this._root.current) { + this._root.current.removeEventListener('blur', this._onBlur, true); + } + this._activeElement = null; + this._defaultFocusElement = null; + }; + FocusZone.prototype.render = function () { + var _this = this; + // eslint-disable-next-line deprecation/deprecation + var _a = this.props, tag = _a.as, elementType = _a.elementType, rootProps = _a.rootProps, ariaDescribedBy = _a.ariaDescribedBy, ariaLabelledBy = _a.ariaLabelledBy, className = _a.className; + var divProps = (0, utilities_1.getNativeProps)(this.props, utilities_1.htmlElementProperties); + var Tag = tag || elementType || 'div'; + // Note, right before rendering/reconciling proceeds, we need to record if focus + // was in the zone before the update. This helper will track this and, if focus + // was actually in the zone, what the index path to the element is at this time. + // Then, later in componentDidUpdate, we can evaluate if we need to restore it in + // the case the element was removed. + this._evaluateFocusBeforeRender(); + // Only support RTL defined in global theme, not contextual theme/RTL. + var theme = (0, style_utilities_1.getTheme)(); + return (React.createElement(Tag, tslib_1.__assign({ "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy }, divProps, rootProps, { + // Once the getClassName correctly memoizes inputs this should + // be replaced so that className is passed to getRootClass and is included there so + // the class names will always be in the same order. + className: (0, utilities_1.css)(getRootClass(), className), + // eslint-disable-next-line deprecation/deprecation + ref: this._mergedRef(this.props.elementRef, this._root), "data-focuszone-id": this._id, + // eslint-disable-next-line react/jsx-no-bind + onKeyDown: function (ev) { return _this._onKeyDown(ev, theme); }, onFocus: this._onFocus, onMouseDownCapture: this._onMouseDown }), this.props.children)); + }; + /** + * Sets focus to the first tabbable item in the zone. + * @param forceIntoFirstElement - If true, focus will be forced into the first element, even + * if focus is already in the focus zone. + * @param bypassHiddenElements - If true, focus will be not be set on hidden elements. + * @returns True if focus could be set to an active element, false if no operation was taken. + */ + FocusZone.prototype.focus = function (forceIntoFirstElement, bypassHiddenElements) { + if (forceIntoFirstElement === void 0) { forceIntoFirstElement = false; } + if (bypassHiddenElements === void 0) { bypassHiddenElements = false; } + if (this._root.current) { + if (!forceIntoFirstElement && + this._root.current.getAttribute(IS_FOCUSABLE_ATTRIBUTE) === 'true' && + this._isInnerZone) { + var ownerZoneElement = this._getOwnerZone(this._root.current); + if (ownerZoneElement !== this._root.current) { + var ownerZone = _allInstances[ownerZoneElement.getAttribute(FOCUSZONE_ID_ATTRIBUTE)]; + return !!ownerZone && ownerZone.focusElement(this._root.current); + } + return false; + } + else if (!forceIntoFirstElement && + this._activeElement && + (0, utilities_1.elementContains)(this._root.current, this._activeElement) && + (0, utilities_1.isElementTabbable)(this._activeElement) && + (!bypassHiddenElements || (0, utilities_1.isElementVisibleAndNotHidden)(this._activeElement))) { + this._activeElement.focus(); + return true; + } + else { + var firstChild = this._root.current.firstChild; + return this.focusElement((0, utilities_1.getNextElement)(this._root.current, firstChild, true, undefined, undefined, undefined, undefined, undefined, bypassHiddenElements)); + } + } + return false; + }; + /** + * Sets focus to the last tabbable item in the zone. + * @returns True if focus could be set to an active element, false if no operation was taken. + */ + FocusZone.prototype.focusLast = function () { + if (this._root.current) { + var lastChild = this._root.current && this._root.current.lastChild; + return this.focusElement((0, utilities_1.getPreviousElement)(this._root.current, lastChild, true, true, true)); + } + return false; + }; + /** + * Sets focus to a specific child element within the zone. This can be used in conjunction with + * shouldReceiveFocus to create delayed focus scenarios (like animate the scroll position to the correct + * location and then focus.) + * @param element - The child element within the zone to focus. + * @param forceAlignment - If true, focus alignment will be set according to the element provided. + * @returns True if focus could be set to an active element, false if no operation was taken. + */ + FocusZone.prototype.focusElement = function (element, forceAlignment) { + // eslint-disable-next-line deprecation/deprecation + var _a = this.props, onBeforeFocus = _a.onBeforeFocus, shouldReceiveFocus = _a.shouldReceiveFocus; + if ((shouldReceiveFocus && !shouldReceiveFocus(element)) || (onBeforeFocus && !onBeforeFocus(element))) { + return false; + } + if (element) { + // when we set focus to a specific child, we should recalculate the alignment depending on its position. + this._setActiveElement(element, forceAlignment); + if (this._activeElement) { + this._activeElement.focus(); + } + return true; + } + return false; + }; + /** + * Forces horizontal alignment in the context of vertical arrowing to use specific point as the reference, + * rather than a center based on the last horizontal motion. + * @param point - the new reference point. + */ + FocusZone.prototype.setFocusAlignment = function (point) { + this._focusAlignment = point; + }; + Object.defineProperty(FocusZone.prototype, "defaultFocusElement", { + get: function () { + return this._defaultFocusElement; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(FocusZone.prototype, "activeElement", { + get: function () { + return this._activeElement; + }, + enumerable: false, + configurable: true + }); + FocusZone.prototype._evaluateFocusBeforeRender = function () { + var root = this._root.current; + var doc = this._getDocument(); + if (doc) { + var focusedElement = doc.activeElement; + // Only update the index path if we are not parked on the root. + if (focusedElement !== root) { + var shouldRestoreFocus = (0, utilities_1.elementContains)(root, focusedElement, false); + this._lastIndexPath = shouldRestoreFocus ? (0, utilities_1.getElementIndexPath)(root, focusedElement) : undefined; + } + } + }; + /** + * When focus is in the zone at render time but then all focusable elements are removed, + * we "park" focus temporarily on the root. Once we update with focusable children, we restore + * focus to the closest path from previous. If the user tabs away from the parked container, + * we restore focusability to the pre-parked state. + */ + FocusZone.prototype._setParkedFocus = function (isParked) { + var root = this._root.current; + if (root && this._isParked !== isParked) { + this._isParked = isParked; + if (isParked) { + if (!this.props.allowFocusRoot) { + this._parkedTabIndex = root.getAttribute('tabindex'); + root.setAttribute('tabindex', '-1'); + } + root.focus(); + } + else if (!this.props.allowFocusRoot) { + if (this._parkedTabIndex) { + root.setAttribute('tabindex', this._parkedTabIndex); + this._parkedTabIndex = undefined; + } + else { + root.removeAttribute('tabindex'); + } + } + } + }; + FocusZone.prototype._setActiveElement = function (element, forceAlignment) { + var previousActiveElement = this._activeElement; + this._activeElement = element; + if (previousActiveElement) { + if ((0, utilities_1.isElementFocusZone)(previousActiveElement)) { + this._updateTabIndexes(previousActiveElement); + } + previousActiveElement.tabIndex = -1; + } + if (this._activeElement) { + if (!this._focusAlignment || forceAlignment) { + this._setFocusAlignment(element, true, true); + } + this._activeElement.tabIndex = 0; + } + }; + FocusZone.prototype._preventDefaultWhenHandled = function (ev) { + this.props.preventDefaultWhenHandled && ev.preventDefault(); + }; + /** + * Walk up the dom try to find a focusable element. + */ + FocusZone.prototype._tryInvokeClickForFocusable = function (targetElement, ev) { + var target = targetElement; + if (target === this._root.current) { + return false; + } + do { + if (target.tagName === 'BUTTON' || + target.tagName === 'A' || + target.tagName === 'INPUT' || + target.tagName === 'TEXTAREA' || + target.tagName === 'SUMMARY') { + return false; + } + if (this._isImmediateDescendantOfZone(target) && + target.getAttribute(IS_FOCUSABLE_ATTRIBUTE) === 'true' && + target.getAttribute(IS_ENTER_DISABLED_ATTRIBUTE) !== 'true') { + raiseClickFromKeyboardEvent(target, ev); + return true; + } + target = (0, utilities_1.getParent)(target, ALLOW_VIRTUAL_ELEMENTS); + } while (target !== this._root.current); + return false; + }; + /** + * Traverse to find first child zone. + */ + FocusZone.prototype._getFirstInnerZone = function (rootElement) { + rootElement = rootElement || this._activeElement || this._root.current; + if (!rootElement) { + return null; + } + if ((0, utilities_1.isElementFocusZone)(rootElement)) { + return _allInstances[rootElement.getAttribute(FOCUSZONE_ID_ATTRIBUTE)]; + } + var child = rootElement.firstElementChild; + while (child) { + if ((0, utilities_1.isElementFocusZone)(child)) { + return _allInstances[child.getAttribute(FOCUSZONE_ID_ATTRIBUTE)]; + } + var match = this._getFirstInnerZone(child); + if (match) { + return match; + } + child = child.nextElementSibling; + } + return null; + }; + FocusZone.prototype._moveFocus = function (isForward, + // eslint-disable-next-line deprecation/deprecation + getDistanceFromCenter, ev, useDefaultWrap) { + if (useDefaultWrap === void 0) { useDefaultWrap = true; } + var element = this._activeElement; + var candidateDistance = -1; + var candidateElement = undefined; + var changedFocus = false; + var isBidirectional = this.props.direction === FocusZone_types_1.FocusZoneDirection.bidirectional; + if (!element || !this._root.current) { + return false; + } + if (this._isElementInput(element)) { + if (!this._shouldInputLoseFocus(element, isForward)) { + return false; + } + } + var activeRect = isBidirectional ? element.getBoundingClientRect() : null; + do { + element = (isForward ? (0, utilities_1.getNextElement)(this._root.current, element) : (0, utilities_1.getPreviousElement)(this._root.current, element)); + if (isBidirectional) { + if (element) { + var targetRect = element.getBoundingClientRect(); + // eslint-disable-next-line deprecation/deprecation + var elementDistance = getDistanceFromCenter(activeRect, targetRect); + if (elementDistance === -1 && candidateDistance === -1) { + candidateElement = element; + break; + } + if (elementDistance > -1 && (candidateDistance === -1 || elementDistance < candidateDistance)) { + candidateDistance = elementDistance; + candidateElement = element; + } + if (candidateDistance >= 0 && elementDistance < 0) { + break; + } + } + } + else { + candidateElement = element; + break; + } + } while (element); + // Focus the closest candidate + if (candidateElement && candidateElement !== this._activeElement) { + changedFocus = true; + this.focusElement(candidateElement); + } + else if (this.props.isCircularNavigation && useDefaultWrap) { + if (isForward) { + return this.focusElement((0, utilities_1.getNextElement)(this._root.current, this._root.current.firstElementChild, true)); + } + else { + return this.focusElement((0, utilities_1.getPreviousElement)(this._root.current, this._root.current.lastElementChild, true, true, true)); + } + } + return changedFocus; + }; + FocusZone.prototype._moveFocusDown = function () { + var _this = this; + var targetTop = -1; + // eslint-disable-next-line deprecation/deprecation + var leftAlignment = this._focusAlignment.left || this._focusAlignment.x || 0; + if ( + // eslint-disable-next-line deprecation/deprecation + this._moveFocus(true, function (activeRect, targetRect) { + var distance = -1; + // ClientRect values can be floats that differ by very small fractions of a decimal. + // If the difference between top and bottom are within a pixel then we should treat + // them as equivalent by using Math.floor. For instance 5.2222 and 5.222221 should be equivalent, + // but without Math.Floor they will be handled incorrectly. + var targetRectTop = Math.floor(targetRect.top); + var activeRectBottom = Math.floor(activeRect.bottom); + if (targetRectTop < activeRectBottom) { + if (!_this._shouldWrapFocus(_this._activeElement, NO_VERTICAL_WRAP)) { + return LARGE_NEGATIVE_DISTANCE_FROM_CENTER; + } + return LARGE_DISTANCE_FROM_CENTER; + } + if ((targetTop === -1 && targetRectTop >= activeRectBottom) || targetRectTop === targetTop) { + targetTop = targetRectTop; + if (leftAlignment >= targetRect.left && leftAlignment <= targetRect.left + targetRect.width) { + distance = 0; + } + else { + distance = Math.abs(targetRect.left + targetRect.width / 2 - leftAlignment); + } + } + return distance; + })) { + this._setFocusAlignment(this._activeElement, false, true); + return true; + } + return false; + }; + FocusZone.prototype._moveFocusUp = function () { + var _this = this; + var targetTop = -1; + // eslint-disable-next-line deprecation/deprecation + var leftAlignment = this._focusAlignment.left || this._focusAlignment.x || 0; + if ( + // eslint-disable-next-line deprecation/deprecation + this._moveFocus(false, function (activeRect, targetRect) { + var distance = -1; + // ClientRect values can be floats that differ by very small fractions of a decimal. + // If the difference between top and bottom are within a pixel then we should treat + // them as equivalent by using Math.floor. For instance 5.2222 and 5.222221 should be equivalent, + // but without Math.Floor they will be handled incorrectly. + var targetRectBottom = Math.floor(targetRect.bottom); + var targetRectTop = Math.floor(targetRect.top); + var activeRectTop = Math.floor(activeRect.top); + if (targetRectBottom > activeRectTop) { + if (!_this._shouldWrapFocus(_this._activeElement, NO_VERTICAL_WRAP)) { + return LARGE_NEGATIVE_DISTANCE_FROM_CENTER; + } + return LARGE_DISTANCE_FROM_CENTER; + } + if ((targetTop === -1 && targetRectBottom <= activeRectTop) || targetRectTop === targetTop) { + targetTop = targetRectTop; + if (leftAlignment >= targetRect.left && leftAlignment <= targetRect.left + targetRect.width) { + distance = 0; + } + else { + distance = Math.abs(targetRect.left + targetRect.width / 2 - leftAlignment); + } + } + return distance; + })) { + this._setFocusAlignment(this._activeElement, false, true); + return true; + } + return false; + }; + FocusZone.prototype._moveFocusLeft = function (theme) { + var _this = this; + var shouldWrap = this._shouldWrapFocus(this._activeElement, NO_HORIZONTAL_WRAP); + if (this._moveFocus((0, utilities_1.getRTL)(theme), + // eslint-disable-next-line deprecation/deprecation + function (activeRect, targetRect) { + var distance = -1; + var topBottomComparison; + if ((0, utilities_1.getRTL)(theme)) { + // When in RTL, this comparison should be the same as the one in _moveFocusRight for LTR. + // Going left at a leftmost rectangle will go down a line instead of up a line like in LTR. + // This is important, because we want to be comparing the top of the target rect + // with the bottom of the active rect. + topBottomComparison = parseFloat(targetRect.top.toFixed(3)) < parseFloat(activeRect.bottom.toFixed(3)); + } + else { + topBottomComparison = parseFloat(targetRect.bottom.toFixed(3)) > parseFloat(activeRect.top.toFixed(3)); + } + if (topBottomComparison && + targetRect.right <= activeRect.right && + _this.props.direction !== FocusZone_types_1.FocusZoneDirection.vertical) { + distance = activeRect.right - targetRect.right; + } + else if (!shouldWrap) { + distance = LARGE_NEGATIVE_DISTANCE_FROM_CENTER; + } + return distance; + }, undefined /*ev*/, shouldWrap)) { + this._setFocusAlignment(this._activeElement, true, false); + return true; + } + return false; + }; + FocusZone.prototype._moveFocusRight = function (theme) { + var _this = this; + var shouldWrap = this._shouldWrapFocus(this._activeElement, NO_HORIZONTAL_WRAP); + if (this._moveFocus(!(0, utilities_1.getRTL)(theme), + // eslint-disable-next-line deprecation/deprecation + function (activeRect, targetRect) { + var distance = -1; + var topBottomComparison; + if ((0, utilities_1.getRTL)(theme)) { + // When in RTL, this comparison should be the same as the one in _moveFocusLeft for LTR. + // Going right at a rightmost rectangle will go up a line instead of down a line like in LTR. + // This is important, because we want to be comparing the bottom of the target rect + // with the top of the active rect. + topBottomComparison = parseFloat(targetRect.bottom.toFixed(3)) > parseFloat(activeRect.top.toFixed(3)); + } + else { + topBottomComparison = parseFloat(targetRect.top.toFixed(3)) < parseFloat(activeRect.bottom.toFixed(3)); + } + if (topBottomComparison && + targetRect.left >= activeRect.left && + _this.props.direction !== FocusZone_types_1.FocusZoneDirection.vertical) { + distance = targetRect.left - activeRect.left; + } + else if (!shouldWrap) { + distance = LARGE_NEGATIVE_DISTANCE_FROM_CENTER; + } + return distance; + }, undefined /*ev*/, shouldWrap)) { + this._setFocusAlignment(this._activeElement, true, false); + return true; + } + return false; + }; + FocusZone.prototype._moveFocusPaging = function (isForward, useDefaultWrap) { + if (useDefaultWrap === void 0) { useDefaultWrap = true; } + var element = this._activeElement; + if (!element || !this._root.current) { + return false; + } + if (this._isElementInput(element)) { + if (!this._shouldInputLoseFocus(element, isForward)) { + return false; + } + } + var scrollableParent = (0, utilities_1.findScrollableParent)(element); + if (!scrollableParent) { + return false; + } + var candidateDistance = -1; + var candidateElement = undefined; + var targetTop = -1; + var targetBottom = -1; + var pagesize = scrollableParent.clientHeight; + var activeRect = element.getBoundingClientRect(); + do { + element = isForward + ? (0, utilities_1.getNextElement)(this._root.current, element) + : (0, utilities_1.getPreviousElement)(this._root.current, element); + if (element) { + var targetRect = element.getBoundingClientRect(); + var targetRectTop = Math.floor(targetRect.top); + var activeRectBottom = Math.floor(activeRect.bottom); + var targetRectBottom = Math.floor(targetRect.bottom); + var activeRectTop = Math.floor(activeRect.top); + var elementDistance = this._getHorizontalDistanceFromCenter(isForward, activeRect, targetRect); + var isElementPassedPageSizeOnPagingDown = isForward && targetRectTop > activeRectBottom + pagesize; + var isElementPassedPageSizeOnPagingUp = !isForward && targetRectBottom < activeRectTop - pagesize; + if (isElementPassedPageSizeOnPagingDown || isElementPassedPageSizeOnPagingUp) { + break; + } + if (elementDistance > -1) { + // for paging down + if (isForward && targetRectTop > targetTop) { + targetTop = targetRectTop; + candidateDistance = elementDistance; + candidateElement = element; + } + else if (!isForward && targetRectBottom < targetBottom) { + // for paging up + targetBottom = targetRectBottom; + candidateDistance = elementDistance; + candidateElement = element; + } + else if (candidateDistance === -1 || elementDistance <= candidateDistance) { + candidateDistance = elementDistance; + candidateElement = element; + } + } + } + } while (element); + var changedFocus = false; + // Focus the closest candidate + if (candidateElement && candidateElement !== this._activeElement) { + changedFocus = true; + this.focusElement(candidateElement); + this._setFocusAlignment(candidateElement, false, true); + } + else if (this.props.isCircularNavigation && useDefaultWrap) { + if (isForward) { + return this.focusElement((0, utilities_1.getNextElement)(this._root.current, this._root.current.firstElementChild, true)); + } + return this.focusElement((0, utilities_1.getPreviousElement)(this._root.current, this._root.current.lastElementChild, true, true, true)); + } + return changedFocus; + }; + FocusZone.prototype._setFocusAlignment = function (element, isHorizontal, isVertical) { + if (this.props.direction === FocusZone_types_1.FocusZoneDirection.bidirectional && + (!this._focusAlignment || isHorizontal || isVertical)) { + var rect = element.getBoundingClientRect(); + var left = rect.left + rect.width / 2; + var top_1 = rect.top + rect.height / 2; + if (!this._focusAlignment) { + this._focusAlignment = { left: left, top: top_1 }; + } + if (isHorizontal) { + this._focusAlignment.left = left; + } + if (isVertical) { + this._focusAlignment.top = top_1; + } + } + }; + FocusZone.prototype._isImmediateDescendantOfZone = function (element) { + return this._getOwnerZone(element) === this._root.current; + }; + FocusZone.prototype._getOwnerZone = function (element) { + var parentElement = (0, utilities_1.getParent)(element, ALLOW_VIRTUAL_ELEMENTS); + while (parentElement && parentElement !== this._root.current && parentElement !== this._getDocument().body) { + if ((0, utilities_1.isElementFocusZone)(parentElement)) { + return parentElement; + } + parentElement = (0, utilities_1.getParent)(parentElement, ALLOW_VIRTUAL_ELEMENTS); + } + return parentElement; + }; + FocusZone.prototype._updateTabIndexes = function (element) { + if (!this._activeElement && + this.props.defaultTabbableElement && + typeof this.props.defaultTabbableElement === 'function') { + this._activeElement = this.props.defaultTabbableElement(this._root.current); + } + if (!element && this._root.current) { + this._defaultFocusElement = null; + element = this._root.current; + if (this._activeElement && !(0, utilities_1.elementContains)(element, this._activeElement)) { + this._activeElement = null; + } + } + // If active element changes state to disabled, set it to null. + // Otherwise, we lose keyboard accessibility to other elements in focus zone. + if (this._activeElement && !(0, utilities_1.isElementTabbable)(this._activeElement)) { + this._activeElement = null; + } + var childNodes = element && element.children; + for (var childIndex = 0; childNodes && childIndex < childNodes.length; childIndex++) { + var child = childNodes[childIndex]; + if (!(0, utilities_1.isElementFocusZone)(child)) { + // If the item is explicitly set to not be focusable then TABINDEX needs to be set to -1. + if (child.getAttribute && child.getAttribute(IS_FOCUSABLE_ATTRIBUTE) === 'false') { + child.setAttribute(TABINDEX, '-1'); + } + if ((0, utilities_1.isElementTabbable)(child)) { + if (this.props.disabled) { + child.setAttribute(TABINDEX, '-1'); + } + else if (!this._isInnerZone && + ((!this._activeElement && !this._defaultFocusElement) || this._activeElement === child)) { + this._defaultFocusElement = child; + if (child.getAttribute(TABINDEX) !== '0') { + child.setAttribute(TABINDEX, '0'); + } + } + else if (child.getAttribute(TABINDEX) !== '-1') { + child.setAttribute(TABINDEX, '-1'); + } + } + else if (child.tagName === 'svg' && child.getAttribute('focusable') !== 'false') { + // Disgusting IE hack. Sad face. + child.setAttribute('focusable', 'false'); + } + } + else if (child.getAttribute(IS_FOCUSABLE_ATTRIBUTE) === 'true') { + if (!this._isInnerZone && + ((!this._activeElement && !this._defaultFocusElement) || this._activeElement === child)) { + this._defaultFocusElement = child; + if (child.getAttribute(TABINDEX) !== '0') { + child.setAttribute(TABINDEX, '0'); + } + } + else if (child.getAttribute(TABINDEX) !== '-1') { + child.setAttribute(TABINDEX, '-1'); + } + } + this._updateTabIndexes(child); + } + }; + FocusZone.prototype._isContentEditableElement = function (element) { + return element && element.getAttribute('contenteditable') === 'true'; + }; + FocusZone.prototype._isElementInput = function (element) { + if (element && + element.tagName && + (element.tagName.toLowerCase() === 'input' || element.tagName.toLowerCase() === 'textarea')) { + return true; + } + return false; + }; + FocusZone.prototype._shouldInputLoseFocus = function (element, isForward) { + // If a tab was used, we want to focus on the next element. + if (!this._processingTabKey && + element && + element.type && + ALLOWED_INPUT_TYPES.indexOf(element.type.toLowerCase()) > -1) { + var selectionStart = element.selectionStart; + var selectionEnd = element.selectionEnd; + var isRangeSelected = selectionStart !== selectionEnd; + var inputValue = element.value; + var isReadonly = element.readOnly; + // We shouldn't lose focus in the following cases: + // 1. There is range selected. + // 2. When selection start is larger than 0 and it is backward and not readOnly. + // 3. when selection start is not the end of length, it is forward and not readOnly. + // 4. We press any of the arrow keys when our handleTabKey isn't none or undefined (only losing focus if we hit + // tab) and if shouldInputLoseFocusOnArrowKey is defined, if scenario prefers to not loose the focus which is + // determined by calling the callback shouldInputLoseFocusOnArrowKey + if (isRangeSelected || + (selectionStart > 0 && !isForward && !isReadonly) || + (selectionStart !== inputValue.length && isForward && !isReadonly) || + (!!this.props.handleTabKey && + !(this.props.shouldInputLoseFocusOnArrowKey && this.props.shouldInputLoseFocusOnArrowKey(element)))) { + return false; + } + } + return true; + }; + FocusZone.prototype._shouldWrapFocus = function (element, noWrapDataAttribute) { + return this.props.checkForNoWrap ? (0, utilities_1.shouldWrapFocus)(element, noWrapDataAttribute) : true; + }; + /** + * Returns true if the element is a descendant of the FocusZone through a React portal. + */ + FocusZone.prototype._portalContainsElement = function (element) { + return element && !!this._root.current && (0, utilities_1.portalContainsElement)(element, this._root.current); + }; + FocusZone.prototype._getDocument = function () { + return (0, utilities_1.getDocument)(this._root.current); + }; + FocusZone.defaultProps = { + isCircularNavigation: false, + direction: FocusZone_types_1.FocusZoneDirection.bidirectional, + shouldRaiseClicks: true, + }; + return FocusZone; +}(React.Component)); +exports.FocusZone = FocusZone; +//# sourceMappingURL=FocusZone.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-focus/lib-commonjs/components/FocusZone/FocusZone.types.js": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react-focus/lib-commonjs/components/FocusZone/FocusZone.types.js ***! + \*************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FocusZoneDirection = exports.FocusZoneTabbableElements = void 0; +/** + * {@docCategory FocusZone} + */ +exports.FocusZoneTabbableElements = { + /** Tabbing is not allowed */ + none: 0, + /** All tabbing action is allowed */ + all: 1, + /** Tabbing is allowed only on input elements */ + inputOnly: 2, +}; +/** + * {@docCategory FocusZone} + */ +var FocusZoneDirection; +(function (FocusZoneDirection) { + /** Only react to up/down arrows. */ + FocusZoneDirection[FocusZoneDirection["vertical"] = 0] = "vertical"; + /** Only react to left/right arrows. */ + FocusZoneDirection[FocusZoneDirection["horizontal"] = 1] = "horizontal"; + /** React to all arrows. */ + FocusZoneDirection[FocusZoneDirection["bidirectional"] = 2] = "bidirectional"; + /** + * React to all arrows. Navigate next item in DOM on right/down arrow keys and previous - left/up arrow keys. + * Right and Left arrow keys are swapped in RTL mode. + */ + FocusZoneDirection[FocusZoneDirection["domOrder"] = 3] = "domOrder"; +})(FocusZoneDirection = exports.FocusZoneDirection || (exports.FocusZoneDirection = {})); +//# sourceMappingURL=FocusZone.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-focus/lib-commonjs/components/FocusZone/index.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/@fluentui/react-focus/lib-commonjs/components/FocusZone/index.js ***! + \***************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./FocusZone */ "./node_modules/@fluentui/react-focus/lib-commonjs/components/FocusZone/FocusZone.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./FocusZone.types */ "./node_modules/@fluentui/react-focus/lib-commonjs/components/FocusZone/FocusZone.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-focus/lib-commonjs/index.js": +/*!******************************************************************!*\ + !*** ./node_modules/@fluentui/react-focus/lib-commonjs/index.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/react-focus/lib-commonjs/version.js"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/FocusZone/index */ "./node_modules/@fluentui/react-focus/lib-commonjs/components/FocusZone/index.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-focus/lib-commonjs/version.js": +/*!********************************************************************!*\ + !*** ./node_modules/@fluentui/react-focus/lib-commonjs/version.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +// Do not modify this file; it is generated as part of publish. +// The checked in version is a placeholder only and will not be updated. +var set_version_1 = __webpack_require__(/*! @fluentui/set-version */ "./node_modules/@fluentui/set-version/lib-commonjs/index.js"); +(0, set_version_1.setVersion)('@fluentui/react-focus', '8.8.31'); +//# sourceMappingURL=version.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js": +/*!******************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/index.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useIsomorphicLayoutEffect = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/react-hooks/lib-commonjs/version.js"); +tslib_1.__exportStar(__webpack_require__(/*! ./useAsync */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useAsync.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useBoolean */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useBoolean.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useConst */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useConst.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useConstCallback */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useConstCallback.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useControllableValue */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useControllableValue.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useEventCallback */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useEventCallback.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useForceUpdate */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useForceUpdate.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useId */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useId.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useMergedRefs */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useMergedRefs.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useMount */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useMount.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useMountSync */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useMountSync.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useOnEvent */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useOnEvent.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./usePrevious */ "./node_modules/@fluentui/react-hooks/lib-commonjs/usePrevious.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useRefEffect */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useRefEffect.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useSetInterval */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useSetInterval.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useSetTimeout */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useSetTimeout.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useTarget */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useTarget.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useUnmount */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useUnmount.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./useWarnings */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useWarnings.js"), exports); +// re-export since this is a hook, which people would reasonably expect to import from react-hooks +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +Object.defineProperty(exports, "useIsomorphicLayoutEffect", ({ enumerable: true, get: function () { return utilities_1.useIsomorphicLayoutEffect; } })); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useAsync.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useAsync.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useAsync = void 0; +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * Hook to provide an Async instance that is automatically cleaned up on dismount. + */ +function useAsync() { + var asyncRef = React.useRef(); + if (!asyncRef.current) { + asyncRef.current = new utilities_1.Async(); + } + React.useEffect(function () { + return function () { + var _a; + (_a = asyncRef.current) === null || _a === void 0 ? void 0 : _a.dispose(); + asyncRef.current = undefined; + }; + }, []); + return asyncRef.current; +} +exports.useAsync = useAsync; +//# sourceMappingURL=useAsync.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useBoolean.js": +/*!***********************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useBoolean.js ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useBoolean = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var useConst_1 = __webpack_require__(/*! ./useConst */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useConst.js"); +/** + * Hook to store a value and generate callbacks for setting the value to true or false. + * The identity of the callbacks will always stay the same. + * + * @param initialState - Initial value + * @returns Array with the current value and an object containing the updater callbacks. + */ +function useBoolean(initialState) { + var _a = React.useState(initialState), value = _a[0], setValue = _a[1]; + var setTrue = (0, useConst_1.useConst)(function () { return function () { + setValue(true); + }; }); + var setFalse = (0, useConst_1.useConst)(function () { return function () { + setValue(false); + }; }); + var toggle = (0, useConst_1.useConst)(function () { return function () { + setValue(function (currentValue) { return !currentValue; }); + }; }); + return [value, { setTrue: setTrue, setFalse: setFalse, toggle: toggle }]; +} +exports.useBoolean = useBoolean; +//# sourceMappingURL=useBoolean.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useConst.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useConst.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useConst = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * Hook to initialize and return a constant value. Unlike `React.useMemo`, this is guaranteed to + * always return the same value (and if the initializer is a function, only call it once). + * This is similar to setting a private member in a class constructor. + * + * If the value should ever change based on dependencies, use `React.useMemo` instead. + * + * @param initialValue - Initial value, or function to get the initial value. Similar to `useState`, + * only the value/function passed in the first time this is called is respected. + * @returns The value. The identity of this value will always be the same. + */ +function useConst(initialValue) { + // Use useRef to store the value because it's the least expensive built-in hook that works here + // (we could also use `const [value] = React.useState(initialValue)` but that's more expensive + // internally due to reducer handling which we don't need) + var ref = React.useRef(); + if (ref.current === undefined) { + // Box the value in an object so we can tell if it's initialized even if the initializer + // returns/is undefined + ref.current = { + value: typeof initialValue === 'function' ? initialValue() : initialValue, + }; + } + return ref.current.value; +} +exports.useConst = useConst; +//# sourceMappingURL=useConst.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useConstCallback.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useConstCallback.js ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useConstCallback = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * @deprecated Deprecated due to potential for misuse. Generally, use `React.useCallback` instead. + * If you need a callback reference that never changes, consider `useEventCallback`. + * + * This hook was intended for creating callbacks which have no dependencies, and therefore never + * need to change. It works fine if everyone using it is extremely mindful of how closures work, + * but that's not a safe assumption--so in practice, usage of this hook tends to result in bugs + * like unintentionally capturing the first value of a prop and not respecting updates (when + * updates should be respected). + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function useConstCallback(callback) { + var ref = React.useRef(); + if (!ref.current) { + ref.current = callback; + } + return ref.current; +} +exports.useConstCallback = useConstCallback; +//# sourceMappingURL=useConstCallback.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useControllableValue.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useControllableValue.js ***! + \*********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useControllableValue = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var useConst_1 = __webpack_require__(/*! ./useConst */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useConst.js"); +function useControllableValue(controlledValue, defaultUncontrolledValue, onChange) { + var _a = React.useState(defaultUncontrolledValue), value = _a[0], setValue = _a[1]; + var isControlled = (0, useConst_1.useConst)(controlledValue !== undefined); + var currentValue = isControlled ? controlledValue : value; + // Duplicate the current value and onChange in refs so they're accessible from + // setValueOrCallOnChange without creating a new callback every time + var valueRef = React.useRef(currentValue); + var onChangeRef = React.useRef(onChange); + React.useEffect(function () { + valueRef.current = currentValue; + onChangeRef.current = onChange; + }); + // To match the behavior of the setter returned by React.useState, this callback's identity + // should never change. This means it MUST NOT directly reference variables that can change. + var setValueOrCallOnChange = (0, useConst_1.useConst)(function () { return function (update, ev) { + // Assuming here that TValue is not a function, because a controllable value will typically + // be something a user can enter as input + var newValue = typeof update === 'function' ? update(valueRef.current) : update; + if (onChangeRef.current) { + onChangeRef.current(ev, newValue); + } + if (!isControlled) { + setValue(newValue); + } + }; }); + return [currentValue, setValueOrCallOnChange]; +} +exports.useControllableValue = useControllableValue; +//# sourceMappingURL=useControllableValue.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useEventCallback.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useEventCallback.js ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useEventCallback = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var useConst_1 = __webpack_require__(/*! ./useConst */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useConst.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +/** + * Modified `useCallback` that returns the same function reference every time, but internally calls + * the most-recently passed callback implementation. Can be useful in situations such as: + * - Event handler dependencies change too frequently, such as user props which might change on + * every render, or volatile values such as useState/useDispatch + * - Callback must be referenced in a captured context (such as a window event handler or unmount + * handler that's registered once) but needs access to the latest props + * + * In general, prefer `useCallback` unless you've encountered one of the problems above. + * + * https://reactjs.org/docs/hooks-faq.html#how-to-read-an-often-changing-value-from-usecallback + * + * @param fn - The callback function that will be used + * @returns A function which is referentially stable but internally calls the most recently passed callback + */ +function useEventCallback(fn) { + var callbackRef = React.useRef(function () { + throw new Error('Cannot call an event handler while rendering'); + }); + (0, utilities_1.useIsomorphicLayoutEffect)(function () { + callbackRef.current = fn; + }, [fn]); + // useConst rather than useCallback to ensure the reference is always stable + // (useCallback's deps list is an optimization, not a guarantee) + return (0, useConst_1.useConst)(function () { return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var callback = callbackRef.current; + return callback.apply(void 0, args); + }; }); +} +exports.useEventCallback = useEventCallback; +//# sourceMappingURL=useEventCallback.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useForceUpdate.js": +/*!***************************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useForceUpdate.js ***! + \***************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useForceUpdate = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var useConst_1 = __webpack_require__(/*! ./useConst */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useConst.js"); +/** + * Hook to force update a function component by updating a dummy state. + */ +function useForceUpdate() { + var _a = React.useState(0), setValue = _a[1]; + var forceUpdate = (0, useConst_1.useConst)(function () { return function () { return setValue(function (value) { return ++value; }); }; }); + return forceUpdate; +} +exports.useForceUpdate = useForceUpdate; +//# sourceMappingURL=useForceUpdate.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useId.js": +/*!******************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useId.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useId = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +/** + * Hook to generate a unique ID in the global scope (spanning across duplicate copies of the same library). + * + * @param prefix - Optional prefix for the ID + * @param providedId - Optional id provided by a parent component. Defaults to the provided value if present, + * without conditioning the hook call + * @returns The ID + */ +function useId(prefix, providedId) { + // getId should only be called once since it updates the global constant for the next ID value. + // (While an extra update isn't likely to cause problems in practice, it's better to avoid it.) + var ref = React.useRef(providedId); + if (!ref.current) { + ref.current = (0, utilities_1.getId)(prefix); + } + return ref.current; +} +exports.useId = useId; +//# sourceMappingURL=useId.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useMergedRefs.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useMergedRefs.js ***! + \**************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useMergedRefs = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * React hook to merge multiple React refs (either MutableRefObjects or ref callbacks) into a single ref callback that + * updates all provided refs + * @param refs - Refs to collectively update with one ref value. + * @returns A function with an attached "current" prop, so that it can be treated like a RefObject. + */ +function useMergedRefs() { + var refs = []; + for (var _i = 0; _i < arguments.length; _i++) { + refs[_i] = arguments[_i]; + } + var mergedCallback = React.useCallback(function (value) { + // Update the "current" prop hanging on the function. + mergedCallback.current = value; + for (var _i = 0, refs_1 = refs; _i < refs_1.length; _i++) { + var ref = refs_1[_i]; + if (typeof ref === 'function') { + ref(value); + } + else if (ref) { + // work around the immutability of the React.Ref type + ref.current = value; + } + } + }, tslib_1.__spreadArray([], refs, true)); + return mergedCallback; +} +exports.useMergedRefs = useMergedRefs; +//# sourceMappingURL=useMergedRefs.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useMount.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useMount.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useMount = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * Hook which asynchronously executes a callback once the component has been mounted. + * + * @param callback - Function to call before mount. + */ +var useMount = function (callback) { + var mountRef = React.useRef(callback); + mountRef.current = callback; + React.useEffect(function () { + var _a; + (_a = mountRef.current) === null || _a === void 0 ? void 0 : _a.call(mountRef); + }, []); +}; +exports.useMount = useMount; +//# sourceMappingURL=useMount.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useMountSync.js": +/*!*************************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useMountSync.js ***! + \*************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useMountSync = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * Hook which synchronously executes a callback once the component has been mounted. + * + * `WARNING` This should only be used if you need to perform an action after the component has been mounted and + * before the browser paints. useMountSync will trigger debug warnings in server-rendered scenarios and should be used + * sparingly. + * + * @deprecated Consider to use React.useEffect() or React.useLayoutEffect() directly based on a use case + * + * @param callback - Function to call once the component has been mounted. + */ +var useMountSync = function (callback) { + var mountRef = React.useRef(callback); + mountRef.current = callback; + // eslint-disable-next-line no-restricted-properties + React.useLayoutEffect(function () { + var _a; + (_a = mountRef.current) === null || _a === void 0 ? void 0 : _a.call(mountRef); + }, []); +}; +exports.useMountSync = useMountSync; +//# sourceMappingURL=useMountSync.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useOnEvent.js": +/*!***********************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useOnEvent.js ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useOnEvent = void 0; +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * Hook to attach an event handler on mount and handle cleanup. + * @param element - Element (or ref to an element) to attach the event handler to + * @param eventName - The event to attach a handler for + * @param callback - The handler for the event + * @param useCapture - Whether or not to attach the handler for the capture phase + */ +function useOnEvent(element, eventName, callback, useCapture) { + // Use a ref for the callback to prevent repeatedly attaching/unattaching callbacks that are unstable across renders + var callbackRef = React.useRef(callback); + callbackRef.current = callback; + React.useEffect(function () { + var actualElement = element && 'current' in element ? element.current : element; + if (!actualElement) { + return; + } + var dispose = (0, utilities_1.on)(actualElement, eventName, function (ev) { return callbackRef.current(ev); }, useCapture); + return dispose; + }, [element, eventName, useCapture]); +} +exports.useOnEvent = useOnEvent; +//# sourceMappingURL=useOnEvent.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/usePrevious.js": +/*!************************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/usePrevious.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.usePrevious = void 0; +var react_1 = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * Hook keeping track of a given value from a previous execution of the component the Hook is used in. + * + * See [React Hooks FAQ](https://reactjs.org/docs/hooks-faq.html#how-to-get-the-previous-props-or-state) + */ +function usePrevious(value) { + var ref = (0, react_1.useRef)(); + (0, react_1.useEffect)(function () { + ref.current = value; + }); + return ref.current; +} +exports.usePrevious = usePrevious; +//# sourceMappingURL=usePrevious.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useRefEffect.js": +/*!*************************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useRefEffect.js ***! + \*************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useRefEffect = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * Creates a ref, and calls a callback whenever the ref changes to a non-null value. The callback can optionally return + * a cleanup function that'll be called before the value changes, and when the ref is unmounted. + * + * This can be used to work around a limitation that useEffect cannot depend on `ref.current` (see + * https://github.com/facebook/react/issues/14387#issuecomment-503616820). + * + * Usage example: + * ```ts + * const myRef = useRefEffect(element => { + * ... + * return () => { ... cleanup ... }; + * }); + * ``` + * ```jsx + *
+ * ``` + * + * @param callback - Called whenever the ref's value changes to non-null. Can optionally return a cleanup function. + * @param initial - (Optional) The initial value for the ref. + * + * @returns A function that should be called to set the ref's value. The object also has a `.current` member that can be + * used to access the ref's value (like a normal RefObject). It can be hooked up to an element's `ref` property. + */ +function useRefEffect(callback, initial) { + if (initial === void 0) { initial = null; } + var createRefCallback = function () { + var refCallback = function (value) { + if (data.ref.current !== value) { + if (data.cleanup) { + data.cleanup(); + data.cleanup = undefined; + } + data.ref.current = value; + if (value !== null) { + data.cleanup = data.callback(value); + } + } + }; + refCallback.current = initial; + return refCallback; + }; + var data = React.useRef({ + ref: createRefCallback(), + callback: callback, + }).current; + data.callback = callback; + return data.ref; +} +exports.useRefEffect = useRefEffect; +//# sourceMappingURL=useRefEffect.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useSetInterval.js": +/*!***************************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useSetInterval.js ***! + \***************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useSetInterval = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var useConst_1 = __webpack_require__(/*! ./useConst */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useConst.js"); +/** + * Returns a wrapper function for `setInterval` which automatically handles disposal. + */ +var useSetInterval = function () { + var intervalIds = (0, useConst_1.useConst)({}); + React.useEffect(function () { return function () { + for (var _i = 0, _a = Object.keys(intervalIds); _i < _a.length; _i++) { + var id = _a[_i]; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + clearInterval(id); + } + }; }, + // useConst ensures this will never change, but react-hooks/exhaustive-deps doesn't know that + [intervalIds]); + return (0, useConst_1.useConst)({ + setInterval: function (func, duration) { + var id = setInterval(func, duration); + intervalIds[id] = 1; + return id; + }, + clearInterval: function (id) { + delete intervalIds[id]; + clearInterval(id); + }, + }); +}; +exports.useSetInterval = useSetInterval; +//# sourceMappingURL=useSetInterval.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useSetTimeout.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useSetTimeout.js ***! + \**************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useSetTimeout = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var useConst_1 = __webpack_require__(/*! ./useConst */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useConst.js"); +/** + * Returns a wrapper function for `setTimeout` which automatically handles disposal. + */ +var useSetTimeout = function () { + var timeoutIds = (0, useConst_1.useConst)({}); + // Cleanup function. + React.useEffect(function () { return function () { + for (var _i = 0, _a = Object.keys(timeoutIds); _i < _a.length; _i++) { + var id = _a[_i]; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + clearTimeout(id); + } + }; }, + // useConst ensures this will never change, but react-hooks/exhaustive-deps doesn't know that + [timeoutIds]); + // Return wrapper which will auto cleanup. + return (0, useConst_1.useConst)({ + setTimeout: function (func, duration) { + var id = setTimeout(func, duration); + timeoutIds[id] = 1; + return id; + }, + clearTimeout: function (id) { + delete timeoutIds[id]; + clearTimeout(id); + }, + }); +}; +exports.useSetTimeout = useSetTimeout; +//# sourceMappingURL=useSetTimeout.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useTarget.js": +/*!**********************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useTarget.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useTarget = void 0; +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var react_window_provider_1 = __webpack_require__(/*! @fluentui/react-window-provider */ "./node_modules/@fluentui/react-window-provider/lib-commonjs/index.js"); +/** + * Hook to calculate and cache the target element specified by the given target attribute, + * as well as the target element's (or host element's) parent window + * @param target- Target selector passed to the component as a property, describing the element that + * the callout should target + * @param hostElement- The callout's host element, used for determining the parent window. + */ +function useTarget(target, hostElement) { + var previousTargetProp = React.useRef(); + var targetRef = React.useRef(null); + /** + * Stores an instance of Window, used to check + * for server side rendering and if focus was lost. + */ + var targetWindow = (0, react_window_provider_1.useWindow)(); + // If the target element changed, find the new one. If we are tracking + // target with class name, always find element because we do not know if + // fabric has rendered a new element and disposed the old element. + if (!target || target !== previousTargetProp.current || typeof target === 'string') { + var currentElement = hostElement === null || hostElement === void 0 ? void 0 : hostElement.current; + if (target) { + if (typeof target === 'string') { + var currentDoc = (0, utilities_1.getDocument)(currentElement); + targetRef.current = currentDoc ? currentDoc.querySelector(target) : null; + } + else if ('stopPropagation' in target) { + targetRef.current = target; + } + else if ('getBoundingClientRect' in target) { + targetRef.current = target; + } + else if ('current' in target) { + targetRef.current = target.current; + } + else { + targetRef.current = target; + } + } + previousTargetProp.current = target; + } + return [targetRef, targetWindow]; +} +exports.useTarget = useTarget; +//# sourceMappingURL=useTarget.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useUnmount.js": +/*!***********************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useUnmount.js ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useUnmount = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * Hook which synchronously executes a callback when the component is about to unmount. + * + * @param callback - Function to call during unmount. + */ +var useUnmount = function (callback) { + var unmountRef = React.useRef(callback); + unmountRef.current = callback; + React.useEffect(function () { return function () { + var _a; + (_a = unmountRef.current) === null || _a === void 0 ? void 0 : _a.call(unmountRef); + }; }, []); +}; +exports.useUnmount = useUnmount; +//# sourceMappingURL=useUnmount.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/useWarnings.js": +/*!************************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/useWarnings.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useWarnings = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var usePrevious_1 = __webpack_require__(/*! ./usePrevious */ "./node_modules/@fluentui/react-hooks/lib-commonjs/usePrevious.js"); +var useConst_1 = __webpack_require__(/*! ./useConst */ "./node_modules/@fluentui/react-hooks/lib-commonjs/useConst.js"); +var warningId = 0; +/** + * Only in development mode, display console warnings when certain conditions are met. + * Note that all warnings except `controlledUsage` will only be shown on first render + * (new `controlledUsage` warnings may be shown later due to prop changes). + */ +function useWarnings(options) { + if (true) { + var name_1 = options.name, props = options.props, _a = options.other, other = _a === void 0 ? [] : _a, conditionallyRequired = options.conditionallyRequired, deprecations = options.deprecations, mutuallyExclusive = options.mutuallyExclusive, controlledUsage = options.controlledUsage; + /* eslint-disable react-hooks/rules-of-hooks -- build-time conditional */ + var hasWarnedRef = React.useRef(false); + var componentId = (0, useConst_1.useConst)(function () { return "useWarnings_".concat(warningId++); }); + var oldProps = (0, usePrevious_1.usePrevious)(props); + /* eslint-enable react-hooks/rules-of-hooks */ + // Warn synchronously (not in useEffect) on first render to make debugging easier. + if (!hasWarnedRef.current) { + hasWarnedRef.current = true; + for (var _i = 0, other_1 = other; _i < other_1.length; _i++) { + var warning = other_1[_i]; + (0, utilities_1.warn)(warning); + } + if (conditionallyRequired) { + for (var _b = 0, conditionallyRequired_1 = conditionallyRequired; _b < conditionallyRequired_1.length; _b++) { + var req = conditionallyRequired_1[_b]; + (0, utilities_1.warnConditionallyRequiredProps)(name_1, props, req.requiredProps, req.conditionalPropName, req.condition); + } + } + deprecations && (0, utilities_1.warnDeprecations)(name_1, props, deprecations); + mutuallyExclusive && (0, utilities_1.warnMutuallyExclusive)(name_1, props, mutuallyExclusive); + } + // Controlled usage warnings may be displayed on either first or subsequent renders due to + // prop changes. Note that it's safe to run this synchronously (not in useEffect) even in + // concurrent mode because `warnControlledUsage` internally tracks which warnings have been + // displayed for each component instance (so nothing will be displayed twice). + controlledUsage && (0, utilities_1.warnControlledUsage)(tslib_1.__assign(tslib_1.__assign({}, controlledUsage), { componentId: componentId, props: props, componentName: name_1, oldProps: oldProps })); + } +} +exports.useWarnings = useWarnings; +//# sourceMappingURL=useWarnings.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-hooks/lib-commonjs/version.js": +/*!********************************************************************!*\ + !*** ./node_modules/@fluentui/react-hooks/lib-commonjs/version.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +// Do not modify this file; it is generated as part of publish. +// The checked in version is a placeholder only and will not be updated. +var set_version_1 = __webpack_require__(/*! @fluentui/set-version */ "./node_modules/@fluentui/set-version/lib-commonjs/index.js"); +(0, set_version_1.setVersion)('@fluentui/react-hooks', '8.6.29'); +//# sourceMappingURL=version.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-portal-compat-context/lib-commonjs/PortalCompatContext.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react-portal-compat-context/lib-commonjs/PortalCompatContext.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +function _export(target, all) { + for(var name in all)Object.defineProperty(target, name, { + enumerable: true, + get: all[name] + }); +} +_export(exports, { + PortalCompatContextProvider: function() { + return PortalCompatContextProvider; + }, + usePortalCompat: function() { + return usePortalCompat; + } +}); +const _interop_require_wildcard = __webpack_require__(/*! @swc/helpers/_/_interop_require_wildcard */ "./node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"); +const _react = /*#__PURE__*/ _interop_require_wildcard._(__webpack_require__(/*! react */ "./node_modules/react/index.js")); +const PortalCompatContext = /*#__PURE__*/ _react.createContext(undefined); +const portalCompatContextDefaultValue = ()=>()=>undefined; +const PortalCompatContextProvider = PortalCompatContext.Provider; +function usePortalCompat() { + var _React_useContext; + return (_React_useContext = _react.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue; +} + + +/***/ }), + +/***/ "./node_modules/@fluentui/react-portal-compat-context/lib-commonjs/index.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/@fluentui/react-portal-compat-context/lib-commonjs/index.js ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +function _export(target, all) { + for(var name in all)Object.defineProperty(target, name, { + enumerable: true, + get: all[name] + }); +} +_export(exports, { + PortalCompatContextProvider: function() { + return _PortalCompatContext.PortalCompatContextProvider; + }, + usePortalCompat: function() { + return _PortalCompatContext.usePortalCompat; + } +}); +const _PortalCompatContext = __webpack_require__(/*! ./PortalCompatContext */ "./node_modules/@fluentui/react-portal-compat-context/lib-commonjs/PortalCompatContext.js"); + + +/***/ }), + +/***/ "./node_modules/@fluentui/react-window-provider/lib-commonjs/WindowProvider.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/react-window-provider/lib-commonjs/WindowProvider.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WindowProvider = exports.useDocument = exports.useWindow = exports.WindowContext = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +/** + * Context for providing the window. + */ +// eslint-disable-next-line @fluentui/no-context-default-value +exports.WindowContext = React.createContext({ + window: typeof window === 'object' ? window : undefined, +}); +/** + * Hook to access the window object. This can be overridden contextually using the `WindowProvider`. + */ +var useWindow = function () { return React.useContext(exports.WindowContext).window; }; +exports.useWindow = useWindow; +/** + * Hook to access the document object. This can be overridden contextually using the `WindowProvider`. + */ +var useDocument = function () { var _a; return (_a = React.useContext(exports.WindowContext).window) === null || _a === void 0 ? void 0 : _a.document; }; +exports.useDocument = useDocument; +/** + * Component to provide the window object contextually. This is useful when rendering content to an element + * contained within a child window or iframe element, where event handlers and styling must be projected + * to an alternative window or document. + */ +var WindowProvider = function (props) { + return React.createElement(exports.WindowContext.Provider, { value: props }, props.children); +}; +exports.WindowProvider = WindowProvider; +//# sourceMappingURL=WindowProvider.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-window-provider/lib-commonjs/index.js": +/*!****************************************************************************!*\ + !*** ./node_modules/@fluentui/react-window-provider/lib-commonjs/index.js ***! + \****************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +(0, tslib_1.__exportStar)(__webpack_require__(/*! ./WindowProvider */ "./node_modules/@fluentui/react-window-provider/lib-commonjs/WindowProvider.js"), exports); +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/react-window-provider/lib-commonjs/version.js"); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react-window-provider/lib-commonjs/version.js": +/*!******************************************************************************!*\ + !*** ./node_modules/@fluentui/react-window-provider/lib-commonjs/version.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +// Do not modify this file; it is generated as part of publish. +// The checked in version is a placeholder only and will not be updated. +var set_version_1 = __webpack_require__(/*! @fluentui/set-version */ "./node_modules/@fluentui/set-version/lib-commonjs/index.js"); +(0, set_version_1.setVersion)('@fluentui/react-window-provider', '2.2.15'); +//# sourceMappingURL=version.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ActivityItem.js": +/*!*******************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ActivityItem.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/ActivityItem/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/index.js"), exports); +//# sourceMappingURL=ActivityItem.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Announced.js": +/*!****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Announced.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Announced/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Announced/index.js"), exports); +//# sourceMappingURL=Announced.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Autofill.js": +/*!***************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Autofill.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Autofill/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Autofill/index.js"), exports); +//# sourceMappingURL=Autofill.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Breadcrumb.js": +/*!*****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Breadcrumb.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Breadcrumb/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/index.js"), exports); +//# sourceMappingURL=Breadcrumb.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Button.js": +/*!*************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Button.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Button/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/index.js"), exports); +//# sourceMappingURL=Button.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ButtonGrid.js": +/*!*****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ButtonGrid.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/ButtonGrid/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/ButtonGrid/index.js"), exports); +//# sourceMappingURL=ButtonGrid.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Calendar.js": +/*!***************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Calendar.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Calendar/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/index.js"), exports); +//# sourceMappingURL=Calendar.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Callout.js": +/*!**************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Callout.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Callout/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/index.js"), exports); +//# sourceMappingURL=Callout.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Check.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Check.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Check/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Check/index.js"), exports); +//# sourceMappingURL=Check.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Checkbox.js": +/*!***************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Checkbox.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Checkbox/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/index.js"), exports); +//# sourceMappingURL=Checkbox.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ChoiceGroup.js": +/*!******************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ChoiceGroup.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/ChoiceGroup/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/index.js"), exports); +//# sourceMappingURL=ChoiceGroup.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Coachmark.js": +/*!****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Coachmark.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Coachmark/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/index.js"), exports); +//# sourceMappingURL=Coachmark.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Color.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Color.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/color/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/index.js"), exports); +//# sourceMappingURL=Color.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ColorPicker.js": +/*!******************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ColorPicker.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/ColorPicker/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/index.js"), exports); +//# sourceMappingURL=ColorPicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ComboBox.js": +/*!***************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ComboBox.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/ComboBox/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/index.js"), exports); +//# sourceMappingURL=ComboBox.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/CommandBar.js": +/*!*****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/CommandBar.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/CommandBar/index */ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/index.js"), exports); +//# sourceMappingURL=CommandBar.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ContextualMenu.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ContextualMenu.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/ContextualMenu/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/index.js"), exports); +//# sourceMappingURL=ContextualMenu.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/DatePicker.js": +/*!*****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/DatePicker.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/DatePicker/index */ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/index.js"), exports); +//# sourceMappingURL=DatePicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/DateTimeUtilities.js": +/*!************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/DateTimeUtilities.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TimeConstants = exports.MonthOfYear = exports.FirstWeekOfYear = exports.DayOfWeek = exports.DateRangeType = exports.DAYS_IN_WEEK = exports.setMonth = exports.isInDateRangeArray = exports.getYearStart = exports.getYearEnd = exports.getWeekNumbersInMonth = exports.getWeekNumber = exports.getStartDateOfWeek = exports.getMonthStart = exports.getMonthEnd = exports.getEndDateOfWeek = exports.getDateRangeArray = exports.getDatePartHashValue = exports.compareDates = exports.compareDatePart = exports.addYears = exports.addWeeks = exports.addMonths = exports.addDays = void 0; +// NOTE: This is not a full re-export because date-time-utilities includes some additional stuff +// which is exported elsewhere, causes conflicts, or isn't needed. +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +Object.defineProperty(exports, "addDays", ({ enumerable: true, get: function () { return date_time_utilities_1.addDays; } })); +Object.defineProperty(exports, "addMonths", ({ enumerable: true, get: function () { return date_time_utilities_1.addMonths; } })); +Object.defineProperty(exports, "addWeeks", ({ enumerable: true, get: function () { return date_time_utilities_1.addWeeks; } })); +Object.defineProperty(exports, "addYears", ({ enumerable: true, get: function () { return date_time_utilities_1.addYears; } })); +Object.defineProperty(exports, "compareDatePart", ({ enumerable: true, get: function () { return date_time_utilities_1.compareDatePart; } })); +Object.defineProperty(exports, "compareDates", ({ enumerable: true, get: function () { return date_time_utilities_1.compareDates; } })); +Object.defineProperty(exports, "getDatePartHashValue", ({ enumerable: true, get: function () { return date_time_utilities_1.getDatePartHashValue; } })); +Object.defineProperty(exports, "getDateRangeArray", ({ enumerable: true, get: function () { return date_time_utilities_1.getDateRangeArray; } })); +Object.defineProperty(exports, "getEndDateOfWeek", ({ enumerable: true, get: function () { return date_time_utilities_1.getEndDateOfWeek; } })); +Object.defineProperty(exports, "getMonthEnd", ({ enumerable: true, get: function () { return date_time_utilities_1.getMonthEnd; } })); +Object.defineProperty(exports, "getMonthStart", ({ enumerable: true, get: function () { return date_time_utilities_1.getMonthStart; } })); +Object.defineProperty(exports, "getStartDateOfWeek", ({ enumerable: true, get: function () { return date_time_utilities_1.getStartDateOfWeek; } })); +Object.defineProperty(exports, "getWeekNumber", ({ enumerable: true, get: function () { return date_time_utilities_1.getWeekNumber; } })); +Object.defineProperty(exports, "getWeekNumbersInMonth", ({ enumerable: true, get: function () { return date_time_utilities_1.getWeekNumbersInMonth; } })); +Object.defineProperty(exports, "getYearEnd", ({ enumerable: true, get: function () { return date_time_utilities_1.getYearEnd; } })); +Object.defineProperty(exports, "getYearStart", ({ enumerable: true, get: function () { return date_time_utilities_1.getYearStart; } })); +Object.defineProperty(exports, "isInDateRangeArray", ({ enumerable: true, get: function () { return date_time_utilities_1.isInDateRangeArray; } })); +Object.defineProperty(exports, "setMonth", ({ enumerable: true, get: function () { return date_time_utilities_1.setMonth; } })); +Object.defineProperty(exports, "DAYS_IN_WEEK", ({ enumerable: true, get: function () { return date_time_utilities_1.DAYS_IN_WEEK; } })); +Object.defineProperty(exports, "DateRangeType", ({ enumerable: true, get: function () { return date_time_utilities_1.DateRangeType; } })); +Object.defineProperty(exports, "DayOfWeek", ({ enumerable: true, get: function () { return date_time_utilities_1.DayOfWeek; } })); +Object.defineProperty(exports, "FirstWeekOfYear", ({ enumerable: true, get: function () { return date_time_utilities_1.FirstWeekOfYear; } })); +Object.defineProperty(exports, "MonthOfYear", ({ enumerable: true, get: function () { return date_time_utilities_1.MonthOfYear; } })); +Object.defineProperty(exports, "TimeConstants", ({ enumerable: true, get: function () { return date_time_utilities_1.TimeConstants; } })); +//# sourceMappingURL=DateTimeUtilities.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/DetailsList.js": +/*!******************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/DetailsList.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/DetailsList/index */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/index.js"), exports); +//# sourceMappingURL=DetailsList.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Dialog.js": +/*!*************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Dialog.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports["default"] = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Dialog/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/index.js"), exports); +var index_1 = __webpack_require__(/*! ./components/Dialog/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/index.js"); +Object.defineProperty(exports, "default", ({ enumerable: true, get: function () { return index_1.Dialog; } })); +//# sourceMappingURL=Dialog.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Divider.js": +/*!**************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Divider.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Divider/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/index.js"), exports); +//# sourceMappingURL=Divider.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/DocumentCard.js": +/*!*******************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/DocumentCard.js ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/DocumentCard/index */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/index.js"), exports); +//# sourceMappingURL=DocumentCard.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/DragDrop.js": +/*!***************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/DragDrop.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/dragdrop/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/dragdrop/index.js"), exports); +//# sourceMappingURL=DragDrop.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Dropdown.js": +/*!***************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Dropdown.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Dropdown/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/index.js"), exports); +//# sourceMappingURL=Dropdown.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ExtendedPicker.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ExtendedPicker.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/ExtendedPicker/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/index.js"), exports); +//# sourceMappingURL=ExtendedPicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Fabric.js": +/*!*************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Fabric.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Fabric/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Fabric/index.js"), exports); +//# sourceMappingURL=Fabric.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Facepile.js": +/*!***************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Facepile.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Facepile/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/index.js"), exports); +//# sourceMappingURL=Facepile.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/FloatingPicker.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/FloatingPicker.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/FloatingPicker/index */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/index.js"), exports); +//# sourceMappingURL=FloatingPicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/FocusTrapZone.js": +/*!********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/FocusTrapZone.js ***! + \********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/FocusTrapZone/index */ "./node_modules/@fluentui/react/lib-commonjs/components/FocusTrapZone/index.js"), exports); +//# sourceMappingURL=FocusTrapZone.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js": +/*!****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/FocusZone.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FocusZoneTabbableElements = exports.FocusZoneDirection = exports.FocusZone = void 0; +var react_focus_1 = __webpack_require__(/*! @fluentui/react-focus */ "./node_modules/@fluentui/react-focus/lib-commonjs/index.js"); +Object.defineProperty(exports, "FocusZone", ({ enumerable: true, get: function () { return react_focus_1.FocusZone; } })); +Object.defineProperty(exports, "FocusZoneDirection", ({ enumerable: true, get: function () { return react_focus_1.FocusZoneDirection; } })); +Object.defineProperty(exports, "FocusZoneTabbableElements", ({ enumerable: true, get: function () { return react_focus_1.FocusZoneTabbableElements; } })); +//# sourceMappingURL=FocusZone.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/GroupedList.js": +/*!******************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/GroupedList.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/GroupedList/index */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/index.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/groupedList/GroupedListUtility */ "./node_modules/@fluentui/react/lib-commonjs/utilities/groupedList/GroupedListUtility.js"), exports); +//# sourceMappingURL=GroupedList.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/HoverCard.js": +/*!****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/HoverCard.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/HoverCard/index */ "./node_modules/@fluentui/react/lib-commonjs/components/HoverCard/index.js"), exports); +//# sourceMappingURL=HoverCard.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Icon.js": +/*!***********************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Icon.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Icon/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Icon/index.js"), exports); +//# sourceMappingURL=Icon.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Icons.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Icons.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.initializeIcons = void 0; +var font_icons_mdl2_1 = __webpack_require__(/*! @fluentui/font-icons-mdl2 */ "./node_modules/@fluentui/font-icons-mdl2/lib-commonjs/index.js"); +Object.defineProperty(exports, "initializeIcons", ({ enumerable: true, get: function () { return font_icons_mdl2_1.initializeIcons; } })); +//# sourceMappingURL=Icons.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Image.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Image.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Image/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Image/index.js"), exports); +//# sourceMappingURL=Image.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Keytip.js": +/*!*************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Keytip.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Keytip/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Keytip/index.js"), exports); +//# sourceMappingURL=Keytip.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/KeytipData.js": +/*!*****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/KeytipData.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/KeytipData/index */ "./node_modules/@fluentui/react/lib-commonjs/components/KeytipData/index.js"), exports); +//# sourceMappingURL=KeytipData.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Keytips.js": +/*!**************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Keytips.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Keytip/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Keytip/index.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./components/KeytipData/index */ "./node_modules/@fluentui/react/lib-commonjs/components/KeytipData/index.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./components/KeytipLayer/index */ "./node_modules/@fluentui/react/lib-commonjs/components/KeytipLayer/index.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/keytips/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/keytips/index.js"), exports); +//# sourceMappingURL=Keytips.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Label.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Label.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Label/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Label/index.js"), exports); +//# sourceMappingURL=Label.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Layer.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Layer.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/react/lib-commonjs/version.js"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Layer/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Layer/index.js"), exports); +//# sourceMappingURL=Layer.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Link.js": +/*!***********************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Link.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/react/lib-commonjs/version.js"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Link/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Link/index.js"), exports); +//# sourceMappingURL=Link.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/List.js": +/*!***********************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/List.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/List/index */ "./node_modules/@fluentui/react/lib-commonjs/components/List/index.js"), exports); +//# sourceMappingURL=List.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/MarqueeSelection.js": +/*!***********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/MarqueeSelection.js ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/MarqueeSelection/MarqueeSelection */ "./node_modules/@fluentui/react/lib-commonjs/components/MarqueeSelection/MarqueeSelection.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./components/MarqueeSelection/MarqueeSelection.types */ "./node_modules/@fluentui/react/lib-commonjs/components/MarqueeSelection/MarqueeSelection.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/selection/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/selection/index.js"), exports); +//# sourceMappingURL=MarqueeSelection.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/MessageBar.js": +/*!*****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/MessageBar.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/MessageBar/index */ "./node_modules/@fluentui/react/lib-commonjs/components/MessageBar/index.js"), exports); +//# sourceMappingURL=MessageBar.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Modal.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Modal.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports["default"] = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Modal/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Modal/index.js"), exports); +var index_1 = __webpack_require__(/*! ./components/Modal/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Modal/index.js"); +Object.defineProperty(exports, "default", ({ enumerable: true, get: function () { return index_1.Modal; } })); +//# sourceMappingURL=Modal.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Nav.js": +/*!**********************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Nav.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Nav/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Nav/index.js"), exports); +//# sourceMappingURL=Nav.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/OverflowSet.js": +/*!******************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/OverflowSet.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/OverflowSet/index */ "./node_modules/@fluentui/react/lib-commonjs/components/OverflowSet/index.js"), exports); +//# sourceMappingURL=OverflowSet.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Overlay.js": +/*!**************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Overlay.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Overlay/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Overlay/index.js"), exports); +//# sourceMappingURL=Overlay.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Panel.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Panel.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Panel/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Panel/index.js"), exports); +//# sourceMappingURL=Panel.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Persona.js": +/*!**************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Persona.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Persona/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Persona/index.js"), exports); +//# sourceMappingURL=Persona.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/PersonaCoin.js": +/*!******************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/PersonaCoin.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Persona/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Persona/index.js"), exports); +//# sourceMappingURL=PersonaCoin.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Pickers.js": +/*!**************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Pickers.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/pickers/index */ "./node_modules/@fluentui/react/lib-commonjs/components/pickers/index.js"), exports); +//# sourceMappingURL=Pickers.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Pivot.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Pivot.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Pivot/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Pivot/index.js"), exports); +//# sourceMappingURL=Pivot.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Popup.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Popup.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Popup/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Popup/index.js"), exports); +//# sourceMappingURL=Popup.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Positioning.js": +/*!******************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Positioning.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/positioning/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/positioning/index.js"), exports); +//# sourceMappingURL=Positioning.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/PositioningContainer.js": +/*!***************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/PositioningContainer.js ***! + \***************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Coachmark/PositioningContainer/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/index.js"), exports); +//# sourceMappingURL=PositioningContainer.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ProgressIndicator.js": +/*!************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ProgressIndicator.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/ProgressIndicator/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ProgressIndicator/index.js"), exports); +//# sourceMappingURL=ProgressIndicator.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Rating.js": +/*!*************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Rating.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Rating/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Rating/index.js"), exports); +//# sourceMappingURL=Rating.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ResizeGroup.js": +/*!******************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ResizeGroup.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/ResizeGroup/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ResizeGroup/index.js"), exports); +//# sourceMappingURL=ResizeGroup.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ResponsiveMode.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ResponsiveMode.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/hooks/useResponsiveMode */ "./node_modules/@fluentui/react/lib-commonjs/utilities/hooks/useResponsiveMode.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/decorators/withResponsiveMode */ "./node_modules/@fluentui/react/lib-commonjs/utilities/decorators/withResponsiveMode.js"), exports); +//# sourceMappingURL=ResponsiveMode.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ScrollablePane.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ScrollablePane.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/ScrollablePane/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ScrollablePane/index.js"), exports); +//# sourceMappingURL=ScrollablePane.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/SearchBox.js": +/*!****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/SearchBox.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/SearchBox/index */ "./node_modules/@fluentui/react/lib-commonjs/components/SearchBox/index.js"), exports); +//# sourceMappingURL=SearchBox.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/SelectableOption.js": +/*!***********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/SelectableOption.js ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/selectableOption/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/selectableOption/index.js"), exports); +//# sourceMappingURL=SelectableOption.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/SelectedItemsList.js": +/*!************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/SelectedItemsList.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/SelectedItemsList/index */ "./node_modules/@fluentui/react/lib-commonjs/components/SelectedItemsList/index.js"), exports); +//# sourceMappingURL=SelectedItemsList.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Selection.js": +/*!****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Selection.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/selection/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/selection/index.js"), exports); +//# sourceMappingURL=Selection.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Separator.js": +/*!****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Separator.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Separator/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Separator/index.js"), exports); +//# sourceMappingURL=Separator.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Shimmer.js": +/*!**************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Shimmer.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Shimmer/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Shimmer/index.js"), exports); +//# sourceMappingURL=Shimmer.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ShimmeredDetailsList.js": +/*!***************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ShimmeredDetailsList.js ***! + \***************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/DetailsList/ShimmeredDetailsList */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./components/DetailsList/ShimmeredDetailsList.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./components/DetailsList/ShimmeredDetailsList.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.styles.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./components/DetailsList/ShimmeredDetailsList.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.types.js"), exports); +//# sourceMappingURL=ShimmeredDetailsList.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Slider.js": +/*!*************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Slider.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Slider/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Slider/index.js"), exports); +//# sourceMappingURL=Slider.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/SpinButton.js": +/*!*****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/SpinButton.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/SpinButton/index */ "./node_modules/@fluentui/react/lib-commonjs/components/SpinButton/index.js"), exports); +//# sourceMappingURL=SpinButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Spinner.js": +/*!**************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Spinner.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Spinner/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Spinner/index.js"), exports); +//# sourceMappingURL=Spinner.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Stack.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Stack.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Stack/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Stack/index.js"), exports); +//# sourceMappingURL=Stack.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Sticky.js": +/*!*************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Sticky.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Sticky/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Sticky/index.js"), exports); +//# sourceMappingURL=Sticky.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Styling.js": +/*!**************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Styling.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getTheme = exports.getScreenSelector = exports.getPlaceholderStyles = exports.getInputFocusStyle = exports.getIconClassName = exports.getIcon = exports.getHighContrastNoAdjustStyle = exports.getGlobalClassNames = exports.getFocusStyle = exports.getFocusOutlineStyle = exports.getFadedOverflowStyle = exports.getEdgeChromiumNoHighContrastAdjustSelector = exports.fontFace = exports.focusClear = exports.createFontStyles = exports.concatStyleSetsWithProps = exports.concatStyleSets = exports.buildClassMap = exports.ZIndexes = exports.ThemeSettingName = exports.Stylesheet = exports.ScreenWidthMinXXXLarge = exports.ScreenWidthMinXXLarge = exports.ScreenWidthMinXLarge = exports.ScreenWidthMinUhfMobile = exports.ScreenWidthMinSmall = exports.ScreenWidthMinMedium = exports.ScreenWidthMinLarge = exports.ScreenWidthMaxXXLarge = exports.ScreenWidthMaxXLarge = exports.ScreenWidthMaxSmall = exports.ScreenWidthMaxMedium = exports.ScreenWidthMaxLarge = exports.PulsingBeaconAnimationStyles = exports.InjectionMode = exports.IconFontSizes = exports.HighContrastSelectorWhite = exports.HighContrastSelectorBlack = exports.HighContrastSelector = exports.FontWeights = exports.FontSizes = exports.FontClassNames = exports.EdgeChromiumHighContrastSelector = exports.DefaultPalette = exports.DefaultFontStyles = exports.DefaultEffects = exports.ColorClassNames = exports.AnimationVariables = exports.AnimationStyles = exports.AnimationClassNames = void 0; +exports.registerDefaultFontFaces = exports.createTheme = exports.unregisterIcons = exports.setIconOptions = exports.removeOnThemeChangeCallback = exports.registerOnThemeChangeCallback = exports.registerIcons = exports.registerIconAlias = exports.normalize = exports.noWrap = exports.mergeStyles = exports.mergeStyleSets = exports.loadTheme = exports.keyframes = exports.hiddenContentStyle = exports.getThemedContext = void 0; +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/react/lib-commonjs/version.js"); +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +Object.defineProperty(exports, "AnimationClassNames", ({ enumerable: true, get: function () { return style_utilities_1.AnimationClassNames; } })); +Object.defineProperty(exports, "AnimationStyles", ({ enumerable: true, get: function () { return style_utilities_1.AnimationStyles; } })); +Object.defineProperty(exports, "AnimationVariables", ({ enumerable: true, get: function () { return style_utilities_1.AnimationVariables; } })); +Object.defineProperty(exports, "ColorClassNames", ({ enumerable: true, get: function () { return style_utilities_1.ColorClassNames; } })); +Object.defineProperty(exports, "DefaultEffects", ({ enumerable: true, get: function () { return style_utilities_1.DefaultEffects; } })); +Object.defineProperty(exports, "DefaultFontStyles", ({ enumerable: true, get: function () { return style_utilities_1.DefaultFontStyles; } })); +Object.defineProperty(exports, "DefaultPalette", ({ enumerable: true, get: function () { return style_utilities_1.DefaultPalette; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "EdgeChromiumHighContrastSelector", ({ enumerable: true, get: function () { return style_utilities_1.EdgeChromiumHighContrastSelector; } })); +Object.defineProperty(exports, "FontClassNames", ({ enumerable: true, get: function () { return style_utilities_1.FontClassNames; } })); +Object.defineProperty(exports, "FontSizes", ({ enumerable: true, get: function () { return style_utilities_1.FontSizes; } })); +Object.defineProperty(exports, "FontWeights", ({ enumerable: true, get: function () { return style_utilities_1.FontWeights; } })); +Object.defineProperty(exports, "HighContrastSelector", ({ enumerable: true, get: function () { return style_utilities_1.HighContrastSelector; } })); +Object.defineProperty(exports, "HighContrastSelectorBlack", ({ enumerable: true, get: function () { return style_utilities_1.HighContrastSelectorBlack; } })); +Object.defineProperty(exports, "HighContrastSelectorWhite", ({ enumerable: true, get: function () { return style_utilities_1.HighContrastSelectorWhite; } })); +Object.defineProperty(exports, "IconFontSizes", ({ enumerable: true, get: function () { return style_utilities_1.IconFontSizes; } })); +Object.defineProperty(exports, "InjectionMode", ({ enumerable: true, get: function () { return style_utilities_1.InjectionMode; } })); +Object.defineProperty(exports, "PulsingBeaconAnimationStyles", ({ enumerable: true, get: function () { return style_utilities_1.PulsingBeaconAnimationStyles; } })); +Object.defineProperty(exports, "ScreenWidthMaxLarge", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMaxLarge; } })); +Object.defineProperty(exports, "ScreenWidthMaxMedium", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMaxMedium; } })); +Object.defineProperty(exports, "ScreenWidthMaxSmall", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMaxSmall; } })); +Object.defineProperty(exports, "ScreenWidthMaxXLarge", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMaxXLarge; } })); +Object.defineProperty(exports, "ScreenWidthMaxXXLarge", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMaxXXLarge; } })); +Object.defineProperty(exports, "ScreenWidthMinLarge", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMinLarge; } })); +Object.defineProperty(exports, "ScreenWidthMinMedium", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMinMedium; } })); +Object.defineProperty(exports, "ScreenWidthMinSmall", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMinSmall; } })); +Object.defineProperty(exports, "ScreenWidthMinUhfMobile", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMinUhfMobile; } })); +Object.defineProperty(exports, "ScreenWidthMinXLarge", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMinXLarge; } })); +Object.defineProperty(exports, "ScreenWidthMinXXLarge", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMinXXLarge; } })); +Object.defineProperty(exports, "ScreenWidthMinXXXLarge", ({ enumerable: true, get: function () { return style_utilities_1.ScreenWidthMinXXXLarge; } })); +Object.defineProperty(exports, "Stylesheet", ({ enumerable: true, get: function () { return style_utilities_1.Stylesheet; } })); +Object.defineProperty(exports, "ThemeSettingName", ({ enumerable: true, get: function () { return style_utilities_1.ThemeSettingName; } })); +Object.defineProperty(exports, "ZIndexes", ({ enumerable: true, get: function () { return style_utilities_1.ZIndexes; } })); +Object.defineProperty(exports, "buildClassMap", ({ enumerable: true, get: function () { return style_utilities_1.buildClassMap; } })); +Object.defineProperty(exports, "concatStyleSets", ({ enumerable: true, get: function () { return style_utilities_1.concatStyleSets; } })); +Object.defineProperty(exports, "concatStyleSetsWithProps", ({ enumerable: true, get: function () { return style_utilities_1.concatStyleSetsWithProps; } })); +Object.defineProperty(exports, "createFontStyles", ({ enumerable: true, get: function () { return style_utilities_1.createFontStyles; } })); +Object.defineProperty(exports, "focusClear", ({ enumerable: true, get: function () { return style_utilities_1.focusClear; } })); +Object.defineProperty(exports, "fontFace", ({ enumerable: true, get: function () { return style_utilities_1.fontFace; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "getEdgeChromiumNoHighContrastAdjustSelector", ({ enumerable: true, get: function () { return style_utilities_1.getEdgeChromiumNoHighContrastAdjustSelector; } })); +Object.defineProperty(exports, "getFadedOverflowStyle", ({ enumerable: true, get: function () { return style_utilities_1.getFadedOverflowStyle; } })); +Object.defineProperty(exports, "getFocusOutlineStyle", ({ enumerable: true, get: function () { return style_utilities_1.getFocusOutlineStyle; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "getFocusStyle", ({ enumerable: true, get: function () { return style_utilities_1.getFocusStyle; } })); +Object.defineProperty(exports, "getGlobalClassNames", ({ enumerable: true, get: function () { return style_utilities_1.getGlobalClassNames; } })); +Object.defineProperty(exports, "getHighContrastNoAdjustStyle", ({ enumerable: true, get: function () { return style_utilities_1.getHighContrastNoAdjustStyle; } })); +Object.defineProperty(exports, "getIcon", ({ enumerable: true, get: function () { return style_utilities_1.getIcon; } })); +Object.defineProperty(exports, "getIconClassName", ({ enumerable: true, get: function () { return style_utilities_1.getIconClassName; } })); +Object.defineProperty(exports, "getInputFocusStyle", ({ enumerable: true, get: function () { return style_utilities_1.getInputFocusStyle; } })); +Object.defineProperty(exports, "getPlaceholderStyles", ({ enumerable: true, get: function () { return style_utilities_1.getPlaceholderStyles; } })); +Object.defineProperty(exports, "getScreenSelector", ({ enumerable: true, get: function () { return style_utilities_1.getScreenSelector; } })); +Object.defineProperty(exports, "getTheme", ({ enumerable: true, get: function () { return style_utilities_1.getTheme; } })); +Object.defineProperty(exports, "getThemedContext", ({ enumerable: true, get: function () { return style_utilities_1.getThemedContext; } })); +Object.defineProperty(exports, "hiddenContentStyle", ({ enumerable: true, get: function () { return style_utilities_1.hiddenContentStyle; } })); +Object.defineProperty(exports, "keyframes", ({ enumerable: true, get: function () { return style_utilities_1.keyframes; } })); +Object.defineProperty(exports, "loadTheme", ({ enumerable: true, get: function () { return style_utilities_1.loadTheme; } })); +Object.defineProperty(exports, "mergeStyleSets", ({ enumerable: true, get: function () { return style_utilities_1.mergeStyleSets; } })); +Object.defineProperty(exports, "mergeStyles", ({ enumerable: true, get: function () { return style_utilities_1.mergeStyles; } })); +Object.defineProperty(exports, "noWrap", ({ enumerable: true, get: function () { return style_utilities_1.noWrap; } })); +Object.defineProperty(exports, "normalize", ({ enumerable: true, get: function () { return style_utilities_1.normalize; } })); +Object.defineProperty(exports, "registerIconAlias", ({ enumerable: true, get: function () { return style_utilities_1.registerIconAlias; } })); +Object.defineProperty(exports, "registerIcons", ({ enumerable: true, get: function () { return style_utilities_1.registerIcons; } })); +Object.defineProperty(exports, "registerOnThemeChangeCallback", ({ enumerable: true, get: function () { return style_utilities_1.registerOnThemeChangeCallback; } })); +Object.defineProperty(exports, "removeOnThemeChangeCallback", ({ enumerable: true, get: function () { return style_utilities_1.removeOnThemeChangeCallback; } })); +Object.defineProperty(exports, "setIconOptions", ({ enumerable: true, get: function () { return style_utilities_1.setIconOptions; } })); +Object.defineProperty(exports, "unregisterIcons", ({ enumerable: true, get: function () { return style_utilities_1.unregisterIcons; } })); +var theme_1 = __webpack_require__(/*! @fluentui/theme */ "./node_modules/@fluentui/theme/lib-commonjs/index.js"); +Object.defineProperty(exports, "createTheme", ({ enumerable: true, get: function () { return theme_1.createTheme; } })); +Object.defineProperty(exports, "registerDefaultFontFaces", ({ enumerable: true, get: function () { return theme_1.registerDefaultFontFaces; } })); +//# sourceMappingURL=Styling.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/SwatchColorPicker.js": +/*!************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/SwatchColorPicker.js ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/SwatchColorPicker/index */ "./node_modules/@fluentui/react/lib-commonjs/components/SwatchColorPicker/index.js"), exports); +//# sourceMappingURL=SwatchColorPicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/TeachingBubble.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/TeachingBubble.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/TeachingBubble/index */ "./node_modules/@fluentui/react/lib-commonjs/components/TeachingBubble/index.js"), exports); +//# sourceMappingURL=TeachingBubble.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Text.js": +/*!***********************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Text.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Text/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Text/index.js"), exports); +//# sourceMappingURL=Text.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/TextField.js": +/*!****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/TextField.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/TextField/index */ "./node_modules/@fluentui/react/lib-commonjs/components/TextField/index.js"), exports); +//# sourceMappingURL=TextField.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Theme.js": +/*!************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Theme.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.registerDefaultFontFaces = exports.SharedColors = exports.NeutralColors = exports.MotionAnimations = exports.MotionTimings = exports.MotionDurations = exports.mergeThemes = exports.LocalizedFontNames = exports.LocalizedFontFamilies = exports.createTheme = exports.createFontStyles = exports.FluentTheme = exports.Depths = exports.DefaultSpacing = exports.DefaultPalette = exports.DefaultFontStyles = exports.DefaultEffects = exports.CommunicationColors = exports.AnimationVariables = exports.AnimationStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +//When adding new exports to this file, also add them to index.ts. +var theme_1 = __webpack_require__(/*! @fluentui/theme */ "./node_modules/@fluentui/theme/lib-commonjs/index.js"); +Object.defineProperty(exports, "AnimationStyles", ({ enumerable: true, get: function () { return theme_1.AnimationStyles; } })); +Object.defineProperty(exports, "AnimationVariables", ({ enumerable: true, get: function () { return theme_1.AnimationVariables; } })); +Object.defineProperty(exports, "CommunicationColors", ({ enumerable: true, get: function () { return theme_1.CommunicationColors; } })); +Object.defineProperty(exports, "DefaultEffects", ({ enumerable: true, get: function () { return theme_1.DefaultEffects; } })); +Object.defineProperty(exports, "DefaultFontStyles", ({ enumerable: true, get: function () { return theme_1.DefaultFontStyles; } })); +Object.defineProperty(exports, "DefaultPalette", ({ enumerable: true, get: function () { return theme_1.DefaultPalette; } })); +Object.defineProperty(exports, "DefaultSpacing", ({ enumerable: true, get: function () { return theme_1.DefaultSpacing; } })); +Object.defineProperty(exports, "Depths", ({ enumerable: true, get: function () { return theme_1.Depths; } })); +Object.defineProperty(exports, "FluentTheme", ({ enumerable: true, get: function () { return theme_1.FluentTheme; } })); +Object.defineProperty(exports, "createFontStyles", ({ enumerable: true, get: function () { return theme_1.createFontStyles; } })); +Object.defineProperty(exports, "createTheme", ({ enumerable: true, get: function () { return theme_1.createTheme; } })); +Object.defineProperty(exports, "LocalizedFontFamilies", ({ enumerable: true, get: function () { return theme_1.LocalizedFontFamilies; } })); +Object.defineProperty(exports, "LocalizedFontNames", ({ enumerable: true, get: function () { return theme_1.LocalizedFontNames; } })); +Object.defineProperty(exports, "mergeThemes", ({ enumerable: true, get: function () { return theme_1.mergeThemes; } })); +Object.defineProperty(exports, "MotionDurations", ({ enumerable: true, get: function () { return theme_1.MotionDurations; } })); +Object.defineProperty(exports, "MotionTimings", ({ enumerable: true, get: function () { return theme_1.MotionTimings; } })); +Object.defineProperty(exports, "MotionAnimations", ({ enumerable: true, get: function () { return theme_1.MotionAnimations; } })); +Object.defineProperty(exports, "NeutralColors", ({ enumerable: true, get: function () { return theme_1.NeutralColors; } })); +Object.defineProperty(exports, "SharedColors", ({ enumerable: true, get: function () { return theme_1.SharedColors; } })); +Object.defineProperty(exports, "registerDefaultFontFaces", ({ enumerable: true, get: function () { return theme_1.registerDefaultFontFaces; } })); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/ThemeProvider/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/ThemeProvider/index.js"), exports); +//When adding new exports to this file, also add them to index.ts. +//# sourceMappingURL=Theme.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/ThemeGenerator.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/ThemeGenerator.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/ThemeGenerator/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ThemeGenerator/index.js"), exports); +//# sourceMappingURL=ThemeGenerator.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/TimePicker.js": +/*!*****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/TimePicker.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/TimePicker/index */ "./node_modules/@fluentui/react/lib-commonjs/components/TimePicker/index.js"), exports); +//# sourceMappingURL=TimePicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Toggle.js": +/*!*************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Toggle.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Toggle/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Toggle/index.js"), exports); +//# sourceMappingURL=Toggle.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Tooltip.js": +/*!**************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Tooltip.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/Tooltip/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Tooltip/index.js"), exports); +//# sourceMappingURL=Tooltip.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js": +/*!****************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Utilities.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.divProperties = exports.disableBodyScroll = exports.customizable = exports.css = exports.createMergedRef = exports.createMemoizer = exports.createArray = exports.composeRenderFunction = exports.composeComponentAs = exports.colProperties = exports.colGroupProperties = exports.classNamesFunction = exports.canUseDOM = exports.calculatePrecision = exports.buttonProperties = exports.baseElementProperties = exports.baseElementEvents = exports.audioProperties = exports.assign = exports.assertNever = exports.asAsync = exports.arraysEqual = exports.appendFunction = exports.anchorProperties = exports.allowScrollOnElement = exports.allowOverscrollOnElement = exports.addElementAtIndex = exports.addDirectionalKeyCode = exports.SelectionMode = exports.SelectionDirection = exports.Selection = exports.SELECTION_CHANGE = exports.Rectangle = exports.KeyCodes = exports.IsFocusVisibleClassName = exports.GlobalSettings = exports.FocusRectsProvider = exports.FocusRectsContext = exports.FocusRects = exports.FabricPerformance = exports.EventGroup = exports.DelayedRender = exports.DATA_PORTAL_ATTRIBUTE = exports.DATA_IS_SCROLLABLE_ATTRIBUTE = exports.CustomizerContext = exports.Customizer = exports.Customizations = exports.BaseComponent = exports.AutoScroll = exports.Async = void 0; +exports.imageProperties = exports.iframeProperties = exports.htmlElementProperties = exports.hoistStatics = exports.hoistMethods = exports.hasVerticalOverflow = exports.hasOverflow = exports.hasHorizontalOverflow = exports.getWindow = exports.getVirtualParent = exports.getScrollbarWidth = exports.getResourceUrl = exports.getRect = exports.getRTLSafeKeyCode = exports.getRTL = exports.getPropsWithDefaults = exports.getPreviousElement = exports.getParent = exports.getNextElement = exports.getNativeProps = exports.getNativeElementProps = exports.getLastTabbable = exports.getLastFocusable = exports.getLanguage = exports.getInitials = exports.getId = exports.getFocusableByIndexPath = exports.getFirstVisibleElementFromSelector = exports.getFirstTabbable = exports.getFirstFocusable = exports.getElementIndexPath = exports.getDocument = exports.getDistanceBetweenPoints = exports.getChildren = exports.format = exports.formProperties = exports.focusFirstChild = exports.focusAsync = exports.flatten = exports.fitContentToBounds = exports.findScrollableParent = exports.findIndex = exports.findElementRecursive = exports.find = exports.filteredAssign = exports.extendComponent = exports.enableBodyScroll = exports.elementContainsAttribute = exports.elementContains = exports.doesElementContainFocus = void 0; +exports.setSSR = exports.setRTL = exports.setPortalAttribute = exports.setMemoizeWeakMap = exports.setLanguage = exports.setFocusVisibility = exports.setBaseUrl = exports.selectProperties = exports.safeSetTimeout = exports.safeRequestAnimationFrame = exports.resetMemoizations = exports.resetIds = exports.resetControlledWarnings = exports.replaceElement = exports.removeIndex = exports.removeDirectionalKeyCode = exports.raiseClick = exports.precisionRound = exports.portalContainsElement = exports.optionProperties = exports.on = exports.omit = exports.olProperties = exports.nullRender = exports.modalize = exports.mergeSettings = exports.mergeScopedSettings = exports.mergeCustomizations = exports.mergeAriaAttributeValues = exports.merge = exports.memoizeFunction = exports.memoize = exports.mapEnumByName = exports.liProperties = exports.labelProperties = exports.isVirtualElement = exports.isMac = exports.isIOS = exports.isIE11 = exports.isElementVisibleAndNotHidden = exports.isElementVisible = exports.isElementTabbable = exports.isElementFocusZone = exports.isElementFocusSubZone = exports.isDirectionalKeyCode = exports.isControlled = exports.inputProperties = exports.initializeFocusRects = exports.initializeComponentRef = exports.imgProperties = void 0; +exports.warnMutuallyExclusive = exports.warnDeprecations = exports.warnControlledUsage = exports.warnConditionallyRequiredProps = exports.warn = exports.videoProperties = exports.values = exports.useFocusRects = exports.useCustomizationSettings = exports.unhoistMethods = exports.trProperties = exports.toMatrix = exports.thProperties = exports.textAreaProperties = exports.tdProperties = exports.tableProperties = exports.styled = exports.shouldWrapFocus = exports.shallowCompare = exports.setWarningCallback = exports.setVirtualParent = void 0; +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/react/lib-commonjs/version.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +Object.defineProperty(exports, "Async", ({ enumerable: true, get: function () { return utilities_1.Async; } })); +Object.defineProperty(exports, "AutoScroll", ({ enumerable: true, get: function () { return utilities_1.AutoScroll; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "BaseComponent", ({ enumerable: true, get: function () { return utilities_1.BaseComponent; } })); +Object.defineProperty(exports, "Customizations", ({ enumerable: true, get: function () { return utilities_1.Customizations; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "Customizer", ({ enumerable: true, get: function () { return utilities_1.Customizer; } })); +Object.defineProperty(exports, "CustomizerContext", ({ enumerable: true, get: function () { return utilities_1.CustomizerContext; } })); +Object.defineProperty(exports, "DATA_IS_SCROLLABLE_ATTRIBUTE", ({ enumerable: true, get: function () { return utilities_1.DATA_IS_SCROLLABLE_ATTRIBUTE; } })); +Object.defineProperty(exports, "DATA_PORTAL_ATTRIBUTE", ({ enumerable: true, get: function () { return utilities_1.DATA_PORTAL_ATTRIBUTE; } })); +Object.defineProperty(exports, "DelayedRender", ({ enumerable: true, get: function () { return utilities_1.DelayedRender; } })); +Object.defineProperty(exports, "EventGroup", ({ enumerable: true, get: function () { return utilities_1.EventGroup; } })); +Object.defineProperty(exports, "FabricPerformance", ({ enumerable: true, get: function () { return utilities_1.FabricPerformance; } })); +Object.defineProperty(exports, "FocusRects", ({ enumerable: true, get: function () { return utilities_1.FocusRects; } })); +Object.defineProperty(exports, "FocusRectsContext", ({ enumerable: true, get: function () { return utilities_1.FocusRectsContext; } })); +Object.defineProperty(exports, "FocusRectsProvider", ({ enumerable: true, get: function () { return utilities_1.FocusRectsProvider; } })); +Object.defineProperty(exports, "GlobalSettings", ({ enumerable: true, get: function () { return utilities_1.GlobalSettings; } })); +Object.defineProperty(exports, "IsFocusVisibleClassName", ({ enumerable: true, get: function () { return utilities_1.IsFocusVisibleClassName; } })); +Object.defineProperty(exports, "KeyCodes", ({ enumerable: true, get: function () { return utilities_1.KeyCodes; } })); +Object.defineProperty(exports, "Rectangle", ({ enumerable: true, get: function () { return utilities_1.Rectangle; } })); +Object.defineProperty(exports, "SELECTION_CHANGE", ({ enumerable: true, get: function () { return utilities_1.SELECTION_CHANGE; } })); +Object.defineProperty(exports, "Selection", ({ enumerable: true, get: function () { return utilities_1.Selection; } })); +Object.defineProperty(exports, "SelectionDirection", ({ enumerable: true, get: function () { return utilities_1.SelectionDirection; } })); +Object.defineProperty(exports, "SelectionMode", ({ enumerable: true, get: function () { return utilities_1.SelectionMode; } })); +Object.defineProperty(exports, "addDirectionalKeyCode", ({ enumerable: true, get: function () { return utilities_1.addDirectionalKeyCode; } })); +Object.defineProperty(exports, "addElementAtIndex", ({ enumerable: true, get: function () { return utilities_1.addElementAtIndex; } })); +Object.defineProperty(exports, "allowOverscrollOnElement", ({ enumerable: true, get: function () { return utilities_1.allowOverscrollOnElement; } })); +Object.defineProperty(exports, "allowScrollOnElement", ({ enumerable: true, get: function () { return utilities_1.allowScrollOnElement; } })); +Object.defineProperty(exports, "anchorProperties", ({ enumerable: true, get: function () { return utilities_1.anchorProperties; } })); +Object.defineProperty(exports, "appendFunction", ({ enumerable: true, get: function () { return utilities_1.appendFunction; } })); +Object.defineProperty(exports, "arraysEqual", ({ enumerable: true, get: function () { return utilities_1.arraysEqual; } })); +Object.defineProperty(exports, "asAsync", ({ enumerable: true, get: function () { return utilities_1.asAsync; } })); +Object.defineProperty(exports, "assertNever", ({ enumerable: true, get: function () { return utilities_1.assertNever; } })); +Object.defineProperty(exports, "assign", ({ enumerable: true, get: function () { return utilities_1.assign; } })); +Object.defineProperty(exports, "audioProperties", ({ enumerable: true, get: function () { return utilities_1.audioProperties; } })); +Object.defineProperty(exports, "baseElementEvents", ({ enumerable: true, get: function () { return utilities_1.baseElementEvents; } })); +Object.defineProperty(exports, "baseElementProperties", ({ enumerable: true, get: function () { return utilities_1.baseElementProperties; } })); +Object.defineProperty(exports, "buttonProperties", ({ enumerable: true, get: function () { return utilities_1.buttonProperties; } })); +Object.defineProperty(exports, "calculatePrecision", ({ enumerable: true, get: function () { return utilities_1.calculatePrecision; } })); +Object.defineProperty(exports, "canUseDOM", ({ enumerable: true, get: function () { return utilities_1.canUseDOM; } })); +Object.defineProperty(exports, "classNamesFunction", ({ enumerable: true, get: function () { return utilities_1.classNamesFunction; } })); +Object.defineProperty(exports, "colGroupProperties", ({ enumerable: true, get: function () { return utilities_1.colGroupProperties; } })); +Object.defineProperty(exports, "colProperties", ({ enumerable: true, get: function () { return utilities_1.colProperties; } })); +Object.defineProperty(exports, "composeComponentAs", ({ enumerable: true, get: function () { return utilities_1.composeComponentAs; } })); +Object.defineProperty(exports, "composeRenderFunction", ({ enumerable: true, get: function () { return utilities_1.composeRenderFunction; } })); +Object.defineProperty(exports, "createArray", ({ enumerable: true, get: function () { return utilities_1.createArray; } })); +Object.defineProperty(exports, "createMemoizer", ({ enumerable: true, get: function () { return utilities_1.createMemoizer; } })); +Object.defineProperty(exports, "createMergedRef", ({ enumerable: true, get: function () { return utilities_1.createMergedRef; } })); +Object.defineProperty(exports, "css", ({ enumerable: true, get: function () { return utilities_1.css; } })); +Object.defineProperty(exports, "customizable", ({ enumerable: true, get: function () { return utilities_1.customizable; } })); +Object.defineProperty(exports, "disableBodyScroll", ({ enumerable: true, get: function () { return utilities_1.disableBodyScroll; } })); +Object.defineProperty(exports, "divProperties", ({ enumerable: true, get: function () { return utilities_1.divProperties; } })); +Object.defineProperty(exports, "doesElementContainFocus", ({ enumerable: true, get: function () { return utilities_1.doesElementContainFocus; } })); +Object.defineProperty(exports, "elementContains", ({ enumerable: true, get: function () { return utilities_1.elementContains; } })); +Object.defineProperty(exports, "elementContainsAttribute", ({ enumerable: true, get: function () { return utilities_1.elementContainsAttribute; } })); +Object.defineProperty(exports, "enableBodyScroll", ({ enumerable: true, get: function () { return utilities_1.enableBodyScroll; } })); +Object.defineProperty(exports, "extendComponent", ({ enumerable: true, get: function () { return utilities_1.extendComponent; } })); +Object.defineProperty(exports, "filteredAssign", ({ enumerable: true, get: function () { return utilities_1.filteredAssign; } })); +Object.defineProperty(exports, "find", ({ enumerable: true, get: function () { return utilities_1.find; } })); +Object.defineProperty(exports, "findElementRecursive", ({ enumerable: true, get: function () { return utilities_1.findElementRecursive; } })); +Object.defineProperty(exports, "findIndex", ({ enumerable: true, get: function () { return utilities_1.findIndex; } })); +Object.defineProperty(exports, "findScrollableParent", ({ enumerable: true, get: function () { return utilities_1.findScrollableParent; } })); +Object.defineProperty(exports, "fitContentToBounds", ({ enumerable: true, get: function () { return utilities_1.fitContentToBounds; } })); +Object.defineProperty(exports, "flatten", ({ enumerable: true, get: function () { return utilities_1.flatten; } })); +Object.defineProperty(exports, "focusAsync", ({ enumerable: true, get: function () { return utilities_1.focusAsync; } })); +Object.defineProperty(exports, "focusFirstChild", ({ enumerable: true, get: function () { return utilities_1.focusFirstChild; } })); +Object.defineProperty(exports, "formProperties", ({ enumerable: true, get: function () { return utilities_1.formProperties; } })); +Object.defineProperty(exports, "format", ({ enumerable: true, get: function () { return utilities_1.format; } })); +Object.defineProperty(exports, "getChildren", ({ enumerable: true, get: function () { return utilities_1.getChildren; } })); +Object.defineProperty(exports, "getDistanceBetweenPoints", ({ enumerable: true, get: function () { return utilities_1.getDistanceBetweenPoints; } })); +Object.defineProperty(exports, "getDocument", ({ enumerable: true, get: function () { return utilities_1.getDocument; } })); +Object.defineProperty(exports, "getElementIndexPath", ({ enumerable: true, get: function () { return utilities_1.getElementIndexPath; } })); +Object.defineProperty(exports, "getFirstFocusable", ({ enumerable: true, get: function () { return utilities_1.getFirstFocusable; } })); +Object.defineProperty(exports, "getFirstTabbable", ({ enumerable: true, get: function () { return utilities_1.getFirstTabbable; } })); +Object.defineProperty(exports, "getFirstVisibleElementFromSelector", ({ enumerable: true, get: function () { return utilities_1.getFirstVisibleElementFromSelector; } })); +Object.defineProperty(exports, "getFocusableByIndexPath", ({ enumerable: true, get: function () { return utilities_1.getFocusableByIndexPath; } })); +Object.defineProperty(exports, "getId", ({ enumerable: true, get: function () { return utilities_1.getId; } })); +Object.defineProperty(exports, "getInitials", ({ enumerable: true, get: function () { return utilities_1.getInitials; } })); +Object.defineProperty(exports, "getLanguage", ({ enumerable: true, get: function () { return utilities_1.getLanguage; } })); +Object.defineProperty(exports, "getLastFocusable", ({ enumerable: true, get: function () { return utilities_1.getLastFocusable; } })); +Object.defineProperty(exports, "getLastTabbable", ({ enumerable: true, get: function () { return utilities_1.getLastTabbable; } })); +Object.defineProperty(exports, "getNativeElementProps", ({ enumerable: true, get: function () { return utilities_1.getNativeElementProps; } })); +Object.defineProperty(exports, "getNativeProps", ({ enumerable: true, get: function () { return utilities_1.getNativeProps; } })); +Object.defineProperty(exports, "getNextElement", ({ enumerable: true, get: function () { return utilities_1.getNextElement; } })); +Object.defineProperty(exports, "getParent", ({ enumerable: true, get: function () { return utilities_1.getParent; } })); +Object.defineProperty(exports, "getPreviousElement", ({ enumerable: true, get: function () { return utilities_1.getPreviousElement; } })); +Object.defineProperty(exports, "getPropsWithDefaults", ({ enumerable: true, get: function () { return utilities_1.getPropsWithDefaults; } })); +Object.defineProperty(exports, "getRTL", ({ enumerable: true, get: function () { return utilities_1.getRTL; } })); +Object.defineProperty(exports, "getRTLSafeKeyCode", ({ enumerable: true, get: function () { return utilities_1.getRTLSafeKeyCode; } })); +Object.defineProperty(exports, "getRect", ({ enumerable: true, get: function () { return utilities_1.getRect; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "getResourceUrl", ({ enumerable: true, get: function () { return utilities_1.getResourceUrl; } })); +Object.defineProperty(exports, "getScrollbarWidth", ({ enumerable: true, get: function () { return utilities_1.getScrollbarWidth; } })); +Object.defineProperty(exports, "getVirtualParent", ({ enumerable: true, get: function () { return utilities_1.getVirtualParent; } })); +Object.defineProperty(exports, "getWindow", ({ enumerable: true, get: function () { return utilities_1.getWindow; } })); +Object.defineProperty(exports, "hasHorizontalOverflow", ({ enumerable: true, get: function () { return utilities_1.hasHorizontalOverflow; } })); +Object.defineProperty(exports, "hasOverflow", ({ enumerable: true, get: function () { return utilities_1.hasOverflow; } })); +Object.defineProperty(exports, "hasVerticalOverflow", ({ enumerable: true, get: function () { return utilities_1.hasVerticalOverflow; } })); +Object.defineProperty(exports, "hoistMethods", ({ enumerable: true, get: function () { return utilities_1.hoistMethods; } })); +Object.defineProperty(exports, "hoistStatics", ({ enumerable: true, get: function () { return utilities_1.hoistStatics; } })); +Object.defineProperty(exports, "htmlElementProperties", ({ enumerable: true, get: function () { return utilities_1.htmlElementProperties; } })); +Object.defineProperty(exports, "iframeProperties", ({ enumerable: true, get: function () { return utilities_1.iframeProperties; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "imageProperties", ({ enumerable: true, get: function () { return utilities_1.imageProperties; } })); +Object.defineProperty(exports, "imgProperties", ({ enumerable: true, get: function () { return utilities_1.imgProperties; } })); +Object.defineProperty(exports, "initializeComponentRef", ({ enumerable: true, get: function () { return utilities_1.initializeComponentRef; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "initializeFocusRects", ({ enumerable: true, get: function () { return utilities_1.initializeFocusRects; } })); +Object.defineProperty(exports, "inputProperties", ({ enumerable: true, get: function () { return utilities_1.inputProperties; } })); +Object.defineProperty(exports, "isControlled", ({ enumerable: true, get: function () { return utilities_1.isControlled; } })); +Object.defineProperty(exports, "isDirectionalKeyCode", ({ enumerable: true, get: function () { return utilities_1.isDirectionalKeyCode; } })); +Object.defineProperty(exports, "isElementFocusSubZone", ({ enumerable: true, get: function () { return utilities_1.isElementFocusSubZone; } })); +Object.defineProperty(exports, "isElementFocusZone", ({ enumerable: true, get: function () { return utilities_1.isElementFocusZone; } })); +Object.defineProperty(exports, "isElementTabbable", ({ enumerable: true, get: function () { return utilities_1.isElementTabbable; } })); +Object.defineProperty(exports, "isElementVisible", ({ enumerable: true, get: function () { return utilities_1.isElementVisible; } })); +Object.defineProperty(exports, "isElementVisibleAndNotHidden", ({ enumerable: true, get: function () { return utilities_1.isElementVisibleAndNotHidden; } })); +Object.defineProperty(exports, "isIE11", ({ enumerable: true, get: function () { return utilities_1.isIE11; } })); +Object.defineProperty(exports, "isIOS", ({ enumerable: true, get: function () { return utilities_1.isIOS; } })); +Object.defineProperty(exports, "isMac", ({ enumerable: true, get: function () { return utilities_1.isMac; } })); +Object.defineProperty(exports, "isVirtualElement", ({ enumerable: true, get: function () { return utilities_1.isVirtualElement; } })); +Object.defineProperty(exports, "labelProperties", ({ enumerable: true, get: function () { return utilities_1.labelProperties; } })); +Object.defineProperty(exports, "liProperties", ({ enumerable: true, get: function () { return utilities_1.liProperties; } })); +Object.defineProperty(exports, "mapEnumByName", ({ enumerable: true, get: function () { return utilities_1.mapEnumByName; } })); +Object.defineProperty(exports, "memoize", ({ enumerable: true, get: function () { return utilities_1.memoize; } })); +Object.defineProperty(exports, "memoizeFunction", ({ enumerable: true, get: function () { return utilities_1.memoizeFunction; } })); +Object.defineProperty(exports, "merge", ({ enumerable: true, get: function () { return utilities_1.merge; } })); +Object.defineProperty(exports, "mergeAriaAttributeValues", ({ enumerable: true, get: function () { return utilities_1.mergeAriaAttributeValues; } })); +Object.defineProperty(exports, "mergeCustomizations", ({ enumerable: true, get: function () { return utilities_1.mergeCustomizations; } })); +Object.defineProperty(exports, "mergeScopedSettings", ({ enumerable: true, get: function () { return utilities_1.mergeScopedSettings; } })); +Object.defineProperty(exports, "mergeSettings", ({ enumerable: true, get: function () { return utilities_1.mergeSettings; } })); +Object.defineProperty(exports, "modalize", ({ enumerable: true, get: function () { return utilities_1.modalize; } })); +Object.defineProperty(exports, "nullRender", ({ enumerable: true, get: function () { return utilities_1.nullRender; } })); +Object.defineProperty(exports, "olProperties", ({ enumerable: true, get: function () { return utilities_1.olProperties; } })); +Object.defineProperty(exports, "omit", ({ enumerable: true, get: function () { return utilities_1.omit; } })); +Object.defineProperty(exports, "on", ({ enumerable: true, get: function () { return utilities_1.on; } })); +Object.defineProperty(exports, "optionProperties", ({ enumerable: true, get: function () { return utilities_1.optionProperties; } })); +Object.defineProperty(exports, "portalContainsElement", ({ enumerable: true, get: function () { return utilities_1.portalContainsElement; } })); +Object.defineProperty(exports, "precisionRound", ({ enumerable: true, get: function () { return utilities_1.precisionRound; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "raiseClick", ({ enumerable: true, get: function () { return utilities_1.raiseClick; } })); +Object.defineProperty(exports, "removeDirectionalKeyCode", ({ enumerable: true, get: function () { return utilities_1.removeDirectionalKeyCode; } })); +Object.defineProperty(exports, "removeIndex", ({ enumerable: true, get: function () { return utilities_1.removeIndex; } })); +Object.defineProperty(exports, "replaceElement", ({ enumerable: true, get: function () { return utilities_1.replaceElement; } })); +Object.defineProperty(exports, "resetControlledWarnings", ({ enumerable: true, get: function () { return utilities_1.resetControlledWarnings; } })); +Object.defineProperty(exports, "resetIds", ({ enumerable: true, get: function () { return utilities_1.resetIds; } })); +Object.defineProperty(exports, "resetMemoizations", ({ enumerable: true, get: function () { return utilities_1.resetMemoizations; } })); +Object.defineProperty(exports, "safeRequestAnimationFrame", ({ enumerable: true, get: function () { return utilities_1.safeRequestAnimationFrame; } })); +Object.defineProperty(exports, "safeSetTimeout", ({ enumerable: true, get: function () { return utilities_1.safeSetTimeout; } })); +Object.defineProperty(exports, "selectProperties", ({ enumerable: true, get: function () { return utilities_1.selectProperties; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "setBaseUrl", ({ enumerable: true, get: function () { return utilities_1.setBaseUrl; } })); +Object.defineProperty(exports, "setFocusVisibility", ({ enumerable: true, get: function () { return utilities_1.setFocusVisibility; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "setLanguage", ({ enumerable: true, get: function () { return utilities_1.setLanguage; } })); +Object.defineProperty(exports, "setMemoizeWeakMap", ({ enumerable: true, get: function () { return utilities_1.setMemoizeWeakMap; } })); +Object.defineProperty(exports, "setPortalAttribute", ({ enumerable: true, get: function () { return utilities_1.setPortalAttribute; } })); +Object.defineProperty(exports, "setRTL", ({ enumerable: true, get: function () { return utilities_1.setRTL; } })); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "setSSR", ({ enumerable: true, get: function () { return utilities_1.setSSR; } })); +Object.defineProperty(exports, "setVirtualParent", ({ enumerable: true, get: function () { return utilities_1.setVirtualParent; } })); +Object.defineProperty(exports, "setWarningCallback", ({ enumerable: true, get: function () { return utilities_1.setWarningCallback; } })); +Object.defineProperty(exports, "shallowCompare", ({ enumerable: true, get: function () { return utilities_1.shallowCompare; } })); +Object.defineProperty(exports, "shouldWrapFocus", ({ enumerable: true, get: function () { return utilities_1.shouldWrapFocus; } })); +Object.defineProperty(exports, "styled", ({ enumerable: true, get: function () { return utilities_1.styled; } })); +Object.defineProperty(exports, "tableProperties", ({ enumerable: true, get: function () { return utilities_1.tableProperties; } })); +Object.defineProperty(exports, "tdProperties", ({ enumerable: true, get: function () { return utilities_1.tdProperties; } })); +Object.defineProperty(exports, "textAreaProperties", ({ enumerable: true, get: function () { return utilities_1.textAreaProperties; } })); +Object.defineProperty(exports, "thProperties", ({ enumerable: true, get: function () { return utilities_1.thProperties; } })); +Object.defineProperty(exports, "toMatrix", ({ enumerable: true, get: function () { return utilities_1.toMatrix; } })); +Object.defineProperty(exports, "trProperties", ({ enumerable: true, get: function () { return utilities_1.trProperties; } })); +Object.defineProperty(exports, "unhoistMethods", ({ enumerable: true, get: function () { return utilities_1.unhoistMethods; } })); +Object.defineProperty(exports, "useCustomizationSettings", ({ enumerable: true, get: function () { return utilities_1.useCustomizationSettings; } })); +Object.defineProperty(exports, "useFocusRects", ({ enumerable: true, get: function () { return utilities_1.useFocusRects; } })); +Object.defineProperty(exports, "values", ({ enumerable: true, get: function () { return utilities_1.values; } })); +Object.defineProperty(exports, "videoProperties", ({ enumerable: true, get: function () { return utilities_1.videoProperties; } })); +Object.defineProperty(exports, "warn", ({ enumerable: true, get: function () { return utilities_1.warn; } })); +Object.defineProperty(exports, "warnConditionallyRequiredProps", ({ enumerable: true, get: function () { return utilities_1.warnConditionallyRequiredProps; } })); +Object.defineProperty(exports, "warnControlledUsage", ({ enumerable: true, get: function () { return utilities_1.warnControlledUsage; } })); +Object.defineProperty(exports, "warnDeprecations", ({ enumerable: true, get: function () { return utilities_1.warnDeprecations; } })); +Object.defineProperty(exports, "warnMutuallyExclusive", ({ enumerable: true, get: function () { return utilities_1.warnMutuallyExclusive; } })); +//# sourceMappingURL=Utilities.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/Viewport.js": +/*!***************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/Viewport.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./utilities/decorators/withViewport */ "./node_modules/@fluentui/react/lib-commonjs/utilities/decorators/withViewport.js"), exports); +//# sourceMappingURL=Viewport.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/WeeklyDayPicker.js": +/*!**********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/WeeklyDayPicker.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./components/WeeklyDayPicker/index */ "./node_modules/@fluentui/react/lib-commonjs/components/WeeklyDayPicker/index.js"), exports); +//# sourceMappingURL=WeeklyDayPicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/WindowProvider.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/WindowProvider.js ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.useWindow = exports.useDocument = exports.WindowProvider = exports.WindowContext = void 0; +__webpack_require__(/*! ./version */ "./node_modules/@fluentui/react/lib-commonjs/version.js"); +var react_window_provider_1 = __webpack_require__(/*! @fluentui/react-window-provider */ "./node_modules/@fluentui/react-window-provider/lib-commonjs/index.js"); +Object.defineProperty(exports, "WindowContext", ({ enumerable: true, get: function () { return react_window_provider_1.WindowContext; } })); +Object.defineProperty(exports, "WindowProvider", ({ enumerable: true, get: function () { return react_window_provider_1.WindowProvider; } })); +Object.defineProperty(exports, "useDocument", ({ enumerable: true, get: function () { return react_window_provider_1.useDocument; } })); +Object.defineProperty(exports, "useWindow", ({ enumerable: true, get: function () { return react_window_provider_1.useWindow; } })); +//# sourceMappingURL=WindowProvider.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DirectionalHint = void 0; +exports.DirectionalHint = { + /** + * Appear above the target element, with the left edges of the callout and target aligning. + */ + topLeftEdge: 0, + /** + * Appear above the target element, with the centers of the callout and target aligning. + */ + topCenter: 1, + /** + * Appear above the target element, with the right edges of the callout and target aligning. + */ + topRightEdge: 2, + /** + * Appear above the target element, aligning with the target element such that the callout tends toward + * the center of the screen. + */ + topAutoEdge: 3, + /** + * Appear below the target element, with the left edges of the callout and target aligning. + */ + bottomLeftEdge: 4, + /** + * Appear below the target element, with the centers of the callout and target aligning. + */ + bottomCenter: 5, + /** + * Appear below the target element, with the right edges of the callout and target aligning. + */ + bottomRightEdge: 6, + /** + * Appear below the target element, aligning with the target element such that the callout tends toward + * the center of the screen. + */ + bottomAutoEdge: 7, + /** + * Appear to the left of the target element, with the top edges of the callout and target aligning. + */ + leftTopEdge: 8, + /** + * Appear to the left of the target element, with the centers of the callout and target aligning. + */ + leftCenter: 9, + /** + * Appear to the left of the target element, with the bottom edges of the callout and target aligning. + */ + leftBottomEdge: 10, + /** + * Appear to the right of the target element, with the top edges of the callout and target aligning. + */ + rightTopEdge: 11, + /** + * Appear to the right of the target element, with the centers of the callout and target aligning. + */ + rightCenter: 12, + /** + * Appear to the right of the target element, with the bottom edges of the callout and target aligning. + */ + rightBottomEdge: 13, +}; +//# sourceMappingURL=DirectionalHint.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.classNames.js": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.classNames.js ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getClassNames = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.getClassNames = (0, Utilities_1.memoizeFunction)(function (styles, className, activityPersonas, isCompact) { + return { + root: (0, Styling_1.mergeStyles)('ms-ActivityItem', className, styles.root, isCompact && styles.isCompactRoot), + pulsingBeacon: (0, Styling_1.mergeStyles)('ms-ActivityItem-pulsingBeacon', styles.pulsingBeacon), + personaContainer: (0, Styling_1.mergeStyles)('ms-ActivityItem-personaContainer', styles.personaContainer, isCompact && styles.isCompactPersonaContainer), + activityPersona: (0, Styling_1.mergeStyles)('ms-ActivityItem-activityPersona', styles.activityPersona, isCompact && styles.isCompactPersona, !isCompact && activityPersonas && activityPersonas.length === 2 && styles.doublePersona), + activityTypeIcon: (0, Styling_1.mergeStyles)('ms-ActivityItem-activityTypeIcon', styles.activityTypeIcon, isCompact && styles.isCompactIcon), + activityContent: (0, Styling_1.mergeStyles)('ms-ActivityItem-activityContent', styles.activityContent, isCompact && styles.isCompactContent), + activityText: (0, Styling_1.mergeStyles)('ms-ActivityItem-activityText', styles.activityText), + commentText: (0, Styling_1.mergeStyles)('ms-ActivityItem-commentText', styles.commentText), + timeStamp: (0, Styling_1.mergeStyles)('ms-ActivityItem-timeStamp', styles.timeStamp, isCompact && styles.isCompactTimeStamp), + }; +}); +//# sourceMappingURL=ActivityItem.classNames.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.js": +/*!*******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.js ***! + \*******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ActivityItem = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var ActivityItem_classNames_1 = __webpack_require__(/*! ./ActivityItem.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.classNames.js"); +var ActivityItem_styles_1 = __webpack_require__(/*! ./ActivityItem.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.styles.js"); +var Persona_1 = __webpack_require__(/*! ../../Persona */ "./node_modules/@fluentui/react/lib-commonjs/Persona.js"); +/** + * {@docCategory ActivityItem} + */ +var ActivityItem = /** @class */ (function (_super) { + tslib_1.__extends(ActivityItem, _super); + function ActivityItem(props) { + var _this = _super.call(this, props) || this; + _this._onRenderIcon = function (props) { + if (props.activityPersonas) { + return _this._onRenderPersonaArray(props); + } + else { + return _this.props.activityIcon; + } + }; + _this._onRenderActivityDescription = function (props) { + var classNames = _this._getClassNames(props); + // eslint-disable-next-line deprecation/deprecation + var activityDescription = props.activityDescription || props.activityDescriptionText; + if (activityDescription) { + return React.createElement("span", { className: classNames.activityText }, activityDescription); + } + return null; + }; + _this._onRenderComments = function (props) { + var classNames = _this._getClassNames(props); + // eslint-disable-next-line deprecation/deprecation + var comments = props.comments || props.commentText; + if (!props.isCompact && comments) { + return React.createElement("div", { className: classNames.commentText }, comments); + } + return null; + }; + _this._onRenderTimeStamp = function (props) { + var classNames = _this._getClassNames(props); + if (!props.isCompact && props.timeStamp) { + return React.createElement("div", { className: classNames.timeStamp }, props.timeStamp); + } + return null; + }; + // If activityPersonas is an array of persona props, build the persona cluster element. + _this._onRenderPersonaArray = function (props) { + var classNames = _this._getClassNames(props); + var personaElement = null; + var activityPersonas = props.activityPersonas; + if (activityPersonas[0].imageUrl || activityPersonas[0].imageInitials) { + var personaList_1 = []; + var showSize16Personas_1 = activityPersonas.length > 1 || props.isCompact; + var personaLimit_1 = props.isCompact ? 3 : 4; + var style_1 = undefined; + if (props.isCompact) { + style_1 = { + display: 'inline-block', + width: '10px', + minWidth: '10px', + overflow: 'visible', + }; + } + activityPersonas + .filter(function (person, index) { return index < personaLimit_1; }) + .forEach(function (person, index) { + personaList_1.push(React.createElement(Persona_1.PersonaCoin, tslib_1.__assign({}, person, { key: person.key || index, className: classNames.activityPersona, + // eslint-disable-next-line deprecation/deprecation + size: showSize16Personas_1 ? Persona_1.PersonaSize.size16 : Persona_1.PersonaSize.size32, style: style_1 }))); + }); + personaElement = React.createElement("div", { className: classNames.personaContainer }, personaList_1); + } + return personaElement; + }; + return _this; + } + ActivityItem.prototype.render = function () { + var _a = this.props, _b = _a.onRenderIcon, onRenderIcon = _b === void 0 ? this._onRenderIcon : _b, _c = _a.onRenderActivityDescription, onRenderActivityDescription = _c === void 0 ? this._onRenderActivityDescription : _c, _d = _a.onRenderComments, onRenderComments = _d === void 0 ? this._onRenderComments : _d, _e = _a.onRenderTimeStamp, onRenderTimeStamp = _e === void 0 ? this._onRenderTimeStamp : _e, animateBeaconSignal = _a.animateBeaconSignal, isCompact = _a.isCompact; + var classNames = this._getClassNames(this.props); + return (React.createElement("div", { className: classNames.root, style: this.props.style }, + (this.props.activityPersonas || this.props.activityIcon || this.props.onRenderIcon) && (React.createElement("div", { className: classNames.activityTypeIcon }, + animateBeaconSignal && isCompact && React.createElement("div", { className: classNames.pulsingBeacon }), + onRenderIcon(this.props))), + React.createElement("div", { className: classNames.activityContent }, + onRenderActivityDescription(this.props, this._onRenderActivityDescription), + onRenderComments(this.props, this._onRenderComments), + onRenderTimeStamp(this.props, this._onRenderTimeStamp)))); + }; + ActivityItem.prototype._getClassNames = function (props) { + return (0, ActivityItem_classNames_1.getClassNames)((0, ActivityItem_styles_1.getStyles)(undefined, props.styles, props.animateBeaconSignal, props.beaconColorOne, props.beaconColorTwo, props.isCompact), props.className, props.activityPersonas, props.isCompact); + }; + return ActivityItem; +}(React.Component)); +exports.ActivityItem = ActivityItem; +//# sourceMappingURL=ActivityItem.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.styles.js": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.styles.js ***! + \**************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DEFAULT_PERSONA_SIZE = '32px'; +var COMPACT_PERSONA_SIZE = '16px'; +var DEFAULT_ICON_SIZE = '16px'; +var COMPACT_ICON_SIZE = '13px'; +var ANIMATION_INNER_DIMENSION = '4px'; +var ANIMATION_OUTER_DIMENSION = '28px'; +var ANIMATION_BORDER_WIDTH = '4px'; +var fadeIn = (0, Utilities_1.memoizeFunction)(function () { + return (0, Styling_1.keyframes)({ + from: { opacity: 0 }, + to: { opacity: 1 }, + }); +}); +var slideIn = (0, Utilities_1.memoizeFunction)(function () { + return (0, Styling_1.keyframes)({ + from: { transform: 'translateX(-10px)' }, + to: { transform: 'translateX(0)' }, + }); +}); +exports.getStyles = (0, Utilities_1.memoizeFunction)(function (theme, customStyles, animateBeaconSignal, beaconColorOne, beaconColorTwo, isCompact) { + var _a; + if (theme === void 0) { theme = (0, Styling_1.getTheme)(); } + var continuousPulse = Styling_1.PulsingBeaconAnimationStyles.continuousPulseAnimationSingle(beaconColorOne ? beaconColorOne : theme.palette.themePrimary, beaconColorTwo ? beaconColorTwo : theme.palette.themeTertiary, ANIMATION_INNER_DIMENSION, ANIMATION_OUTER_DIMENSION, ANIMATION_BORDER_WIDTH); + var continuousPulseAnimation = { + animationName: continuousPulse, + animationIterationCount: '1', + animationDuration: '.8s', + zIndex: 1, + }; + var slideInAnimation = { + animationName: slideIn(), + animationIterationCount: '1', + animationDuration: '.5s', + }; + var fadeInAnimation = { + animationName: fadeIn(), + animationIterationCount: '1', + animationDuration: '.5s', + }; + var ActivityItemStyles = { + root: [ + theme.fonts.small, + { + display: 'flex', + justifyContent: 'flex-start', + alignItems: 'flex-start', + boxSizing: 'border-box', + color: theme.palette.neutralSecondary, + }, + isCompact && animateBeaconSignal && fadeInAnimation, + ], + pulsingBeacon: [ + { + position: 'absolute', + top: '50%', + left: '50%', + transform: 'translate(-50%, -50%)', + width: '0px', + height: '0px', + borderRadius: '225px', + borderStyle: 'solid', + opacity: 0, + }, + isCompact && animateBeaconSignal && continuousPulseAnimation, + ], + isCompactRoot: { + alignItems: 'center', + }, + personaContainer: { + display: 'flex', + flexWrap: 'wrap', + minWidth: DEFAULT_PERSONA_SIZE, + width: DEFAULT_PERSONA_SIZE, + height: DEFAULT_PERSONA_SIZE, + }, + isCompactPersonaContainer: { + display: 'inline-flex', + flexWrap: 'nowrap', + flexBasis: 'auto', + height: COMPACT_PERSONA_SIZE, + width: 'auto', + minWidth: '0', + paddingRight: '6px', + }, + activityTypeIcon: { + height: DEFAULT_PERSONA_SIZE, + fontSize: DEFAULT_ICON_SIZE, + lineHeight: DEFAULT_ICON_SIZE, + marginTop: '3px', + }, + isCompactIcon: { + height: COMPACT_PERSONA_SIZE, + minWidth: COMPACT_PERSONA_SIZE, + fontSize: COMPACT_ICON_SIZE, + lineHeight: COMPACT_ICON_SIZE, + color: theme.palette.themePrimary, + marginTop: '1px', + position: 'relative', + display: 'flex', + justifyContent: 'center', + alignItems: 'center', + selectors: { + '.ms-Persona-imageArea': { + margin: '-2px 0 0 -2px', + border: '2px solid' + theme.palette.white, + borderRadius: '50%', + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + border: 'none', + margin: '0', + }, + _a), + }, + }, + }, + activityPersona: { + display: 'block', + }, + doublePersona: { + selectors: { + ':first-child': { + alignSelf: 'flex-end', + }, + }, + }, + isCompactPersona: { + display: 'inline-block', + width: '8px', + minWidth: '8px', + overflow: 'visible', + }, + activityContent: [ + { + padding: '0 8px', + }, + isCompact && animateBeaconSignal && slideInAnimation, + ], + activityText: { + display: 'inline', + }, + isCompactContent: { + flex: '1', + padding: '0 4px', + whiteSpace: 'nowrap', + textOverflow: 'ellipsis', + overflowX: 'hidden', + }, + commentText: { + color: theme.palette.neutralPrimary, + }, + timeStamp: [ + theme.fonts.tiny, + { + fontWeight: 400, + color: theme.palette.neutralSecondary, + }, + ], + isCompactTimeStamp: { + display: 'inline-block', + paddingLeft: '0.3em', + fontSize: '1em', + }, + }; + return (0, Styling_1.concatStyleSets)(ActivityItemStyles, customStyles); +}); +//# sourceMappingURL=ActivityItem.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.types.js": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.types.js ***! + \*************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=ActivityItem.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/index.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/index.js ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getActivityItemClassNames = exports.getActivityItemStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var ActivityItem_styles_1 = __webpack_require__(/*! ./ActivityItem.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.styles.js"); +Object.defineProperty(exports, "getActivityItemStyles", ({ enumerable: true, get: function () { return ActivityItem_styles_1.getStyles; } })); +var ActivityItem_classNames_1 = __webpack_require__(/*! ./ActivityItem.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.classNames.js"); +Object.defineProperty(exports, "getActivityItemClassNames", ({ enumerable: true, get: function () { return ActivityItem_classNames_1.getClassNames; } })); +tslib_1.__exportStar(__webpack_require__(/*! ./ActivityItem */ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ActivityItem.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ActivityItem/ActivityItem.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.base.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.base.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AnnouncedBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * {@docCategory Announced} + */ +var AnnouncedBase = /** @class */ (function (_super) { + tslib_1.__extends(AnnouncedBase, _super); + function AnnouncedBase() { + return _super !== null && _super.apply(this, arguments) || this; + } + AnnouncedBase.prototype.render = function () { + var _a = this.props, message = _a.message, styles = _a.styles, _b = _a.as, Root = _b === void 0 ? 'div' : _b, className = _a.className; + var classNames = getClassNames(styles, { className: className }); + return (React.createElement(Root, tslib_1.__assign({ role: "status", className: classNames.root }, (0, Utilities_1.getNativeProps)(this.props, Utilities_1.divProperties, ['className'])), + React.createElement(Utilities_1.DelayedRender, null, + React.createElement("div", { className: classNames.screenReaderText }, message)))); + }; + AnnouncedBase.defaultProps = { + 'aria-live': 'polite', + }; + return AnnouncedBase; +}(React.Component)); +exports.AnnouncedBase = AnnouncedBase; +//# sourceMappingURL=Announced.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Announced = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Announced_base_1 = __webpack_require__(/*! ./Announced.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.base.js"); +var Announced_styles_1 = __webpack_require__(/*! ./Announced.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.styles.js"); +exports.Announced = (0, Utilities_1.styled)(Announced_base_1.AnnouncedBase, Announced_styles_1.getStyles); +//# sourceMappingURL=Announced.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.styles.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.styles.js ***! + \********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var getStyles = function (props) { + return { + root: props.className, + screenReaderText: Styling_1.hiddenContentStyle, + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=Announced.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.types.js": +/*!*******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.types.js ***! + \*******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=Announced.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Announced/index.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Announced/index.js ***! + \*********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Announced */ "./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Announced.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Announced.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Announced/Announced.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Autofill/Autofill.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Autofill/Autofill.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Autofill = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var react_window_provider_1 = __webpack_require__(/*! @fluentui/react-window-provider */ "./node_modules/@fluentui/react-window-provider/lib-commonjs/index.js"); +var SELECTION_FORWARD = 'forward'; +var SELECTION_BACKWARD = 'backward'; +/** + * {@docCategory Autofill} + */ +var Autofill = /** @class */ (function (_super) { + tslib_1.__extends(Autofill, _super); + function Autofill(props) { + var _this = _super.call(this, props) || this; + _this._inputElement = React.createRef(); + _this._autoFillEnabled = true; + // Composition events are used when the character/text requires several keystrokes to be completed. + // Some examples of this are mobile text input and languages like Japanese or Arabic. + // Find out more at https://developer.mozilla.org/en-US/docs/Web/Events/compositionstart + _this._onCompositionStart = function (ev) { + _this.setState({ isComposing: true }); + _this._autoFillEnabled = false; + }; + // Composition events are used when the character/text requires several keystrokes to be completed. + // Some examples of this are mobile text input and languages like Japanese or Arabic. + // Find out more at https://developer.mozilla.org/en-US/docs/Web/Events/compositionstart + _this._onCompositionUpdate = function () { + if ((0, Utilities_1.isIE11)()) { + _this._updateValue(_this._getCurrentInputValue(), true); + } + }; + // Composition events are used when the character/text requires several keystrokes to be completed. + // Some examples of this are mobile text input and languages like Japanese or Arabic. + // Find out more at https://developer.mozilla.org/en-US/docs/Web/Events/compositionstart + _this._onCompositionEnd = function (ev) { + var inputValue = _this._getCurrentInputValue(); + _this._tryEnableAutofill(inputValue, _this.value, false, true); + _this.setState({ isComposing: false }); + // Due to timing, this needs to be async, otherwise no text will be selected. + _this._async.setTimeout(function () { + // it's technically possible that the value of isComposing is reset during this timeout, + // so explicitly trigger this with composing=true here, since it is supposed to be the + // update for composition end + _this._updateValue(_this._getCurrentInputValue(), false); + }, 0); + }; + _this._onClick = function () { + if (_this.value && _this.value !== '' && _this._autoFillEnabled) { + _this._autoFillEnabled = false; + } + }; + _this._onKeyDown = function (ev) { + if (_this.props.onKeyDown) { + _this.props.onKeyDown(ev); + } + // If the event is actively being composed, then don't alert autofill. + // Right now typing does not have isComposing, once that has been fixed any should be removed. + if (!ev.nativeEvent.isComposing) { + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case Utilities_1.KeyCodes.backspace: + _this._autoFillEnabled = false; + break; + case Utilities_1.KeyCodes.left: + case Utilities_1.KeyCodes.right: + if (_this._autoFillEnabled) { + _this.setState(function (prev) { return ({ + inputValue: _this.props.suggestedDisplayValue || prev.inputValue, + }); }); + _this._autoFillEnabled = false; + } + break; + default: + if (!_this._autoFillEnabled) { + // eslint-disable-next-line deprecation/deprecation + if (_this.props.enableAutofillOnKeyPress.indexOf(ev.which) !== -1) { + _this._autoFillEnabled = true; + } + } + break; + } + } + }; + _this._onInputChanged = function (ev) { + var value = _this._getCurrentInputValue(ev); + if (!_this.state.isComposing) { + _this._tryEnableAutofill(value, _this.value, ev.nativeEvent.isComposing); + } + // If it is not IE11 and currently composing, update the value + if (!((0, Utilities_1.isIE11)() && _this.state.isComposing)) { + var nativeEventComposing = ev.nativeEvent.isComposing; + var isComposing = nativeEventComposing === undefined ? _this.state.isComposing : nativeEventComposing; + _this._updateValue(value, isComposing); + } + }; + _this._onChanged = function () { + // Swallow this event, we don't care about it + // We must provide it because React PropTypes marks it as required, but onInput serves the correct purpose + return; + }; + /** + * Updates the current input value as well as getting a new display value. + * @param newValue - The new value from the input + */ + _this._updateValue = function (newValue, composing) { + // Only proceed if the value is nonempty and is different from the old value + // This is to work around the fact that, in IE 11, inputs with a placeholder fire an onInput event on focus + if (!newValue && newValue === _this.value) { + return; + } + // eslint-disable-next-line deprecation/deprecation + var _a = _this.props, onInputChange = _a.onInputChange, onInputValueChange = _a.onInputValueChange; + if (onInputChange) { + newValue = (onInputChange === null || onInputChange === void 0 ? void 0 : onInputChange(newValue, composing)) || ''; + } + _this.setState({ inputValue: newValue }, function () { return onInputValueChange === null || onInputValueChange === void 0 ? void 0 : onInputValueChange(newValue, composing); }); + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this._async = new Utilities_1.Async(_this); + _this.state = { + inputValue: props.defaultVisibleValue || '', + isComposing: false, + }; + return _this; + } + Autofill.getDerivedStateFromProps = function (props, state) { + // eslint-disable-next-line deprecation/deprecation + if (props.updateValueInWillReceiveProps) { + // eslint-disable-next-line deprecation/deprecation + var updatedInputValue = props.updateValueInWillReceiveProps(); + // Don't update if we have a null value or the value isn't changing + // the value should still update if an empty string is passed in + if (updatedInputValue !== null && updatedInputValue !== state.inputValue && !state.isComposing) { + return tslib_1.__assign(tslib_1.__assign({}, state), { inputValue: updatedInputValue }); + } + } + return null; + }; + Object.defineProperty(Autofill.prototype, "cursorLocation", { + get: function () { + if (this._inputElement.current) { + var inputElement = this._inputElement.current; + if (inputElement.selectionDirection !== SELECTION_FORWARD) { + return inputElement.selectionEnd; + } + else { + return inputElement.selectionStart; + } + } + else { + return -1; + } + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Autofill.prototype, "isValueSelected", { + get: function () { + return Boolean(this.inputElement && this.inputElement.selectionStart !== this.inputElement.selectionEnd); + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Autofill.prototype, "value", { + get: function () { + return this._getControlledValue() || this.state.inputValue || ''; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Autofill.prototype, "selectionStart", { + get: function () { + return this._inputElement.current ? this._inputElement.current.selectionStart : -1; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Autofill.prototype, "selectionEnd", { + get: function () { + return this._inputElement.current ? this._inputElement.current.selectionEnd : -1; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(Autofill.prototype, "inputElement", { + get: function () { + return this._inputElement.current; + }, + enumerable: false, + configurable: true + }); + Autofill.prototype.componentDidUpdate = function (_, _1, cursor) { + var _a; + var _b = this.props, suggestedDisplayValue = _b.suggestedDisplayValue, shouldSelectFullInputValueInComponentDidUpdate = _b.shouldSelectFullInputValueInComponentDidUpdate, preventValueSelection = _b.preventValueSelection; + var differenceIndex = 0; + if (preventValueSelection) { + return; + } + var document = ((_a = this.context) === null || _a === void 0 ? void 0 : _a.window.document) || (0, Utilities_1.getDocument)(this._inputElement.current); + var isFocused = this._inputElement.current && this._inputElement.current === (document === null || document === void 0 ? void 0 : document.activeElement); + if (isFocused && + this._autoFillEnabled && + this.value && + suggestedDisplayValue && + _doesTextStartWith(suggestedDisplayValue, this.value)) { + var shouldSelectFullRange = false; + if (shouldSelectFullInputValueInComponentDidUpdate) { + shouldSelectFullRange = shouldSelectFullInputValueInComponentDidUpdate(); + } + if (shouldSelectFullRange) { + this._inputElement.current.setSelectionRange(0, suggestedDisplayValue.length, SELECTION_BACKWARD); + } + else { + while (differenceIndex < this.value.length && + this.value[differenceIndex].toLocaleLowerCase() === suggestedDisplayValue[differenceIndex].toLocaleLowerCase()) { + differenceIndex++; + } + if (differenceIndex > 0) { + this._inputElement.current.setSelectionRange(differenceIndex, suggestedDisplayValue.length, SELECTION_BACKWARD); + } + } + } + else if (this._inputElement.current) { + if (cursor !== null && !this._autoFillEnabled && !this.state.isComposing) { + this._inputElement.current.setSelectionRange(cursor.start, cursor.end, cursor.dir); + } + } + }; + Autofill.prototype.componentWillUnmount = function () { + this._async.dispose(); + }; + Autofill.prototype.render = function () { + var nativeProps = (0, Utilities_1.getNativeProps)(this.props, Utilities_1.inputProperties); + var style = tslib_1.__assign(tslib_1.__assign({}, this.props.style), { fontFamily: 'inherit' }); + return (React.createElement("input", tslib_1.__assign({ autoCapitalize: "off", autoComplete: "off", "aria-autocomplete": 'both' }, nativeProps, { style: style, ref: this._inputElement, value: this._getDisplayValue(), onCompositionStart: this._onCompositionStart, onCompositionUpdate: this._onCompositionUpdate, onCompositionEnd: this._onCompositionEnd, + // TODO (Fabric 8?) - switch to calling only onChange. See notes in TextField._onInputChange. + onChange: this._onChanged, onInput: this._onInputChanged, onKeyDown: this._onKeyDown, onClick: this.props.onClick ? this.props.onClick : this._onClick, "data-lpignore": true }))); + }; + Autofill.prototype.focus = function () { + this._inputElement.current && this._inputElement.current.focus(); + }; + Autofill.prototype.clear = function () { + this._autoFillEnabled = true; + this._updateValue('', false); + this._inputElement.current && this._inputElement.current.setSelectionRange(0, 0); + }; + Autofill.prototype.getSnapshotBeforeUpdate = function () { + var _a, _b; + var inel = this._inputElement.current; + if (inel && inel.selectionStart !== this.value.length) { + return { + start: (_a = inel.selectionStart) !== null && _a !== void 0 ? _a : inel.value.length, + end: (_b = inel.selectionEnd) !== null && _b !== void 0 ? _b : inel.value.length, + dir: inel.selectionDirection || 'backward' || 0, + }; + } + return null; + }; + Autofill.prototype._getCurrentInputValue = function (ev) { + if (ev && ev.target && ev.target.value) { + return ev.target.value; + } + else if (this.inputElement && this.inputElement.value) { + return this.inputElement.value; + } + else { + return ''; + } + }; + /** + * Attempts to enable autofill. Whether or not autofill is enabled depends on the input value, + * whether or not any text is selected, and only if the new input value is longer than the old input value. + * Autofill should never be set to true if the value is composing. Once compositionEnd is called, then + * it should be completed. + * See https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent for more information on composition. + * @param newValue - new input value + * @param oldValue - old input value + * @param isComposing - if true then the text is actively being composed and it has not completed. + * @param isComposed - if the text is a composed text value. + */ + Autofill.prototype._tryEnableAutofill = function (newValue, oldValue, isComposing, isComposed) { + if (!isComposing && + newValue && + this._inputElement.current && + this._inputElement.current.selectionStart === newValue.length && + !this._autoFillEnabled && + (newValue.length > oldValue.length || isComposed)) { + this._autoFillEnabled = true; + } + }; + Autofill.prototype._getDisplayValue = function () { + if (this._autoFillEnabled) { + return _getDisplayValue(this.value, this.props.suggestedDisplayValue); + } + return this.value; + }; + Autofill.prototype._getControlledValue = function () { + var value = this.props.value; + if (value === undefined || typeof value === 'string') { + return value; + } + // eslint-disable-next-line no-console + console.warn("props.value of Autofill should be a string, but it is ".concat(value, " with type of ").concat(typeof value)); + return value.toString(); + }; + Autofill.defaultProps = { + enableAutofillOnKeyPress: [Utilities_1.KeyCodes.down, Utilities_1.KeyCodes.up], + }; + // need to check WindowContext to get the provided document + Autofill.contextType = react_window_provider_1.WindowContext; + return Autofill; +}(React.Component)); +exports.Autofill = Autofill; +/** + * Returns a string that should be used as the display value. + * It evaluates this based on whether or not the suggested value starts with the input value + * and whether or not autofill is enabled. + * @param inputValue - the value that the input currently has. + * @param suggestedDisplayValue - the possible full value + */ +function _getDisplayValue(inputValue, suggestedDisplayValue) { + var displayValue = inputValue; + if (suggestedDisplayValue && inputValue && _doesTextStartWith(suggestedDisplayValue, displayValue)) { + displayValue = suggestedDisplayValue; + } + return displayValue; +} +function _doesTextStartWith(text, startWith) { + if (!text || !startWith) { + return false; + } + if (true) { + for (var _i = 0, _a = [text, startWith]; _i < _a.length; _i++) { + var val = _a[_i]; + if (typeof val !== 'string') { + throw new Error("".concat(Autofill.name + // eslint-disable-next-line @fluentui/max-len + , " received non-string value \"").concat(val, "\" of type ").concat(typeof val, " from either input's value or suggestedDisplayValue")); + } + } + } + return text.toLocaleLowerCase().indexOf(startWith.toLocaleLowerCase()) === 0; +} +//# sourceMappingURL=Autofill.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Autofill/Autofill.types.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Autofill/Autofill.types.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=Autofill.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Autofill/index.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Autofill/index.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Autofill */ "./node_modules/@fluentui/react/lib-commonjs/components/Autofill/Autofill.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Autofill.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Autofill/Autofill.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.base.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.base.js ***! + \********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.BreadcrumbBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var FocusZone_1 = __webpack_require__(/*! ../../FocusZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js"); +var Link_1 = __webpack_require__(/*! ../../Link */ "./node_modules/@fluentui/react/lib-commonjs/Link.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var Button_1 = __webpack_require__(/*! ../../Button */ "./node_modules/@fluentui/react/lib-commonjs/Button.js"); +var DirectionalHint_1 = __webpack_require__(/*! ../../common/DirectionalHint */ "./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js"); +var ResizeGroup_1 = __webpack_require__(/*! ../../ResizeGroup */ "./node_modules/@fluentui/react/lib-commonjs/ResizeGroup.js"); +var Tooltip_1 = __webpack_require__(/*! ../../Tooltip */ "./node_modules/@fluentui/react/lib-commonjs/Tooltip.js"); +var Utilities_2 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var OVERFLOW_KEY = 'overflow'; +var nullFunction = function () { return null; }; +var nonActionableItemProps = { + styles: function (props) { + var theme = props.theme; + return { + root: { + selectors: { + '&.is-disabled': { + color: theme.semanticColors.bodyText, + }, + }, + }, + }; + }, +}; +/** + * {@docCategory Breadcrumb} + */ +var BreadcrumbBase = /** @class */ (function (_super) { + tslib_1.__extends(BreadcrumbBase, _super); + function BreadcrumbBase(props) { + var _this = _super.call(this, props) || this; + _this._focusZone = React.createRef(); + /** + * Remove the first rendered item past the overlow point and put it and the end the overflow set. + */ + _this._onReduceData = function (data) { + var renderedItems = data.renderedItems, renderedOverflowItems = data.renderedOverflowItems; + var overflowIndex = data.props.overflowIndex; + var movedItem = renderedItems[overflowIndex]; + if (!movedItem) { + return undefined; + } + renderedItems = tslib_1.__spreadArray([], renderedItems, true); + renderedItems.splice(overflowIndex, 1); + renderedOverflowItems = tslib_1.__spreadArray(tslib_1.__spreadArray([], renderedOverflowItems, true), [movedItem], false); + return tslib_1.__assign(tslib_1.__assign({}, data), { renderedItems: renderedItems, renderedOverflowItems: renderedOverflowItems }); + }; + /** + * Remove the last item of the overflow set and insert the item as the start of the rendered set past the overflow + * point. + */ + _this._onGrowData = function (data) { + var renderedItems = data.renderedItems, renderedOverflowItems = data.renderedOverflowItems; + var _a = data.props, overflowIndex = _a.overflowIndex, maxDisplayedItems = _a.maxDisplayedItems; + renderedOverflowItems = tslib_1.__spreadArray([], renderedOverflowItems, true); + var movedItem = renderedOverflowItems.pop(); + if (!movedItem || renderedItems.length >= maxDisplayedItems) { + return undefined; + } + renderedItems = tslib_1.__spreadArray([], renderedItems, true); + renderedItems.splice(overflowIndex, 0, movedItem); + return tslib_1.__assign(tslib_1.__assign({}, data), { renderedItems: renderedItems, renderedOverflowItems: renderedOverflowItems }); + }; + _this._onRenderBreadcrumb = function (data) { + var _a = data.props, ariaLabel = _a.ariaLabel, _b = _a.dividerAs, DividerType = _b === void 0 ? Icon_1.Icon : _b, onRenderItem = _a.onRenderItem, overflowAriaLabel = _a.overflowAriaLabel, overflowIndex = _a.overflowIndex, onRenderOverflowIcon = _a.onRenderOverflowIcon, overflowButtonAs = _a.overflowButtonAs; + var renderedOverflowItems = data.renderedOverflowItems, renderedItems = data.renderedItems; + var contextualItems = renderedOverflowItems.map(function (item) { + var isActionable = !!(item.onClick || item.href); + return { + text: item.text, + name: item.text, + key: item.key, + onClick: item.onClick ? _this._onBreadcrumbClicked.bind(_this, item) : null, + href: item.href, + disabled: !isActionable, + itemProps: isActionable ? undefined : nonActionableItemProps, + }; + }); + // Find index of last rendered item so the divider icon + // knows not to render on that item + var lastItemIndex = renderedItems.length - 1; + var hasOverflowItems = renderedOverflowItems && renderedOverflowItems.length !== 0; + var itemElements = renderedItems.map(function (item, index) { + var finalOnRenderItem = _this._onRenderItem; + if (item.onRender) { + finalOnRenderItem = (0, Utilities_2.composeRenderFunction)(item.onRender, finalOnRenderItem); + } + if (onRenderItem) { + finalOnRenderItem = (0, Utilities_2.composeRenderFunction)(onRenderItem, finalOnRenderItem); + } + return (React.createElement("li", { className: _this._classNames.listItem, key: item.key || String(index) }, + finalOnRenderItem(item), + (index !== lastItemIndex || (hasOverflowItems && index === overflowIndex - 1)) && (React.createElement(DividerType, { className: _this._classNames.chevron, iconName: (0, Utilities_1.getRTL)(_this.props.theme) ? 'ChevronLeft' : 'ChevronRight', item: item })))); + }); + if (hasOverflowItems) { + var iconProps = !onRenderOverflowIcon ? { iconName: 'More' } : {}; + var onRenderMenuIcon = onRenderOverflowIcon ? onRenderOverflowIcon : nullFunction; + var OverflowButton = overflowButtonAs ? overflowButtonAs : Button_1.IconButton; + itemElements.splice(overflowIndex, 0, React.createElement("li", { className: _this._classNames.overflow, key: OVERFLOW_KEY }, + React.createElement(OverflowButton, { className: _this._classNames.overflowButton, iconProps: iconProps, role: "button", "aria-haspopup": "true", ariaLabel: overflowAriaLabel, onRenderMenuIcon: onRenderMenuIcon, menuProps: { + items: contextualItems, + directionalHint: DirectionalHint_1.DirectionalHint.bottomLeftEdge, + } }), + overflowIndex !== lastItemIndex + 1 && (React.createElement(DividerType, { className: _this._classNames.chevron, iconName: (0, Utilities_1.getRTL)(_this.props.theme) ? 'ChevronLeft' : 'ChevronRight', item: renderedOverflowItems[renderedOverflowItems.length - 1] })))); + } + var nativeProps = (0, Utilities_1.getNativeProps)(_this.props, Utilities_1.htmlElementProperties, [ + 'className', + ]); + return (React.createElement("div", tslib_1.__assign({ className: _this._classNames.root, role: "navigation", "aria-label": ariaLabel }, nativeProps), + React.createElement(FocusZone_1.FocusZone, tslib_1.__assign({ componentRef: _this._focusZone, direction: FocusZone_1.FocusZoneDirection.horizontal }, _this.props.focusZoneProps), + React.createElement("ol", { className: _this._classNames.list }, itemElements)))); + }; + _this._onRenderItem = function (item) { + if (!item) { + return null; + } + var as = item.as, href = item.href, onClick = item.onClick, isCurrentItem = item.isCurrentItem, text = item.text, onRenderContent = item.onRenderContent, additionalProps = tslib_1.__rest(item, ["as", "href", "onClick", "isCurrentItem", "text", "onRenderContent"]); + var finalOnRenderContent = defaultOnRenderCrumbContent; + if (onRenderContent) { + finalOnRenderContent = (0, Utilities_2.composeRenderFunction)(onRenderContent, finalOnRenderContent); + } + if (_this.props.onRenderItemContent) { + finalOnRenderContent = (0, Utilities_2.composeRenderFunction)(_this.props.onRenderItemContent, finalOnRenderContent); + } + if (onClick || href) { + return (React.createElement(Link_1.Link, tslib_1.__assign({}, additionalProps, { as: as, className: _this._classNames.itemLink, href: href, "aria-current": isCurrentItem ? 'page' : undefined, + // eslint-disable-next-line react/jsx-no-bind + onClick: _this._onBreadcrumbClicked.bind(_this, item) }), + React.createElement(Tooltip_1.TooltipHost, tslib_1.__assign({ content: text, overflowMode: Tooltip_1.TooltipOverflowMode.Parent }, _this.props.tooltipHostProps), finalOnRenderContent(item)))); + } + else { + var Tag = as || 'span'; + return (React.createElement(Tag, tslib_1.__assign({}, additionalProps, { className: _this._classNames.item }), + React.createElement(Tooltip_1.TooltipHost, tslib_1.__assign({ content: text, overflowMode: Tooltip_1.TooltipOverflowMode.Parent }, _this.props.tooltipHostProps), finalOnRenderContent(item)))); + } + }; + _this._onBreadcrumbClicked = function (item, ev) { + if (item.onClick) { + item.onClick(ev, item); + } + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this._validateProps(props); + return _this; + } + /** + * Sets focus to the first breadcrumb link. + */ + BreadcrumbBase.prototype.focus = function () { + if (this._focusZone.current) { + this._focusZone.current.focus(); + } + }; + BreadcrumbBase.prototype.render = function () { + this._validateProps(this.props); + var _a = this.props, _b = _a.onReduceData, onReduceData = _b === void 0 ? this._onReduceData : _b, _c = _a.onGrowData, onGrowData = _c === void 0 ? this._onGrowData : _c, overflowIndex = _a.overflowIndex, maxDisplayedItems = _a.maxDisplayedItems, items = _a.items, className = _a.className, theme = _a.theme, styles = _a.styles; + var renderedItems = tslib_1.__spreadArray([], items, true); + var renderedOverflowItems = renderedItems.splice(overflowIndex, renderedItems.length - maxDisplayedItems); + var breadcrumbData = { + props: this.props, + renderedItems: renderedItems, + renderedOverflowItems: renderedOverflowItems, + }; + this._classNames = getClassNames(styles, { + className: className, + theme: theme, + }); + return (React.createElement(ResizeGroup_1.ResizeGroup, { onRenderData: this._onRenderBreadcrumb, onReduceData: onReduceData, onGrowData: onGrowData, data: breadcrumbData })); + }; + /** + * Validate incoming props + * @param props - Props to validate + */ + BreadcrumbBase.prototype._validateProps = function (props) { + var maxDisplayedItems = props.maxDisplayedItems, overflowIndex = props.overflowIndex, items = props.items; + if (overflowIndex < 0 || + (maxDisplayedItems > 1 && overflowIndex > maxDisplayedItems - 1) || + (items.length > 0 && overflowIndex > items.length - 1)) { + throw new Error('Breadcrumb: overflowIndex out of range'); + } + }; + BreadcrumbBase.defaultProps = { + items: [], + maxDisplayedItems: 999, + overflowIndex: 0, + }; + return BreadcrumbBase; +}(React.Component)); +exports.BreadcrumbBase = BreadcrumbBase; +function defaultOnRenderCrumbContent(item) { + return item ? React.createElement(React.Fragment, null, item.text) : null; +} +//# sourceMappingURL=Breadcrumb.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.js ***! + \***************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Breadcrumb = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Breadcrumb_base_1 = __webpack_require__(/*! ./Breadcrumb.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.base.js"); +var Breadcrumb_styles_1 = __webpack_require__(/*! ./Breadcrumb.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.styles.js"); +exports.Breadcrumb = (0, Utilities_1.styled)(Breadcrumb_base_1.BreadcrumbBase, Breadcrumb_styles_1.getStyles, undefined, { scope: 'Breadcrumb' }); +//# sourceMappingURL=Breadcrumb.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.styles.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.styles.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var GlobalClassNames = { + root: 'ms-Breadcrumb', + list: 'ms-Breadcrumb-list', + listItem: 'ms-Breadcrumb-listItem', + chevron: 'ms-Breadcrumb-chevron', + overflow: 'ms-Breadcrumb-overflow', + overflowButton: 'ms-Breadcrumb-overflowButton', + itemLink: 'ms-Breadcrumb-itemLink', + item: 'ms-Breadcrumb-item', +}; +var SingleLineTextStyle = { + whiteSpace: 'nowrap', + textOverflow: 'ellipsis', + overflow: 'hidden', +}; +var overflowButtonFontSize = 16; +var chevronSmallFontSize = 8; +var itemLineHeight = 36; +var itemFontSize = 18; +var MinimumScreenSelector = (0, Styling_1.getScreenSelector)(0, Styling_1.ScreenWidthMaxSmall); +var MediumScreenSelector = (0, Styling_1.getScreenSelector)(Styling_1.ScreenWidthMinMedium, Styling_1.ScreenWidthMaxMedium); +var getStyles = function (props) { + var _a, _b, _c, _d, _e; + var className = props.className, theme = props.theme; + var palette = theme.palette, semanticColors = theme.semanticColors, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + // Tokens + var itemBackgroundHoveredColor = semanticColors.menuItemBackgroundHovered; + var itemBackgroundPressedColor = semanticColors.menuItemBackgroundPressed; + var itemTextColor = palette.neutralSecondary; + var itemTextFontWeight = Styling_1.FontWeights.regular; + var itemTextHoveredOrPressedColor = palette.neutralPrimary; + var itemLastChildTextColor = palette.neutralPrimary; + var itemLastChildTextFontWeight = Styling_1.FontWeights.semibold; + var chevronButtonColor = palette.neutralSecondary; + var overflowButtonColor = palette.neutralSecondary; + var lastChildItemStyles = { + fontWeight: itemLastChildTextFontWeight, + color: itemLastChildTextColor, + }; + var itemStateSelectors = { + ':hover': { + color: itemTextHoveredOrPressedColor, + backgroundColor: itemBackgroundHoveredColor, + cursor: 'pointer', + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + color: 'Highlight', + backgroundColor: 'transparent', + }, + _a), + }, + ':active': { + backgroundColor: itemBackgroundPressedColor, + color: itemTextHoveredOrPressedColor, + }, + '&:active:hover': { + color: itemTextHoveredOrPressedColor, + backgroundColor: itemBackgroundPressedColor, + }, + '&:active, &:hover, &:active:hover': { + textDecoration: 'none', + }, + }; + var commonItemStyles = { + color: itemTextColor, + padding: '0 8px', + lineHeight: itemLineHeight, + fontSize: itemFontSize, + fontWeight: itemTextFontWeight, + }; + var overflowButtonHighContrastFocus = { + left: 1, + right: 1, + top: 1, + bottom: 1, + }; + return { + root: [ + classNames.root, + fonts.medium, + { + margin: '11px 0 1px', + }, + className, + ], + list: [ + classNames.list, + { + whiteSpace: 'nowrap', + padding: 0, + margin: 0, + display: 'flex', + alignItems: 'stretch', + }, + ], + listItem: [ + classNames.listItem, + { + listStyleType: 'none', + margin: '0', + padding: '0', + display: 'flex', + position: 'relative', + alignItems: 'center', + selectors: { + '&:last-child .ms-Breadcrumb-itemLink': tslib_1.__assign(tslib_1.__assign({}, lastChildItemStyles), (_b = {}, _b[Styling_1.HighContrastSelector] = { + MsHighContrastAdjust: 'auto', + forcedColorAdjust: 'auto', + }, _b)), + '&:last-child .ms-Breadcrumb-item': lastChildItemStyles, + }, + }, + ], + chevron: [ + classNames.chevron, + { + color: chevronButtonColor, + fontSize: fonts.small.fontSize, + selectors: (_c = {}, + _c[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'WindowText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _c[MediumScreenSelector] = { + fontSize: chevronSmallFontSize, + }, + _c[MinimumScreenSelector] = { + fontSize: chevronSmallFontSize, + }, + _c), + }, + ], + overflow: [ + classNames.overflow, + { + position: 'relative', + display: 'flex', + alignItems: 'center', + }, + ], + overflowButton: [ + classNames.overflowButton, + (0, Styling_1.getFocusStyle)(theme, { highContrastStyle: overflowButtonHighContrastFocus }), + SingleLineTextStyle, + { + fontSize: overflowButtonFontSize, + color: overflowButtonColor, + height: '100%', + cursor: 'pointer', + selectors: tslib_1.__assign(tslib_1.__assign({}, itemStateSelectors), (_d = {}, _d[MinimumScreenSelector] = { + padding: '4px 6px', + }, _d[MediumScreenSelector] = { + fontSize: fonts.mediumPlus.fontSize, + }, _d)), + }, + ], + itemLink: [ + classNames.itemLink, + (0, Styling_1.getFocusStyle)(theme), + SingleLineTextStyle, + tslib_1.__assign(tslib_1.__assign({}, commonItemStyles), { selectors: tslib_1.__assign((_e = { ':focus': { + color: palette.neutralDark, + } }, _e[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus")] = { + outline: "none", + }, _e), itemStateSelectors) }), + ], + item: [ + classNames.item, + tslib_1.__assign(tslib_1.__assign({}, commonItemStyles), { selectors: { + ':hover': { + cursor: 'default', + }, + } }), + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=Breadcrumb.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.types.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.types.js ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=Breadcrumb.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/index.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/index.js ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Breadcrumb */ "./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Breadcrumb.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Breadcrumb.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Breadcrumb/Breadcrumb.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/ActionButton/ActionButton.js": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/ActionButton/ActionButton.js ***! + \**************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ActionButton = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var BaseButton_1 = __webpack_require__(/*! ../BaseButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ActionButton_styles_1 = __webpack_require__(/*! ./ActionButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/ActionButton/ActionButton.styles.js"); +/** + * {@docCategory Button} + */ +var ActionButton = /** @class */ (function (_super) { + tslib_1.__extends(ActionButton, _super); + function ActionButton() { + return _super !== null && _super.apply(this, arguments) || this; + } + ActionButton.prototype.render = function () { + var _a = this.props, styles = _a.styles, theme = _a.theme; + return (React.createElement(BaseButton_1.BaseButton, tslib_1.__assign({}, this.props, { variantClassName: "ms-Button--action ms-Button--command", styles: (0, ActionButton_styles_1.getStyles)(theme, styles), onRenderDescription: Utilities_1.nullRender }))); + }; + ActionButton = tslib_1.__decorate([ + (0, Utilities_1.customizable)('ActionButton', ['theme', 'styles'], true) + ], ActionButton); + return ActionButton; +}(React.Component)); +exports.ActionButton = ActionButton; +//# sourceMappingURL=ActionButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/ActionButton/ActionButton.styles.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/ActionButton/ActionButton.styles.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var BaseButton_styles_1 = __webpack_require__(/*! ../BaseButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.styles.js"); +var DEFAULT_BUTTON_HEIGHT = '40px'; +var DEFAULT_PADDING = '0 4px'; +exports.getStyles = (0, Utilities_1.memoizeFunction)(function (theme, customStyles) { + var _a, _b, _c; + var baseButtonStyles = (0, BaseButton_styles_1.getStyles)(theme); + var actionButtonStyles = { + root: { + padding: DEFAULT_PADDING, + height: DEFAULT_BUTTON_HEIGHT, + color: theme.palette.neutralPrimary, + backgroundColor: 'transparent', + border: '1px solid transparent', + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + borderColor: 'Window', + }, + _a), + }, + rootHovered: { + color: theme.palette.themePrimary, + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + color: 'Highlight', + }, + _b), + }, + iconHovered: { + color: theme.palette.themePrimary, + }, + rootPressed: { + color: theme.palette.black, + }, + rootExpanded: { + color: theme.palette.themePrimary, + }, + iconPressed: { + color: theme.palette.themeDarker, + }, + rootDisabled: { + color: theme.palette.neutralTertiary, + backgroundColor: 'transparent', + borderColor: 'transparent', + selectors: (_c = {}, + _c[Styling_1.HighContrastSelector] = { + color: 'GrayText', + }, + _c), + }, + rootChecked: { + color: theme.palette.black, + }, + iconChecked: { + color: theme.palette.themeDarker, + }, + flexContainer: { + justifyContent: 'flex-start', + }, + icon: { + color: theme.palette.themeDarkAlt, + }, + iconDisabled: { + color: 'inherit', + }, + menuIcon: { + color: theme.palette.neutralSecondary, + }, + textContainer: { + flexGrow: 0, + }, + }; + return (0, Styling_1.concatStyleSets)(baseButtonStyles, actionButtonStyles, customStyles); +}); +//# sourceMappingURL=ActionButton.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.classNames.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.classNames.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getBaseButtonClassNames = exports.ButtonGlobalClassNames = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +exports.ButtonGlobalClassNames = { + msButton: 'ms-Button', + msButtonHasMenu: 'ms-Button--hasMenu', + msButtonIcon: 'ms-Button-icon', + msButtonMenuIcon: 'ms-Button-menuIcon', + msButtonLabel: 'ms-Button-label', + msButtonDescription: 'ms-Button-description', + msButtonScreenReaderText: 'ms-Button-screenReaderText', + msButtonFlexContainer: 'ms-Button-flexContainer', + msButtonTextContainer: 'ms-Button-textContainer', +}; +exports.getBaseButtonClassNames = (0, Utilities_1.memoizeFunction)(function (theme, styles, className, variantClassName, iconClassName, menuIconClassName, disabled, hasMenu, checked, expanded, isSplit) { + var _a, _b; + var classNames = (0, Styling_1.getGlobalClassNames)(exports.ButtonGlobalClassNames, theme || {}); + var isExpanded = expanded && !isSplit; + return (0, Styling_1.mergeStyleSets)({ + root: [ + classNames.msButton, + styles.root, + variantClassName, + checked && ['is-checked', styles.rootChecked], + isExpanded && [ + 'is-expanded', + styles.rootExpanded, + { + selectors: (_a = {}, + _a[":hover .".concat(classNames.msButtonIcon)] = styles.iconExpandedHovered, + // menuIcon falls back to rootExpandedHovered to support original behavior + _a[":hover .".concat(classNames.msButtonMenuIcon)] = styles.menuIconExpandedHovered || styles.rootExpandedHovered, + _a[':hover'] = styles.rootExpandedHovered, + _a), + }, + ], + hasMenu && [exports.ButtonGlobalClassNames.msButtonHasMenu, styles.rootHasMenu], + disabled && ['is-disabled', styles.rootDisabled], + !disabled && + !isExpanded && + !checked && { + selectors: (_b = { + ':hover': styles.rootHovered + }, + _b[":hover .".concat(classNames.msButtonLabel)] = styles.labelHovered, + _b[":hover .".concat(classNames.msButtonIcon)] = styles.iconHovered, + _b[":hover .".concat(classNames.msButtonDescription)] = styles.descriptionHovered, + _b[":hover .".concat(classNames.msButtonMenuIcon)] = styles.menuIconHovered, + _b[':focus'] = styles.rootFocused, + _b[':active'] = styles.rootPressed, + _b[":active .".concat(classNames.msButtonIcon)] = styles.iconPressed, + _b[":active .".concat(classNames.msButtonDescription)] = styles.descriptionPressed, + _b[":active .".concat(classNames.msButtonMenuIcon)] = styles.menuIconPressed, + _b), + }, + disabled && checked && [styles.rootCheckedDisabled], + !disabled && + checked && { + selectors: { + ':hover': styles.rootCheckedHovered, + ':active': styles.rootCheckedPressed, + }, + }, + className, + ], + flexContainer: [classNames.msButtonFlexContainer, styles.flexContainer], + textContainer: [classNames.msButtonTextContainer, styles.textContainer], + icon: [ + classNames.msButtonIcon, + iconClassName, + styles.icon, + isExpanded && styles.iconExpanded, + checked && styles.iconChecked, + disabled && styles.iconDisabled, + ], + label: [classNames.msButtonLabel, styles.label, checked && styles.labelChecked, disabled && styles.labelDisabled], + menuIcon: [ + classNames.msButtonMenuIcon, + menuIconClassName, + styles.menuIcon, + checked && styles.menuIconChecked, + disabled && !isSplit && styles.menuIconDisabled, + !disabled && + !isExpanded && + !checked && { + selectors: { + ':hover': styles.menuIconHovered, + ':active': styles.menuIconPressed, + }, + }, + isExpanded && ['is-expanded', styles.menuIconExpanded], + ], + description: [ + classNames.msButtonDescription, + styles.description, + checked && styles.descriptionChecked, + disabled && styles.descriptionDisabled, + ], + screenReaderText: [classNames.msButtonScreenReaderText, styles.screenReaderText], + }); +}); +//# sourceMappingURL=BaseButton.classNames.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.BaseButton = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var DirectionalHint_1 = __webpack_require__(/*! ../../common/DirectionalHint */ "./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js"); +var ContextualMenu_1 = __webpack_require__(/*! ../../ContextualMenu */ "./node_modules/@fluentui/react/lib-commonjs/ContextualMenu.js"); +var BaseButton_classNames_1 = __webpack_require__(/*! ./BaseButton.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.classNames.js"); +var SplitButton_classNames_1 = __webpack_require__(/*! ./SplitButton/SplitButton.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/SplitButton/SplitButton.classNames.js"); +var KeytipData_1 = __webpack_require__(/*! ../../KeytipData */ "./node_modules/@fluentui/react/lib-commonjs/KeytipData.js"); +var Utilities_2 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var TouchIdleDelay = 500; /* ms */ +var COMPONENT_NAME = 'BaseButton'; +/** + * {@docCategory Button} + */ +var BaseButton = /** @class */ (function (_super) { + tslib_1.__extends(BaseButton, _super); + function BaseButton(props) { + var _this = _super.call(this, props) || this; + _this._buttonElement = React.createRef(); + _this._splitButtonContainer = React.createRef(); + _this._mergedRef = (0, Utilities_1.createMergedRef)(); + _this._renderedVisibleMenu = false; + _this._getMemoizedMenuButtonKeytipProps = (0, Utilities_1.memoizeFunction)(function (keytipProps) { + return tslib_1.__assign(tslib_1.__assign({}, keytipProps), { hasMenu: true }); + }); + _this._onRenderIcon = function (buttonProps, defaultRender) { + var iconProps = _this.props.iconProps; + if (iconProps && (iconProps.iconName !== undefined || iconProps.imageProps)) { + var className = iconProps.className, imageProps = iconProps.imageProps, rest = tslib_1.__rest(iconProps, ["className", "imageProps"]); + // If the styles prop is specified as part of iconProps, fall back to regular Icon as FontIcon and ImageIcon + // do not have this prop. + if (iconProps.styles) { + return React.createElement(Icon_1.Icon, tslib_1.__assign({ className: (0, Utilities_1.css)(_this._classNames.icon, className), imageProps: imageProps }, rest)); + } + if (iconProps.iconName) { + return React.createElement(Icon_1.FontIcon, tslib_1.__assign({ className: (0, Utilities_1.css)(_this._classNames.icon, className) }, rest)); + } + if (imageProps) { + return React.createElement(Icon_1.ImageIcon, tslib_1.__assign({ className: (0, Utilities_1.css)(_this._classNames.icon, className), imageProps: imageProps }, rest)); + } + } + return null; + }; + _this._onRenderTextContents = function () { + var _a = _this.props, text = _a.text, children = _a.children, + // eslint-disable-next-line deprecation/deprecation + _b = _a.secondaryText, + // eslint-disable-next-line deprecation/deprecation + secondaryText = _b === void 0 ? _this.props.description : _b, _c = _a.onRenderText, onRenderText = _c === void 0 ? _this._onRenderText : _c, _d = _a.onRenderDescription, onRenderDescription = _d === void 0 ? _this._onRenderDescription : _d; + if (text || typeof children === 'string' || secondaryText) { + return (React.createElement("span", { className: _this._classNames.textContainer }, + onRenderText(_this.props, _this._onRenderText), + onRenderDescription(_this.props, _this._onRenderDescription))); + } + return [onRenderText(_this.props, _this._onRenderText), onRenderDescription(_this.props, _this._onRenderDescription)]; + }; + _this._onRenderText = function () { + var text = _this.props.text; + var children = _this.props.children; + // For backwards compat, we should continue to take in the text content from children. + if (text === undefined && typeof children === 'string') { + text = children; + } + if (_this._hasText()) { + return (React.createElement("span", { key: _this._labelId, className: _this._classNames.label, id: _this._labelId }, text)); + } + return null; + }; + _this._onRenderChildren = function () { + var children = _this.props.children; + // If children is just a string, either it or the text will be rendered via onRenderLabel + // If children is another component, it will be rendered after text + if (typeof children === 'string') { + return null; + } + return children; + }; + _this._onRenderDescription = function (props) { + // eslint-disable-next-line deprecation/deprecation + var _a = props.secondaryText, secondaryText = _a === void 0 ? _this.props.description : _a; + // ms-Button-description is only shown when the button type is compound. + // In other cases it will not be displayed. + return secondaryText ? (React.createElement("span", { key: _this._descriptionId, className: _this._classNames.description, id: _this._descriptionId }, secondaryText)) : null; + }; + _this._onRenderAriaDescription = function () { + var ariaDescription = _this.props.ariaDescription; + // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan, + // otherwise it will be assigned to descriptionSpan. + return ariaDescription ? (React.createElement("span", { className: _this._classNames.screenReaderText, id: _this._ariaDescriptionId }, ariaDescription)) : null; + }; + _this._onRenderMenuIcon = function (props) { + var menuIconProps = _this.props.menuIconProps; + return React.createElement(Icon_1.FontIcon, tslib_1.__assign({ iconName: "ChevronDown" }, menuIconProps, { className: _this._classNames.menuIcon })); + }; + _this._onRenderMenu = function (menuProps) { + var MenuType = _this.props.menuAs ? (0, Utilities_2.composeComponentAs)(_this.props.menuAs, ContextualMenu_1.ContextualMenu) : ContextualMenu_1.ContextualMenu; + return React.createElement(MenuType, tslib_1.__assign({}, menuProps)); + }; + _this._onDismissMenu = function (ev) { + var menuProps = _this.props.menuProps; + if (menuProps && menuProps.onDismiss) { + menuProps.onDismiss(ev); + } + if (!ev || !ev.defaultPrevented) { + _this._dismissMenu(); + } + }; + _this._dismissMenu = function () { + _this._menuShouldFocusOnMount = undefined; + _this._menuShouldFocusOnContainer = undefined; + _this.setState({ menuHidden: true }); + }; + _this._openMenu = function (shouldFocusOnContainer, shouldFocusOnMount) { + if (shouldFocusOnMount === void 0) { shouldFocusOnMount = true; } + if (_this.props.menuProps) { + _this._menuShouldFocusOnContainer = shouldFocusOnContainer; + _this._menuShouldFocusOnMount = shouldFocusOnMount; + _this._renderedVisibleMenu = true; + _this.setState({ menuHidden: false }); + } + }; + _this._onToggleMenu = function (shouldFocusOnContainer) { + var shouldFocusOnMount = true; + if (_this.props.menuProps && _this.props.menuProps.shouldFocusOnMount === false) { + shouldFocusOnMount = false; + } + _this.state.menuHidden ? _this._openMenu(shouldFocusOnContainer, shouldFocusOnMount) : _this._dismissMenu(); + }; + _this._onSplitContainerFocusCapture = function (ev) { + var container = _this._splitButtonContainer.current; + // If the target is coming from the portal we do not need to set focus on the container. + if (!container || (ev.target && (0, Utilities_1.portalContainsElement)(ev.target, container))) { + return; + } + // We should never be able to focus the individual buttons in a split button. Focus + // should always remain on the container. + container.focus(); + }; + _this._onSplitButtonPrimaryClick = function (ev) { + if (!_this.state.menuHidden) { + _this._dismissMenu(); + } + // toggle split buttons need two separate targets, even for touch + var singleTouchTarget = _this._processingTouch && !_this.props.toggle; + if (!singleTouchTarget && _this.props.onClick) { + _this.props.onClick(ev); + } + else if (singleTouchTarget) { + _this._onMenuClick(ev); + } + }; + _this._onKeyDown = function (ev) { + // explicity cancelling event so click won't fire after this + // eslint-disable-next-line deprecation/deprecation + if (_this.props.disabled && (ev.which === Utilities_1.KeyCodes.enter || ev.which === Utilities_1.KeyCodes.space)) { + ev.preventDefault(); + ev.stopPropagation(); + } + else if (!_this.props.disabled) { + if (_this.props.menuProps) { + _this._onMenuKeyDown(ev); + } + else if (_this.props.onKeyDown !== undefined) { + _this.props.onKeyDown(ev); // not cancelling event because it's not disabled + } + } + }; + _this._onKeyUp = function (ev) { + if (!_this.props.disabled && _this.props.onKeyUp !== undefined) { + _this.props.onKeyUp(ev); // not cancelling event because it's not disabled + } + }; + _this._onKeyPress = function (ev) { + // eslint-disable-next-line deprecation/deprecation + if (!_this.props.disabled && _this.props.onKeyPress !== undefined) { + // eslint-disable-next-line deprecation/deprecation + _this.props.onKeyPress(ev); // not cancelling event because it's not disabled + } + }; + _this._onMouseUp = function (ev) { + if (!_this.props.disabled && _this.props.onMouseUp !== undefined) { + _this.props.onMouseUp(ev); // not cancelling event because it's not disabled + } + }; + _this._onMouseDown = function (ev) { + if (!_this.props.disabled && _this.props.onMouseDown !== undefined) { + _this.props.onMouseDown(ev); // not cancelling event because it's not disabled + } + }; + _this._onClick = function (ev) { + if (!_this.props.disabled) { + if (_this.props.menuProps) { + _this._onMenuClick(ev); + } + else if (_this.props.onClick !== undefined) { + _this.props.onClick(ev); // not cancelling event because it's not disabled + } + } + }; + _this._onSplitButtonContainerKeyDown = function (ev) { + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.enter || ev.which === Utilities_1.KeyCodes.space) { + if (_this._buttonElement.current) { + _this._buttonElement.current.click(); + ev.preventDefault(); + ev.stopPropagation(); + } + } + else { + _this._onMenuKeyDown(ev); + } + }; + _this._onMenuKeyDown = function (ev) { + var _a; + if (_this.props.disabled) { + return; + } + if (_this.props.onKeyDown) { + _this.props.onKeyDown(ev); + } + // eslint-disable-next-line deprecation/deprecation + var isUp = ev.which === Utilities_1.KeyCodes.up; + // eslint-disable-next-line deprecation/deprecation + var isDown = ev.which === Utilities_1.KeyCodes.down; + if (!ev.defaultPrevented && _this._isValidMenuOpenKey(ev)) { + var onMenuClick = _this.props.onMenuClick; + if (onMenuClick) { + onMenuClick(ev, _this.props); + } + _this._onToggleMenu(false); + ev.preventDefault(); + ev.stopPropagation(); + } + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.enter || ev.which === Utilities_1.KeyCodes.space) { + // We manually set the focus visibility to true if opening via Enter or Space to account for the scenario where + // a user clicks on the button, closes the menu and then opens it via keyboard. In this scenario our default logic + // for setting focus visibility is not triggered since there is no keyboard navigation present beforehand. + (0, Utilities_1.setFocusVisibility)(true, ev.target, (_a = _this.context) === null || _a === void 0 ? void 0 : _a.registeredProviders); + } + if (!(ev.altKey || ev.metaKey) && (isUp || isDown)) { + // Suppose a menu, with shouldFocusOnMount: false, is open, and user wants to keyboard to the menu items + // We need to re-render the menu with shouldFocusOnMount as true. + if (!_this.state.menuHidden && _this.props.menuProps) { + var currentShouldFocusOnMount = _this._menuShouldFocusOnMount !== undefined + ? _this._menuShouldFocusOnMount + : _this.props.menuProps.shouldFocusOnMount; + if (!currentShouldFocusOnMount) { + ev.preventDefault(); + ev.stopPropagation(); + _this._menuShouldFocusOnMount = true; + _this.forceUpdate(); + } + } + } + }; + _this._onTouchStart = function () { + if (_this._isSplitButton && + _this._splitButtonContainer.current && + !('onpointerdown' in _this._splitButtonContainer.current)) { + _this._handleTouchAndPointerEvent(); + } + }; + _this._onMenuClick = function (ev) { + var _a = _this.props, onMenuClick = _a.onMenuClick, menuProps = _a.menuProps; + if (onMenuClick) { + onMenuClick(ev, _this.props); + } + // focus on the container by default when the menu is opened with a click event + // this differentiates from a keyboard interaction triggering the click event + var shouldFocusOnContainer = typeof (menuProps === null || menuProps === void 0 ? void 0 : menuProps.shouldFocusOnContainer) === 'boolean' + ? menuProps.shouldFocusOnContainer + : ev.nativeEvent.pointerType === 'mouse'; + if (!ev.defaultPrevented) { + _this._onToggleMenu(shouldFocusOnContainer); + ev.preventDefault(); + ev.stopPropagation(); + } + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this._async = new Utilities_1.Async(_this); + _this._events = new Utilities_1.EventGroup(_this); + (0, Utilities_1.warnConditionallyRequiredProps)(COMPONENT_NAME, props, ['menuProps', 'onClick'], 'split', _this.props.split); + (0, Utilities_1.warnDeprecations)(COMPONENT_NAME, props, { + rootProps: undefined, + description: 'secondaryText', + toggled: 'checked', + }); + _this._labelId = (0, Utilities_1.getId)(); + _this._descriptionId = (0, Utilities_1.getId)(); + _this._ariaDescriptionId = (0, Utilities_1.getId)(); + _this.state = { + menuHidden: true, + }; + return _this; + } + Object.defineProperty(BaseButton.prototype, "_isSplitButton", { + get: function () { + return !!this.props.menuProps && !!this.props.onClick && this.props.split === true; + }, + enumerable: false, + configurable: true + }); + BaseButton.prototype.render = function () { + var _a; + var _b = this.props, ariaDescription = _b.ariaDescription, ariaLabel = _b.ariaLabel, ariaHidden = _b.ariaHidden, className = _b.className, disabled = _b.disabled, allowDisabledFocus = _b.allowDisabledFocus, primaryDisabled = _b.primaryDisabled, + // eslint-disable-next-line deprecation/deprecation + _c = _b.secondaryText, + // eslint-disable-next-line deprecation/deprecation + secondaryText = _c === void 0 ? this.props.description : _c, href = _b.href, iconProps = _b.iconProps, menuIconProps = _b.menuIconProps, styles = _b.styles, checked = _b.checked, variantClassName = _b.variantClassName, theme = _b.theme, toggle = _b.toggle, getClassNames = _b.getClassNames, role = _b.role; + var menuHidden = this.state.menuHidden; + // Button is disabled if the whole button (in case of splitButton is disabled) or if the primary action is disabled + var isPrimaryButtonDisabled = disabled || primaryDisabled; + this._classNames = getClassNames + ? getClassNames(theme, className, variantClassName, iconProps && iconProps.className, menuIconProps && menuIconProps.className, isPrimaryButtonDisabled, checked, !menuHidden, !!this.props.menuProps, this.props.split, !!allowDisabledFocus) + : (0, BaseButton_classNames_1.getBaseButtonClassNames)(theme, styles, className, variantClassName, iconProps && iconProps.className, menuIconProps && menuIconProps.className, isPrimaryButtonDisabled, !!this.props.menuProps, checked, !menuHidden, this.props.split); + var _d = this, _ariaDescriptionId = _d._ariaDescriptionId, _labelId = _d._labelId, _descriptionId = _d._descriptionId; + // Anchor tag cannot be disabled hence in disabled state rendering + // anchor button as normal button + var renderAsAnchor = !isPrimaryButtonDisabled && !!href; + var tag = renderAsAnchor ? 'a' : 'button'; + var nativeProps = (0, Utilities_1.getNativeProps)( + // eslint-disable-next-line deprecation/deprecation + (0, Utilities_1.assign)(renderAsAnchor ? {} : { type: 'button' }, this.props.rootProps, this.props), renderAsAnchor ? Utilities_1.anchorProperties : Utilities_1.buttonProperties, [ + 'disabled', // let disabled buttons be focused and styled as disabled. + ]); + // Check for ariaLabel passed in via Button props, and fall back to aria-label passed in via native props + var resolvedAriaLabel = ariaLabel || nativeProps['aria-label']; + // Check for ariaDescription, secondaryText or aria-describedby in the native props to determine source of + // aria-describedby. Otherwise default to undefined so property does not appear in output. + var ariaDescribedBy = undefined; + if (ariaDescription) { + ariaDescribedBy = _ariaDescriptionId; + } + else if (secondaryText && this.props.onRenderDescription !== Utilities_1.nullRender) { + // for buttons like CompoundButton with a valid onRenderDescription, we need to set an ariaDescribedBy + // for buttons that do not render anything (via nullRender), we should not set an ariaDescribedBy + ariaDescribedBy = _descriptionId; + } + else if (nativeProps['aria-describedby']) { + ariaDescribedBy = nativeProps['aria-describedby']; + } + // If an explicit aria-labelledby is given, use that and we're done. + // If any kind of description is given (which will end up as an aria-describedby attribute) + // and no ariaLabel is specified, set the labelledby element. + // Otherwise, the button is labeled implicitly by the descendent text on the button (if it exists). + var ariaLabelledBy = undefined; + if (nativeProps['aria-labelledby']) { + ariaLabelledBy = nativeProps['aria-labelledby']; + } + else if (ariaDescribedBy && !resolvedAriaLabel) { + ariaLabelledBy = this._hasText() ? _labelId : undefined; + } + var dataIsFocusable = this.props['data-is-focusable'] === false || (disabled && !allowDisabledFocus) || this._isSplitButton + ? false + : true; + var isCheckboxTypeRole = role === 'menuitemcheckbox' || role === 'checkbox'; + // if isCheckboxTypeRole, always return a checked value. + // Otherwise only return checked value if toggle is set to true. + // This is because role="checkbox" always needs to have an aria-checked value + // but our checked prop only sets aria-pressed if we mark the button as a toggle="true" + var checkedOrPressedValue = isCheckboxTypeRole ? !!checked : toggle === true ? !!checked : undefined; + var buttonProps = (0, Utilities_1.assign)(nativeProps, (_a = { + className: this._classNames.root, + // eslint-disable-next-line deprecation/deprecation + ref: this._mergedRef(this.props.elementRef, this._buttonElement), + disabled: isPrimaryButtonDisabled && !allowDisabledFocus, + onKeyDown: this._onKeyDown, + onKeyPress: this._onKeyPress, + onKeyUp: this._onKeyUp, + onMouseDown: this._onMouseDown, + onMouseUp: this._onMouseUp, + onClick: this._onClick, + 'aria-label': resolvedAriaLabel, + 'aria-labelledby': ariaLabelledBy, + 'aria-describedby': ariaDescribedBy, + 'aria-disabled': isPrimaryButtonDisabled, + 'data-is-focusable': dataIsFocusable + }, + // aria-pressed attribute should only be present for toggle buttons + // aria-checked attribute should only be present for toggle buttons with checkbox type role + _a[isCheckboxTypeRole ? 'aria-checked' : 'aria-pressed'] = checkedOrPressedValue, + _a)); + if (ariaHidden) { + buttonProps['aria-hidden'] = true; + } + if (this._isSplitButton) { + return this._onRenderSplitButtonContent(tag, buttonProps); + } + else if (this.props.menuProps) { + var _e = this.props.menuProps.id, id = _e === void 0 ? "".concat(this._labelId, "-menu") : _e; + (0, Utilities_1.assign)(buttonProps, { + 'aria-expanded': !menuHidden, + 'aria-controls': !menuHidden ? id : null, + 'aria-haspopup': true, + }); + } + return this._onRenderContent(tag, buttonProps); + }; + BaseButton.prototype.componentDidMount = function () { + // For split buttons, touching anywhere in the button should drop the dropdown, which should contain the + // primary action. This gives more hit target space for touch environments. We're setting the onpointerdown here, + // because React does not support Pointer events yet. + if (this._isSplitButton && this._splitButtonContainer.current) { + if ('onpointerdown' in this._splitButtonContainer.current) { + this._events.on(this._splitButtonContainer.current, 'pointerdown', this._onPointerDown, true); + } + if ('onpointerup' in this._splitButtonContainer.current && this.props.onPointerUp) { + this._events.on(this._splitButtonContainer.current, 'pointerup', this.props.onPointerUp, true); + } + } + }; + BaseButton.prototype.componentDidUpdate = function (prevProps, prevState) { + // If Button's menu was closed, run onAfterMenuDismiss. + if (this.props.onAfterMenuDismiss && !prevState.menuHidden && this.state.menuHidden) { + this.props.onAfterMenuDismiss(); + } + }; + BaseButton.prototype.componentWillUnmount = function () { + this._async.dispose(); + this._events.dispose(); + }; + BaseButton.prototype.focus = function () { + var _a, _b; + if (this._isSplitButton && this._splitButtonContainer.current) { + (0, Utilities_1.setFocusVisibility)(true, undefined, (_a = this.context) === null || _a === void 0 ? void 0 : _a.registeredProviders); + this._splitButtonContainer.current.focus(); + } + else if (this._buttonElement.current) { + (0, Utilities_1.setFocusVisibility)(true, undefined, (_b = this.context) === null || _b === void 0 ? void 0 : _b.registeredProviders); + this._buttonElement.current.focus(); + } + }; + BaseButton.prototype.dismissMenu = function () { + this._dismissMenu(); + }; + BaseButton.prototype.openMenu = function (shouldFocusOnContainer, shouldFocusOnMount) { + this._openMenu(shouldFocusOnContainer, shouldFocusOnMount); + }; + BaseButton.prototype._onRenderContent = function (tag, buttonProps) { + var _this = this; + var props = this.props; + var Tag = tag; + var menuIconProps = props.menuIconProps, menuProps = props.menuProps, _a = props.onRenderIcon, onRenderIcon = _a === void 0 ? this._onRenderIcon : _a, _b = props.onRenderAriaDescription, onRenderAriaDescription = _b === void 0 ? this._onRenderAriaDescription : _b, _c = props.onRenderChildren, onRenderChildren = _c === void 0 ? this._onRenderChildren : _c, + // eslint-disable-next-line deprecation/deprecation + _d = props.onRenderMenu, + // eslint-disable-next-line deprecation/deprecation + onRenderMenu = _d === void 0 ? this._onRenderMenu : _d, _e = props.onRenderMenuIcon, onRenderMenuIcon = _e === void 0 ? this._onRenderMenuIcon : _e, disabled = props.disabled; + var keytipProps = props.keytipProps; + if (keytipProps && menuProps) { + keytipProps = this._getMemoizedMenuButtonKeytipProps(keytipProps); + } + var Button = function (keytipAttributes) { return (React.createElement(Tag, tslib_1.__assign({}, buttonProps, keytipAttributes), + React.createElement("span", { className: _this._classNames.flexContainer, "data-automationid": "splitbuttonprimary" }, + onRenderIcon(props, _this._onRenderIcon), + _this._onRenderTextContents(), + onRenderAriaDescription(props, _this._onRenderAriaDescription), + onRenderChildren(props, _this._onRenderChildren), + !_this._isSplitButton && + (menuProps || menuIconProps || _this.props.onRenderMenuIcon) && + onRenderMenuIcon(_this.props, _this._onRenderMenuIcon), + menuProps && + !menuProps.doNotLayer && + _this._shouldRenderMenu() && + onRenderMenu(_this._getMenuProps(menuProps), _this._onRenderMenu)))); }; + var Content = keytipProps ? ( + // If we're making a split button, we won't put the keytip here + React.createElement(KeytipData_1.KeytipData, { keytipProps: !this._isSplitButton ? keytipProps : undefined, ariaDescribedBy: buttonProps['aria-describedby'], disabled: disabled }, function (keytipAttributes) { return Button(keytipAttributes); })) : (Button()); + if (menuProps && menuProps.doNotLayer) { + return (React.createElement(React.Fragment, null, + Content, + this._shouldRenderMenu() && onRenderMenu(this._getMenuProps(menuProps), this._onRenderMenu))); + } + return (React.createElement(React.Fragment, null, + Content, + React.createElement(Utilities_1.FocusRects, null))); + }; + /** + * Method to help determine if the menu's component tree should + * be rendered. It takes into account whether the menu is expanded, + * whether it is a persisted menu and whether it has been shown to the user. + */ + BaseButton.prototype._shouldRenderMenu = function () { + var menuHidden = this.state.menuHidden; + // eslint-disable-next-line deprecation/deprecation + var _a = this.props, persistMenu = _a.persistMenu, renderPersistedMenuHiddenOnMount = _a.renderPersistedMenuHiddenOnMount; + if (!menuHidden) { + // Always should render a menu when it is expanded + return true; + } + else if (persistMenu && (this._renderedVisibleMenu || renderPersistedMenuHiddenOnMount)) { + // _renderedVisibleMenu ensures that the first rendering of + // the menu happens on-screen, as edge's scrollbar calculations are off if done while hidden. + return true; + } + return false; + }; + BaseButton.prototype._hasText = function () { + // _onRenderTextContents and _onRenderText do not perform the same checks. Below is parity with what _onRenderText + // used to have before the refactor that introduced this function. _onRenderTextContents does not require props. + // text to be undefined in order for props.children to be used as a fallback. + // Purely a code maintainability/reuse issue, but logged as Issue #4979. + return this.props.text !== null && (this.props.text !== undefined || typeof this.props.children === 'string'); + }; + BaseButton.prototype._getMenuProps = function (menuProps) { + var persistMenu = this.props.persistMenu; + var menuHidden = this.state.menuHidden; + // the accessible menu label (accessible name) has a relationship to the button. + // If the menu props do not specify an explicit value for aria-label or aria-labelledBy, + // AND the button has text, we'll set the menu aria-labelledBy to the text element id. + if (!menuProps.ariaLabel && !menuProps.labelElementId && this._hasText()) { + menuProps = tslib_1.__assign(tslib_1.__assign({}, menuProps), { labelElementId: this._labelId }); + } + return tslib_1.__assign(tslib_1.__assign({ id: this._labelId + '-menu', directionalHint: DirectionalHint_1.DirectionalHint.bottomLeftEdge }, menuProps), { shouldFocusOnContainer: this._menuShouldFocusOnContainer, shouldFocusOnMount: this._menuShouldFocusOnMount, hidden: persistMenu ? menuHidden : undefined, className: (0, Utilities_1.css)('ms-BaseButton-menuhost', menuProps.className), target: this._isSplitButton ? this._splitButtonContainer.current : this._buttonElement.current, onDismiss: this._onDismissMenu }); + }; + BaseButton.prototype._onRenderSplitButtonContent = function (tag, buttonProps) { + var _this = this; + var _a = this.props, _b = _a.styles, styles = _b === void 0 ? {} : _b, disabled = _a.disabled, allowDisabledFocus = _a.allowDisabledFocus, checked = _a.checked, getSplitButtonClassNames = _a.getSplitButtonClassNames, primaryDisabled = _a.primaryDisabled, menuProps = _a.menuProps, toggle = _a.toggle, role = _a.role, primaryActionButtonProps = _a.primaryActionButtonProps; + var keytipProps = this.props.keytipProps; + var menuHidden = this.state.menuHidden; + var classNames = getSplitButtonClassNames + ? getSplitButtonClassNames(!!disabled, !menuHidden, !!checked, !!allowDisabledFocus) + : styles && (0, SplitButton_classNames_1.getSplitButtonClassNames)(styles, !!disabled, !menuHidden, !!checked, !!primaryDisabled); + (0, Utilities_1.assign)(buttonProps, { + onClick: undefined, + onPointerDown: undefined, + onPointerUp: undefined, + tabIndex: -1, + 'data-is-focusable': false, + }); + if (keytipProps && menuProps) { + keytipProps = this._getMemoizedMenuButtonKeytipProps(keytipProps); + } + var containerProps = (0, Utilities_1.getNativeProps)(buttonProps, [], ['disabled']); + // Add additional props to apply on primary action button + if (primaryActionButtonProps) { + (0, Utilities_1.assign)(buttonProps, primaryActionButtonProps); + } + var SplitButton = function (keytipAttributes) { return (React.createElement("div", tslib_1.__assign({}, containerProps, { "data-ktp-target": keytipAttributes ? keytipAttributes['data-ktp-target'] : undefined, role: role ? role : 'button', "aria-disabled": disabled, "aria-haspopup": true, "aria-expanded": !menuHidden, "aria-pressed": toggle ? !!checked : undefined, "aria-describedby": (0, Utilities_1.mergeAriaAttributeValues)(buttonProps['aria-describedby'], keytipAttributes ? keytipAttributes['aria-describedby'] : undefined), className: classNames && classNames.splitButtonContainer, onKeyDown: _this._onSplitButtonContainerKeyDown, onTouchStart: _this._onTouchStart, ref: _this._splitButtonContainer, "data-is-focusable": true, onClick: !disabled && !primaryDisabled ? _this._onSplitButtonPrimaryClick : undefined, tabIndex: (!disabled && !primaryDisabled) || allowDisabledFocus ? 0 : undefined, "aria-roledescription": buttonProps['aria-roledescription'], onFocusCapture: _this._onSplitContainerFocusCapture }), + React.createElement("span", { style: { display: 'flex', width: '100%' } }, + _this._onRenderContent(tag, buttonProps), + _this._onRenderSplitButtonMenuButton(classNames, keytipAttributes), + _this._onRenderSplitButtonDivider(classNames)))); }; + return keytipProps ? (React.createElement(KeytipData_1.KeytipData, { keytipProps: keytipProps, disabled: disabled }, function (keytipAttributes) { return SplitButton(keytipAttributes); })) : (SplitButton()); + }; + BaseButton.prototype._onRenderSplitButtonDivider = function (classNames) { + if (classNames && classNames.divider) { + var onClick = function (ev) { + ev.stopPropagation(); + }; + return React.createElement("span", { className: classNames.divider, "aria-hidden": true, onClick: onClick }); + } + return null; + }; + BaseButton.prototype._onRenderSplitButtonMenuButton = function (classNames, keytipAttributes) { + var _a = this.props, allowDisabledFocus = _a.allowDisabledFocus, checked = _a.checked, disabled = _a.disabled, splitButtonMenuProps = _a.splitButtonMenuProps, splitButtonAriaLabel = _a.splitButtonAriaLabel, primaryDisabled = _a.primaryDisabled; + var menuHidden = this.state.menuHidden; + var menuIconProps = this.props.menuIconProps; + if (menuIconProps === undefined) { + menuIconProps = { + iconName: 'ChevronDown', + }; + } + var splitButtonProps = tslib_1.__assign(tslib_1.__assign({}, splitButtonMenuProps), { styles: classNames, checked: checked, disabled: disabled, allowDisabledFocus: allowDisabledFocus, onClick: this._onMenuClick, menuProps: undefined, iconProps: tslib_1.__assign(tslib_1.__assign({}, menuIconProps), { className: this._classNames.menuIcon }), ariaLabel: splitButtonAriaLabel, 'aria-haspopup': true, 'aria-expanded': !menuHidden, 'data-is-focusable': false }); + // Add data-ktp-execute-target to the split button if the keytip is defined + return (React.createElement(BaseButton, tslib_1.__assign({}, splitButtonProps, { "data-ktp-execute-target": keytipAttributes ? keytipAttributes['data-ktp-execute-target'] : keytipAttributes, onMouseDown: this._onMouseDown, tabIndex: primaryDisabled && !allowDisabledFocus ? 0 : -1 }))); + }; + BaseButton.prototype._onPointerDown = function (ev) { + var onPointerDown = this.props.onPointerDown; + if (onPointerDown) { + onPointerDown(ev); + } + if (ev.pointerType === 'touch') { + this._handleTouchAndPointerEvent(); + ev.preventDefault(); + ev.stopImmediatePropagation(); + } + }; + BaseButton.prototype._handleTouchAndPointerEvent = function () { + var _this = this; + // If we already have an existing timeout from a previous touch and pointer event + // cancel that timeout so we can set a new one. + if (this._lastTouchTimeoutId !== undefined) { + this._async.clearTimeout(this._lastTouchTimeoutId); + this._lastTouchTimeoutId = undefined; + } + this._processingTouch = true; + this._lastTouchTimeoutId = this._async.setTimeout(function () { + _this._processingTouch = false; + _this._lastTouchTimeoutId = undefined; + // Touch and pointer events don't focus the button naturally, + // so adding an imperative focus call to guarantee this behavior. + // Only focus the button if a splitbutton menu is not open + if (_this.state.menuHidden) { + _this.focus(); + } + }, TouchIdleDelay); + }; + /** + * Returns if the user hits a valid keyboard key to open the menu + * @param ev - the keyboard event + * @returns True if user clicks on custom trigger key if enabled or alt + down arrow if not. False otherwise. + */ + BaseButton.prototype._isValidMenuOpenKey = function (ev) { + if (this.props.menuTriggerKeyCode) { + // eslint-disable-next-line deprecation/deprecation + return ev.which === this.props.menuTriggerKeyCode; + } + else if (this.props.menuProps) { + // eslint-disable-next-line deprecation/deprecation + return ev.which === Utilities_1.KeyCodes.down && (ev.altKey || ev.metaKey); + } + // Note: When enter is pressed, we will let the event continue to propagate + // to trigger the onClick event on the button + return false; + }; + BaseButton.defaultProps = { + baseClassName: 'ms-Button', + styles: {}, + split: false, + }; + // needed to access registeredProviders when manually setting focus visibility + BaseButton.contextType = Utilities_1.FocusRectsContext; + return BaseButton; +}(React.Component)); +exports.BaseButton = BaseButton; +//# sourceMappingURL=BaseButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.styles.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.styles.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var noOutline = { + outline: 0, +}; +var iconStyle = function (fontSize) { + return { + fontSize: fontSize, + margin: '0 4px', + height: '16px', + lineHeight: '16px', + textAlign: 'center', + flexShrink: 0, + }; +}; +/** + * Gets the base button styles. Note: because it is a base class to be used with the `mergeRules` + * helper, it should have values for all class names in the interface. This let `mergeRules` optimize + * mixing class names together. + */ +exports.getStyles = (0, Utilities_1.memoizeFunction)(function (theme) { + var _a, _b; + var semanticColors = theme.semanticColors, effects = theme.effects, fonts = theme.fonts; + var border = semanticColors.buttonBorder; + var disabledBackground = semanticColors.disabledBackground; + var disabledText = semanticColors.disabledText; + var buttonHighContrastFocus = { + left: -2, + top: -2, + bottom: -2, + right: -2, + outlineColor: 'ButtonText', + }; + return { + root: [ + (0, Styling_1.getFocusStyle)(theme, { inset: 1, highContrastStyle: buttonHighContrastFocus, borderColor: 'transparent' }), + theme.fonts.medium, + { + border: '1px solid ' + border, + borderRadius: effects.roundedCorner2, + boxSizing: 'border-box', + cursor: 'pointer', + display: 'inline-block', + padding: '0 16px', + textDecoration: 'none', + textAlign: 'center', + userSelect: 'none', + selectors: { + // IE11 workaround for preventing shift of child elements of a button when active. + ':active > span': { + position: 'relative', + left: 0, + top: 0, + }, + }, + }, + ], + rootDisabled: [ + (0, Styling_1.getFocusStyle)(theme, { inset: 1, highContrastStyle: buttonHighContrastFocus, borderColor: 'transparent' }), + { + backgroundColor: disabledBackground, + borderColor: disabledBackground, + color: disabledText, + cursor: 'default', + selectors: { + ':hover': noOutline, + ':focus': noOutline, + }, + }, + ], + iconDisabled: { + color: disabledText, + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + color: 'GrayText', + }, + _a), + }, + menuIconDisabled: { + color: disabledText, + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + color: 'GrayText', + }, + _b), + }, + flexContainer: { + display: 'flex', + height: '100%', + flexWrap: 'nowrap', + justifyContent: 'center', + alignItems: 'center', + }, + description: { + display: 'block', + }, + textContainer: { + flexGrow: 1, + display: 'block', + }, + icon: iconStyle(fonts.mediumPlus.fontSize), + menuIcon: iconStyle(fonts.small.fontSize), + label: { + margin: '0 4px', + lineHeight: '100%', + display: 'block', + }, + screenReaderText: Styling_1.hiddenContentStyle, + }; +}); +//# sourceMappingURL=BaseButton.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/Button.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/Button.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Button = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Button_types_1 = __webpack_require__(/*! ./Button.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/Button.types.js"); +var DefaultButton_1 = __webpack_require__(/*! ./DefaultButton/DefaultButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/DefaultButton/DefaultButton.js"); +var ActionButton_1 = __webpack_require__(/*! ./ActionButton/ActionButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/ActionButton/ActionButton.js"); +var CompoundButton_1 = __webpack_require__(/*! ./CompoundButton/CompoundButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/CompoundButton/CompoundButton.js"); +var IconButton_1 = __webpack_require__(/*! ./IconButton/IconButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/IconButton/IconButton.js"); +var PrimaryButton_1 = __webpack_require__(/*! ./PrimaryButton/PrimaryButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/PrimaryButton/PrimaryButton.js"); +/** + * This class is deprecated. Use the individual *Button components instead. + * @deprecated Use the individual *Button components instead. + * {@docCategory Button} + */ +var Button = /** @class */ (function (_super) { + tslib_1.__extends(Button, _super); + function Button(props) { + var _this = _super.call(this, props) || this; + (0, Utilities_1.warn)("The Button component has been deprecated. Use specific variants instead. " + + "(PrimaryButton, DefaultButton, IconButton, ActionButton, etc.)"); + return _this; + } + Button.prototype.render = function () { + var props = this.props; + // eslint-disable-next-line deprecation/deprecation + switch (props.buttonType) { + case Button_types_1.ButtonType.command: + return React.createElement(ActionButton_1.ActionButton, tslib_1.__assign({}, props)); + case Button_types_1.ButtonType.compound: + return React.createElement(CompoundButton_1.CompoundButton, tslib_1.__assign({}, props)); + case Button_types_1.ButtonType.icon: + return React.createElement(IconButton_1.IconButton, tslib_1.__assign({}, props)); + case Button_types_1.ButtonType.primary: + return React.createElement(PrimaryButton_1.PrimaryButton, tslib_1.__assign({}, props)); + default: + return React.createElement(DefaultButton_1.DefaultButton, tslib_1.__assign({}, props)); + } + }; + return Button; +}(React.Component)); +exports.Button = Button; +//# sourceMappingURL=Button.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/Button.types.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/Button.types.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ButtonType = exports.ElementType = void 0; +/** + * {@docCategory Button} + */ +var ElementType; +(function (ElementType) { + /** `button` element. */ + ElementType[ElementType["button"] = 0] = "button"; + /** `a` element. */ + ElementType[ElementType["anchor"] = 1] = "anchor"; +})(ElementType = exports.ElementType || (exports.ElementType = {})); +/** + * {@docCategory Button} + */ +var ButtonType; +(function (ButtonType) { + ButtonType[ButtonType["normal"] = 0] = "normal"; + ButtonType[ButtonType["primary"] = 1] = "primary"; + ButtonType[ButtonType["hero"] = 2] = "hero"; + ButtonType[ButtonType["compound"] = 3] = "compound"; + ButtonType[ButtonType["command"] = 4] = "command"; + ButtonType[ButtonType["icon"] = 5] = "icon"; + ButtonType[ButtonType["default"] = 6] = "default"; +})(ButtonType = exports.ButtonType || (exports.ButtonType = {})); +//# sourceMappingURL=Button.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/ButtonThemes.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/ButtonThemes.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.primaryStyles = exports.standardStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var splitButtonDividerBaseStyles = function () { + return { + position: 'absolute', + width: 1, + right: 31, + top: 8, + bottom: 8, + }; +}; +function standardStyles(theme) { + var _a, _b, _c, _d, _e; + var s = theme.semanticColors, p = theme.palette; + var buttonBackground = s.buttonBackground; + var buttonBackgroundPressed = s.buttonBackgroundPressed; + var buttonBackgroundHovered = s.buttonBackgroundHovered; + var buttonBackgroundDisabled = s.buttonBackgroundDisabled; + var buttonText = s.buttonText; + var buttonTextHovered = s.buttonTextHovered; + var buttonTextDisabled = s.buttonTextDisabled; + var buttonTextChecked = s.buttonTextChecked; + var buttonTextCheckedHovered = s.buttonTextCheckedHovered; + return { + root: { + backgroundColor: buttonBackground, + color: buttonText, + }, + rootHovered: { + backgroundColor: buttonBackgroundHovered, + color: buttonTextHovered, + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + borderColor: 'Highlight', + color: 'Highlight', + }, + _a), + }, + rootPressed: { + backgroundColor: buttonBackgroundPressed, + color: buttonTextChecked, + }, + rootExpanded: { + backgroundColor: buttonBackgroundPressed, + color: buttonTextChecked, + }, + rootChecked: { + backgroundColor: buttonBackgroundPressed, + color: buttonTextChecked, + }, + rootCheckedHovered: { + backgroundColor: buttonBackgroundPressed, + color: buttonTextCheckedHovered, + }, + rootDisabled: { + color: buttonTextDisabled, + backgroundColor: buttonBackgroundDisabled, + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + color: 'GrayText', + borderColor: 'GrayText', + backgroundColor: 'Window', + }, + _b), + }, + // Split button styles + splitButtonContainer: { + selectors: (_c = {}, + _c[Styling_1.HighContrastSelector] = { + border: 'none', + }, + _c), + }, + splitButtonMenuButton: { + color: p.white, + backgroundColor: 'transparent', + selectors: { + ':hover': { + backgroundColor: p.neutralLight, + selectors: (_d = {}, + _d[Styling_1.HighContrastSelector] = { + color: 'Highlight', + }, + _d), + }, + }, + }, + splitButtonMenuButtonDisabled: { + backgroundColor: s.buttonBackgroundDisabled, + selectors: { + ':hover': { + backgroundColor: s.buttonBackgroundDisabled, + }, + }, + }, + splitButtonDivider: tslib_1.__assign(tslib_1.__assign({}, splitButtonDividerBaseStyles()), { backgroundColor: p.neutralTertiaryAlt, selectors: (_e = {}, + _e[Styling_1.HighContrastSelector] = { + backgroundColor: 'WindowText', + }, + _e) }), + splitButtonDividerDisabled: { + backgroundColor: theme.palette.neutralTertiaryAlt, + }, + splitButtonMenuButtonChecked: { + backgroundColor: p.neutralQuaternaryAlt, + selectors: { + ':hover': { + backgroundColor: p.neutralQuaternaryAlt, + }, + }, + }, + splitButtonMenuButtonExpanded: { + backgroundColor: p.neutralQuaternaryAlt, + selectors: { + ':hover': { + backgroundColor: p.neutralQuaternaryAlt, + }, + }, + }, + splitButtonMenuIcon: { + color: s.buttonText, + }, + splitButtonMenuIconDisabled: { + color: s.buttonTextDisabled, + }, + }; +} +exports.standardStyles = standardStyles; +function primaryStyles(theme) { + var _a, _b, _c, _d, _e, _f, _g, _h, _j; + var p = theme.palette, s = theme.semanticColors; + return { + root: { + backgroundColor: s.primaryButtonBackground, + border: "1px solid ".concat(s.primaryButtonBackground), + color: s.primaryButtonText, + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'Window', backgroundColor: 'WindowText', borderColor: 'WindowText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _a[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus")] = { + selectors: { + ':after': { + border: "none", + outlineColor: p.white, + }, + }, + }, + _a), + }, + rootHovered: { + backgroundColor: s.primaryButtonBackgroundHovered, + border: "1px solid ".concat(s.primaryButtonBackgroundHovered), + color: s.primaryButtonTextHovered, + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + color: 'Window', + backgroundColor: 'Highlight', + borderColor: 'Highlight', + }, + _b), + }, + rootPressed: { + backgroundColor: s.primaryButtonBackgroundPressed, + border: "1px solid ".concat(s.primaryButtonBackgroundPressed), + color: s.primaryButtonTextPressed, + selectors: (_c = {}, + _c[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'Window', backgroundColor: 'WindowText', borderColor: 'WindowText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _c), + }, + rootExpanded: { + backgroundColor: s.primaryButtonBackgroundPressed, + color: s.primaryButtonTextPressed, + }, + rootChecked: { + backgroundColor: s.primaryButtonBackgroundPressed, + color: s.primaryButtonTextPressed, + }, + rootCheckedHovered: { + backgroundColor: s.primaryButtonBackgroundPressed, + color: s.primaryButtonTextPressed, + }, + rootDisabled: { + color: s.primaryButtonTextDisabled, + backgroundColor: s.primaryButtonBackgroundDisabled, + selectors: (_d = {}, + _d[Styling_1.HighContrastSelector] = { + color: 'GrayText', + borderColor: 'GrayText', + backgroundColor: 'Window', + }, + _d), + }, + // Split button styles + splitButtonContainer: { + selectors: (_e = {}, + _e[Styling_1.HighContrastSelector] = { + border: 'none', + }, + _e), + }, + splitButtonDivider: tslib_1.__assign(tslib_1.__assign({}, splitButtonDividerBaseStyles()), { backgroundColor: p.white, selectors: (_f = {}, + _f[Styling_1.HighContrastSelector] = { + backgroundColor: 'Window', + }, + _f) }), + splitButtonMenuButton: { + backgroundColor: s.primaryButtonBackground, + color: s.primaryButtonText, + selectors: (_g = {}, + _g[Styling_1.HighContrastSelector] = { + backgroundColor: 'Canvas', + }, + _g[':hover'] = { + backgroundColor: s.primaryButtonBackgroundHovered, + selectors: (_h = {}, + _h[Styling_1.HighContrastSelector] = { + color: 'Highlight', + }, + _h), + }, + _g), + }, + splitButtonMenuButtonDisabled: { + backgroundColor: s.primaryButtonBackgroundDisabled, + selectors: { + ':hover': { + backgroundColor: s.primaryButtonBackgroundDisabled, + }, + }, + }, + splitButtonMenuButtonChecked: { + backgroundColor: s.primaryButtonBackgroundPressed, + selectors: { + ':hover': { + backgroundColor: s.primaryButtonBackgroundPressed, + }, + }, + }, + splitButtonMenuButtonExpanded: { + backgroundColor: s.primaryButtonBackgroundPressed, + selectors: { + ':hover': { + backgroundColor: s.primaryButtonBackgroundPressed, + }, + }, + }, + splitButtonMenuIcon: { + color: s.primaryButtonText, + }, + splitButtonMenuIconDisabled: { + color: p.neutralTertiary, + selectors: (_j = {}, + _j[Styling_1.HighContrastSelector] = { + color: 'GrayText', + }, + _j), + }, + }; +} +exports.primaryStyles = primaryStyles; +//# sourceMappingURL=ButtonThemes.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/CommandBarButton/CommandBarButton.js": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/CommandBarButton/CommandBarButton.js ***! + \**********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CommandBarButton = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var BaseButton_1 = __webpack_require__(/*! ../BaseButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var CommandBarButton_styles_1 = __webpack_require__(/*! ./CommandBarButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/CommandBarButton/CommandBarButton.styles.js"); +/** + * {@docCategory Button} + */ +var CommandBarButton = /** @class */ (function (_super) { + tslib_1.__extends(CommandBarButton, _super); + function CommandBarButton() { + return _super !== null && _super.apply(this, arguments) || this; + } + CommandBarButton.prototype.render = function () { + var _a = this.props, styles = _a.styles, theme = _a.theme; + return (React.createElement(BaseButton_1.BaseButton, tslib_1.__assign({}, this.props, { variantClassName: "ms-Button--commandBar", styles: (0, CommandBarButton_styles_1.getStyles)(theme, styles), onRenderDescription: Utilities_1.nullRender }))); + }; + CommandBarButton = tslib_1.__decorate([ + (0, Utilities_1.customizable)('CommandBarButton', ['theme', 'styles'], true) + ], CommandBarButton); + return CommandBarButton; +}(React.Component)); +exports.CommandBarButton = CommandBarButton; +//# sourceMappingURL=CommandBarButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/CommandBarButton/CommandBarButton.styles.js": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/CommandBarButton/CommandBarButton.styles.js ***! + \*****************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var BaseButton_styles_1 = __webpack_require__(/*! ../BaseButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.styles.js"); +var SplitButton_styles_1 = __webpack_require__(/*! ../SplitButton/SplitButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/SplitButton/SplitButton.styles.js"); +var BaseButton_classNames_1 = __webpack_require__(/*! ../BaseButton.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.classNames.js"); +exports.getStyles = (0, Utilities_1.memoizeFunction)(function (theme, customStyles, focusInset, focusColor) { + var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p; + var baseButtonStyles = (0, BaseButton_styles_1.getStyles)(theme); + var baseSplitButtonStyles = (0, SplitButton_styles_1.getStyles)(theme); + var p = theme.palette, semanticColors = theme.semanticColors; + var commandButtonHighContrastFocus = { + left: 4, + top: 4, + bottom: 4, + right: 4, + border: 'none', + }; + var commandButtonStyles = { + root: [ + (0, Styling_1.getFocusStyle)(theme, { + inset: 2, + highContrastStyle: commandButtonHighContrastFocus, + borderColor: 'transparent', + }), + theme.fonts.medium, + { + minWidth: '40px', + backgroundColor: p.white, + color: p.neutralPrimary, + padding: '0 4px', + border: 'none', + borderRadius: 0, + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + border: 'none', + }, + _a), + }, + ], + rootHovered: { + backgroundColor: p.neutralLighter, + color: p.neutralDark, + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + color: 'Highlight', + }, + _b[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonIcon)] = { + color: p.themeDarkAlt, + }, + _b[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonMenuIcon)] = { + color: p.neutralPrimary, + }, + _b), + }, + rootPressed: { + backgroundColor: p.neutralLight, + color: p.neutralDark, + selectors: (_c = {}, + _c[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonIcon)] = { + color: p.themeDark, + }, + _c[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonMenuIcon)] = { + color: p.neutralPrimary, + }, + _c), + }, + rootChecked: { + backgroundColor: p.neutralLight, + color: p.neutralDark, + selectors: (_d = {}, + _d[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonIcon)] = { + color: p.themeDark, + }, + _d[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonMenuIcon)] = { + color: p.neutralPrimary, + }, + _d), + }, + rootCheckedHovered: { + backgroundColor: p.neutralQuaternaryAlt, + selectors: (_e = {}, + _e[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonIcon)] = { + color: p.themeDark, + }, + _e[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonMenuIcon)] = { + color: p.neutralPrimary, + }, + _e), + }, + rootExpanded: { + backgroundColor: p.neutralLight, + color: p.neutralDark, + selectors: (_f = {}, + _f[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonIcon)] = { + color: p.themeDark, + }, + _f[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonMenuIcon)] = { + color: p.neutralPrimary, + }, + _f), + }, + rootExpandedHovered: { + backgroundColor: p.neutralQuaternaryAlt, + }, + rootDisabled: { + backgroundColor: p.white, + selectors: (_g = {}, + _g[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonIcon)] = { + color: semanticColors.disabledBodySubtext, + selectors: (_h = {}, + _h[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'GrayText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _h), + }, + _g[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'GrayText', backgroundColor: 'Window' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _g), + }, + // Split button styles + splitButtonContainer: { + height: '100%', + selectors: (_j = {}, + _j[Styling_1.HighContrastSelector] = { + border: 'none', + }, + _j), + }, + splitButtonDividerDisabled: { + selectors: (_k = {}, + _k[Styling_1.HighContrastSelector] = { + backgroundColor: 'Window', + }, + _k), + }, + splitButtonDivider: { + backgroundColor: p.neutralTertiaryAlt, + }, + splitButtonMenuButton: { + backgroundColor: p.white, + border: 'none', + borderTopRightRadius: '0', + borderBottomRightRadius: '0', + color: p.neutralSecondary, + selectors: { + ':hover': { + backgroundColor: p.neutralLighter, + color: p.neutralDark, + selectors: (_l = {}, + _l[Styling_1.HighContrastSelector] = { + color: 'Highlight', + }, + _l[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonIcon)] = { + color: p.neutralPrimary, + }, + _l), + }, + ':active': { + backgroundColor: p.neutralLight, + selectors: (_m = {}, + _m[".".concat(BaseButton_classNames_1.ButtonGlobalClassNames.msButtonIcon)] = { + color: p.neutralPrimary, + }, + _m), + }, + }, + }, + splitButtonMenuButtonDisabled: { + backgroundColor: p.white, + selectors: (_o = {}, + _o[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'GrayText', border: 'none', backgroundColor: 'Window' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _o), + }, + splitButtonMenuButtonChecked: { + backgroundColor: p.neutralLight, + color: p.neutralDark, + selectors: { + ':hover': { + backgroundColor: p.neutralQuaternaryAlt, + }, + }, + }, + splitButtonMenuButtonExpanded: { + backgroundColor: p.neutralLight, + color: p.black, + selectors: { + ':hover': { + backgroundColor: p.neutralQuaternaryAlt, + }, + }, + }, + splitButtonMenuIcon: { + color: p.neutralPrimary, + }, + splitButtonMenuIconDisabled: { + color: p.neutralTertiary, + }, + label: { + fontWeight: 'normal', // theme.fontWeights.semibold, + }, + icon: { + color: p.themePrimary, + }, + menuIcon: (_p = { + color: p.neutralSecondary + }, + _p[Styling_1.HighContrastSelector] = { + color: 'GrayText', + }, + _p), + }; + return (0, Styling_1.concatStyleSets)(baseButtonStyles, baseSplitButtonStyles, commandButtonStyles, customStyles); +}); +//# sourceMappingURL=CommandBarButton.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/CommandButton/CommandButton.js": +/*!****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/CommandButton/CommandButton.js ***! + \****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CommandButton = void 0; +var ActionButton_1 = __webpack_require__(/*! ../ActionButton/ActionButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/ActionButton/ActionButton.js"); +/** + * {@docCategory Button} + */ +exports.CommandButton = ActionButton_1.ActionButton; +//# sourceMappingURL=CommandButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/CompoundButton/CompoundButton.js": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/CompoundButton/CompoundButton.js ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CompoundButton = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var BaseButton_1 = __webpack_require__(/*! ../BaseButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var CompoundButton_styles_1 = __webpack_require__(/*! ./CompoundButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/CompoundButton/CompoundButton.styles.js"); +/** + * {@docCategory Button} + */ +var CompoundButton = /** @class */ (function (_super) { + tslib_1.__extends(CompoundButton, _super); + function CompoundButton() { + return _super !== null && _super.apply(this, arguments) || this; + } + CompoundButton.prototype.render = function () { + var _a = this.props, _b = _a.primary, primary = _b === void 0 ? false : _b, styles = _a.styles, theme = _a.theme; + return (React.createElement(BaseButton_1.BaseButton, tslib_1.__assign({}, this.props, { variantClassName: primary ? 'ms-Button--compoundPrimary' : 'ms-Button--compound', styles: (0, CompoundButton_styles_1.getStyles)(theme, styles, primary) }))); + }; + CompoundButton = tslib_1.__decorate([ + (0, Utilities_1.customizable)('CompoundButton', ['theme', 'styles'], true) + ], CompoundButton); + return CompoundButton; +}(React.Component)); +exports.CompoundButton = CompoundButton; +//# sourceMappingURL=CompoundButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/CompoundButton/CompoundButton.styles.js": +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/CompoundButton/CompoundButton.styles.js ***! + \*************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var BaseButton_styles_1 = __webpack_require__(/*! ../BaseButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.styles.js"); +var SplitButton_styles_1 = __webpack_require__(/*! ../SplitButton/SplitButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/SplitButton/SplitButton.styles.js"); +var ButtonThemes_1 = __webpack_require__(/*! ../ButtonThemes */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/ButtonThemes.js"); +exports.getStyles = (0, Utilities_1.memoizeFunction)(function (theme, customStyles, primary) { + var _a, _b, _c, _d, _e; + var fonts = theme.fonts, palette = theme.palette; + var baseButtonStyles = (0, BaseButton_styles_1.getStyles)(theme); + var splitButtonStyles = (0, SplitButton_styles_1.getStyles)(theme); + var compoundButtonStyles = { + root: { + maxWidth: '280px', + minHeight: '72px', + height: 'auto', + padding: '16px 12px', + }, + flexContainer: { + flexDirection: 'row', + alignItems: 'flex-start', + minWidth: '100%', + margin: '', + }, + textContainer: { + textAlign: 'left', + }, + icon: { + fontSize: '2em', + lineHeight: '1em', + height: '1em', + margin: '0px 8px 0px 0px', + flexBasis: '1em', + flexShrink: '0', + }, + label: { + margin: '0 0 5px', + lineHeight: '100%', + fontWeight: Styling_1.FontWeights.semibold, + }, + description: [ + fonts.small, + { + lineHeight: '100%', + }, + ], + }; + var standardCompoundTheme = { + description: { + color: palette.neutralSecondary, + }, + descriptionHovered: { + color: palette.neutralDark, + }, + descriptionPressed: { + color: 'inherit', + }, + descriptionChecked: { + color: 'inherit', + }, + descriptionDisabled: { + color: 'inherit', + }, + }; + var primaryCompoundTheme = { + description: { + color: palette.white, + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = tslib_1.__assign({ backgroundColor: 'WindowText', color: 'Window' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _a), + }, + descriptionHovered: { + color: palette.white, + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + backgroundColor: 'Highlight', + color: 'Window', + }, + _b), + }, + descriptionPressed: { + color: 'inherit', + selectors: (_c = {}, + _c[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'Window', backgroundColor: 'WindowText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _c), + }, + descriptionChecked: { + color: 'inherit', + selectors: (_d = {}, + _d[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'Window', backgroundColor: 'WindowText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _d), + }, + descriptionDisabled: { + color: 'inherit', + selectors: (_e = {}, + _e[Styling_1.HighContrastSelector] = { + color: 'inherit', + }, + _e), + }, + }; + return (0, Styling_1.concatStyleSets)(baseButtonStyles, compoundButtonStyles, primary ? (0, ButtonThemes_1.primaryStyles)(theme) : (0, ButtonThemes_1.standardStyles)(theme), primary ? primaryCompoundTheme : standardCompoundTheme, splitButtonStyles, customStyles); +}); +//# sourceMappingURL=CompoundButton.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/DefaultButton/DefaultButton.js": +/*!****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/DefaultButton/DefaultButton.js ***! + \****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DefaultButton = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var BaseButton_1 = __webpack_require__(/*! ../BaseButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DefaultButton_styles_1 = __webpack_require__(/*! ./DefaultButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/DefaultButton/DefaultButton.styles.js"); +/** + * {@docCategory Button} + */ +var DefaultButton = /** @class */ (function (_super) { + tslib_1.__extends(DefaultButton, _super); + function DefaultButton() { + return _super !== null && _super.apply(this, arguments) || this; + } + DefaultButton.prototype.render = function () { + var _a = this.props, _b = _a.primary, primary = _b === void 0 ? false : _b, styles = _a.styles, theme = _a.theme; + return (React.createElement(BaseButton_1.BaseButton, tslib_1.__assign({}, this.props, { variantClassName: primary ? 'ms-Button--primary' : 'ms-Button--default', styles: (0, DefaultButton_styles_1.getStyles)(theme, styles, primary), onRenderDescription: Utilities_1.nullRender }))); + }; + DefaultButton = tslib_1.__decorate([ + (0, Utilities_1.customizable)('DefaultButton', ['theme', 'styles'], true) + ], DefaultButton); + return DefaultButton; +}(React.Component)); +exports.DefaultButton = DefaultButton; +//# sourceMappingURL=DefaultButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/DefaultButton/DefaultButton.styles.js": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/DefaultButton/DefaultButton.styles.js ***! + \***********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var BaseButton_styles_1 = __webpack_require__(/*! ../BaseButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.styles.js"); +var SplitButton_styles_1 = __webpack_require__(/*! ../SplitButton/SplitButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/SplitButton/SplitButton.styles.js"); +var ButtonThemes_1 = __webpack_require__(/*! ../ButtonThemes */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/ButtonThemes.js"); +var DEFAULT_BUTTON_HEIGHT = '32px'; +var DEFAULT_BUTTON_MIN_WIDTH = '80px'; +exports.getStyles = (0, Utilities_1.memoizeFunction)(function (theme, customStyles, primary) { + var baseButtonStyles = (0, BaseButton_styles_1.getStyles)(theme); + var splitButtonStyles = (0, SplitButton_styles_1.getStyles)(theme); + var defaultButtonStyles = { + root: { + minWidth: DEFAULT_BUTTON_MIN_WIDTH, + height: DEFAULT_BUTTON_HEIGHT, + }, + label: { + fontWeight: Styling_1.FontWeights.semibold, + }, + }; + return (0, Styling_1.concatStyleSets)(baseButtonStyles, defaultButtonStyles, primary ? (0, ButtonThemes_1.primaryStyles)(theme) : (0, ButtonThemes_1.standardStyles)(theme), splitButtonStyles, customStyles); +}); +//# sourceMappingURL=DefaultButton.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/IconButton/IconButton.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/IconButton/IconButton.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IconButton = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var BaseButton_1 = __webpack_require__(/*! ../BaseButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var IconButton_styles_1 = __webpack_require__(/*! ./IconButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/IconButton/IconButton.styles.js"); +/** + * {@docCategory Button} + */ +var IconButton = /** @class */ (function (_super) { + tslib_1.__extends(IconButton, _super); + function IconButton() { + return _super !== null && _super.apply(this, arguments) || this; + } + IconButton.prototype.render = function () { + var _a = this.props, styles = _a.styles, theme = _a.theme; + return (React.createElement(BaseButton_1.BaseButton, tslib_1.__assign({}, this.props, { variantClassName: "ms-Button--icon", styles: (0, IconButton_styles_1.getStyles)(theme, styles), onRenderText: Utilities_1.nullRender, onRenderDescription: Utilities_1.nullRender }))); + }; + IconButton = tslib_1.__decorate([ + (0, Utilities_1.customizable)('IconButton', ['theme', 'styles'], true) + ], IconButton); + return IconButton; +}(React.Component)); +exports.IconButton = IconButton; +//# sourceMappingURL=IconButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/IconButton/IconButton.styles.js": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/IconButton/IconButton.styles.js ***! + \*****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var BaseButton_styles_1 = __webpack_require__(/*! ../BaseButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.styles.js"); +var SplitButton_styles_1 = __webpack_require__(/*! ../SplitButton/SplitButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/SplitButton/SplitButton.styles.js"); +exports.getStyles = (0, Utilities_1.memoizeFunction)(function (theme, customStyles) { + var _a; + var baseButtonStyles = (0, BaseButton_styles_1.getStyles)(theme); + var splitButtonStyles = (0, SplitButton_styles_1.getStyles)(theme); + var palette = theme.palette, semanticColors = theme.semanticColors; + var iconButtonStyles = { + root: { + padding: '0 4px', + width: '32px', + height: '32px', + backgroundColor: 'transparent', + border: 'none', + color: semanticColors.link, + }, + rootHovered: { + color: palette.themeDarkAlt, + backgroundColor: palette.neutralLighter, + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + borderColor: 'Highlight', + color: 'Highlight', + }, + _a), + }, + rootHasMenu: { + width: 'auto', + }, + rootPressed: { + color: palette.themeDark, + backgroundColor: palette.neutralLight, + }, + rootExpanded: { + color: palette.themeDark, + backgroundColor: palette.neutralLight, + }, + rootChecked: { + color: palette.themeDark, + backgroundColor: palette.neutralLight, + }, + rootCheckedHovered: { + color: palette.themeDark, + backgroundColor: palette.neutralQuaternaryAlt, + }, + rootDisabled: { + color: palette.neutralTertiaryAlt, + }, + }; + return (0, Styling_1.concatStyleSets)(baseButtonStyles, iconButtonStyles, splitButtonStyles, customStyles); +}); +//# sourceMappingURL=IconButton.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/MessageBarButton/MessageBarButton.js": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/MessageBarButton/MessageBarButton.js ***! + \**********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MessageBarButton = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var DefaultButton_1 = __webpack_require__(/*! ../DefaultButton/DefaultButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/DefaultButton/DefaultButton.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var MessageBarButton_styles_1 = __webpack_require__(/*! ./MessageBarButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/MessageBarButton/MessageBarButton.styles.js"); +/** + * {@docCategory MessageBar} + */ +var MessageBarButton = /** @class */ (function (_super) { + tslib_1.__extends(MessageBarButton, _super); + function MessageBarButton() { + return _super !== null && _super.apply(this, arguments) || this; + } + MessageBarButton.prototype.render = function () { + var _a = this.props, styles = _a.styles, theme = _a.theme; + return React.createElement(DefaultButton_1.DefaultButton, tslib_1.__assign({}, this.props, { styles: (0, MessageBarButton_styles_1.getStyles)(theme, styles), onRenderDescription: Utilities_1.nullRender })); + }; + MessageBarButton = tslib_1.__decorate([ + (0, Utilities_1.customizable)('MessageBarButton', ['theme', 'styles'], true) + ], MessageBarButton); + return MessageBarButton; +}(React.Component)); +exports.MessageBarButton = MessageBarButton; +//# sourceMappingURL=MessageBarButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/MessageBarButton/MessageBarButton.styles.js": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/MessageBarButton/MessageBarButton.styles.js ***! + \*****************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.getStyles = (0, Utilities_1.memoizeFunction)(function (theme, customStyles) { + return (0, Styling_1.concatStyleSets)({ + root: [ + (0, Styling_1.getFocusStyle)(theme, { + inset: 1, + highContrastStyle: { + outlineOffset: '-4px', + outline: '1px solid Window', + }, + borderColor: 'transparent', + }), + { + height: 24, + }, + ], + }, customStyles); +}); +//# sourceMappingURL=MessageBarButton.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/PrimaryButton/PrimaryButton.js": +/*!****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/PrimaryButton/PrimaryButton.js ***! + \****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PrimaryButton = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DefaultButton_1 = __webpack_require__(/*! ../DefaultButton/DefaultButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/DefaultButton/DefaultButton.js"); +/** + * {@docCategory Button} + */ +var PrimaryButton = /** @class */ (function (_super) { + tslib_1.__extends(PrimaryButton, _super); + function PrimaryButton() { + return _super !== null && _super.apply(this, arguments) || this; + } + PrimaryButton.prototype.render = function () { + return React.createElement(DefaultButton_1.DefaultButton, tslib_1.__assign({}, this.props, { primary: true, onRenderDescription: Utilities_1.nullRender })); + }; + PrimaryButton = tslib_1.__decorate([ + (0, Utilities_1.customizable)('PrimaryButton', ['theme', 'styles'], true) + ], PrimaryButton); + return PrimaryButton; +}(React.Component)); +exports.PrimaryButton = PrimaryButton; +//# sourceMappingURL=PrimaryButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/SplitButton/SplitButton.classNames.js": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/SplitButton/SplitButton.classNames.js ***! + \***********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getSplitButtonClassNames = void 0; +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +exports.getSplitButtonClassNames = (0, Utilities_1.memoizeFunction)(function (styles, disabled, expanded, checked, primaryDisabled) { + return { + root: (0, Styling_1.mergeStyles)(styles.splitButtonMenuButton, expanded && [styles.splitButtonMenuButtonExpanded], disabled && [styles.splitButtonMenuButtonDisabled], checked && !disabled && [styles.splitButtonMenuButtonChecked], primaryDisabled && + !disabled && [ + { + selectors: { + ':focus': styles.splitButtonMenuFocused, + }, + }, + ]), + splitButtonContainer: (0, Styling_1.mergeStyles)(styles.splitButtonContainer, !disabled && + checked && [ + styles.splitButtonContainerChecked, + { + selectors: { + ':hover': styles.splitButtonContainerCheckedHovered, + }, + }, + ], !disabled && + !checked && [ + { + selectors: { + ':hover': styles.splitButtonContainerHovered, + ':focus': styles.splitButtonContainerFocused, + }, + }, + ], disabled && styles.splitButtonContainerDisabled), + icon: (0, Styling_1.mergeStyles)(styles.splitButtonMenuIcon, disabled && styles.splitButtonMenuIconDisabled, !disabled && primaryDisabled && styles.splitButtonMenuIcon), + flexContainer: (0, Styling_1.mergeStyles)(styles.splitButtonFlexContainer), + divider: (0, Styling_1.mergeStyles)(styles.splitButtonDivider, (primaryDisabled || disabled) && styles.splitButtonDividerDisabled), + }; +}); +//# sourceMappingURL=SplitButton.classNames.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/SplitButton/SplitButton.styles.js": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/SplitButton/SplitButton.styles.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.getStyles = (0, Utilities_1.memoizeFunction)(function (theme, customStyles) { + var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; + var effects = theme.effects, palette = theme.palette, semanticColors = theme.semanticColors; + var buttonHighContrastFocus = { + left: -2, + top: -2, + bottom: -2, + right: -2, + border: 'none', + }; + var splitButtonDividerBaseStyles = { + position: 'absolute', + width: 1, + right: 31, + top: 8, + bottom: 8, + }; + var splitButtonStyles = { + splitButtonContainer: [ + (0, Styling_1.getFocusStyle)(theme, { highContrastStyle: buttonHighContrastFocus, inset: 2, pointerEvents: 'none' }), + { + display: 'inline-flex', + selectors: { + '.ms-Button--default': { + borderTopRightRadius: '0', + borderBottomRightRadius: '0', + borderRight: 'none', + flexGrow: '1', + }, + '.ms-Button--primary': { + borderTopRightRadius: '0', + borderBottomRightRadius: '0', + border: 'none', + flexGrow: '1', + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'WindowText', backgroundColor: 'Window', border: '1px solid WindowText', borderRightWidth: '0' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _a[':hover'] = { + border: 'none', + }, + _a[':active'] = { + border: 'none', + }, + _a), + }, + '.ms-Button--primary + .ms-Button': { + border: 'none', + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + border: '1px solid WindowText', + borderLeftWidth: '0', + }, + _b), + }, + }, + }, + ], + splitButtonContainerHovered: { + selectors: { + '.ms-Button--primary': { + selectors: (_c = {}, + _c[Styling_1.HighContrastSelector] = { + color: 'Window', + backgroundColor: 'Highlight', + }, + _c), + }, + '.ms-Button.is-disabled': { + color: semanticColors.buttonTextDisabled, + selectors: (_d = {}, + _d[Styling_1.HighContrastSelector] = { + color: 'GrayText', + borderColor: 'GrayText', + backgroundColor: 'Window', + }, + _d), + }, + }, + }, + splitButtonContainerChecked: { + selectors: { + '.ms-Button--primary': { + selectors: (_e = {}, + _e[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'Window', backgroundColor: 'WindowText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _e), + }, + }, + }, + splitButtonContainerCheckedHovered: { + selectors: { + '.ms-Button--primary': { + selectors: (_f = {}, + _f[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'Window', backgroundColor: 'WindowText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _f), + }, + }, + }, + splitButtonContainerFocused: { + outline: 'none!important', + }, + splitButtonMenuButton: (_g = { + padding: 6, + height: 'auto', + boxSizing: 'border-box', + borderRadius: 0, + borderTopRightRadius: effects.roundedCorner2, + borderBottomRightRadius: effects.roundedCorner2, + border: "1px solid ".concat(palette.neutralSecondaryAlt), + borderLeft: 'none', + outline: 'transparent', + userSelect: 'none', + display: 'inline-block', + textDecoration: 'none', + textAlign: 'center', + cursor: 'pointer', + verticalAlign: 'top', + width: 32, + marginLeft: -1, + marginTop: 0, + marginRight: 0, + marginBottom: 0 + }, + _g[Styling_1.HighContrastSelector] = { + '.ms-Button-menuIcon': { + color: 'WindowText', + }, + }, + _g), + splitButtonDivider: tslib_1.__assign(tslib_1.__assign({}, splitButtonDividerBaseStyles), { selectors: (_h = {}, + _h[Styling_1.HighContrastSelector] = { + backgroundColor: 'WindowText', + }, + _h) }), + splitButtonDividerDisabled: tslib_1.__assign(tslib_1.__assign({}, splitButtonDividerBaseStyles), { selectors: (_j = {}, + _j[Styling_1.HighContrastSelector] = { + backgroundColor: 'GrayText', + }, + _j) }), + splitButtonMenuButtonDisabled: { + pointerEvents: 'none', + border: 'none', + selectors: (_k = { + ':hover': { + cursor: 'default', + }, + '.ms-Button--primary': { + selectors: (_l = {}, + _l[Styling_1.HighContrastSelector] = { + color: 'GrayText', + borderColor: 'GrayText', + backgroundColor: 'Window', + }, + _l), + }, + '.ms-Button-menuIcon': { + selectors: (_m = {}, + _m[Styling_1.HighContrastSelector] = { + color: 'GrayText', + }, + _m), + } + }, + _k[Styling_1.HighContrastSelector] = { + color: 'GrayText', + border: '1px solid GrayText', + backgroundColor: 'Window', + }, + _k), + }, + splitButtonFlexContainer: { + display: 'flex', + height: '100%', + flexWrap: 'nowrap', + justifyContent: 'center', + alignItems: 'center', + }, + splitButtonContainerDisabled: { + outline: 'none', + border: 'none', + selectors: (_o = {}, + _o[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'GrayText', borderColor: 'GrayText', backgroundColor: 'Window' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _o), + }, + splitButtonMenuFocused: tslib_1.__assign({}, (0, Styling_1.getFocusStyle)(theme, { highContrastStyle: buttonHighContrastFocus, inset: 2 })), + }; + return (0, Styling_1.concatStyleSets)(splitButtonStyles, customStyles); +}); +//# sourceMappingURL=SplitButton.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Button/index.js": +/*!******************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Button/index.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ButtonGlobalClassNames = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./BaseButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Button.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/Button.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Button */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/Button.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ActionButton/ActionButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/ActionButton/ActionButton.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CommandBarButton/CommandBarButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/CommandBarButton/CommandBarButton.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CommandButton/CommandButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/CommandButton/CommandButton.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CompoundButton/CompoundButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/CompoundButton/CompoundButton.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DefaultButton/DefaultButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/DefaultButton/DefaultButton.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./MessageBarButton/MessageBarButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/MessageBarButton/MessageBarButton.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./PrimaryButton/PrimaryButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/PrimaryButton/PrimaryButton.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./IconButton/IconButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/IconButton/IconButton.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./SplitButton/SplitButton.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/SplitButton/SplitButton.classNames.js"), exports); +var BaseButton_classNames_1 = __webpack_require__(/*! ./BaseButton.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.classNames.js"); +Object.defineProperty(exports, "ButtonGlobalClassNames", ({ enumerable: true, get: function () { return BaseButton_classNames_1.ButtonGlobalClassNames; } })); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.base.js": +/*!****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.base.js ***! + \****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +var CalendarDay_1 = __webpack_require__(/*! ./CalendarDay/CalendarDay */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.js"); +var CalendarMonth_1 = __webpack_require__(/*! ./CalendarMonth/CalendarMonth */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var defaults_1 = __webpack_require__(/*! ./defaults */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/defaults.js"); +var MIN_SIZE_FORCE_OVERLAY = 440; +var getClassNames = (0, utilities_1.classNamesFunction)(); +var defaultWorkWeekDays = [ + date_time_utilities_1.DayOfWeek.Monday, + date_time_utilities_1.DayOfWeek.Tuesday, + date_time_utilities_1.DayOfWeek.Wednesday, + date_time_utilities_1.DayOfWeek.Thursday, + date_time_utilities_1.DayOfWeek.Friday, +]; +var DEFAULT_PROPS = { + isMonthPickerVisible: true, + isDayPickerVisible: true, + showMonthPickerAsOverlay: false, + today: new Date(), + firstDayOfWeek: date_time_utilities_1.DayOfWeek.Sunday, + dateRangeType: date_time_utilities_1.DateRangeType.Day, + showGoToToday: true, + strings: date_time_utilities_1.DEFAULT_CALENDAR_STRINGS, + highlightCurrentMonth: false, + highlightSelectedMonth: false, + navigationIcons: defaults_1.defaultCalendarNavigationIcons, + showWeekNumbers: false, + firstWeekOfYear: date_time_utilities_1.FirstWeekOfYear.FirstDay, + dateTimeFormatter: date_time_utilities_1.DEFAULT_DATE_FORMATTING, + showSixWeeksByDefault: false, + workWeekDays: defaultWorkWeekDays, + showCloseButton: false, + allFocusable: false, +}; +function useDateState(_a) { + var value = _a.value, _b = _a.today, today = _b === void 0 ? new Date() : _b, onSelectDate = _a.onSelectDate; + /** The currently selected date in the calendar */ + var _c = (0, react_hooks_1.useControllableValue)(value, today), _d = _c[0], selectedDate = _d === void 0 ? today : _d, setSelectedDate = _c[1]; + /** The currently focused date in the day picker, but not necessarily selected */ + var _e = React.useState(value), _f = _e[0], navigatedDay = _f === void 0 ? today : _f, setNavigatedDay = _e[1]; + /** The currently focused date in the month picker, but not necessarily selected */ + var _g = React.useState(value), _h = _g[0], navigatedMonth = _h === void 0 ? today : _h, setNavigatedMonth = _g[1]; + /** If using a controlled value, when that value changes, navigate to that date */ + var _j = React.useState(value), _k = _j[0], lastSelectedDate = _k === void 0 ? today : _k, setLastSelectedDate = _j[1]; + if (value && lastSelectedDate.valueOf() !== value.valueOf()) { + setNavigatedDay(value); + setNavigatedMonth(value); + setLastSelectedDate(value); + } + var navigateMonth = function (date) { + setNavigatedMonth(date); + }; + var navigateDay = function (date) { + setNavigatedMonth(date); + setNavigatedDay(date); + }; + var onDateSelected = function (date, selectedDateRangeArray) { + setNavigatedMonth(date); + setNavigatedDay(date); + setSelectedDate(date); + onSelectDate === null || onSelectDate === void 0 ? void 0 : onSelectDate(date, selectedDateRangeArray); + }; + return [selectedDate, navigatedDay, navigatedMonth, onDateSelected, navigateDay, navigateMonth]; +} +function useVisibilityState(props) { + /** State used to show/hide month picker */ + var _a = (0, react_hooks_1.useControllableValue)(getShowMonthPickerAsOverlay(props) ? undefined : props.isMonthPickerVisible, false), _b = _a[0], isMonthPickerVisible = _b === void 0 ? true : _b, setIsMonthPickerVisible = _a[1]; + /** State used to show/hide day picker */ + var _c = (0, react_hooks_1.useControllableValue)(getShowMonthPickerAsOverlay(props) ? undefined : props.isDayPickerVisible, true), _d = _c[0], isDayPickerVisible = _d === void 0 ? true : _d, setIsDayPickerVisible = _c[1]; + var toggleDayMonthPickerVisibility = function () { + setIsMonthPickerVisible(!isMonthPickerVisible); + setIsDayPickerVisible(!isDayPickerVisible); + }; + return [isMonthPickerVisible, isDayPickerVisible, toggleDayMonthPickerVisibility]; +} +function useFocusLogic(_a, isDayPickerVisible, isMonthPickerVisible) { + var componentRef = _a.componentRef; + var dayPicker = React.useRef(null); + var monthPicker = React.useRef(null); + var focusOnUpdate = React.useRef(false); + var focus = React.useCallback(function () { + if (isDayPickerVisible && dayPicker.current) { + (0, utilities_1.focusAsync)(dayPicker.current); + } + else if (isMonthPickerVisible && monthPicker.current) { + (0, utilities_1.focusAsync)(monthPicker.current); + } + }, [isDayPickerVisible, isMonthPickerVisible]); + React.useImperativeHandle(componentRef, function () { return ({ focus: focus }); }, [focus]); + React.useEffect(function () { + if (focusOnUpdate.current) { + focus(); + focusOnUpdate.current = false; + } + }); + var focusOnNextUpdate = function () { + focusOnUpdate.current = true; + }; + return [dayPicker, monthPicker, focusOnNextUpdate]; +} +exports.CalendarBase = React.forwardRef(function (propsWithoutDefaults, forwardedRef) { + var props = (0, utilities_1.getPropsWithDefaults)(DEFAULT_PROPS, propsWithoutDefaults); + var _a = useDateState(props), selectedDate = _a[0], navigatedDay = _a[1], navigatedMonth = _a[2], onDateSelected = _a[3], navigateDay = _a[4], navigateMonth = _a[5]; + var _b = useVisibilityState(props), isMonthPickerVisible = _b[0], isDayPickerVisible = _b[1], toggleDayMonthPickerVisibility = _b[2]; + var _c = useFocusLogic(props, isDayPickerVisible, isMonthPickerVisible), dayPicker = _c[0], monthPicker = _c[1], focusOnNextUpdate = _c[2]; + var renderGoToTodayButton = function () { + var goTodayEnabled = showGoToToday; + if (goTodayEnabled && today) { + goTodayEnabled = + navigatedDay.getFullYear() !== today.getFullYear() || + navigatedDay.getMonth() !== today.getMonth() || + navigatedMonth.getFullYear() !== today.getFullYear() || + navigatedMonth.getMonth() !== today.getMonth(); + } + return (showGoToToday && (React.createElement("button", { className: (0, utilities_1.css)('js-goToday', classes.goTodayButton), onClick: onGotoToday, onKeyDown: onButtonKeyDown(onGotoToday), type: "button", disabled: !goTodayEnabled }, strings.goToToday))); + }; + var onNavigateDayDate = function (date, focusOnNavigatedDay) { + navigateDay(date); + if (focusOnNavigatedDay) { + focusOnNextUpdate(); + } + }; + var onNavigateMonthDate = function (date, focusOnNavigatedDay) { + if (focusOnNavigatedDay) { + focusOnNextUpdate(); + } + if (!focusOnNavigatedDay) { + navigateMonth(date); + return; + } + if (monthPickerOnly) { + onDateSelected(date); + } + navigateDay(date); + }; + var onHeaderSelect = getShowMonthPickerAsOverlay(props) + ? function () { + toggleDayMonthPickerVisibility(); + focusOnNextUpdate(); + } + : undefined; + var onGotoToday = function () { + navigateDay(today); + focusOnNextUpdate(); + }; + var onButtonKeyDown = function (callback) { + return function (ev) { + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case utilities_1.KeyCodes.enter: + case utilities_1.KeyCodes.space: + callback(); + break; + } + }; + }; + var onDatePickerPopupKeyDown = function (ev) { + var _a; + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case utilities_1.KeyCodes.enter: + ev.preventDefault(); + break; + case utilities_1.KeyCodes.backspace: + ev.preventDefault(); + break; + case utilities_1.KeyCodes.escape: + (_a = props.onDismiss) === null || _a === void 0 ? void 0 : _a.call(props); + break; + case utilities_1.KeyCodes.pageUp: + if (ev.ctrlKey) { + // go to next year + navigateDay((0, date_time_utilities_1.addYears)(navigatedDay, 1)); + } + else { + // go to next month + navigateDay((0, date_time_utilities_1.addMonths)(navigatedDay, 1)); + } + ev.preventDefault(); + break; + case utilities_1.KeyCodes.pageDown: + if (ev.ctrlKey) { + // go to previous year + navigateDay((0, date_time_utilities_1.addYears)(navigatedDay, -1)); + } + else { + // go to previous month + navigateDay((0, date_time_utilities_1.addMonths)(navigatedDay, -1)); + } + ev.preventDefault(); + break; + default: + break; + } + }; + var rootClass = 'ms-DatePicker'; + var firstDayOfWeek = props.firstDayOfWeek, dateRangeType = props.dateRangeType, strings = props.strings, showGoToToday = props.showGoToToday, highlightCurrentMonth = props.highlightCurrentMonth, highlightSelectedMonth = props.highlightSelectedMonth, navigationIcons = props.navigationIcons, minDate = props.minDate, maxDate = props.maxDate, restrictedDates = props.restrictedDates, id = props.id, className = props.className, showCloseButton = props.showCloseButton, allFocusable = props.allFocusable, styles = props.styles, showWeekNumbers = props.showWeekNumbers, theme = props.theme, calendarDayProps = props.calendarDayProps, calendarMonthProps = props.calendarMonthProps, dateTimeFormatter = props.dateTimeFormatter, _d = props.today, today = _d === void 0 ? new Date() : _d; + var showMonthPickerAsOverlay = getShowMonthPickerAsOverlay(props); + var monthPickerOnly = !showMonthPickerAsOverlay && !isDayPickerVisible; + var overlaidWithButton = showMonthPickerAsOverlay && showGoToToday; + var classes = getClassNames(styles, { + theme: theme, + className: className, + isMonthPickerVisible: isMonthPickerVisible, + isDayPickerVisible: isDayPickerVisible, + monthPickerOnly: monthPickerOnly, + showMonthPickerAsOverlay: showMonthPickerAsOverlay, + overlaidWithButton: overlaidWithButton, + overlayedWithButton: overlaidWithButton, + showGoToToday: showGoToToday, + showWeekNumbers: showWeekNumbers, + }); + var todayDateString = ''; + var selectedDateString = ''; + if (dateTimeFormatter && strings.todayDateFormatString) { + todayDateString = (0, utilities_1.format)(strings.todayDateFormatString, dateTimeFormatter.formatMonthDayYear(today, strings)); + } + if (dateTimeFormatter && strings.selectedDateFormatString) { + var dateStringFormatter = monthPickerOnly + ? dateTimeFormatter.formatMonthYear + : dateTimeFormatter.formatMonthDayYear; + selectedDateString = (0, utilities_1.format)(strings.selectedDateFormatString, dateStringFormatter(selectedDate, strings)); + } + var selectionAndTodayString = selectedDateString + ', ' + todayDateString; + return (React.createElement("div", { id: id, ref: forwardedRef, role: "group", "aria-label": selectionAndTodayString, className: (0, utilities_1.css)(rootClass, classes.root, className, 'ms-slideDownIn10'), onKeyDown: onDatePickerPopupKeyDown }, + React.createElement("div", { className: classes.liveRegion, "aria-live": "polite", "aria-atomic": "true" }, + React.createElement("span", null, selectedDateString)), + isDayPickerVisible && (React.createElement(CalendarDay_1.CalendarDay, tslib_1.__assign({ selectedDate: selectedDate, navigatedDate: navigatedDay, today: props.today, onSelectDate: onDateSelected, + // eslint-disable-next-line react/jsx-no-bind + onNavigateDate: onNavigateDayDate, onDismiss: props.onDismiss, firstDayOfWeek: firstDayOfWeek, dateRangeType: dateRangeType, strings: strings, + // eslint-disable-next-line react/jsx-no-bind + onHeaderSelect: onHeaderSelect, navigationIcons: navigationIcons, showWeekNumbers: props.showWeekNumbers, firstWeekOfYear: props.firstWeekOfYear, dateTimeFormatter: props.dateTimeFormatter, showSixWeeksByDefault: props.showSixWeeksByDefault, minDate: minDate, maxDate: maxDate, restrictedDates: restrictedDates, workWeekDays: props.workWeekDays, componentRef: dayPicker, showCloseButton: showCloseButton, allFocusable: allFocusable }, calendarDayProps))), + isDayPickerVisible && isMonthPickerVisible && React.createElement("div", { className: classes.divider }), + isMonthPickerVisible ? (React.createElement("div", { className: classes.monthPickerWrapper }, + React.createElement(CalendarMonth_1.CalendarMonth, tslib_1.__assign({ navigatedDate: navigatedMonth, selectedDate: navigatedDay, strings: strings, + // eslint-disable-next-line react/jsx-no-bind + onNavigateDate: onNavigateMonthDate, today: props.today, highlightCurrentMonth: highlightCurrentMonth, highlightSelectedMonth: highlightSelectedMonth, + // eslint-disable-next-line react/jsx-no-bind + onHeaderSelect: onHeaderSelect, navigationIcons: navigationIcons, dateTimeFormatter: props.dateTimeFormatter, minDate: minDate, maxDate: maxDate, componentRef: monthPicker }, calendarMonthProps)), + renderGoToTodayButton())) : (renderGoToTodayButton()), + React.createElement(utilities_1.FocusRects, null))); +}); +exports.CalendarBase.displayName = 'CalendarBase'; +function getShowMonthPickerAsOverlay(_a) { + var showMonthPickerAsOverlay = _a.showMonthPickerAsOverlay, isDayPickerVisible = _a.isDayPickerVisible; + var win = (0, utilities_1.getWindow)(); + return showMonthPickerAsOverlay || (isDayPickerVisible && win && win.innerWidth <= MIN_SIZE_FORCE_OVERLAY); +} +//# sourceMappingURL=Calendar.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Calendar = void 0; +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var Calendar_base_1 = __webpack_require__(/*! ./Calendar.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.base.js"); +var Calendar_styles_1 = __webpack_require__(/*! ./Calendar.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.styles.js"); +exports.Calendar = (0, utilities_1.styled)(Calendar_base_1.CalendarBase, Calendar_styles_1.styles, undefined, { + scope: 'Calendar', +}); +//# sourceMappingURL=Calendar.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.styles.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.styles.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.styles = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var styles = function (props) { + var _a; + var className = props.className, theme = props.theme, isDayPickerVisible = props.isDayPickerVisible, isMonthPickerVisible = props.isMonthPickerVisible, showWeekNumbers = props.showWeekNumbers; + var palette = theme.palette; + var totalWidth = isDayPickerVisible && isMonthPickerVisible ? 440 : 220; + if (showWeekNumbers && isDayPickerVisible) { + totalWidth += 30; + } + return { + root: [ + style_utilities_1.normalize, + { + display: 'flex', + width: totalWidth, + }, + !isMonthPickerVisible && { + flexDirection: 'column', + }, + className, + ], + divider: { + top: 0, + borderRight: '1px solid', + borderColor: palette.neutralLight, + }, + monthPickerWrapper: [ + { + display: 'flex', + flexDirection: 'column', + }, + ], + goTodayButton: [ + (0, style_utilities_1.getFocusStyle)(theme, { inset: -1 }), + { + bottom: 0, + color: palette.neutralPrimary, + height: 30, + lineHeight: 30, + backgroundColor: 'transparent', + border: 'none', + boxSizing: 'content-box', + padding: '0 4px', + alignSelf: 'flex-end', + marginRight: 16, + marginTop: 3, + fontSize: style_utilities_1.FontSizes.small, + fontFamily: 'inherit', + overflow: 'visible', + selectors: { + '& div': { + fontSize: style_utilities_1.FontSizes.small, + }, + '&:hover': { + color: palette.themePrimary, + backgroundColor: 'transparent', + cursor: 'pointer', + selectors: (_a = {}, + _a[style_utilities_1.HighContrastSelector] = { + outline: '1px solid Buttontext', + borderRadius: '2px', + }, + _a), + }, + '&:active': { + color: palette.themeDark, + }, + '&:disabled': { + color: palette.neutralTertiaryAlt, + pointerEvents: 'none', + }, + }, + }, + ], + liveRegion: { + border: 0, + height: '1px', + margin: '-1px', + overflow: 'hidden', + padding: 0, + width: '1px', + position: 'absolute', + }, + }; +}; +exports.styles = styles; +//# sourceMappingURL=Calendar.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.types.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.types.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AnimationDirection = void 0; +/** + * {@docCategory Calendar} + */ +var AnimationDirection; +(function (AnimationDirection) { + /** + * Grid will transition out and in horizontally + */ + AnimationDirection[AnimationDirection["Horizontal"] = 0] = "Horizontal"; + /** + * Grid will transition out and in vertically + */ + AnimationDirection[AnimationDirection["Vertical"] = 1] = "Vertical"; +})(AnimationDirection = exports.AnimationDirection || (exports.AnimationDirection = {})); +//# sourceMappingURL=Calendar.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.base.js": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.base.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarDayBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var Icon_1 = __webpack_require__(/*! ../../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +var CalendarDayGrid_1 = __webpack_require__(/*! ../../CalendarDayGrid/CalendarDayGrid */ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var getClassNames = (0, utilities_1.classNamesFunction)(); +var CalendarDayBase = function (props) { + var dayGrid = React.useRef(null); + React.useImperativeHandle(props.componentRef, function () { return ({ + focus: function () { + var _a, _b; + (_b = (_a = dayGrid.current) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a); + }, + }); }, []); + var strings = props.strings, navigatedDate = props.navigatedDate, dateTimeFormatter = props.dateTimeFormatter, styles = props.styles, theme = props.theme, className = props.className, onHeaderSelect = props.onHeaderSelect, showSixWeeksByDefault = props.showSixWeeksByDefault, minDate = props.minDate, maxDate = props.maxDate, restrictedDates = props.restrictedDates, onNavigateDate = props.onNavigateDate, showWeekNumbers = props.showWeekNumbers, dateRangeType = props.dateRangeType, animationDirection = props.animationDirection; + var monthAndYearId = (0, react_hooks_1.useId)(); + var classNames = getClassNames(styles, { + theme: theme, + className: className, + headerIsClickable: !!onHeaderSelect, + showWeekNumbers: showWeekNumbers, + animationDirection: animationDirection, + }); + var monthAndYear = dateTimeFormatter.formatMonthYear(navigatedDate, strings); + var HeaderButtonComponentType = onHeaderSelect ? 'button' : 'div'; + var headerAriaLabel = strings.yearPickerHeaderAriaLabel + ? (0, utilities_1.format)(strings.yearPickerHeaderAriaLabel, monthAndYear) + : monthAndYear; + return (React.createElement("div", { className: classNames.root }, + React.createElement("div", { className: classNames.header }, + React.createElement(HeaderButtonComponentType, { "aria-label": onHeaderSelect ? headerAriaLabel : undefined, className: classNames.monthAndYear, onClick: onHeaderSelect, "data-is-focusable": !!onHeaderSelect, tabIndex: onHeaderSelect ? 0 : -1, onKeyDown: onButtonKeyDown(onHeaderSelect), type: "button" }, + React.createElement("span", { id: monthAndYearId, "aria-live": "polite", "aria-atomic": "true" }, monthAndYear)), + React.createElement(CalendarDayNavigationButtons, tslib_1.__assign({}, props, { classNames: classNames }))), + React.createElement(CalendarDayGrid_1.CalendarDayGrid, tslib_1.__assign({}, props, { styles: styles, componentRef: dayGrid, strings: strings, navigatedDate: navigatedDate, weeksToShow: showSixWeeksByDefault ? 6 : undefined, dateTimeFormatter: dateTimeFormatter, minDate: minDate, maxDate: maxDate, restrictedDates: restrictedDates, onNavigateDate: onNavigateDate, labelledBy: monthAndYearId, dateRangeType: dateRangeType })))); +}; +exports.CalendarDayBase = CalendarDayBase; +exports.CalendarDayBase.displayName = 'CalendarDayBase'; +var CalendarDayNavigationButtons = function (props) { + var _a, _b; + var minDate = props.minDate, maxDate = props.maxDate, navigatedDate = props.navigatedDate, allFocusable = props.allFocusable, strings = props.strings, navigationIcons = props.navigationIcons, showCloseButton = props.showCloseButton, classNames = props.classNames, onNavigateDate = props.onNavigateDate, onDismiss = props.onDismiss; + var onSelectNextMonth = function () { + onNavigateDate((0, date_time_utilities_1.addMonths)(navigatedDate, 1), false); + }; + var onSelectPrevMonth = function () { + onNavigateDate((0, date_time_utilities_1.addMonths)(navigatedDate, -1), false); + }; + var leftNavigationIcon = navigationIcons.leftNavigation; + var rightNavigationIcon = navigationIcons.rightNavigation; + var closeNavigationIcon = navigationIcons.closeIcon; + // determine if previous/next months are in bounds + var prevMonthInBounds = minDate ? (0, date_time_utilities_1.compareDatePart)(minDate, (0, date_time_utilities_1.getMonthStart)(navigatedDate)) < 0 : true; + var nextMonthInBounds = maxDate ? (0, date_time_utilities_1.compareDatePart)((0, date_time_utilities_1.getMonthEnd)(navigatedDate), maxDate) < 0 : true; + // use aria-disabled instead of disabled so focus is not lost + // when a prev/next button becomes disabled after being clicked + return (React.createElement("div", { className: classNames.monthComponents }, + React.createElement("button", { className: (0, utilities_1.css)(classNames.headerIconButton, (_a = {}, + _a[classNames.disabledStyle] = !prevMonthInBounds, + _a)), tabIndex: prevMonthInBounds ? undefined : allFocusable ? 0 : -1, "aria-disabled": !prevMonthInBounds, onClick: prevMonthInBounds ? onSelectPrevMonth : undefined, onKeyDown: prevMonthInBounds ? onButtonKeyDown(onSelectPrevMonth) : undefined, title: strings.prevMonthAriaLabel + ? strings.prevMonthAriaLabel + ' ' + strings.months[(0, date_time_utilities_1.addMonths)(navigatedDate, -1).getMonth()] + : undefined, type: "button" }, + React.createElement(Icon_1.Icon, { iconName: leftNavigationIcon })), + React.createElement("button", { className: (0, utilities_1.css)(classNames.headerIconButton, (_b = {}, + _b[classNames.disabledStyle] = !nextMonthInBounds, + _b)), tabIndex: nextMonthInBounds ? undefined : allFocusable ? 0 : -1, "aria-disabled": !nextMonthInBounds, onClick: nextMonthInBounds ? onSelectNextMonth : undefined, onKeyDown: nextMonthInBounds ? onButtonKeyDown(onSelectNextMonth) : undefined, title: strings.nextMonthAriaLabel + ? strings.nextMonthAriaLabel + ' ' + strings.months[(0, date_time_utilities_1.addMonths)(navigatedDate, 1).getMonth()] + : undefined, type: "button" }, + React.createElement(Icon_1.Icon, { iconName: rightNavigationIcon })), + showCloseButton && (React.createElement("button", { className: (0, utilities_1.css)(classNames.headerIconButton), onClick: onDismiss, onKeyDown: onButtonKeyDown(onDismiss), title: strings.closeButtonAriaLabel, type: "button" }, + React.createElement(Icon_1.Icon, { iconName: closeNavigationIcon }))))); +}; +CalendarDayNavigationButtons.displayName = 'CalendarDayNavigationButtons'; +var onButtonKeyDown = function (callback) { + return function (ev) { + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case utilities_1.KeyCodes.enter: + callback === null || callback === void 0 ? void 0 : callback(); + break; + } + }; +}; +//# sourceMappingURL=CalendarDay.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.js": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.js ***! + \**************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarDay = void 0; +var CalendarDay_base_1 = __webpack_require__(/*! ./CalendarDay.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.base.js"); +var CalendarDay_styles_1 = __webpack_require__(/*! ./CalendarDay.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.styles.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.CalendarDay = (0, Utilities_1.styled)(CalendarDay_base_1.CalendarDayBase, CalendarDay_styles_1.styles, undefined, { + scope: 'CalendarDay', +}); +//# sourceMappingURL=CalendarDay.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.styles.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.styles.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.styles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var styles = function (props) { + var _a; + var className = props.className, theme = props.theme, headerIsClickable = props.headerIsClickable, showWeekNumbers = props.showWeekNumbers; + var palette = theme.palette; + var disabledStyle = { + selectors: (_a = { + '&, &:disabled, & button': { + color: palette.neutralTertiaryAlt, + pointerEvents: 'none', + } + }, + _a[style_utilities_1.HighContrastSelector] = { + color: 'GrayText', + forcedColorAdjust: 'none', + }, + _a), + }; + return { + root: [ + style_utilities_1.normalize, + { + width: 196, + padding: 12, + boxSizing: 'content-box', + }, + showWeekNumbers && { + width: 226, + }, + className, + ], + header: { + position: 'relative', + display: 'inline-flex', + height: 28, + lineHeight: 44, + width: '100%', + }, + monthAndYear: [ + (0, style_utilities_1.getFocusStyle)(theme, { inset: 1 }), + tslib_1.__assign(tslib_1.__assign({}, style_utilities_1.AnimationStyles.fadeIn200), { alignItems: 'center', fontSize: style_utilities_1.FontSizes.medium, fontFamily: 'inherit', color: palette.neutralPrimary, display: 'inline-block', flexGrow: 1, fontWeight: style_utilities_1.FontWeights.semibold, padding: '0 4px 0 10px', border: 'none', backgroundColor: 'transparent', borderRadius: 2, lineHeight: 28, overflow: 'hidden', whiteSpace: 'nowrap', textAlign: 'left', textOverflow: 'ellipsis' }), + headerIsClickable && { + selectors: { + '&:hover': { + cursor: 'pointer', + background: palette.neutralLight, + color: palette.black, + }, + }, + }, + ], + monthComponents: { + display: 'inline-flex', + alignSelf: 'flex-end', + }, + headerIconButton: [ + (0, style_utilities_1.getFocusStyle)(theme, { inset: -1 }), + { + width: 28, + height: 28, + display: 'block', + textAlign: 'center', + lineHeight: 28, + fontSize: style_utilities_1.FontSizes.small, + fontFamily: 'inherit', + color: palette.neutralPrimary, + borderRadius: 2, + position: 'relative', + backgroundColor: 'transparent', + border: 'none', + padding: 0, + overflow: 'visible', + selectors: { + '&:hover': { + color: palette.neutralDark, + backgroundColor: palette.neutralLight, + cursor: 'pointer', + outline: '1px solid transparent', + }, + }, + }, + ], + disabledStyle: disabledStyle, + }; +}; +exports.styles = styles; +//# sourceMappingURL=CalendarDay.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.types.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.types.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=CalendarDay.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.base.js": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.base.js ***! + \***********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarMonthBase = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var FocusZone_1 = __webpack_require__(/*! ../../../FocusZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js"); +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +var Icon_1 = __webpack_require__(/*! ../../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var CalendarMonth_styles_1 = __webpack_require__(/*! ./CalendarMonth.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.styles.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var CalendarYear_1 = __webpack_require__(/*! ../CalendarYear/CalendarYear */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var defaults_1 = __webpack_require__(/*! ../defaults */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/defaults.js"); +var MONTHS_PER_ROW = 4; +var getClassNames = (0, utilities_1.classNamesFunction)(); +var DEFAULT_PROPS = { + styles: CalendarMonth_styles_1.getStyles, + strings: undefined, + navigationIcons: defaults_1.defaultCalendarNavigationIcons, + dateTimeFormatter: date_time_utilities_1.DEFAULT_DATE_FORMATTING, + yearPickerHidden: false, +}; +function useAnimateBackwards(_a) { + var navigatedDate = _a.navigatedDate; + var currentYear = navigatedDate.getFullYear(); + var previousYear = (0, react_hooks_1.usePrevious)(currentYear); + if (previousYear === undefined || previousYear === currentYear) { + return undefined; + } + else { + return previousYear > currentYear; + } +} +function useFocusLogic(_a) { + var componentRef = _a.componentRef; + var navigatedMonthRef = React.useRef(null); + var calendarYearRef = React.useRef(null); + var focusOnUpdate = React.useRef(false); + var focus = React.useCallback(function () { + if (calendarYearRef.current) { + calendarYearRef.current.focus(); + } + else if (navigatedMonthRef.current) { + navigatedMonthRef.current.focus(); + } + }, []); + React.useImperativeHandle(componentRef, function () { return ({ focus: focus }); }, [focus]); + React.useEffect(function () { + if (focusOnUpdate.current) { + focus(); + focusOnUpdate.current = false; + } + }); + var focusOnNextUpdate = function () { + focusOnUpdate.current = true; + }; + return [navigatedMonthRef, calendarYearRef, focusOnNextUpdate]; +} +var CalendarMonthBase = function (propsWithoutDefaults) { + var _a, _b; + var props = (0, utilities_1.getPropsWithDefaults)(DEFAULT_PROPS, propsWithoutDefaults); + var _c = useFocusLogic(props), navigatedMonthRef = _c[0], calendarYearRef = _c[1], focusOnNextUpdate = _c[2]; + var _d = React.useState(false), isYearPickerVisible = _d[0], setIsYearPickerVisible = _d[1]; + var animateBackwards = useAnimateBackwards(props); + var navigatedDate = props.navigatedDate, selectedDate = props.selectedDate, strings = props.strings, _e = props.today, today = _e === void 0 ? new Date() : _e, navigationIcons = props.navigationIcons, dateTimeFormatter = props.dateTimeFormatter, minDate = props.minDate, maxDate = props.maxDate, theme = props.theme, styles = props.styles, className = props.className, allFocusable = props.allFocusable, highlightCurrentMonth = props.highlightCurrentMonth, highlightSelectedMonth = props.highlightSelectedMonth, animationDirection = props.animationDirection, yearPickerHidden = props.yearPickerHidden, onNavigateDate = props.onNavigateDate; + var selectMonthCallback = function (newMonth) { + return function () { return onSelectMonth(newMonth); }; + }; + var onSelectNextYear = function () { + onNavigateDate((0, date_time_utilities_1.addYears)(navigatedDate, 1), false); + }; + var onSelectPrevYear = function () { + onNavigateDate((0, date_time_utilities_1.addYears)(navigatedDate, -1), false); + }; + var onSelectMonth = function (newMonth) { + var _a; + // If header is clickable the calendars are overlayed, switch back to day picker when month is clicked + (_a = props.onHeaderSelect) === null || _a === void 0 ? void 0 : _a.call(props); + onNavigateDate((0, date_time_utilities_1.setMonth)(navigatedDate, newMonth), true); + }; + var onHeaderSelect = function () { + var _a; + if (!yearPickerHidden) { + focusOnNextUpdate(); + setIsYearPickerVisible(true); + } + else { + (_a = props.onHeaderSelect) === null || _a === void 0 ? void 0 : _a.call(props); + } + }; + var onSelectYear = function (selectedYear) { + focusOnNextUpdate(); + var navYear = navigatedDate.getFullYear(); + if (navYear !== selectedYear) { + var newNavigationDate = new Date(navigatedDate.getTime()); + newNavigationDate.setFullYear(selectedYear); + // for min and max dates, adjust the new navigation date - perhaps this should be + // checked on the master navigation date handler (i.e. in Calendar) + if (maxDate && newNavigationDate > maxDate) { + newNavigationDate = (0, date_time_utilities_1.setMonth)(newNavigationDate, maxDate.getMonth()); + } + else if (minDate && newNavigationDate < minDate) { + newNavigationDate = (0, date_time_utilities_1.setMonth)(newNavigationDate, minDate.getMonth()); + } + onNavigateDate(newNavigationDate, true); + } + setIsYearPickerVisible(false); + }; + var onYearPickerHeaderSelect = function (focus) { + focusOnNextUpdate(); + setIsYearPickerVisible(false); + }; + // navigationIcons has a default value in defaultProps, but typescript doesn't recognize this + var leftNavigationIcon = navigationIcons.leftNavigation; + var rightNavigationIcon = navigationIcons.rightNavigation; + var dateFormatter = dateTimeFormatter; + // determine if previous/next years are in bounds + var isPrevYearInBounds = minDate ? (0, date_time_utilities_1.compareDatePart)(minDate, (0, date_time_utilities_1.getYearStart)(navigatedDate)) < 0 : true; + var isNextYearInBounds = maxDate ? (0, date_time_utilities_1.compareDatePart)((0, date_time_utilities_1.getYearEnd)(navigatedDate), maxDate) < 0 : true; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + hasHeaderClickCallback: !!props.onHeaderSelect || !yearPickerHidden, + highlightCurrent: highlightCurrentMonth, + highlightSelected: highlightSelectedMonth, + animateBackwards: animateBackwards, + animationDirection: animationDirection, + }); + if (isYearPickerVisible) { + var _f = getYearStrings(props), onRenderYear = _f[0], yearStrings = _f[1]; + // use navigated date for the year picker + return (React.createElement(CalendarYear_1.CalendarYear, { key: 'calendarYear', minYear: minDate ? minDate.getFullYear() : undefined, maxYear: maxDate ? maxDate.getFullYear() : undefined, + // eslint-disable-next-line react/jsx-no-bind + onSelectYear: onSelectYear, navigationIcons: navigationIcons, + // eslint-disable-next-line react/jsx-no-bind + onHeaderSelect: onYearPickerHeaderSelect, selectedYear: selectedDate ? selectedDate.getFullYear() : navigatedDate ? navigatedDate.getFullYear() : undefined, navigatedYear: navigatedDate.getFullYear(), onRenderYear: onRenderYear, strings: yearStrings, componentRef: calendarYearRef, styles: styles, highlightCurrentYear: highlightCurrentMonth, highlightSelectedYear: highlightSelectedMonth, animationDirection: animationDirection })); + } + var rowIndexes = []; + for (var i = 0; i < strings.shortMonths.length / MONTHS_PER_ROW; i++) { + rowIndexes.push(i); + } + var yearString = dateFormatter.formatYear(navigatedDate); + var headerAriaLabel = strings.monthPickerHeaderAriaLabel + ? (0, utilities_1.format)(strings.monthPickerHeaderAriaLabel, yearString) + : yearString; + return (React.createElement("div", { className: classNames.root }, + React.createElement("div", { className: classNames.headerContainer }, + React.createElement("button", { className: classNames.currentItemButton, onClick: onHeaderSelect, onKeyDown: onButtonKeyDown(onHeaderSelect), "aria-label": headerAriaLabel, "data-is-focusable": !!props.onHeaderSelect || !yearPickerHidden, tabIndex: !!props.onHeaderSelect || !yearPickerHidden ? 0 : -1, type: "button" }, + React.createElement("span", { "aria-live": "polite", "aria-atomic": "true" }, yearString)), + React.createElement("div", { className: classNames.navigationButtonsContainer }, + React.createElement("button", { className: (0, utilities_1.css)(classNames.navigationButton, (_a = {}, + _a[classNames.disabled] = !isPrevYearInBounds, + _a)), "aria-disabled": !isPrevYearInBounds, tabIndex: isPrevYearInBounds ? undefined : allFocusable ? 0 : -1, onClick: isPrevYearInBounds ? onSelectPrevYear : undefined, onKeyDown: isPrevYearInBounds ? onButtonKeyDown(onSelectPrevYear) : undefined, title: strings.prevYearAriaLabel + ? strings.prevYearAriaLabel + ' ' + dateFormatter.formatYear((0, date_time_utilities_1.addYears)(navigatedDate, -1)) + : undefined, type: "button" }, + React.createElement(Icon_1.Icon, { iconName: (0, utilities_1.getRTL)() ? rightNavigationIcon : leftNavigationIcon })), + React.createElement("button", { className: (0, utilities_1.css)(classNames.navigationButton, (_b = {}, + _b[classNames.disabled] = !isNextYearInBounds, + _b)), "aria-disabled": !isNextYearInBounds, tabIndex: isNextYearInBounds ? undefined : allFocusable ? 0 : -1, onClick: isNextYearInBounds ? onSelectNextYear : undefined, onKeyDown: isNextYearInBounds ? onButtonKeyDown(onSelectNextYear) : undefined, title: strings.nextYearAriaLabel + ? strings.nextYearAriaLabel + ' ' + dateFormatter.formatYear((0, date_time_utilities_1.addYears)(navigatedDate, 1)) + : undefined, type: "button" }, + React.createElement(Icon_1.Icon, { iconName: (0, utilities_1.getRTL)() ? leftNavigationIcon : rightNavigationIcon })))), + React.createElement(FocusZone_1.FocusZone, null, + React.createElement("div", { className: classNames.gridContainer, role: "grid", "aria-label": yearString }, rowIndexes.map(function (rowNum) { + var monthsForRow = strings.shortMonths.slice(rowNum * MONTHS_PER_ROW, (rowNum + 1) * MONTHS_PER_ROW); + return (React.createElement("div", { key: 'monthRow_' + rowNum + navigatedDate.getFullYear(), role: "row", className: classNames.buttonRow }, monthsForRow.map(function (month, index) { + var _a; + var monthIndex = rowNum * MONTHS_PER_ROW + index; + var indexedMonth = (0, date_time_utilities_1.setMonth)(navigatedDate, monthIndex); + var isNavigatedMonth = navigatedDate.getMonth() === monthIndex; + var isSelectedMonth = selectedDate.getMonth() === monthIndex; + var isSelectedYear = selectedDate.getFullYear() === navigatedDate.getFullYear(); + var isInBounds = (minDate ? (0, date_time_utilities_1.compareDatePart)(minDate, (0, date_time_utilities_1.getMonthEnd)(indexedMonth)) < 1 : true) && + (maxDate ? (0, date_time_utilities_1.compareDatePart)((0, date_time_utilities_1.getMonthStart)(indexedMonth), maxDate) < 1 : true); + return (React.createElement("button", { ref: isNavigatedMonth ? navigatedMonthRef : undefined, role: 'gridcell', className: (0, utilities_1.css)(classNames.itemButton, (_a = {}, + _a[classNames.current] = highlightCurrentMonth && isCurrentMonth(monthIndex, navigatedDate.getFullYear(), today), + _a[classNames.selected] = highlightSelectedMonth && isSelectedMonth && isSelectedYear, + _a[classNames.disabled] = !isInBounds, + _a)), disabled: !allFocusable && !isInBounds, key: monthIndex, onClick: isInBounds ? selectMonthCallback(monthIndex) : undefined, onKeyDown: isInBounds ? onButtonKeyDown(selectMonthCallback(monthIndex)) : undefined, "aria-label": dateFormatter.formatMonth(indexedMonth, strings), "aria-selected": isNavigatedMonth, "data-is-focusable": isInBounds ? true : undefined, type: "button" }, month)); + }))); + }))))); +}; +exports.CalendarMonthBase = CalendarMonthBase; +exports.CalendarMonthBase.displayName = 'CalendarMonthBase'; +function getYearStrings(_a) { + var strings = _a.strings, navigatedDate = _a.navigatedDate, dateTimeFormatter = _a.dateTimeFormatter; + var yearToString = function (year) { + if (dateTimeFormatter) { + // create a date based on the current nav date + var yearFormattingDate = new Date(navigatedDate.getTime()); + yearFormattingDate.setFullYear(year); + return dateTimeFormatter.formatYear(yearFormattingDate); + } + return String(year); + }; + var yearRangeToString = function (yearRange) { + return "".concat(yearToString(yearRange.fromYear), " - ").concat(yearToString(yearRange.toYear)); + }; + var yearRangeToNextDecadeLabel = function (yearRange) { + return strings.nextYearRangeAriaLabel ? "".concat(strings.nextYearRangeAriaLabel, " ").concat(yearRangeToString(yearRange)) : ''; + }; + var yearRangeToPrevDecadeLabel = function (yearRange) { + return strings.prevYearRangeAriaLabel ? "".concat(strings.prevYearRangeAriaLabel, " ").concat(yearRangeToString(yearRange)) : ''; + }; + return [ + yearToString, + { + rangeAriaLabel: yearRangeToString, + prevRangeAriaLabel: yearRangeToPrevDecadeLabel, + nextRangeAriaLabel: yearRangeToNextDecadeLabel, + headerAriaLabelFormatString: strings.yearPickerHeaderAriaLabel, + }, + ]; +} +function isCurrentMonth(month, year, today) { + return today.getFullYear() === year && today.getMonth() === month; +} +function onButtonKeyDown(callback) { + return function (ev) { + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case utilities_1.KeyCodes.enter: + callback(); + break; + } + }; +} +//# sourceMappingURL=CalendarMonth.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.js": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.js ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarMonth = void 0; +var CalendarMonth_base_1 = __webpack_require__(/*! ./CalendarMonth.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.base.js"); +var CalendarMonth_styles_1 = __webpack_require__(/*! ./CalendarMonth.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.styles.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.CalendarMonth = (0, Utilities_1.styled)(CalendarMonth_base_1.CalendarMonthBase, CalendarMonth_styles_1.getStyles, undefined, { scope: 'CalendarMonth' }); +//# sourceMappingURL=CalendarMonth.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.styles.js": +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.styles.js ***! + \*************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var CalendarPicker_styles_1 = __webpack_require__(/*! ../CalendarPicker/CalendarPicker.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarPicker/CalendarPicker.styles.js"); +var getStyles = function (props) { + /* Return styles from the base class. + * If this component has extra styles not in the base, apply them here i.e.: + * const myStyle: IStyle = { + * display: "block" + * }; * + * return {...getPickerStyles(props), myStyle}; + */ + return (0, CalendarPicker_styles_1.getStyles)(props); +}; +exports.getStyles = getStyles; +//# sourceMappingURL=CalendarMonth.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.types.js": +/*!************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.types.js ***! + \************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=CalendarMonth.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarPicker/CalendarPicker.styles.js": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarPicker/CalendarPicker.styles.js ***! + \***************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var Calendar_types_1 = __webpack_require__(/*! ../Calendar.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.types.js"); +var getStyles = function (props) { + var _a, _b, _c, _d, _e, _f, _g; + var className = props.className, theme = props.theme, hasHeaderClickCallback = props.hasHeaderClickCallback, highlightCurrent = props.highlightCurrent, highlightSelected = props.highlightSelected, animateBackwards = props.animateBackwards, animationDirection = props.animationDirection; + var palette = theme.palette; + var animationStyle = {}; + if (animateBackwards !== undefined) { + if (animationDirection === Calendar_types_1.AnimationDirection.Horizontal) { + animationStyle = animateBackwards ? style_utilities_1.AnimationStyles.slideRightIn20 : style_utilities_1.AnimationStyles.slideLeftIn20; + } + else { + animationStyle = animateBackwards ? style_utilities_1.AnimationStyles.slideDownIn20 : style_utilities_1.AnimationStyles.slideUpIn20; + } + } + var headerAnimationStyle = animateBackwards !== undefined ? style_utilities_1.AnimationStyles.fadeIn200 : {}; + return { + root: [ + style_utilities_1.normalize, + { + width: 196, + padding: 12, + boxSizing: 'content-box', + overflow: 'hidden', + }, + className, + ], + headerContainer: { + display: 'flex', + }, + currentItemButton: [ + (0, style_utilities_1.getFocusStyle)(theme, { inset: -1 }), + tslib_1.__assign(tslib_1.__assign({}, headerAnimationStyle), { fontSize: style_utilities_1.FontSizes.medium, fontWeight: style_utilities_1.FontWeights.semibold, fontFamily: 'inherit', textAlign: 'left', color: 'inherit', backgroundColor: 'transparent', flexGrow: 1, padding: '0 4px 0 10px', border: 'none', overflow: 'visible' }), + hasHeaderClickCallback && { + selectors: { + '&:hover, &:active': { + cursor: !hasHeaderClickCallback ? 'default' : 'pointer', + color: palette.neutralDark, + outline: '1px solid transparent', + backgroundColor: palette.neutralLight, + }, + }, + }, + ], + navigationButtonsContainer: { + display: 'flex', + alignItems: 'center', + }, + navigationButton: [ + (0, style_utilities_1.getFocusStyle)(theme, { inset: -1 }), + { + fontFamily: 'inherit', + width: 28, + minWidth: 28, + height: 28, + minHeight: 28, + display: 'block', + textAlign: 'center', + lineHeight: 28, + fontSize: style_utilities_1.FontSizes.small, + color: palette.neutralPrimary, + borderRadius: 2, + position: 'relative', + backgroundColor: 'transparent', + border: 'none', + padding: 0, + overflow: 'visible', + selectors: { + '&:hover': { + color: palette.neutralDark, + cursor: 'pointer', + outline: '1px solid transparent', + backgroundColor: palette.neutralLight, + }, + }, + }, + ], + gridContainer: { + marginTop: 4, + }, + buttonRow: tslib_1.__assign(tslib_1.__assign({}, animationStyle), { marginBottom: 16, selectors: { + '&:nth-child(n + 3)': { + marginBottom: 0, + }, + } }), + itemButton: [ + (0, style_utilities_1.getFocusStyle)(theme, { inset: -1 }), + { + width: 40, + height: 40, + minWidth: 40, + minHeight: 40, + lineHeight: 40, + fontSize: style_utilities_1.FontSizes.small, + fontFamily: 'inherit', + padding: 0, + margin: '0 12px 0 0', + color: palette.neutralPrimary, + backgroundColor: 'transparent', + border: 'none', + borderRadius: 2, + overflow: 'visible', + selectors: { + '&:nth-child(4n + 4)': { + marginRight: 0, + }, + '&:nth-child(n + 9)': { + marginBottom: 0, + }, + '& div': { + fontWeight: style_utilities_1.FontWeights.regular, + }, + '&:hover': { + color: palette.neutralDark, + backgroundColor: palette.neutralLight, + cursor: 'pointer', + outline: '1px solid transparent', + selectors: (_a = {}, + _a[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ background: 'Window', color: 'WindowText', outline: '1px solid Highlight' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _a), + }, + '&:active': { + backgroundColor: palette.themeLight, + selectors: (_b = {}, + _b[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ background: 'Window', color: 'Highlight' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _b), + }, + }, + }, + ], + current: highlightCurrent + ? { + color: palette.white, + backgroundColor: palette.themePrimary, + selectors: (_c = { + '& div': { + fontWeight: style_utilities_1.FontWeights.semibold, + }, + '&:hover': { + backgroundColor: palette.themePrimary, + selectors: (_d = {}, + _d[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ backgroundColor: 'WindowText', color: 'Window' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _d), + } + }, + _c[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ backgroundColor: 'WindowText', color: 'Window' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _c), + } + : {}, + selected: highlightSelected + ? { + color: palette.neutralPrimary, + backgroundColor: palette.themeLight, + fontWeight: style_utilities_1.FontWeights.semibold, + selectors: (_e = { + '& div': { + fontWeight: style_utilities_1.FontWeights.semibold, + }, + '&:hover, &:active': { + backgroundColor: palette.themeLight, + selectors: (_f = {}, + _f[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ color: 'Window', background: 'Highlight' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _f), + } + }, + _e[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ background: 'Highlight', color: 'Window' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _e), + } + : {}, + disabled: { + selectors: (_g = { + '&, &:disabled, & button': { + color: palette.neutralTertiaryAlt, + pointerEvents: 'none', + } + }, + _g[style_utilities_1.HighContrastSelector] = { + color: 'GrayText', + forcedColorAdjust: 'none', + }, + _g), + }, + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=CalendarPicker.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarPicker/CalendarPicker.types.js": +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarPicker/CalendarPicker.types.js ***! + \**************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=CalendarPicker.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.base.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.base.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarYearBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var FocusZone_1 = __webpack_require__(/*! ../../../FocusZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js"); +var Icon_1 = __webpack_require__(/*! ../../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var defaults_1 = __webpack_require__(/*! ../defaults */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/defaults.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var CELL_COUNT = 12; +var CELLS_PER_ROW = 4; +var DefaultCalendarYearStrings = { + prevRangeAriaLabel: undefined, + nextRangeAriaLabel: undefined, +}; +var CalendarYearGridCell = function (props) { + var _a; + var _b; + var styles = props.styles, theme = props.theme, className = props.className, highlightCurrentYear = props.highlightCurrentYear, highlightSelectedYear = props.highlightSelectedYear, year = props.year, selected = props.selected, disabled = props.disabled, componentRef = props.componentRef, onSelectYear = props.onSelectYear, onRenderYear = props.onRenderYear; + var buttonRef = React.useRef(null); + React.useImperativeHandle(componentRef, function () { return ({ + focus: function () { + var _a, _b; + (_b = (_a = buttonRef.current) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a); + }, + }); }, []); + var onClick = function () { + onSelectYear === null || onSelectYear === void 0 ? void 0 : onSelectYear(year); + }; + var onKeyDown = function (ev) { + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.enter) { + onSelectYear === null || onSelectYear === void 0 ? void 0 : onSelectYear(year); + } + }; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + highlightCurrent: highlightCurrentYear, + highlightSelected: highlightSelectedYear, + }); + return (React.createElement("button", { className: (0, Utilities_1.css)(classNames.itemButton, (_a = {}, + _a[classNames.selected] = selected, + _a[classNames.disabled] = disabled, + _a)), type: "button", role: "gridcell", onClick: !disabled ? onClick : undefined, onKeyDown: !disabled ? onKeyDown : undefined, disabled: disabled, "aria-selected": selected, ref: buttonRef }, (_b = onRenderYear === null || onRenderYear === void 0 ? void 0 : onRenderYear(year)) !== null && _b !== void 0 ? _b : year)); +}; +CalendarYearGridCell.displayName = 'CalendarYearGridCell'; +var CalendarYearGrid = function (props) { + var styles = props.styles, theme = props.theme, className = props.className, fromYear = props.fromYear, toYear = props.toYear, animationDirection = props.animationDirection, animateBackwards = props.animateBackwards, minYear = props.minYear, maxYear = props.maxYear, onSelectYear = props.onSelectYear, selectedYear = props.selectedYear, componentRef = props.componentRef; + var selectedCellRef = React.useRef(null); + var currentCellRef = React.useRef(null); + React.useImperativeHandle(componentRef, function () { return ({ + focus: function () { + var _a, _b; + (_b = (_a = (selectedCellRef.current || currentCellRef.current)) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a); + }, + }); }, []); + var renderCell = function (yearToRender) { + var selected = yearToRender === selectedYear; + var disabled = (minYear !== undefined && yearToRender < minYear) || (maxYear !== undefined && yearToRender > maxYear); + var current = yearToRender === new Date().getFullYear(); + return (React.createElement(CalendarYearGridCell, tslib_1.__assign({}, props, { key: yearToRender, year: yearToRender, selected: selected, current: current, disabled: disabled, onSelectYear: onSelectYear, componentRef: selected ? selectedCellRef : current ? currentCellRef : undefined, theme: theme }))); + }; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + animateBackwards: animateBackwards, + animationDirection: animationDirection, + }); + var onRenderYear = function (value) { + var _a, _b; + return (_b = (_a = props.onRenderYear) === null || _a === void 0 ? void 0 : _a.call(props, value)) !== null && _b !== void 0 ? _b : value; + }; + var gridAriaLabel = "".concat(onRenderYear(fromYear), " - ").concat(onRenderYear(toYear)); + var year = fromYear; + var cells = []; + for (var i = 0; i < (toYear - fromYear + 1) / CELLS_PER_ROW; i++) { + cells.push([]); + for (var j = 0; j < CELLS_PER_ROW; j++) { + cells[i].push(renderCell(year)); + year++; + } + } + return (React.createElement(FocusZone_1.FocusZone, null, + React.createElement("div", { className: classNames.gridContainer, role: "grid", "aria-label": gridAriaLabel }, cells.map(function (cellRow, index) { + return (React.createElement.apply(React, tslib_1.__spreadArray(["div", { key: 'yearPickerRow_' + index + '_' + fromYear, role: "row", className: classNames.buttonRow }], cellRow, false))); + })))); +}; +CalendarYearGrid.displayName = 'CalendarYearGrid'; +var CalendarYearNavDirection; +(function (CalendarYearNavDirection) { + CalendarYearNavDirection[CalendarYearNavDirection["Previous"] = 0] = "Previous"; + CalendarYearNavDirection[CalendarYearNavDirection["Next"] = 1] = "Next"; +})(CalendarYearNavDirection || (CalendarYearNavDirection = {})); +var CalendarYearNavArrow = function (props) { + var _a; + var styles = props.styles, theme = props.theme, className = props.className, _b = props.navigationIcons, navigationIcons = _b === void 0 ? defaults_1.defaultCalendarNavigationIcons : _b, _c = props.strings, strings = _c === void 0 ? DefaultCalendarYearStrings : _c, direction = props.direction, onSelectPrev = props.onSelectPrev, onSelectNext = props.onSelectNext, fromYear = props.fromYear, toYear = props.toYear, maxYear = props.maxYear, minYear = props.minYear; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + }); + var ariaLabel = direction === CalendarYearNavDirection.Previous ? strings.prevRangeAriaLabel : strings.nextRangeAriaLabel; + var newRangeOffset = direction === CalendarYearNavDirection.Previous ? -CELL_COUNT : CELL_COUNT; + var newRange = { fromYear: fromYear + newRangeOffset, toYear: toYear + newRangeOffset }; + var ariaLabelString = ariaLabel ? (typeof ariaLabel === 'string' ? ariaLabel : ariaLabel(newRange)) : undefined; + var disabled = direction === CalendarYearNavDirection.Previous + ? minYear !== undefined && fromYear < minYear + : maxYear !== undefined && props.fromYear + CELL_COUNT > maxYear; + var onNavigate = function () { + direction === CalendarYearNavDirection.Previous ? onSelectPrev === null || onSelectPrev === void 0 ? void 0 : onSelectPrev() : onSelectNext === null || onSelectNext === void 0 ? void 0 : onSelectNext(); + }; + var onKeyDown = function (ev) { + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.enter) { + onNavigate(); + } + }; + // can be condensed, but leaving verbose for clarity due to regressions + var isLeftNavigation = (0, Utilities_1.getRTL)() + ? direction === CalendarYearNavDirection.Next + : direction === CalendarYearNavDirection.Previous; + return (React.createElement("button", { className: (0, Utilities_1.css)(classNames.navigationButton, (_a = {}, + _a[classNames.disabled] = disabled, + _a)), onClick: !disabled ? onNavigate : undefined, onKeyDown: !disabled ? onKeyDown : undefined, type: "button", title: ariaLabelString, disabled: disabled }, + React.createElement(Icon_1.Icon, { iconName: isLeftNavigation ? navigationIcons.leftNavigation : navigationIcons.rightNavigation }))); +}; +CalendarYearNavArrow.displayName = 'CalendarYearNavArrow'; +var CalendarYearNav = function (props) { + var styles = props.styles, theme = props.theme, className = props.className; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + }); + return (React.createElement("div", { className: classNames.navigationButtonsContainer }, + React.createElement(CalendarYearNavArrow, tslib_1.__assign({}, props, { direction: CalendarYearNavDirection.Previous })), + React.createElement(CalendarYearNavArrow, tslib_1.__assign({}, props, { direction: CalendarYearNavDirection.Next })))); +}; +CalendarYearNav.displayName = 'CalendarYearNav'; +var CalendarYearTitle = function (props) { + var styles = props.styles, theme = props.theme, className = props.className, fromYear = props.fromYear, toYear = props.toYear, _a = props.strings, strings = _a === void 0 ? DefaultCalendarYearStrings : _a, animateBackwards = props.animateBackwards, animationDirection = props.animationDirection; + var onHeaderSelect = function () { + var _a; + (_a = props.onHeaderSelect) === null || _a === void 0 ? void 0 : _a.call(props, true); + }; + var onHeaderKeyDown = function (ev) { + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.enter || ev.which === Utilities_1.KeyCodes.space) { + onHeaderSelect(); + } + }; + var onRenderYear = function (year) { + var _a, _b; + return (_b = (_a = props.onRenderYear) === null || _a === void 0 ? void 0 : _a.call(props, year)) !== null && _b !== void 0 ? _b : year; + }; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + hasHeaderClickCallback: !!props.onHeaderSelect, + animateBackwards: animateBackwards, + animationDirection: animationDirection, + }); + if (props.onHeaderSelect) { + var rangeAriaLabel = strings.rangeAriaLabel; + var headerAriaLabelFormatString = strings.headerAriaLabelFormatString; + var currentDateRange = rangeAriaLabel + ? typeof rangeAriaLabel === 'string' + ? rangeAriaLabel + : rangeAriaLabel(props) + : undefined; + var ariaLabel = headerAriaLabelFormatString + ? (0, Utilities_1.format)(headerAriaLabelFormatString, currentDateRange) + : currentDateRange; + return (React.createElement("button", { className: classNames.currentItemButton, onClick: onHeaderSelect, onKeyDown: onHeaderKeyDown, "aria-label": ariaLabel, role: "button", type: "button" }, + React.createElement("span", { "aria-live": "assertive", "aria-atomic": "true" }, + onRenderYear(fromYear), + " - ", + onRenderYear(toYear)))); + } + return (React.createElement("div", { className: classNames.current }, + onRenderYear(fromYear), + " - ", + onRenderYear(toYear))); +}; +CalendarYearTitle.displayName = 'CalendarYearTitle'; +var CalendarYearHeader = function (props) { + var _a; + var styles = props.styles, theme = props.theme, className = props.className, animateBackwards = props.animateBackwards, animationDirection = props.animationDirection, onRenderTitle = props.onRenderTitle; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + hasHeaderClickCallback: !!props.onHeaderSelect, + animateBackwards: animateBackwards, + animationDirection: animationDirection, + }); + return (React.createElement("div", { className: classNames.headerContainer }, (_a = onRenderTitle === null || onRenderTitle === void 0 ? void 0 : onRenderTitle(props)) !== null && _a !== void 0 ? _a : React.createElement(CalendarYearTitle, tslib_1.__assign({}, props)), + React.createElement(CalendarYearNav, tslib_1.__assign({}, props)))); +}; +CalendarYearHeader.displayName = 'CalendarYearHeader'; +function useAnimateBackwards(_a) { + var selectedYear = _a.selectedYear, navigatedYear = _a.navigatedYear; + var rangeYear = selectedYear || navigatedYear || new Date().getFullYear(); + var fromYear = Math.floor(rangeYear / 10) * 10; + var previousFromYear = (0, react_hooks_1.usePrevious)(fromYear); + if (!previousFromYear || previousFromYear === fromYear) { + return undefined; + } + else if (previousFromYear > fromYear) { + return true; + } + else { + return false; + } +} +function useYearRangeState(_a) { + var selectedYear = _a.selectedYear, navigatedYear = _a.navigatedYear; + var rangeYear = React.useMemo(function () { + return selectedYear || navigatedYear || Math.floor(new Date().getFullYear() / 10) * 10; + }, [navigatedYear, selectedYear]); + var _b = React.useState(rangeYear), fromYear = _b[0], setFromYear = _b[1]; + var onNavNext = function () { + setFromYear(function (year) { return year + CELL_COUNT; }); + }; + var onNavPrevious = function () { + setFromYear(function (year) { return year - CELL_COUNT; }); + }; + React.useEffect(function () { + setFromYear(rangeYear); + }, [rangeYear]); + var toYear = fromYear + CELL_COUNT - 1; + return [fromYear, toYear, onNavNext, onNavPrevious]; +} +var CalendarYearBase = function (props) { + var animateBackwards = useAnimateBackwards(props); + var _a = useYearRangeState(props), fromYear = _a[0], toYear = _a[1], onNavNext = _a[2], onNavPrevious = _a[3]; + var gridRef = React.useRef(null); + React.useImperativeHandle(props.componentRef, function () { return ({ + focus: function () { + var _a, _b; + (_b = (_a = gridRef.current) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a); + }, + }); }); + var styles = props.styles, theme = props.theme, className = props.className; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + }); + return (React.createElement("div", { className: classNames.root }, + React.createElement(CalendarYearHeader, tslib_1.__assign({}, props, { fromYear: fromYear, toYear: toYear, onSelectPrev: onNavPrevious, onSelectNext: onNavNext, animateBackwards: animateBackwards })), + React.createElement(CalendarYearGrid, tslib_1.__assign({}, props, { fromYear: fromYear, toYear: toYear, animateBackwards: animateBackwards, componentRef: gridRef })))); +}; +exports.CalendarYearBase = CalendarYearBase; +exports.CalendarYearBase.displayName = 'CalendarYearBase'; +//# sourceMappingURL=CalendarYear.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.js": +/*!****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.js ***! + \****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarYear = void 0; +var CalendarYear_styles_1 = __webpack_require__(/*! ./CalendarYear.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.styles.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var CalendarYear_base_1 = __webpack_require__(/*! ./CalendarYear.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.base.js"); +exports.CalendarYear = (0, Utilities_1.styled)(CalendarYear_base_1.CalendarYearBase, CalendarYear_styles_1.getStyles, undefined, { scope: 'CalendarYear' }); +//# sourceMappingURL=CalendarYear.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.styles.js": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.styles.js ***! + \***********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var CalendarPicker_styles_1 = __webpack_require__(/*! ../CalendarPicker/CalendarPicker.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarPicker/CalendarPicker.styles.js"); +var getStyles = function (props) { + /* Return styles from the base class. + * If this component has extra styles not in the base, apply them here i.e.: + * const myStyle: IStyle = { + * display: "block" + * }; + * return {...getPickerStyles(props), myStyle}; + */ + return (0, CalendarPicker_styles_1.getStyles)(props); +}; +exports.getStyles = getStyles; +//# sourceMappingURL=CalendarYear.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.types.js": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.types.js ***! + \**********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=CalendarYear.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/defaults.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/defaults.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.defaultCalendarNavigationIcons = exports.defaultDayPickerStrings = exports.defaultCalendarStrings = void 0; +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +exports.defaultCalendarStrings = date_time_utilities_1.DEFAULT_CALENDAR_STRINGS; +/** + * @deprecated Use `defaultCalendarStrings` + */ +exports.defaultDayPickerStrings = exports.defaultCalendarStrings; +exports.defaultCalendarNavigationIcons = { + leftNavigation: 'Up', + rightNavigation: 'Down', + closeIcon: 'CalculatorMultiply', +}; +//# sourceMappingURL=defaults.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/index.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Calendar/index.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FirstWeekOfYear = exports.DateRangeType = exports.DayOfWeek = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Calendar */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Calendar.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CalendarDay/CalendarDay.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarDay/CalendarDay.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CalendarMonth/CalendarMonth.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarMonth/CalendarMonth.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CalendarPicker/CalendarPicker.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarPicker/CalendarPicker.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CalendarYear/CalendarYear.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/CalendarYear/CalendarYear.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ../CalendarDayGrid/CalendarDayGrid.types */ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./defaults */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/defaults.js"), exports); +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +Object.defineProperty(exports, "DayOfWeek", ({ enumerable: true, get: function () { return date_time_utilities_1.DayOfWeek; } })); +Object.defineProperty(exports, "DateRangeType", ({ enumerable: true, get: function () { return date_time_utilities_1.DateRangeType; } })); +Object.defineProperty(exports, "FirstWeekOfYear", ({ enumerable: true, get: function () { return date_time_utilities_1.FirstWeekOfYear; } })); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.base.js": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.base.js ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarDayGridBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var FocusZone_1 = __webpack_require__(/*! ../../FocusZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js"); +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var CalendarMonthHeaderRow_1 = __webpack_require__(/*! ./CalendarMonthHeaderRow */ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarMonthHeaderRow.js"); +var CalendarGridRow_1 = __webpack_require__(/*! ./CalendarGridRow */ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarGridRow.js"); +var getClassNames = (0, utilities_1.classNamesFunction)(); +function useDayRefs() { + var daysRef = React.useRef({}); + var getSetRefCallback = function (dayKey) { return function (element) { + if (element === null) { + delete daysRef.current[dayKey]; + } + else { + daysRef.current[dayKey] = element; + } + }; }; + return [daysRef, getSetRefCallback]; +} +function useWeeks(props, onSelectDate, getSetRefCallback) { + /** + * Initial parsing of the given props to generate IDayInfo two dimensional array, which contains a representation + * of every day in the grid. Convenient for helping with conversions between day refs and Date objects in callbacks. + */ + var weeks = React.useMemo(function () { + var _a; + var weeksGrid = (0, date_time_utilities_1.getDayGrid)(props); + var firstVisibleDay = weeksGrid[1][0].originalDate; + var lastVisibleDay = weeksGrid[weeksGrid.length - 1][6].originalDate; + var markedDays = ((_a = props.getMarkedDays) === null || _a === void 0 ? void 0 : _a.call(props, firstVisibleDay, lastVisibleDay)) || []; + /** + * Weeks is a 2D array. Weeks[0] contains the last week of the prior range, + * Weeks[weeks.length - 1] contains first week of next range. These are for transition states. + * + * Weeks[1... weeks.length - 2] contains the actual visible data + */ + var returnValue = []; + for (var weekIndex = 0; weekIndex < weeksGrid.length; weekIndex++) { + var week = []; + var _loop_1 = function (dayIndex) { + var day = weeksGrid[weekIndex][dayIndex]; + var dayInfo = tslib_1.__assign(tslib_1.__assign({ onSelected: function () { return onSelectDate(day.originalDate); }, setRef: getSetRefCallback(day.key) }, day), { isMarked: day.isMarked || (markedDays === null || markedDays === void 0 ? void 0 : markedDays.some(function (markedDay) { return (0, date_time_utilities_1.compareDates)(day.originalDate, markedDay); })) }); + week.push(dayInfo); + }; + for (var dayIndex = 0; dayIndex < date_time_utilities_1.DAYS_IN_WEEK; dayIndex++) { + _loop_1(dayIndex); + } + returnValue.push(week); + } + return returnValue; + // TODO: this is missing deps on getSetRefCallback and onSelectDate (and depending on the entire + // props object may not be a good idea due to likely frequent mutation). It would be easy to + // fix getSetRefCallback to not mutate every render, but onSelectDate is passed down from + // Calendar and trying to fix it requires a huge cascade of changes. + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [props]); + return weeks; +} +/** + * Hook to determine whether to animate the CalendarDayGrid forwards or backwards + * @returns true if the grid should animate backwards; false otherwise + */ +function useAnimateBackwards(weeks) { + var previousNavigatedDate = (0, react_hooks_1.usePrevious)(weeks[0][0].originalDate); + if (!previousNavigatedDate || previousNavigatedDate.getTime() === weeks[0][0].originalDate.getTime()) { + return undefined; + } + else if (previousNavigatedDate <= weeks[0][0].originalDate) { + return false; + } + else { + return true; + } +} +function useWeekCornerStyles(props) { + /** + * + * Section for setting the rounded corner styles on individual day cells. Individual day cells need different + * corners to be rounded depending on which date range type and where the cell is located in the current grid. + * If we just round all of the corners, there isn't a good overlap and we get gaps between contiguous day boxes + * in Edge browser. + * + */ + var getWeekCornerStyles = function (classNames, initialWeeks) { + var weekCornersStyled = {}; + /* need to handle setting all of the corners on arbitrarily shaped blobs + __ + __|A | + |B |C |__ + |D |E |F | + + in this case, A needs top left rounded, top right rounded + B needs top left rounded + C doesn't need any rounding + D needs bottom left rounded + E doesn't need any rounding + F needs top right rounding + */ + // cut off the animation transition weeks + var weeks = initialWeeks.slice(1, initialWeeks.length - 1); + // if there's an item above, lose both top corners. Item below, lose both bottom corners, etc. + weeks.forEach(function (week, weekIndex) { + week.forEach(function (day, dayIndex) { + var above = weeks[weekIndex - 1] && + weeks[weekIndex - 1][dayIndex] && + isInSameHoverRange(weeks[weekIndex - 1][dayIndex].originalDate, day.originalDate, weeks[weekIndex - 1][dayIndex].isSelected, day.isSelected); + var below = weeks[weekIndex + 1] && + weeks[weekIndex + 1][dayIndex] && + isInSameHoverRange(weeks[weekIndex + 1][dayIndex].originalDate, day.originalDate, weeks[weekIndex + 1][dayIndex].isSelected, day.isSelected); + var left = weeks[weekIndex][dayIndex - 1] && + isInSameHoverRange(weeks[weekIndex][dayIndex - 1].originalDate, day.originalDate, weeks[weekIndex][dayIndex - 1].isSelected, day.isSelected); + var right = weeks[weekIndex][dayIndex + 1] && + isInSameHoverRange(weeks[weekIndex][dayIndex + 1].originalDate, day.originalDate, weeks[weekIndex][dayIndex + 1].isSelected, day.isSelected); + var style = []; + style.push(calculateRoundedStyles(classNames, above, below, left, right)); + style.push(calculateBorderStyles(classNames, above, below, left, right)); + weekCornersStyled[weekIndex + '_' + dayIndex] = style.join(' '); + }); + }); + return weekCornersStyled; + }; + var calculateRoundedStyles = function (classNames, above, below, left, right) { + var style = []; + var roundedTopLeft = !above && !left; + var roundedTopRight = !above && !right; + var roundedBottomLeft = !below && !left; + var roundedBottomRight = !below && !right; + if (roundedTopLeft) { + style.push((0, utilities_1.getRTL)() ? classNames.topRightCornerDate : classNames.topLeftCornerDate); + } + if (roundedTopRight) { + style.push((0, utilities_1.getRTL)() ? classNames.topLeftCornerDate : classNames.topRightCornerDate); + } + if (roundedBottomLeft) { + style.push((0, utilities_1.getRTL)() ? classNames.bottomRightCornerDate : classNames.bottomLeftCornerDate); + } + if (roundedBottomRight) { + style.push((0, utilities_1.getRTL)() ? classNames.bottomLeftCornerDate : classNames.bottomRightCornerDate); + } + return style.join(' '); + }; + var calculateBorderStyles = function (classNames, above, below, left, right) { + var style = []; + if (!above) { + style.push(classNames.datesAbove); + } + if (!below) { + style.push(classNames.datesBelow); + } + if (!left) { + style.push((0, utilities_1.getRTL)() ? classNames.datesRight : classNames.datesLeft); + } + if (!right) { + style.push((0, utilities_1.getRTL)() ? classNames.datesLeft : classNames.datesRight); + } + return style.join(' '); + }; + var isInSameHoverRange = function (date1, date2, date1Selected, date2Selected) { + var dateRangeType = props.dateRangeType, firstDayOfWeek = props.firstDayOfWeek, workWeekDays = props.workWeekDays; + // The hover state looks weird with non-contiguous days in work week view. In work week, show week hover state + var dateRangeHoverType = dateRangeType === date_time_utilities_1.DateRangeType.WorkWeek ? date_time_utilities_1.DateRangeType.Week : dateRangeType; + // we do not pass daysToSelectInDayView because we handle setting those styles dyanamically in onMouseOver + var dateRange = (0, date_time_utilities_1.getDateRangeArray)(date1, dateRangeHoverType, firstDayOfWeek, workWeekDays); + if (date1Selected !== date2Selected) { + // if one is selected and the other is not, they can't be in the same range + return false; + } + else if (date1Selected && date2Selected) { + // if they're both selected at the same time they must be in the same range + return true; + } + // otherwise, both must be unselected, so check the dateRange + return dateRange.filter(function (date) { return date.getTime() === date2.getTime(); }).length > 0; + }; + return [getWeekCornerStyles, calculateRoundedStyles]; +} +var CalendarDayGridBase = function (props) { + var navigatedDayRef = React.useRef(null); + var activeDescendantId = (0, react_hooks_1.useId)(); + var onSelectDate = function (selectedDate) { + var _a, _b; + var firstDayOfWeek = props.firstDayOfWeek, minDate = props.minDate, maxDate = props.maxDate, workWeekDays = props.workWeekDays, daysToSelectInDayView = props.daysToSelectInDayView, restrictedDates = props.restrictedDates; + var restrictedDatesOptions = { minDate: minDate, maxDate: maxDate, restrictedDates: restrictedDates }; + var dateRange = (0, date_time_utilities_1.getDateRangeArray)(selectedDate, dateRangeType, firstDayOfWeek, workWeekDays, daysToSelectInDayView); + dateRange = (0, date_time_utilities_1.getBoundedDateRange)(dateRange, minDate, maxDate); + dateRange = dateRange.filter(function (d) { + return !(0, date_time_utilities_1.isRestrictedDate)(d, restrictedDatesOptions); + }); + (_a = props.onSelectDate) === null || _a === void 0 ? void 0 : _a.call(props, selectedDate, dateRange); + (_b = props.onNavigateDate) === null || _b === void 0 ? void 0 : _b.call(props, selectedDate, true); + }; + var _a = useDayRefs(), daysRef = _a[0], getSetRefCallback = _a[1]; + var weeks = useWeeks(props, onSelectDate, getSetRefCallback); + var animateBackwards = useAnimateBackwards(weeks); + var _b = useWeekCornerStyles(props), getWeekCornerStyles = _b[0], calculateRoundedStyles = _b[1]; + React.useImperativeHandle(props.componentRef, function () { return ({ + focus: function () { + var _a, _b; + (_b = (_a = navigatedDayRef.current) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a); + }, + }); }, []); + /** + * + * Section for setting hover/pressed styles. Because we want arbitrary blobs of days to be selectable, to support + * highlighting every day in the month for month view, css :hover style isn't enough, so we need mouse callbacks + * to set classnames on all relevant child refs to apply the styling + * + */ + var getDayInfosInRangeOfDay = function (dayToCompare) { + // The hover state looks weird with non-contiguous days in work week view. In work week, show week hover state + var dateRangeHoverType = getDateRangeTypeToUse(props.dateRangeType, props.workWeekDays); + // gets all the dates for the given date range type that are in the same date range as the given day + var dateRange = (0, date_time_utilities_1.getDateRangeArray)(dayToCompare.originalDate, dateRangeHoverType, props.firstDayOfWeek, props.workWeekDays, props.daysToSelectInDayView).map(function (date) { return date.getTime(); }); + // gets all the day refs for the given dates + var dayInfosInRange = weeks.reduce(function (accumulatedValue, currentWeek) { + return accumulatedValue.concat(currentWeek.filter(function (weekDay) { return dateRange.indexOf(weekDay.originalDate.getTime()) !== -1; })); + }, []); + return dayInfosInRange; + }; + var getRefsFromDayInfos = function (dayInfosInRange) { + var dayRefs = []; + dayRefs = dayInfosInRange.map(function (dayInfo) { return daysRef.current[dayInfo.key]; }); + return dayRefs; + }; + var styles = props.styles, theme = props.theme, className = props.className, dateRangeType = props.dateRangeType, showWeekNumbers = props.showWeekNumbers, labelledBy = props.labelledBy, lightenDaysOutsideNavigatedMonth = props.lightenDaysOutsideNavigatedMonth, animationDirection = props.animationDirection; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + dateRangeType: dateRangeType, + showWeekNumbers: showWeekNumbers, + lightenDaysOutsideNavigatedMonth: lightenDaysOutsideNavigatedMonth === undefined ? true : lightenDaysOutsideNavigatedMonth, + animationDirection: animationDirection, + animateBackwards: animateBackwards, + }); + // When the month is highlighted get the corner dates so that styles can be added to them + var weekCorners = getWeekCornerStyles(classNames, weeks); + var partialWeekProps = { + weeks: weeks, + navigatedDayRef: navigatedDayRef, + calculateRoundedStyles: calculateRoundedStyles, + activeDescendantId: activeDescendantId, + classNames: classNames, + weekCorners: weekCorners, + getDayInfosInRangeOfDay: getDayInfosInRangeOfDay, + getRefsFromDayInfos: getRefsFromDayInfos, + }; + return (React.createElement(FocusZone_1.FocusZone, { className: classNames.wrapper, preventDefaultWhenHandled: true }, + React.createElement("table", { className: classNames.table, "aria-multiselectable": "false", "aria-labelledby": labelledBy, "aria-activedescendant": activeDescendantId, role: "grid" }, + React.createElement("tbody", null, + React.createElement(CalendarMonthHeaderRow_1.CalendarMonthHeaderRow, tslib_1.__assign({}, props, { classNames: classNames, weeks: weeks })), + React.createElement(CalendarGridRow_1.CalendarGridRow, tslib_1.__assign({}, props, partialWeekProps, { week: weeks[0], weekIndex: -1, rowClassName: classNames.firstTransitionWeek, ariaRole: "presentation", ariaHidden: true })), + weeks.slice(1, weeks.length - 1).map(function (week, weekIndex) { return (React.createElement(CalendarGridRow_1.CalendarGridRow, tslib_1.__assign({}, props, partialWeekProps, { key: weekIndex, week: week, weekIndex: weekIndex, rowClassName: classNames.weekRow }))); }), + React.createElement(CalendarGridRow_1.CalendarGridRow, tslib_1.__assign({}, props, partialWeekProps, { week: weeks[weeks.length - 1], weekIndex: -2, rowClassName: classNames.lastTransitionWeek, ariaRole: "presentation", ariaHidden: true })))))); +}; +exports.CalendarDayGridBase = CalendarDayGridBase; +exports.CalendarDayGridBase.displayName = 'CalendarDayGridBase'; +/** + * When given work week, if the days are non-contiguous, the hover states look really weird. So for non-contiguous + * work weeks, we'll just show week view instead. + */ +function getDateRangeTypeToUse(dateRangeType, workWeekDays) { + if (workWeekDays && dateRangeType === date_time_utilities_1.DateRangeType.WorkWeek) { + var sortedWWDays = workWeekDays.slice().sort(); + var isContiguous = true; + for (var i = 1; i < sortedWWDays.length; i++) { + if (sortedWWDays[i] !== sortedWWDays[i - 1] + 1) { + isContiguous = false; + break; + } + } + if (!isContiguous || workWeekDays.length === 0) { + return date_time_utilities_1.DateRangeType.Week; + } + } + return dateRangeType; +} +//# sourceMappingURL=CalendarDayGrid.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.js": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.js ***! + \*************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarDayGrid = void 0; +var CalendarDayGrid_base_1 = __webpack_require__(/*! ./CalendarDayGrid.base */ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.base.js"); +var CalendarDayGrid_styles_1 = __webpack_require__(/*! ./CalendarDayGrid.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.styles.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.CalendarDayGrid = (0, Utilities_1.styled)(CalendarDayGrid_base_1.CalendarDayGridBase, CalendarDayGrid_styles_1.styles, undefined, { scope: 'CalendarDayGrid' }); +//# sourceMappingURL=CalendarDayGrid.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.styles.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.styles.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.styles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +var Calendar_types_1 = __webpack_require__(/*! ../Calendar/Calendar.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.types.js"); +var GlobalClassNames = { + hoverStyle: 'ms-CalendarDay-hoverStyle', + pressedStyle: 'ms-CalendarDay-pressedStyle', + dayIsTodayStyle: 'ms-CalendarDay-dayIsToday', + daySelectedStyle: 'ms-CalendarDay-daySelected', +}; +var transitionRowDisappearance = (0, style_utilities_1.keyframes)({ + '100%': { + width: 0, + height: 0, + overflow: 'hidden', + }, + '99.9%': { + width: '100%', + height: 28, + overflow: 'visible', + }, + '0%': { + width: '100%', + height: 28, + overflow: 'visible', + }, +}); +var styles = function (props) { + var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; + var theme = props.theme, dateRangeType = props.dateRangeType, showWeekNumbers = props.showWeekNumbers, lightenDaysOutsideNavigatedMonth = props.lightenDaysOutsideNavigatedMonth, animateBackwards = props.animateBackwards, animationDirection = props.animationDirection; + var palette = theme.palette; + var classNames = (0, style_utilities_1.getGlobalClassNames)(GlobalClassNames, theme); + var rowAnimationStyle = {}; + if (animateBackwards !== undefined) { + if (animationDirection === Calendar_types_1.AnimationDirection.Horizontal) { + rowAnimationStyle = animateBackwards ? style_utilities_1.AnimationStyles.slideRightIn20 : style_utilities_1.AnimationStyles.slideLeftIn20; + } + else { + rowAnimationStyle = animateBackwards ? style_utilities_1.AnimationStyles.slideDownIn20 : style_utilities_1.AnimationStyles.slideUpIn20; + } + } + var firstTransitionRowAnimationStyle = {}; + var lastTransitionRowAnimationStyle = {}; + if (animateBackwards !== undefined) { + if (animationDirection !== Calendar_types_1.AnimationDirection.Horizontal) { + firstTransitionRowAnimationStyle = animateBackwards ? { animationName: '' } : style_utilities_1.AnimationStyles.slideUpOut20; + lastTransitionRowAnimationStyle = animateBackwards ? style_utilities_1.AnimationStyles.slideDownOut20 : { animationName: '' }; + } + } + var disabledStyle = { + selectors: { + '&, &:disabled, & button': { + color: palette.neutralTertiaryAlt, + pointerEvents: 'none', + }, + }, + }; + return { + wrapper: { + paddingBottom: 10, + }, + table: [ + { + textAlign: 'center', + borderCollapse: 'collapse', + borderSpacing: '0', + tableLayout: 'fixed', + fontSize: 'inherit', + marginTop: 4, + width: 196, + position: 'relative', + paddingBottom: 10, + }, + showWeekNumbers && { + width: 226, + }, + ], + dayCell: [ + (0, style_utilities_1.getFocusStyle)(theme, { inset: -3 }), + { + margin: 0, + padding: 0, + width: 28, + height: 28, + lineHeight: 28, + fontSize: style_utilities_1.FontSizes.small, + fontWeight: style_utilities_1.FontWeights.regular, + color: palette.neutralPrimary, + cursor: 'pointer', + position: 'relative', + selectors: (_a = {}, + _a[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ color: 'WindowText', backgroundColor: 'transparent', zIndex: 0 }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _a['&.' + classNames.hoverStyle] = { + backgroundColor: palette.neutralLighter, + selectors: (_b = {}, + _b[style_utilities_1.HighContrastSelector] = { + zIndex: 3, + backgroundColor: 'Window', + outline: '1px solid Highlight', + }, + _b), + }, + _a['&.' + classNames.pressedStyle] = { + backgroundColor: palette.neutralLight, + selectors: (_c = {}, + _c[style_utilities_1.HighContrastSelector] = { + borderColor: 'Highlight', + color: 'Highlight', + backgroundColor: 'Window', + }, + _c), + }, + _a['&.' + classNames.pressedStyle + '.' + classNames.hoverStyle] = { + selectors: (_d = {}, + _d[style_utilities_1.HighContrastSelector] = { + backgroundColor: 'Window', + outline: '1px solid Highlight', + }, + _d), + }, + _a), + }, + ], + daySelected: [ + dateRangeType !== date_time_utilities_1.DateRangeType.Month && { + backgroundColor: palette.neutralLight + '!important', + selectors: (_e = { + '&::before': { + content: '""', + position: 'absolute', + top: 0, + bottom: 0, + left: 0, + right: 0, + } + }, + _e['&:hover, &.' + classNames.hoverStyle + ', &.' + classNames.pressedStyle] = (_f = { + backgroundColor: palette.neutralLight + '!important' + }, + _f[style_utilities_1.HighContrastSelector] = { + color: 'HighlightText!important', + background: 'Highlight!important', + }, + _f), + _e[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ background: 'Highlight!important', color: 'HighlightText!important', borderColor: 'Highlight!important' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _e), + }, + ], + weekRow: rowAnimationStyle, + weekDayLabelCell: style_utilities_1.AnimationStyles.fadeIn200, + weekNumberCell: { + margin: 0, + padding: 0, + borderRight: '1px solid', + borderColor: palette.neutralLight, + backgroundColor: palette.neutralLighterAlt, + color: palette.neutralSecondary, + boxSizing: 'border-box', + width: 28, + height: 28, + fontWeight: style_utilities_1.FontWeights.regular, + fontSize: style_utilities_1.FontSizes.small, + }, + dayOutsideBounds: disabledStyle, + dayOutsideNavigatedMonth: lightenDaysOutsideNavigatedMonth && { + color: palette.neutralSecondary, + fontWeight: style_utilities_1.FontWeights.regular, + }, + dayButton: { + width: 24, + height: 24, + lineHeight: 24, + fontSize: style_utilities_1.FontSizes.small, + fontWeight: 'inherit', + borderRadius: 2, + border: 'none', + padding: 0, + color: 'inherit', + backgroundColor: 'transparent', + cursor: 'pointer', + overflow: 'visible', + selectors: { + span: { + height: 'inherit', + lineHeight: 'inherit', + }, + }, + }, + dayIsToday: { + backgroundColor: palette.themePrimary + '!important', + borderRadius: '100%', + color: palette.white + '!important', + fontWeight: (style_utilities_1.FontWeights.semibold + '!important'), + selectors: (_g = {}, + _g[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ background: 'WindowText!important', color: 'Window!important', borderColor: 'WindowText!important' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _g), + }, + firstTransitionWeek: tslib_1.__assign(tslib_1.__assign({ position: 'absolute', opacity: 0, width: 0, height: 0, overflow: 'hidden' }, firstTransitionRowAnimationStyle), { animationName: firstTransitionRowAnimationStyle.animationName + ',' + transitionRowDisappearance }), + lastTransitionWeek: tslib_1.__assign(tslib_1.__assign({ position: 'absolute', opacity: 0, width: 0, height: 0, overflow: 'hidden', marginTop: -28 }, lastTransitionRowAnimationStyle), { animationName: lastTransitionRowAnimationStyle.animationName + ',' + transitionRowDisappearance }), + dayMarker: { + width: 4, + height: 4, + backgroundColor: palette.neutralSecondary, + borderRadius: '100%', + bottom: 1, + left: 0, + right: 0, + position: 'absolute', + margin: 'auto', + selectors: (_h = {}, + _h['.' + classNames.dayIsTodayStyle + ' &'] = { + backgroundColor: palette.white, + selectors: (_j = {}, + _j[style_utilities_1.HighContrastSelector] = { + backgroundColor: 'Window', + }, + _j), + }, + _h['.' + classNames.daySelectedStyle + ' &'] = { + selectors: (_k = {}, + _k[style_utilities_1.HighContrastSelector] = { + backgroundColor: 'HighlightText', + }, + _k), + }, + _h[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ backgroundColor: 'WindowText' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _h), + }, + topRightCornerDate: { + borderTopRightRadius: '2px', + }, + topLeftCornerDate: { + borderTopLeftRadius: '2px', + }, + bottomRightCornerDate: { + borderBottomRightRadius: '2px', + }, + bottomLeftCornerDate: { + borderBottomLeftRadius: '2px', + }, + datesAbove: { + '&::before': { + borderTop: "1px solid ".concat(palette.neutralSecondary), + }, + }, + datesBelow: { + '&::before': { + borderBottom: "1px solid ".concat(palette.neutralSecondary), + }, + }, + datesLeft: { + '&::before': { + borderLeft: "1px solid ".concat(palette.neutralSecondary), + }, + }, + datesRight: { + '&::before': { + borderRight: "1px solid ".concat(palette.neutralSecondary), + }, + }, + }; +}; +exports.styles = styles; +//# sourceMappingURL=CalendarDayGrid.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.types.js": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarDayGrid.types.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=CalendarDayGrid.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarGridDayCell.js": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarGridDayCell.js ***! + \*****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarGridDayCell = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +var CalendarGridDayCell = function (props) { + var _a; + var navigatedDate = props.navigatedDate, dateTimeFormatter = props.dateTimeFormatter, allFocusable = props.allFocusable, strings = props.strings, activeDescendantId = props.activeDescendantId, navigatedDayRef = props.navigatedDayRef, calculateRoundedStyles = props.calculateRoundedStyles, weeks = props.weeks, classNames = props.classNames, day = props.day, dayIndex = props.dayIndex, weekIndex = props.weekIndex, weekCorners = props.weekCorners, ariaHidden = props.ariaHidden, customDayCellRef = props.customDayCellRef, dateRangeType = props.dateRangeType, daysToSelectInDayView = props.daysToSelectInDayView, onSelectDate = props.onSelectDate, restrictedDates = props.restrictedDates, minDate = props.minDate, maxDate = props.maxDate, onNavigateDate = props.onNavigateDate, getDayInfosInRangeOfDay = props.getDayInfosInRangeOfDay, getRefsFromDayInfos = props.getRefsFromDayInfos; + var cornerStyle = (_a = weekCorners === null || weekCorners === void 0 ? void 0 : weekCorners[weekIndex + '_' + dayIndex]) !== null && _a !== void 0 ? _a : ''; + var isNavigatedDate = (0, date_time_utilities_1.compareDates)(navigatedDate, day.originalDate); + var navigateMonthEdge = function (ev, date) { + var targetDate = undefined; + var direction = 1; // by default search forward + // eslint-disable-next-line deprecation/deprecation + if (ev.which === utilities_1.KeyCodes.up) { + targetDate = (0, date_time_utilities_1.addWeeks)(date, -1); + direction = -1; + // eslint-disable-next-line deprecation/deprecation + } + else if (ev.which === utilities_1.KeyCodes.down) { + targetDate = (0, date_time_utilities_1.addWeeks)(date, 1); + // eslint-disable-next-line deprecation/deprecation + } + else if (ev.which === (0, utilities_1.getRTLSafeKeyCode)(utilities_1.KeyCodes.left)) { + targetDate = (0, date_time_utilities_1.addDays)(date, -1); + direction = -1; + // eslint-disable-next-line deprecation/deprecation + } + else if (ev.which === (0, utilities_1.getRTLSafeKeyCode)(utilities_1.KeyCodes.right)) { + targetDate = (0, date_time_utilities_1.addDays)(date, 1); + } + if (!targetDate) { + // if we couldn't find a target date at all, do nothing + return; + } + var findAvailableDateOptions = { + initialDate: date, + targetDate: targetDate, + direction: direction, + restrictedDates: restrictedDates, + minDate: minDate, + maxDate: maxDate, + }; + // target date is restricted, search in whatever direction until finding the next possible date, + // stopping at boundaries + var nextDate = (0, date_time_utilities_1.findAvailableDate)(findAvailableDateOptions); + if (!nextDate) { + // if no dates available in initial direction, try going backwards + findAvailableDateOptions.direction = -direction; + nextDate = (0, date_time_utilities_1.findAvailableDate)(findAvailableDateOptions); + } + // if the nextDate is still inside the same focusZone area, let the focusZone handle setting the focus so we + // don't jump the view unnecessarily + var isInCurrentView = weeks && + nextDate && + weeks.slice(1, weeks.length - 1).some(function (week) { + return week.some(function (dayToCompare) { + return (0, date_time_utilities_1.compareDates)(dayToCompare.originalDate, nextDate); + }); + }); + if (isInCurrentView) { + return; + } + // else, fire navigation on the date to change the view to show it + if (nextDate) { + onNavigateDate(nextDate, true); + ev.preventDefault(); + } + }; + var onMouseOverDay = function (ev) { + var dayInfos = getDayInfosInRangeOfDay(day); + var dayRefs = getRefsFromDayInfos(dayInfos); + dayRefs.forEach(function (dayRef, index) { + var _a; + if (dayRef) { + dayRef.classList.add('ms-CalendarDay-hoverStyle'); + if (!dayInfos[index].isSelected && + dateRangeType === date_time_utilities_1.DateRangeType.Day && + daysToSelectInDayView && + daysToSelectInDayView > 1) { + // remove the static classes first to overwrite them + dayRef.classList.remove(classNames.bottomLeftCornerDate, classNames.bottomRightCornerDate, classNames.topLeftCornerDate, classNames.topRightCornerDate); + var classNamesToAdd = calculateRoundedStyles(classNames, false, false, index > 0, index < dayRefs.length - 1).trim(); + if (classNamesToAdd) { + (_a = dayRef.classList).add.apply(_a, classNamesToAdd.split(' ')); + } + } + } + }); + }; + var onMouseDownDay = function (ev) { + var dayInfos = getDayInfosInRangeOfDay(day); + var dayRefs = getRefsFromDayInfos(dayInfos); + dayRefs.forEach(function (dayRef) { + if (dayRef) { + dayRef.classList.add('ms-CalendarDay-pressedStyle'); + } + }); + }; + var onMouseUpDay = function (ev) { + var dayInfos = getDayInfosInRangeOfDay(day); + var dayRefs = getRefsFromDayInfos(dayInfos); + dayRefs.forEach(function (dayRef) { + if (dayRef) { + dayRef.classList.remove('ms-CalendarDay-pressedStyle'); + } + }); + }; + var onMouseOutDay = function (ev) { + var dayInfos = getDayInfosInRangeOfDay(day); + var dayRefs = getRefsFromDayInfos(dayInfos); + dayRefs.forEach(function (dayRef, index) { + var _a; + if (dayRef) { + dayRef.classList.remove('ms-CalendarDay-hoverStyle'); + dayRef.classList.remove('ms-CalendarDay-pressedStyle'); + if (!dayInfos[index].isSelected && + dateRangeType === date_time_utilities_1.DateRangeType.Day && + daysToSelectInDayView && + daysToSelectInDayView > 1) { + var classNamesToAdd = calculateRoundedStyles(classNames, false, false, index > 0, index < dayRefs.length - 1).trim(); + if (classNamesToAdd) { + (_a = dayRef.classList).remove.apply(_a, classNamesToAdd.split(' ')); + } + } + } + }); + }; + var onDayKeyDown = function (ev) { + // eslint-disable-next-line deprecation/deprecation + if (ev.which === utilities_1.KeyCodes.enter) { + onSelectDate === null || onSelectDate === void 0 ? void 0 : onSelectDate(day.originalDate); + } + else { + navigateMonthEdge(ev, day.originalDate); + } + }; + var ariaLabel = day.originalDate.getDate() + + ', ' + + strings.months[day.originalDate.getMonth()] + + ', ' + + day.originalDate.getFullYear(); + if (day.isMarked) { + ariaLabel = ariaLabel + ', ' + strings.dayMarkedAriaLabel; + } + return (React.createElement("td", { className: (0, utilities_1.css)(classNames.dayCell, weekCorners && cornerStyle, day.isSelected && classNames.daySelected, day.isSelected && 'ms-CalendarDay-daySelected', !day.isInBounds && classNames.dayOutsideBounds, !day.isInMonth && classNames.dayOutsideNavigatedMonth), ref: function (element) { + customDayCellRef === null || customDayCellRef === void 0 ? void 0 : customDayCellRef(element, day.originalDate, classNames); + day.setRef(element); + isNavigatedDate && (navigatedDayRef.current = element); + }, "aria-hidden": ariaHidden, "aria-disabled": !ariaHidden && !day.isInBounds, onClick: day.isInBounds && !ariaHidden ? day.onSelected : undefined, onMouseOver: !ariaHidden ? onMouseOverDay : undefined, onMouseDown: !ariaHidden ? onMouseDownDay : undefined, onMouseUp: !ariaHidden ? onMouseUpDay : undefined, onMouseOut: !ariaHidden ? onMouseOutDay : undefined, onKeyDown: !ariaHidden ? onDayKeyDown : undefined, role: "gridcell", tabIndex: isNavigatedDate ? 0 : undefined, "aria-current": day.isToday ? 'date' : undefined, "aria-selected": day.isInBounds ? day.isSelected : undefined, "data-is-focusable": !ariaHidden && (allFocusable || (day.isInBounds ? true : undefined)) }, + React.createElement("button", { key: day.key + 'button', "aria-hidden": ariaHidden, className: (0, utilities_1.css)(classNames.dayButton, day.isToday && classNames.dayIsToday, day.isToday && 'ms-CalendarDay-dayIsToday'), "aria-label": ariaLabel, id: isNavigatedDate ? activeDescendantId : undefined, disabled: !ariaHidden && !day.isInBounds, type: "button", tabIndex: -1, "data-is-focusable": "false" }, + React.createElement("span", { "aria-hidden": "true" }, dateTimeFormatter.formatDay(day.originalDate)), + day.isMarked && React.createElement("div", { "aria-hidden": "true", className: classNames.dayMarker })))); +}; +exports.CalendarGridDayCell = CalendarGridDayCell; +//# sourceMappingURL=CalendarGridDayCell.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarGridRow.js": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarGridRow.js ***! + \*************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarGridRow = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +var CalendarGridDayCell_1 = __webpack_require__(/*! ./CalendarGridDayCell */ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarGridDayCell.js"); +var CalendarGridRow = function (props) { + var classNames = props.classNames, week = props.week, weeks = props.weeks, weekIndex = props.weekIndex, rowClassName = props.rowClassName, ariaRole = props.ariaRole, showWeekNumbers = props.showWeekNumbers, firstDayOfWeek = props.firstDayOfWeek, firstWeekOfYear = props.firstWeekOfYear, navigatedDate = props.navigatedDate, strings = props.strings; + var weekNumbers = showWeekNumbers + ? (0, date_time_utilities_1.getWeekNumbersInMonth)(weeks.length, firstDayOfWeek, firstWeekOfYear, navigatedDate) + : null; + var titleString = weekNumbers + ? strings.weekNumberFormatString && (0, utilities_1.format)(strings.weekNumberFormatString, weekNumbers[weekIndex]) + : ''; + return (React.createElement("tr", { role: ariaRole, className: rowClassName, key: weekIndex + '_' + week[0].key }, + showWeekNumbers && weekNumbers && (React.createElement("th", { className: classNames.weekNumberCell, key: weekIndex, title: titleString, "aria-label": titleString, scope: "row" }, + React.createElement("span", null, weekNumbers[weekIndex]))), + week.map(function (day, dayIndex) { return (React.createElement(CalendarGridDayCell_1.CalendarGridDayCell, tslib_1.__assign({}, props, { key: day.key, day: day, dayIndex: dayIndex }))); }))); +}; +exports.CalendarGridRow = CalendarGridRow; +//# sourceMappingURL=CalendarGridRow.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarMonthHeaderRow.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CalendarDayGrid/CalendarMonthHeaderRow.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalendarMonthHeaderRow = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +var CalendarMonthHeaderRow = function (props) { + var showWeekNumbers = props.showWeekNumbers, strings = props.strings, firstDayOfWeek = props.firstDayOfWeek, allFocusable = props.allFocusable, weeksToShow = props.weeksToShow, weeks = props.weeks, classNames = props.classNames; + var dayLabels = strings.shortDays.slice(); + var firstOfMonthIndex = (0, utilities_1.findIndex)(weeks[1], function (day) { return day.originalDate.getDate() === 1; }); + if (weeksToShow === 1 && firstOfMonthIndex >= 0) { + // if we only show one week, replace the header with short month name + var firstOfMonthIndexOffset = (firstOfMonthIndex + firstDayOfWeek) % date_time_utilities_1.DAYS_IN_WEEK; + dayLabels[firstOfMonthIndexOffset] = strings.shortMonths[weeks[1][firstOfMonthIndex].originalDate.getMonth()]; + } + return (React.createElement("tr", null, + showWeekNumbers && React.createElement("th", { className: classNames.dayCell }), + dayLabels.map(function (val, index) { + var i = (index + firstDayOfWeek) % date_time_utilities_1.DAYS_IN_WEEK; + var label = strings.days[i]; + return (React.createElement("th", { className: (0, utilities_1.css)(classNames.dayCell, classNames.weekDayLabelCell), scope: "col", key: dayLabels[i] + ' ' + index, title: label, "aria-label": label, "data-is-focusable": allFocusable ? true : undefined }, dayLabels[i])); + }))); +}; +exports.CalendarMonthHeaderRow = CalendarMonthHeaderRow; +//# sourceMappingURL=CalendarMonthHeaderRow.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/Callout.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Callout/Callout.js ***! + \*********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Callout = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var CalloutContent_1 = __webpack_require__(/*! ./CalloutContent */ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/CalloutContent.js"); +var Layer_1 = __webpack_require__(/*! ../../Layer */ "./node_modules/@fluentui/react/lib-commonjs/Layer.js"); +exports.Callout = React.forwardRef(function (_a, forwardedRef) { + var layerProps = _a.layerProps, doNotLayer = _a.doNotLayer, rest = tslib_1.__rest(_a, ["layerProps", "doNotLayer"]); + var content = React.createElement(CalloutContent_1.CalloutContent, tslib_1.__assign({}, rest, { doNotLayer: doNotLayer, ref: forwardedRef })); + return doNotLayer ? content : React.createElement(Layer_1.Layer, tslib_1.__assign({}, layerProps), content); +}); +exports.Callout.displayName = 'Callout'; +//# sourceMappingURL=Callout.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/Callout.types.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Callout/Callout.types.js ***! + \***************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=Callout.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/CalloutContent.base.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Callout/CalloutContent.base.js ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; +/* provided dependency */ var Promise = __webpack_require__(/*! es6-promise */ "./node_modules/es6-promise/dist/es6-promise.js")["Promise"]; + +var _a; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalloutContentBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var DirectionalHint_1 = __webpack_require__(/*! ../../common/DirectionalHint */ "./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Positioning_1 = __webpack_require__(/*! ../../Positioning */ "./node_modules/@fluentui/react/lib-commonjs/Positioning.js"); +var Popup_1 = __webpack_require__(/*! ../../Popup */ "./node_modules/@fluentui/react/lib-commonjs/Popup.js"); +var Utilities_2 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var COMPONENT_NAME = 'CalloutContentBase'; +var ANIMATIONS = (_a = {}, + _a[Positioning_1.RectangleEdge.top] = Styling_1.AnimationClassNames.slideUpIn10, + _a[Positioning_1.RectangleEdge.bottom] = Styling_1.AnimationClassNames.slideDownIn10, + _a[Positioning_1.RectangleEdge.left] = Styling_1.AnimationClassNames.slideLeftIn10, + _a[Positioning_1.RectangleEdge.right] = Styling_1.AnimationClassNames.slideRightIn10, + _a); +var BEAK_ORIGIN_POSITION = { top: 0, left: 0 }; +// Microsoft Edge will overwrite inline styles if there is an animation pertaining to that style. +// To help ensure that edge will respect the offscreen style opacity +// filter needs to be added as an additional way to set opacity. +// Also set pointer-events: none so that the callout will not occlude the element it is +// going to be positioned against +var OFF_SCREEN_STYLE = { + opacity: 0, + filter: 'opacity(0)', + pointerEvents: 'none', +}; +// role and role description go hand-in-hand. Both would be included by spreading getNativeProps for a basic element +// This constant array can be used to filter these out of native props spread on callout root and apply them together on +// calloutMain (the Popup component within the callout) +var ARIA_ROLE_ATTRIBUTES = ['role', 'aria-roledescription']; +var DEFAULT_PROPS = { + preventDismissOnLostFocus: false, + preventDismissOnScroll: false, + preventDismissOnResize: false, + isBeakVisible: true, + beakWidth: 16, + gapSpace: 0, + minPagePadding: 8, + directionalHint: DirectionalHint_1.DirectionalHint.bottomAutoEdge, +}; +var getClassNames = (0, Utilities_2.classNamesFunction)({ + disableCaching: true, // disabling caching because stylesProp.position mutates often +}); +/** + * (Hook) to return a function to lazily fetch the bounds of the target element for the callout. + */ +function useBounds(_a, targetRef, targetWindow) { + var bounds = _a.bounds, _b = _a.minPagePadding, minPagePadding = _b === void 0 ? DEFAULT_PROPS.minPagePadding : _b, target = _a.target; + var _c = React.useState(false), targetWindowResized = _c[0], setTargetWindowResized = _c[1]; + var cachedBounds = React.useRef(); + var getBounds = React.useCallback(function () { + if (!cachedBounds.current || targetWindowResized) { + var currentBounds = typeof bounds === 'function' ? (targetWindow ? bounds(target, targetWindow) : undefined) : bounds; + if (!currentBounds && targetWindow) { + currentBounds = (0, Positioning_1.getBoundsFromTargetWindow)(targetRef.current, targetWindow); + currentBounds = { + top: currentBounds.top + minPagePadding, + left: currentBounds.left + minPagePadding, + right: currentBounds.right - minPagePadding, + bottom: currentBounds.bottom - minPagePadding, + width: currentBounds.width - minPagePadding * 2, + height: currentBounds.height - minPagePadding * 2, + }; + } + cachedBounds.current = currentBounds; + targetWindowResized && setTargetWindowResized(false); + } + return cachedBounds.current; + }, [bounds, minPagePadding, target, targetRef, targetWindow, targetWindowResized]); + var async = (0, react_hooks_1.useAsync)(); + (0, react_hooks_1.useOnEvent)(targetWindow, 'resize', async.debounce(function () { + setTargetWindowResized(true); + }, 500, { leading: true })); + return getBounds; +} +/** + * (Hook) to return the maximum available height for the Callout to render into. + */ +function useMaxHeight(_a, getBounds, positions) { + var _b; + var calloutMaxHeight = _a.calloutMaxHeight, finalHeight = _a.finalHeight, directionalHint = _a.directionalHint, directionalHintFixed = _a.directionalHintFixed, hidden = _a.hidden; + var _c = React.useState(), maxHeight = _c[0], setMaxHeight = _c[1]; + var _d = (_b = positions === null || positions === void 0 ? void 0 : positions.elementPosition) !== null && _b !== void 0 ? _b : {}, top = _d.top, bottom = _d.bottom; + React.useEffect(function () { + var _a; + var _b = (_a = getBounds()) !== null && _a !== void 0 ? _a : {}, topBounds = _b.top, bottomBounds = _b.bottom; + var calculatedHeight; + if (typeof top === 'number' && bottomBounds) { + calculatedHeight = bottomBounds - top; + } + else if (typeof bottom === 'number' && typeof topBounds === 'number' && bottomBounds) { + calculatedHeight = bottomBounds - topBounds - bottom; + } + if ((!calloutMaxHeight && !hidden) || + (calloutMaxHeight && calculatedHeight && calloutMaxHeight > calculatedHeight)) { + setMaxHeight(calculatedHeight); + } + else if (calloutMaxHeight) { + setMaxHeight(calloutMaxHeight); + } + else { + setMaxHeight(undefined); + } + }, [bottom, calloutMaxHeight, finalHeight, directionalHint, directionalHintFixed, getBounds, hidden, positions, top]); + return maxHeight; +} +/** + * (Hook) to find the current position of Callout. If Callout is resized then a new position is calculated. + */ +function usePositions(props, hostElement, calloutElement, targetRef, getBounds) { + var _a = React.useState(), positions = _a[0], setPositions = _a[1]; + var positionAttempts = React.useRef(0); + var previousTarget = React.useRef(); + var async = (0, react_hooks_1.useAsync)(); + var hidden = props.hidden, target = props.target, finalHeight = props.finalHeight, calloutMaxHeight = props.calloutMaxHeight, onPositioned = props.onPositioned, directionalHint = props.directionalHint; + React.useEffect(function () { + if (!hidden) { + var timerId_1 = async.requestAnimationFrame(function () { + var _a, _b; + if (hostElement.current && calloutElement) { + var currentProps = tslib_1.__assign(tslib_1.__assign({}, props), { target: targetRef.current, bounds: getBounds() }); + // duplicate calloutElement & remove useMaxHeight's maxHeight for position calc + var dupeCalloutElement = calloutElement.cloneNode(true); + dupeCalloutElement.style.maxHeight = calloutMaxHeight ? "".concat(calloutMaxHeight) : ''; + dupeCalloutElement.style.visibility = 'hidden'; + (_a = calloutElement.parentElement) === null || _a === void 0 ? void 0 : _a.appendChild(dupeCalloutElement); + var previousPositions = previousTarget.current === target ? positions : undefined; + // If there is a finalHeight given then we assume that the user knows and will handle + // additional positioning adjustments so we should call positionCard + var newPositions = finalHeight + ? (0, Positioning_1.positionCard)(currentProps, hostElement.current, dupeCalloutElement, previousPositions) + : (0, Positioning_1.positionCallout)(currentProps, hostElement.current, dupeCalloutElement, previousPositions); + // clean up duplicate calloutElement + (_b = calloutElement.parentElement) === null || _b === void 0 ? void 0 : _b.removeChild(dupeCalloutElement); + // Set the new position only when the positions do not exist or one of the new callout positions + // is different. The position should not change if the position is within 2 decimal places. + if ((!positions && newPositions) || + (positions && newPositions && !arePositionsEqual(positions, newPositions) && positionAttempts.current < 5)) { + // We should not reposition the callout more than a few times, if it is then the content is likely resizing + // and we should stop trying to reposition to prevent a stack overflow. + positionAttempts.current++; + setPositions(newPositions); + } + else if (positionAttempts.current > 0) { + // Only call the onPositioned callback if the callout has been re-positioned at least once. + positionAttempts.current = 0; + onPositioned === null || onPositioned === void 0 ? void 0 : onPositioned(positions); + } + } + }, calloutElement); + previousTarget.current = target; + return function () { + async.cancelAnimationFrame(timerId_1); + previousTarget.current = undefined; + }; + } + else { + // When the callout is hidden, clear position state so that it is not accidentally used next render. + setPositions(undefined); + positionAttempts.current = 0; + } + }, [ + hidden, + directionalHint, + async, + calloutElement, + calloutMaxHeight, + hostElement, + targetRef, + finalHeight, + getBounds, + onPositioned, + positions, + props, + target, + ]); + return positions; +} +/** + * (Hook) to set up behavior to automatically focus the callout when it appears, if indicated by props. + */ +function useAutoFocus(_a, positions, calloutElement) { + var hidden = _a.hidden, setInitialFocus = _a.setInitialFocus; + var async = (0, react_hooks_1.useAsync)(); + var hasPositions = !!positions; + React.useEffect(function () { + if (!hidden && setInitialFocus && hasPositions && calloutElement) { + var timerId_2 = async.requestAnimationFrame(function () { return (0, Utilities_1.focusFirstChild)(calloutElement); }, calloutElement); + return function () { return async.cancelAnimationFrame(timerId_2); }; + } + }, [hidden, hasPositions, async, calloutElement, setInitialFocus]); +} +/** + * (Hook) to set up various handlers to dismiss the popup when it loses focus or the window scrolls or similar cases. + */ +function useDismissHandlers(_a, positions, hostElement, targetRef, targetWindow) { + var hidden = _a.hidden, onDismiss = _a.onDismiss, + // eslint-disable-next-line deprecation/deprecation + preventDismissOnScroll = _a.preventDismissOnScroll, + // eslint-disable-next-line deprecation/deprecation + preventDismissOnResize = _a.preventDismissOnResize, + // eslint-disable-next-line deprecation/deprecation + preventDismissOnLostFocus = _a.preventDismissOnLostFocus, dismissOnTargetClick = _a.dismissOnTargetClick, shouldDismissOnWindowFocus = _a.shouldDismissOnWindowFocus, preventDismissOnEvent = _a.preventDismissOnEvent; + var isMouseDownOnPopup = React.useRef(false); + var async = (0, react_hooks_1.useAsync)(); + var mouseDownHandlers = (0, react_hooks_1.useConst)([ + function () { + isMouseDownOnPopup.current = true; + }, + function () { + isMouseDownOnPopup.current = false; + }, + ]); + var positionsExists = !!positions; + React.useEffect(function () { + var dismissOnScroll = function (ev) { + if (positionsExists && !preventDismissOnScroll) { + dismissOnClickOrScroll(ev); + } + }; + var dismissOnResize = function (ev) { + if (!preventDismissOnResize && !(preventDismissOnEvent && preventDismissOnEvent(ev))) { + onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss(ev); + } + }; + var dismissOnLostFocus = function (ev) { + if (!preventDismissOnLostFocus) { + dismissOnClickOrScroll(ev); + } + }; + var dismissOnClickOrScroll = function (ev) { + var eventPaths = ev.composedPath ? ev.composedPath() : []; + var target = eventPaths.length > 0 ? eventPaths[0] : ev.target; + var isEventTargetOutsideCallout = hostElement.current && !(0, Utilities_1.elementContains)(hostElement.current, target); + // If mouse is pressed down on callout but moved outside then released, don't dismiss the callout. + if (isEventTargetOutsideCallout && isMouseDownOnPopup.current) { + isMouseDownOnPopup.current = false; + return; + } + if ((!targetRef.current && isEventTargetOutsideCallout) || + (ev.target !== targetWindow && + isEventTargetOutsideCallout && + (!targetRef.current || + 'stopPropagation' in targetRef.current || + dismissOnTargetClick || + (target !== targetRef.current && !(0, Utilities_1.elementContains)(targetRef.current, target))))) { + if (preventDismissOnEvent && preventDismissOnEvent(ev)) { + return; + } + onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss(ev); + } + }; + var dismissOnTargetWindowBlur = function (ev) { + // Do nothing + if (!shouldDismissOnWindowFocus) { + return; + } + if (((preventDismissOnEvent && !preventDismissOnEvent(ev)) || + (!preventDismissOnEvent && !preventDismissOnLostFocus)) && + !(targetWindow === null || targetWindow === void 0 ? void 0 : targetWindow.document.hasFocus()) && + ev.relatedTarget === null) { + onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss(ev); + } + }; + // This is added so the callout will dismiss when the window is scrolled + // but not when something inside the callout is scrolled. The delay seems + // to be required to avoid React firing an async focus event in IE from + // the target changing focus quickly prior to rendering the callout. + var disposablesPromise = new Promise(function (resolve) { + async.setTimeout(function () { + if (!hidden && targetWindow) { + var disposables_1 = [ + (0, Utilities_1.on)(targetWindow, 'scroll', dismissOnScroll, true), + (0, Utilities_1.on)(targetWindow, 'resize', dismissOnResize, true), + (0, Utilities_1.on)(targetWindow.document.documentElement, 'focus', dismissOnLostFocus, true), + (0, Utilities_1.on)(targetWindow.document.documentElement, 'click', dismissOnLostFocus, true), + (0, Utilities_1.on)(targetWindow, 'blur', dismissOnTargetWindowBlur, true), + ]; + resolve(function () { + disposables_1.forEach(function (dispose) { return dispose(); }); + }); + } + }, 0); + }); + return function () { + disposablesPromise.then(function (dispose) { return dispose(); }); + }; + }, [ + hidden, + async, + hostElement, + targetRef, + targetWindow, + onDismiss, + shouldDismissOnWindowFocus, + dismissOnTargetClick, + preventDismissOnLostFocus, + preventDismissOnResize, + preventDismissOnScroll, + positionsExists, + preventDismissOnEvent, + ]); + return mouseDownHandlers; +} +exports.CalloutContentBase = React.memo(React.forwardRef(function (propsWithoutDefaults, forwardedRef) { + var props = (0, Utilities_1.getPropsWithDefaults)(DEFAULT_PROPS, propsWithoutDefaults); + var styles = props.styles, style = props.style, ariaLabel = props.ariaLabel, ariaDescribedBy = props.ariaDescribedBy, ariaLabelledBy = props.ariaLabelledBy, className = props.className, isBeakVisible = props.isBeakVisible, children = props.children, beakWidth = props.beakWidth, calloutWidth = props.calloutWidth, calloutMaxWidth = props.calloutMaxWidth, calloutMinWidth = props.calloutMinWidth, doNotLayer = props.doNotLayer, finalHeight = props.finalHeight, _a = props.hideOverflow, hideOverflow = _a === void 0 ? !!finalHeight : _a, backgroundColor = props.backgroundColor, calloutMaxHeight = props.calloutMaxHeight, onScroll = props.onScroll, + // eslint-disable-next-line deprecation/deprecation + _b = props.shouldRestoreFocus, + // eslint-disable-next-line deprecation/deprecation + shouldRestoreFocus = _b === void 0 ? true : _b, target = props.target, hidden = props.hidden, onLayerMounted = props.onLayerMounted, popupProps = props.popupProps; + var hostElement = React.useRef(null); + var _c = React.useState(null), calloutElement = _c[0], setCalloutElement = _c[1]; + var calloutCallback = React.useCallback(function (calloutEl) { + setCalloutElement(calloutEl); + }, []); + var rootRef = (0, react_hooks_1.useMergedRefs)(hostElement, forwardedRef); + var _d = (0, react_hooks_1.useTarget)(props.target, { + current: calloutElement, + }), targetRef = _d[0], targetWindow = _d[1]; + var getBounds = useBounds(props, targetRef, targetWindow); + var positions = usePositions(props, hostElement, calloutElement, targetRef, getBounds); + var maxHeight = useMaxHeight(props, getBounds, positions); + var _e = useDismissHandlers(props, positions, hostElement, targetRef, targetWindow), mouseDownOnPopup = _e[0], mouseUpOnPopup = _e[1]; + // do not set both top and bottom css props from positions + // instead, use maxHeight + var isForcedInBounds = (positions === null || positions === void 0 ? void 0 : positions.elementPosition.top) && (positions === null || positions === void 0 ? void 0 : positions.elementPosition.bottom); + var cssPositions = tslib_1.__assign(tslib_1.__assign({}, positions === null || positions === void 0 ? void 0 : positions.elementPosition), { maxHeight: maxHeight }); + if (isForcedInBounds) { + cssPositions.bottom = undefined; + } + useAutoFocus(props, positions, calloutElement); + React.useEffect(function () { + if (!hidden) { + onLayerMounted === null || onLayerMounted === void 0 ? void 0 : onLayerMounted(); + } + // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run if hidden changes + }, [hidden]); + // If there is no target window then we are likely in server side rendering and we should not render anything. + if (!targetWindow) { + return null; + } + var overflowYHidden = hideOverflow; + var beakVisible = isBeakVisible && !!target; + var classNames = getClassNames(styles, { + theme: props.theme, + className: className, + overflowYHidden: overflowYHidden, + calloutWidth: calloutWidth, + positions: positions, + beakWidth: beakWidth, + backgroundColor: backgroundColor, + calloutMaxWidth: calloutMaxWidth, + calloutMinWidth: calloutMinWidth, + doNotLayer: doNotLayer, + }); + var overflowStyle = tslib_1.__assign(tslib_1.__assign({ maxHeight: calloutMaxHeight ? calloutMaxHeight : '100%' }, style), (overflowYHidden && { overflowY: 'hidden' })); + var visibilityStyle = props.hidden ? { visibility: 'hidden' } : undefined; + // React.CSSProperties does not understand IRawStyle, so the inline animations will need to be cast as any for now. + return (React.createElement("div", { ref: rootRef, className: classNames.container, style: visibilityStyle }, + React.createElement("div", tslib_1.__assign({}, (0, Utilities_1.getNativeProps)(props, Utilities_1.divProperties, ARIA_ROLE_ATTRIBUTES), { className: (0, Utilities_1.css)(classNames.root, positions && positions.targetEdge && ANIMATIONS[positions.targetEdge]), style: positions ? tslib_1.__assign({}, cssPositions) : OFF_SCREEN_STYLE, + // Safari and Firefox on Mac OS requires this to back-stop click events so focus remains in the Callout. + // See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus + tabIndex: -1, ref: calloutCallback }), + beakVisible && React.createElement("div", { className: classNames.beak, style: getBeakPosition(positions) }), + beakVisible && React.createElement("div", { className: classNames.beakCurtain }), + React.createElement(Popup_1.Popup + // don't use getNativeElementProps for role and roledescription because it will also + // pass through data-* props (resulting in them being used in two places) + , tslib_1.__assign({ + // don't use getNativeElementProps for role and roledescription because it will also + // pass through data-* props (resulting in them being used in two places) + role: props.role, "aria-roledescription": props['aria-roledescription'], ariaDescribedBy: ariaDescribedBy, ariaLabel: ariaLabel, ariaLabelledBy: ariaLabelledBy, className: classNames.calloutMain, onDismiss: props.onDismiss, onMouseDown: mouseDownOnPopup, onMouseUp: mouseUpOnPopup, onRestoreFocus: props.onRestoreFocus, onScroll: onScroll, shouldRestoreFocus: shouldRestoreFocus, style: overflowStyle }, popupProps), children)))); +}), function (previousProps, nextProps) { + if (!nextProps.shouldUpdateWhenHidden && previousProps.hidden && nextProps.hidden) { + // Do not update when hidden. + return true; + } + return (0, Utilities_1.shallowCompare)(previousProps, nextProps); +}); +/** + * (Utility) to find and return the current `Callout` Beak position. + * + * @param positions + */ +function getBeakPosition(positions) { + var _a, _b; + var beakPositionStyle = tslib_1.__assign(tslib_1.__assign({}, (_a = positions === null || positions === void 0 ? void 0 : positions.beakPosition) === null || _a === void 0 ? void 0 : _a.elementPosition), { display: ((_b = positions === null || positions === void 0 ? void 0 : positions.beakPosition) === null || _b === void 0 ? void 0 : _b.hideBeak) ? 'none' : undefined }); + if (!beakPositionStyle.top && !beakPositionStyle.bottom && !beakPositionStyle.left && !beakPositionStyle.right) { + beakPositionStyle.left = BEAK_ORIGIN_POSITION.left; + beakPositionStyle.top = BEAK_ORIGIN_POSITION.top; + } + return beakPositionStyle; +} +/** + * (Utility) used to compare two different elementPositions to determine whether they are equal. + * + * @param prevElementPositions + * @param newElementPosition + */ +function arePositionsEqual(prevElementPositions, newElementPosition) { + return (comparePositions(prevElementPositions.elementPosition, newElementPosition.elementPosition) && + comparePositions(prevElementPositions.beakPosition.elementPosition, newElementPosition.beakPosition.elementPosition)); +} +/** + * (Utility) used in **arePositionsEqual** to compare two different elementPositions. + * + * @param prevElementPositions + * @param newElementPositions + */ +function comparePositions(prevElementPositions, newElementPositions) { + for (var key in newElementPositions) { + if (newElementPositions.hasOwnProperty(key)) { + var oldPositionEdge = prevElementPositions[key]; + var newPositionEdge = newElementPositions[key]; + if (oldPositionEdge !== undefined && newPositionEdge !== undefined) { + if (oldPositionEdge.toFixed(2) !== newPositionEdge.toFixed(2)) { + return false; + } + } + else { + return false; + } + } + } + return true; +} +exports.CalloutContentBase.displayName = COMPONENT_NAME; +//# sourceMappingURL=CalloutContent.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/CalloutContent.js": +/*!****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Callout/CalloutContent.js ***! + \****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CalloutContent = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var CalloutContent_base_1 = __webpack_require__(/*! ./CalloutContent.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/CalloutContent.base.js"); +var CalloutContent_styles_1 = __webpack_require__(/*! ./CalloutContent.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/CalloutContent.styles.js"); +exports.CalloutContent = (0, Utilities_1.styled)(CalloutContent_base_1.CalloutContentBase, CalloutContent_styles_1.getStyles, undefined, { + scope: 'CalloutContent', +}); +//# sourceMappingURL=CalloutContent.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/CalloutContent.styles.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Callout/CalloutContent.styles.js ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +function getBeakStyle(beakWidth) { + return { + height: beakWidth, + width: beakWidth, + }; +} +var GlobalClassNames = { + container: 'ms-Callout-container', + root: 'ms-Callout', + beak: 'ms-Callout-beak', + beakCurtain: 'ms-Callout-beakCurtain', + calloutMain: 'ms-Callout-main', +}; +var getStyles = function (props) { + var _a; + var theme = props.theme, className = props.className, overflowYHidden = props.overflowYHidden, calloutWidth = props.calloutWidth, beakWidth = props.beakWidth, backgroundColor = props.backgroundColor, calloutMaxWidth = props.calloutMaxWidth, calloutMinWidth = props.calloutMinWidth, doNotLayer = props.doNotLayer; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + var semanticColors = theme.semanticColors, effects = theme.effects; + return { + container: [ + classNames.container, + { + position: 'relative', + }, + ], + root: [ + classNames.root, + theme.fonts.medium, + { + position: 'absolute', + display: 'flex', + zIndex: doNotLayer ? Styling_1.ZIndexes.Layer : undefined, + boxSizing: 'border-box', + borderRadius: effects.roundedCorner2, + boxShadow: effects.elevation16, + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + borderWidth: 1, + borderStyle: 'solid', + borderColor: 'WindowText', + }, + _a), + }, + (0, Styling_1.focusClear)(), + className, + !!calloutWidth && { width: calloutWidth }, + !!calloutMaxWidth && { maxWidth: calloutMaxWidth }, + !!calloutMinWidth && { minWidth: calloutMinWidth }, + ], + beak: [ + classNames.beak, + { + position: 'absolute', + backgroundColor: semanticColors.menuBackground, + boxShadow: 'inherit', + border: 'inherit', + boxSizing: 'border-box', + transform: 'rotate(45deg)', + }, + getBeakStyle(beakWidth), + backgroundColor && { + backgroundColor: backgroundColor, + }, + ], + beakCurtain: [ + classNames.beakCurtain, + { + position: 'absolute', + top: 0, + right: 0, + bottom: 0, + left: 0, + backgroundColor: semanticColors.menuBackground, + borderRadius: effects.roundedCorner2, + }, + ], + calloutMain: [ + classNames.calloutMain, + { + backgroundColor: semanticColors.menuBackground, + overflowX: 'hidden', + overflowY: 'auto', + position: 'relative', + width: '100%', + borderRadius: effects.roundedCorner2, + }, + overflowYHidden && { + overflowY: 'hidden', + }, + backgroundColor && { + backgroundColor: backgroundColor, + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=CalloutContent.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/FocusTrapCallout.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Callout/FocusTrapCallout.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FocusTrapCallout = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Callout_1 = __webpack_require__(/*! ./Callout */ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/Callout.js"); +var FocusTrapZone_1 = __webpack_require__(/*! ../../FocusTrapZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusTrapZone.js"); +/** + * A special Callout that uses FocusTrapZone to trap focus + * @param props - Props for the component + */ +var FocusTrapCallout = function (props) { + return (React.createElement(Callout_1.Callout, tslib_1.__assign({}, props), + React.createElement(FocusTrapZone_1.FocusTrapZone, tslib_1.__assign({ disabled: props.hidden }, props.focusTrapProps), props.children))); +}; +exports.FocusTrapCallout = FocusTrapCallout; +//# sourceMappingURL=FocusTrapCallout.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/FocusTrapCallout.types.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Callout/FocusTrapCallout.types.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=FocusTrapCallout.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/index.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Callout/index.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Callout */ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/Callout.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Callout.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/Callout.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CalloutContent */ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/CalloutContent.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CalloutContent.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/CalloutContent.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./FocusTrapCallout */ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/FocusTrapCallout.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./FocusTrapCallout.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Callout/FocusTrapCallout.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ../../common/DirectionalHint */ "./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.base.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.base.js ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CheckBase = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +exports.CheckBase = React.forwardRef(function (props, ref) { + var _a = props.checked, checked = _a === void 0 ? false : _a, className = props.className, theme = props.theme, styles = props.styles, _b = props.useFastIcons, useFastIcons = _b === void 0 ? true : _b; + var classNames = getClassNames(styles, { theme: theme, className: className, checked: checked }); + var IconComponent = useFastIcons ? Icon_1.FontIcon : Icon_1.Icon; + return (React.createElement("div", { className: classNames.root, ref: ref }, + React.createElement(IconComponent, { iconName: "CircleRing", className: classNames.circle }), + React.createElement(IconComponent, { iconName: "StatusCircleCheckmark", className: classNames.check }))); +}); +exports.CheckBase.displayName = 'CheckBase'; +//# sourceMappingURL=Check.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.js ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Check = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Check_base_1 = __webpack_require__(/*! ./Check.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.base.js"); +var Check_styles_1 = __webpack_require__(/*! ./Check.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.styles.js"); +exports.Check = (0, Utilities_1.styled)(Check_base_1.CheckBase, Check_styles_1.getStyles, undefined, { + scope: 'Check', +}, true); +//# sourceMappingURL=Check.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.styles.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.styles.js ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = exports.CheckGlobalClassNames = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.CheckGlobalClassNames = { + root: 'ms-Check', + circle: 'ms-Check-circle', + check: 'ms-Check-check', + /** Must be manually applied to the parent element of the check. */ + checkHost: 'ms-Check-checkHost', +}; +var getStyles = function (props) { + var _a, _b, _c, _d, _e; + // eslint-disable-next-line deprecation/deprecation + var _f = props.height, height = _f === void 0 ? props.checkBoxHeight || '18px' : _f, checked = props.checked, className = props.className, theme = props.theme; + var palette = theme.palette, semanticColors = theme.semanticColors, fonts = theme.fonts; + var isRTL = (0, Utilities_1.getRTL)(theme); + var classNames = (0, Styling_1.getGlobalClassNames)(exports.CheckGlobalClassNames, theme); + var sharedCircleCheck = { + fontSize: height, + position: 'absolute', + left: 0, + top: 0, + width: height, + height: height, + textAlign: 'center', + // inline-flex prevents the check from shifting with custom line height styles + display: 'inline-flex', + alignItems: 'center', + justifyContent: 'center', + verticalAlign: 'middle', + }; + return { + root: [ + classNames.root, + fonts.medium, + { + // lineHeight currently needs to be a string to output without 'px' + lineHeight: '1', + width: height, + height: height, + verticalAlign: 'top', + position: 'relative', + userSelect: 'none', + selectors: (_a = { + ':before': { + content: '""', + position: 'absolute', + top: '1px', + right: '1px', + bottom: '1px', + left: '1px', + borderRadius: '50%', + opacity: 1, + background: semanticColors.bodyBackground, + } + }, + _a[".".concat(classNames.checkHost, ":hover &, .").concat(classNames.checkHost, ":focus &, &:hover, &:focus")] = { + opacity: 1, + }, + _a), + }, + checked && [ + 'is-checked', + { + selectors: { + ':before': { + background: palette.themePrimary, + opacity: 1, + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + background: 'Window', + }, + _b), + }, + }, + }, + ], + className, + ], + circle: [ + classNames.circle, + sharedCircleCheck, + { + color: palette.neutralSecondary, + selectors: (_c = {}, + _c[Styling_1.HighContrastSelector] = { + color: 'WindowText', + }, + _c), + }, + checked && { + color: palette.white, + }, + ], + check: [ + classNames.check, + sharedCircleCheck, + { + opacity: 0, + color: palette.neutralSecondary, + fontSize: Styling_1.IconFontSizes.medium, + left: isRTL ? '-0.5px' : '.5px', + top: '-1px', + selectors: (_d = { + ':hover': { + opacity: 1, + } + }, + _d[Styling_1.HighContrastSelector] = tslib_1.__assign({}, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _d), + }, + checked && { + opacity: 1, + color: palette.white, + fontWeight: 900, + selectors: (_e = {}, + _e[Styling_1.HighContrastSelector] = { + border: 'none', + color: 'WindowText', + }, + _e), + }, + ], + checkHost: classNames.checkHost, + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=Check.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.types.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.types.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=Check.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Check/index.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Check/index.js ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Check */ "./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Check.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Check.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.base.js": +/*!****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.base.js ***! + \****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CheckboxBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var Icon_1 = __webpack_require__(/*! ../Icon/Icon */ "./node_modules/@fluentui/react/lib-commonjs/components/Icon/Icon.js"); +var getClassNames = (0, utilities_1.classNamesFunction)(); +exports.CheckboxBase = React.forwardRef(function (props, forwardedRef) { + var disabled = props.disabled, required = props.required, inputProps = props.inputProps, name = props.name, ariaLabel = props.ariaLabel, ariaLabelledBy = props.ariaLabelledBy, ariaDescribedBy = props.ariaDescribedBy, ariaPositionInSet = props.ariaPositionInSet, ariaSetSize = props.ariaSetSize, title = props.title, checkmarkIconProps = props.checkmarkIconProps, styles = props.styles, theme = props.theme, className = props.className, _a = props.boxSide, boxSide = _a === void 0 ? 'start' : _a; + var id = (0, react_hooks_1.useId)('checkbox-', props.id); + var rootRef = React.useRef(null); + var mergedRootRefs = (0, react_hooks_1.useMergedRefs)(rootRef, forwardedRef); + var inputRef = React.useRef(null); + var _b = (0, react_hooks_1.useControllableValue)(props.checked, props.defaultChecked, props.onChange), isChecked = _b[0], setIsChecked = _b[1]; + var _c = (0, react_hooks_1.useControllableValue)(props.indeterminate, props.defaultIndeterminate), isIndeterminate = _c[0], setIsIndeterminate = _c[1]; + (0, utilities_1.useFocusRects)(rootRef); + useDebugWarning(props); + var classNames = getClassNames(styles, { + theme: theme, + className: className, + disabled: disabled, + indeterminate: isIndeterminate, + checked: isChecked, + reversed: boxSide !== 'start', + isUsingCustomLabelRender: !!props.onRenderLabel, + }); + var onChange = React.useCallback(function (event) { + if (isIndeterminate) { + // If indeterminate, clicking the checkbox *only* removes the indeterminate state (or if + // controlled, lets the consumer know to change it by calling onChange). It doesn't + // change the checked state. + setIsChecked(!!isChecked, event); + setIsIndeterminate(false); + } + else { + setIsChecked(!isChecked, event); + } + }, [setIsChecked, setIsIndeterminate, isIndeterminate, isChecked]); + var defaultLabelRenderer = React.useCallback(function (checkboxProps) { + if (!checkboxProps) { + return null; + } + return checkboxProps.label ? (React.createElement("span", { className: classNames.text, title: checkboxProps.title }, checkboxProps.label)) : null; + }, [classNames.text]); + var setNativeIndeterminate = React.useCallback(function (indeterminate) { + if (!inputRef.current) { + return; + } + var value = !!indeterminate; + inputRef.current.indeterminate = value; + setIsIndeterminate(value); + }, [setIsIndeterminate]); + useComponentRef(props, isChecked, isIndeterminate, setNativeIndeterminate, inputRef); + React.useEffect(function () { return setNativeIndeterminate(isIndeterminate); }, [setNativeIndeterminate, isIndeterminate]); + var onRenderLabel = props.onRenderLabel || defaultLabelRenderer; + var ariaChecked = isIndeterminate + ? 'mixed' + : undefined; + var mergedInputProps = tslib_1.__assign(tslib_1.__assign({ className: classNames.input, type: 'checkbox' }, inputProps), { checked: !!isChecked, disabled: disabled, required: required, name: name, id: id, title: title, onChange: onChange, 'aria-disabled': disabled, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, 'aria-posinset': ariaPositionInSet, 'aria-setsize': ariaSetSize, 'aria-checked': ariaChecked }); + return (React.createElement("div", { className: classNames.root, title: title, ref: mergedRootRefs }, + React.createElement("input", tslib_1.__assign({}, mergedInputProps, { ref: inputRef, title: title, "data-ktp-execute-target": true })), + React.createElement("label", { className: classNames.label, htmlFor: id }, + React.createElement("div", { className: classNames.checkbox, "data-ktp-target": true }, + React.createElement(Icon_1.Icon, tslib_1.__assign({ iconName: "CheckMark" }, checkmarkIconProps, { className: classNames.checkmark }))), + onRenderLabel(props, defaultLabelRenderer)))); +}); +exports.CheckboxBase.displayName = 'CheckboxBase'; +function useDebugWarning(props) { + if (true) { + // eslint-disable-next-line react-hooks/rules-of-hooks -- build-time conditional + (0, react_hooks_1.useWarnings)({ + name: 'Checkbox', + props: props, + mutuallyExclusive: { + checked: 'defaultChecked', + indeterminate: 'defaultIndeterminate', + }, + }); + } +} +function useComponentRef(props, isChecked, isIndeterminate, setIndeterminate, checkBoxRef) { + React.useImperativeHandle(props.componentRef, function () { return ({ + get checked() { + return !!isChecked; + }, + get indeterminate() { + return !!isIndeterminate; + }, + set indeterminate(indeterminate) { + setIndeterminate(indeterminate); + }, + focus: function () { + if (checkBoxRef.current) { + checkBoxRef.current.focus(); + } + }, + }); }, [checkBoxRef, isChecked, isIndeterminate, setIndeterminate]); +} +//# sourceMappingURL=Checkbox.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Checkbox = void 0; +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var Checkbox_base_1 = __webpack_require__(/*! ./Checkbox.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.base.js"); +var Checkbox_styles_1 = __webpack_require__(/*! ./Checkbox.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.styles.js"); +exports.Checkbox = (0, utilities_1.styled)(Checkbox_base_1.CheckboxBase, Checkbox_styles_1.getStyles, undefined, { scope: 'Checkbox' }); +//# sourceMappingURL=Checkbox.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.styles.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.styles.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var GlobalClassNames = { + root: 'ms-Checkbox', + label: 'ms-Checkbox-label', + checkbox: 'ms-Checkbox-checkbox', + checkmark: 'ms-Checkbox-checkmark', + text: 'ms-Checkbox-text', +}; +var MS_CHECKBOX_LABEL_SIZE = '20px'; +var MS_CHECKBOX_TRANSITION_DURATION = '200ms'; +var MS_CHECKBOX_TRANSITION_TIMING = 'cubic-bezier(.4, 0, .23, 1)'; +var getStyles = function (props) { + var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t; + var className = props.className, theme = props.theme, reversed = props.reversed, checked = props.checked, disabled = props.disabled, isUsingCustomLabelRender = props.isUsingCustomLabelRender, indeterminate = props.indeterminate; + var semanticColors = theme.semanticColors, effects = theme.effects, palette = theme.palette, fonts = theme.fonts; + var classNames = (0, style_utilities_1.getGlobalClassNames)(GlobalClassNames, theme); + var checkmarkFontColor = semanticColors.inputForegroundChecked; + // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.inputBorder + var checkmarkFontColorHovered = palette.neutralSecondary; + // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.smallInputBorder + var checkboxBorderColor = palette.neutralPrimary; + var checkboxBorderIndeterminateColor = semanticColors.inputBackgroundChecked; + var checkboxBorderColorChecked = semanticColors.inputBackgroundChecked; + var checkboxBorderColorDisabled = semanticColors.disabledBodySubtext; + var checkboxBorderHoveredColor = semanticColors.inputBorderHovered; + var checkboxBorderIndeterminateHoveredColor = semanticColors.inputBackgroundCheckedHovered; + var checkboxBackgroundChecked = semanticColors.inputBackgroundChecked; + // TODO: after updating the semanticColors slots mapping the following 2 tokens need to be + // semanticColors.inputBackgroundCheckedHovered + var checkboxBackgroundCheckedHovered = semanticColors.inputBackgroundCheckedHovered; + var checkboxBorderColorCheckedHovered = semanticColors.inputBackgroundCheckedHovered; + var checkboxHoveredTextColor = semanticColors.inputTextHovered; + var checkboxBackgroundDisabledChecked = semanticColors.disabledBodySubtext; + var checkboxTextColor = semanticColors.bodyText; + var checkboxTextColorDisabled = semanticColors.disabledText; + var indeterminateDotStyles = [ + (_a = { + content: '""', + borderRadius: effects.roundedCorner2, + position: 'absolute', + width: 10, + height: 10, + top: 4, + left: 4, + boxSizing: 'border-box', + borderWidth: 5, + borderStyle: 'solid', + borderColor: disabled ? checkboxBorderColorDisabled : checkboxBorderIndeterminateColor, + transitionProperty: 'border-width, border, border-color', + transitionDuration: MS_CHECKBOX_TRANSITION_DURATION, + transitionTimingFunction: MS_CHECKBOX_TRANSITION_TIMING + }, + _a[style_utilities_1.HighContrastSelector] = { + borderColor: 'WindowText', + }, + _a), + ]; + return { + root: [ + classNames.root, + { + position: 'relative', + display: 'flex', + }, + reversed && 'reversed', + checked && 'is-checked', + !disabled && 'is-enabled', + disabled && 'is-disabled', + !disabled && [ + !checked && (_b = {}, + _b[":hover .".concat(classNames.checkbox)] = (_c = { + borderColor: checkboxBorderHoveredColor + }, + _c[style_utilities_1.HighContrastSelector] = { + borderColor: 'Highlight', + }, + _c), + _b[":focus .".concat(classNames.checkbox)] = { borderColor: checkboxBorderHoveredColor }, + _b[":hover .".concat(classNames.checkmark)] = (_d = { + color: checkmarkFontColorHovered, + opacity: '1' + }, + _d[style_utilities_1.HighContrastSelector] = { + color: 'Highlight', + }, + _d), + _b), + checked && + !indeterminate && (_e = {}, + _e[":hover .".concat(classNames.checkbox)] = { + background: checkboxBackgroundCheckedHovered, + borderColor: checkboxBorderColorCheckedHovered, + }, + _e[":focus .".concat(classNames.checkbox)] = { + background: checkboxBackgroundCheckedHovered, + borderColor: checkboxBorderColorCheckedHovered, + }, + _e[style_utilities_1.HighContrastSelector] = (_f = {}, + _f[":hover .".concat(classNames.checkbox)] = { + background: 'Highlight', + borderColor: 'Highlight', + }, + _f[":focus .".concat(classNames.checkbox)] = { + background: 'Highlight', + }, + _f[":focus:hover .".concat(classNames.checkbox)] = { + background: 'Highlight', + }, + _f[":focus:hover .".concat(classNames.checkmark)] = { + color: 'Window', + }, + _f[":hover .".concat(classNames.checkmark)] = { + color: 'Window', + }, + _f), + _e), + indeterminate && (_g = {}, + _g[":hover .".concat(classNames.checkbox, ", :hover .").concat(classNames.checkbox, ":after")] = (_h = { + borderColor: checkboxBorderIndeterminateHoveredColor + }, + _h[style_utilities_1.HighContrastSelector] = { + borderColor: 'WindowText', + }, + _h), + _g[":focus .".concat(classNames.checkbox)] = { + borderColor: checkboxBorderIndeterminateHoveredColor, + }, + _g[":hover .".concat(classNames.checkmark)] = { + opacity: '0', + }, + _g), + (_j = {}, + _j[":hover .".concat(classNames.text, ", :focus .").concat(classNames.text)] = (_k = { + color: checkboxHoveredTextColor + }, + _k[style_utilities_1.HighContrastSelector] = { + color: disabled ? 'GrayText' : 'WindowText', + }, + _k), + _j), + ], + className, + ], + input: (_l = { + position: 'absolute', + background: 'none', + opacity: 0 + }, + _l[".".concat(utilities_1.IsFocusVisibleClassName, " &:focus + label::before")] = (_m = { + outline: '1px solid ' + theme.palette.neutralSecondary, + outlineOffset: '2px' + }, + _m[style_utilities_1.HighContrastSelector] = { + outline: '1px solid WindowText', + }, + _m), + _l), + label: [ + classNames.label, + theme.fonts.medium, + { + display: 'flex', + alignItems: isUsingCustomLabelRender ? 'center' : 'flex-start', + cursor: disabled ? 'default' : 'pointer', + position: 'relative', + userSelect: 'none', + }, + reversed && { + flexDirection: 'row-reverse', + justifyContent: 'flex-end', + }, + { + '&::before': { + position: 'absolute', + left: 0, + right: 0, + top: 0, + bottom: 0, + content: '""', + pointerEvents: 'none', + }, + }, + ], + checkbox: [ + classNames.checkbox, + (_o = { + position: 'relative', + display: 'flex', + flexShrink: 0, + alignItems: 'center', + justifyContent: 'center', + height: MS_CHECKBOX_LABEL_SIZE, + width: MS_CHECKBOX_LABEL_SIZE, + border: "1px solid ".concat(checkboxBorderColor), + borderRadius: effects.roundedCorner2, + boxSizing: 'border-box', + transitionProperty: 'background, border, border-color', + transitionDuration: MS_CHECKBOX_TRANSITION_DURATION, + transitionTimingFunction: MS_CHECKBOX_TRANSITION_TIMING, + /* in case the icon is bigger than the box */ + overflow: 'hidden', + ':after': indeterminate ? indeterminateDotStyles : null + }, + _o[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ borderColor: 'WindowText' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _o), + indeterminate && { + borderColor: checkboxBorderIndeterminateColor, + }, + !reversed + ? // This margin on the checkbox is for backwards compat. Notably it has the effect where a customRender + // is used, there will be only a 4px margin from checkbox to label. The label by default would have + // another 4px margin for a total of 8px margin between checkbox and label. We don't combine the two + // (and move it into the text) to not incur a breaking change for everyone using custom render atm. + { + marginRight: 4, + } + : { + marginLeft: 4, + }, + !disabled && + !indeterminate && + checked && (_p = { + background: checkboxBackgroundChecked, + borderColor: checkboxBorderColorChecked + }, + _p[style_utilities_1.HighContrastSelector] = { + background: 'Highlight', + borderColor: 'Highlight', + }, + _p), + disabled && (_q = { + borderColor: checkboxBorderColorDisabled + }, + _q[style_utilities_1.HighContrastSelector] = { + borderColor: 'GrayText', + }, + _q), + checked && + disabled && (_r = { + background: checkboxBackgroundDisabledChecked, + borderColor: checkboxBorderColorDisabled + }, + _r[style_utilities_1.HighContrastSelector] = { + background: 'Window', + }, + _r), + ], + checkmark: [ + classNames.checkmark, + (_s = { + opacity: checked && !indeterminate ? '1' : '0', + color: checkmarkFontColor + }, + _s[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ color: disabled ? 'GrayText' : 'Window' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _s), + ], + text: [ + classNames.text, + (_t = { + color: disabled ? checkboxTextColorDisabled : checkboxTextColor, + fontSize: fonts.medium.fontSize, + lineHeight: '20px' + }, + _t[style_utilities_1.HighContrastSelector] = tslib_1.__assign({ color: disabled ? 'GrayText' : 'WindowText' }, (0, style_utilities_1.getHighContrastNoAdjustStyle)()), + _t), + !reversed + ? { + marginLeft: 4, + } + : { + marginRight: 4, + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=Checkbox.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.types.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.types.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=Checkbox.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/index.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/index.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Checkbox */ "./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Checkbox.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Checkbox.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Checkbox/Checkbox.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.base.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.base.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ChoiceGroupBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Label_1 = __webpack_require__(/*! ../../Label */ "./node_modules/@fluentui/react/lib-commonjs/Label.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var index_1 = __webpack_require__(/*! ./ChoiceGroupOption/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/index.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var getOptionId = function (option, id) { + return "".concat(id, "-").concat(option.key); +}; +var findOption = function (options, key) { + return key === undefined ? undefined : (0, Utilities_1.find)(options, function (value) { return value.key === key; }); +}; +var focusSelectedOption = function (options, keyChecked, id, focusProviders) { + var optionToFocus = findOption(options, keyChecked) || options.filter(function (option) { return !option.disabled; })[0]; + var elementToFocus = optionToFocus && document.getElementById(getOptionId(optionToFocus, id)); + if (elementToFocus) { + elementToFocus.focus(); + (0, Utilities_1.setFocusVisibility)(true, elementToFocus, focusProviders); + } +}; +var focusFromFocusTrapZone = function (evt) { + return evt.relatedTarget instanceof HTMLElement && evt.relatedTarget.dataset.isFocusTrapZoneBumper === 'true'; +}; +var useComponentRef = function (options, keyChecked, id, componentRef, focusProviders) { + React.useImperativeHandle(componentRef, function () { return ({ + get checkedOption() { + return findOption(options, keyChecked); + }, + focus: function () { + focusSelectedOption(options, keyChecked, id, focusProviders); + }, + }); }, [options, keyChecked, id, focusProviders]); +}; +var COMPONENT_NAME = 'ChoiceGroup'; +exports.ChoiceGroupBase = React.forwardRef(function (props, forwardedRef) { + var className = props.className, theme = props.theme, styles = props.styles, _a = props.options, options = _a === void 0 ? [] : _a, label = props.label, required = props.required, disabled = props.disabled, name = props.name, defaultSelectedKey = props.defaultSelectedKey, componentRef = props.componentRef, onChange = props.onChange; + var id = (0, react_hooks_1.useId)('ChoiceGroup'); + var labelId = (0, react_hooks_1.useId)('ChoiceGroupLabel'); + var divProps = (0, Utilities_1.getNativeProps)(props, Utilities_1.divProperties, [ + 'onChange', + 'className', + 'required', + ]); + var classNames = getClassNames(styles, { + theme: theme, + className: className, + optionsContainIconOrImage: options.some(function (option) { return !!(option.iconProps || option.imageSrc); }), + }); + var ariaLabelledBy = props.ariaLabelledBy || (label ? labelId : props['aria-labelledby']); + var _b = (0, react_hooks_1.useControllableValue)(props.selectedKey, defaultSelectedKey), keyChecked = _b[0], setKeyChecked = _b[1]; + var _c = React.useState(), keyFocused = _c[0], setKeyFocused = _c[1]; + var rootRef = React.useRef(null); + var mergedRootRefs = (0, react_hooks_1.useMergedRefs)(rootRef, forwardedRef); + var focusContext = React.useContext(Utilities_1.FocusRectsContext); + useDebugWarnings(props); + useComponentRef(options, keyChecked, id, componentRef, focusContext === null || focusContext === void 0 ? void 0 : focusContext.registeredProviders); + (0, Utilities_1.useFocusRects)(rootRef); + var onFocus = React.useCallback(function (ev, option) { + var _a; + if (option) { + setKeyFocused(option.itemKey); + (_a = option.onFocus) === null || _a === void 0 ? void 0 : _a.call(option, ev); + } + }, []); + var onBlur = React.useCallback(function (ev, option) { + var _a; + setKeyFocused(undefined); + (_a = option === null || option === void 0 ? void 0 : option.onBlur) === null || _a === void 0 ? void 0 : _a.call(option, ev); + }, []); + var onOptionChange = React.useCallback(function (evt, option) { + var _a; + if (!option) { + return; + } + setKeyChecked(option.itemKey); + (_a = option.onChange) === null || _a === void 0 ? void 0 : _a.call(option, evt); + onChange === null || onChange === void 0 ? void 0 : onChange(evt, findOption(options, option.itemKey)); + }, [onChange, options, setKeyChecked]); + var onRadioFocus = React.useCallback(function (evt) { + // Handles scenarios like this bug: https://github.com/microsoft/fluentui/issues/20173 + if (focusFromFocusTrapZone(evt)) { + focusSelectedOption(options, keyChecked, id, focusContext === null || focusContext === void 0 ? void 0 : focusContext.registeredProviders); + } + }, [options, keyChecked, id, focusContext]); + return (React.createElement("div", tslib_1.__assign({ className: classNames.root }, divProps, { ref: mergedRootRefs }), + React.createElement("div", tslib_1.__assign({ role: "radiogroup" }, (ariaLabelledBy && { 'aria-labelledby': ariaLabelledBy }), { onFocus: onRadioFocus }), + label && (React.createElement(Label_1.Label, { className: classNames.label, required: required, id: labelId, disabled: disabled }, label)), + React.createElement("div", { className: classNames.flexContainer }, options.map(function (option) { + return (React.createElement(index_1.ChoiceGroupOption, tslib_1.__assign({ itemKey: option.key }, option, { key: option.key, onBlur: onBlur, onFocus: onFocus, onChange: onOptionChange, focused: option.key === keyFocused, checked: option.key === keyChecked, disabled: option.disabled || disabled, id: getOptionId(option, id), labelId: option.labelId || "".concat(labelId, "-").concat(option.key), name: name || id, required: required }))); + }))))); +}); +exports.ChoiceGroupBase.displayName = COMPONENT_NAME; +function useDebugWarnings(props) { + if (true) { + // eslint-disable-next-line react-hooks/rules-of-hooks -- build-time conditional + (0, react_hooks_1.useWarnings)({ + name: COMPONENT_NAME, + props: props, + mutuallyExclusive: { + selectedKey: 'defaultSelectedKey', + }, + }); + } +} +//# sourceMappingURL=ChoiceGroup.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ChoiceGroup = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ChoiceGroup_base_1 = __webpack_require__(/*! ./ChoiceGroup.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.base.js"); +var ChoiceGroup_styles_1 = __webpack_require__(/*! ./ChoiceGroup.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.styles.js"); +exports.ChoiceGroup = (0, Utilities_1.styled)(ChoiceGroup_base_1.ChoiceGroupBase, ChoiceGroup_styles_1.getStyles, undefined, { scope: 'ChoiceGroup' }); +//# sourceMappingURL=ChoiceGroup.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.styles.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.styles.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var GlobalClassNames = { + root: 'ms-ChoiceFieldGroup', + flexContainer: 'ms-ChoiceFieldGroup-flexContainer', +}; +var getStyles = function (props) { + var className = props.className, optionsContainIconOrImage = props.optionsContainIconOrImage, theme = props.theme; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + root: [ + className, + classNames.root, + theme.fonts.medium, + { + display: 'block', + }, + ], + flexContainer: [ + classNames.flexContainer, + optionsContainIconOrImage && { + display: 'flex', + flexDirection: 'row', + flexWrap: 'wrap', + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=ChoiceGroup.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.types.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.types.js ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=ChoiceGroup.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.base.js": +/*!**********************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.base.js ***! + \**********************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ChoiceGroupOptionBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Image_1 = __webpack_require__(/*! ../../../Image */ "./node_modules/@fluentui/react/lib-commonjs/Image.js"); +var Icon_1 = __webpack_require__(/*! ../../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var LARGE_IMAGE_SIZE = 71; +var DEFAULT_PROPS = { + // This ensures default imageSize value doesn't mutate. Mutation can cause style re-calcuation. + imageSize: { width: 32, height: 32 }, +}; +var ChoiceGroupOptionBase = function (propsWithoutDefaults) { + // Mix the `key` prop back in since custom render functions may be expecting it + // (React uses `key` internally rather than passing it through to the component) + var props = (0, Utilities_1.getPropsWithDefaults)(tslib_1.__assign(tslib_1.__assign({}, DEFAULT_PROPS), { key: propsWithoutDefaults.itemKey }), propsWithoutDefaults); + var ariaLabel = props.ariaLabel, focused = props.focused, required = props.required, theme = props.theme, iconProps = props.iconProps, imageSrc = props.imageSrc, imageSize = props.imageSize, disabled = props.disabled, checked = props.checked, id = props.id, styles = props.styles, name = props.name, rest = tslib_1.__rest(props, ["ariaLabel", "focused", "required", "theme", "iconProps", "imageSrc", "imageSize", "disabled", "checked", "id", "styles", "name"]); + var classNames = getClassNames(styles, { + theme: theme, + hasIcon: !!iconProps, + hasImage: !!imageSrc, + checked: checked, + disabled: disabled, + imageIsLarge: !!imageSrc && (imageSize.width > LARGE_IMAGE_SIZE || imageSize.height > LARGE_IMAGE_SIZE), + imageSize: imageSize, + focused: focused, + }); + var _a = (0, Utilities_1.getNativeProps)(rest, Utilities_1.inputProperties), className = _a.className, nativeProps = tslib_1.__rest(_a, ["className"]); + var defaultOnRenderLabel = function () { + return (React.createElement("span", { id: props.labelId, className: "ms-ChoiceFieldLabel" }, props.text)); + }; + var defaultOnRenderField = function () { + var _a = props.imageAlt, imageAlt = _a === void 0 ? '' : _a, selectedImageSrc = props.selectedImageSrc; + var onRenderLabel = props.onRenderLabel + ? (0, Utilities_1.composeRenderFunction)(props.onRenderLabel, defaultOnRenderLabel) + : defaultOnRenderLabel; + var label = onRenderLabel(tslib_1.__assign(tslib_1.__assign({}, props), { key: props.itemKey })); + return (React.createElement("label", { htmlFor: id, className: classNames.field }, + imageSrc && (React.createElement("div", { className: classNames.innerField }, + React.createElement("div", { className: classNames.imageWrapper }, + React.createElement(Image_1.Image, tslib_1.__assign({ src: imageSrc, alt: imageAlt }, imageSize))), + React.createElement("div", { className: classNames.selectedImageWrapper }, + React.createElement(Image_1.Image, tslib_1.__assign({ src: selectedImageSrc, alt: imageAlt }, imageSize))))), + iconProps && (React.createElement("div", { className: classNames.innerField }, + React.createElement("div", { className: classNames.iconWrapper }, + React.createElement(Icon_1.Icon, tslib_1.__assign({}, iconProps))))), + imageSrc || iconProps ? React.createElement("div", { className: classNames.labelWrapper }, label) : label)); + }; + var _b = props.onRenderField, onRenderField = _b === void 0 ? defaultOnRenderField : _b; + var onChange = function (evt) { + var _a; + (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, evt, tslib_1.__assign(tslib_1.__assign({}, props), { key: props.itemKey })); + }; + var onBlur = function (evt) { + var _a; + (_a = props.onBlur) === null || _a === void 0 ? void 0 : _a.call(props, evt); + }; + var onFocus = function (evt) { + var _a; + (_a = props.onFocus) === null || _a === void 0 ? void 0 : _a.call(props, evt, tslib_1.__assign(tslib_1.__assign({}, props), { key: props.itemKey })); + }; + return (React.createElement("div", { className: classNames.root }, + React.createElement("div", { className: classNames.choiceFieldWrapper }, + React.createElement("input", tslib_1.__assign({ "aria-label": ariaLabel, id: id, className: (0, Utilities_1.css)(classNames.input, className), type: "radio", name: name, disabled: disabled, checked: checked, required: required }, nativeProps, { onChange: onChange, onFocus: onFocus, onBlur: onBlur })), + onRenderField(tslib_1.__assign(tslib_1.__assign({}, props), { key: props.itemKey }), defaultOnRenderField)))); +}; +exports.ChoiceGroupOptionBase = ChoiceGroupOptionBase; +exports.ChoiceGroupOptionBase.displayName = 'ChoiceGroupOption'; +//# sourceMappingURL=ChoiceGroupOption.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.js": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.js ***! + \*****************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ChoiceGroupOption = void 0; +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ChoiceGroupOption_base_1 = __webpack_require__(/*! ./ChoiceGroupOption.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.base.js"); +var ChoiceGroupOption_styles_1 = __webpack_require__(/*! ./ChoiceGroupOption.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.styles.js"); +exports.ChoiceGroupOption = (0, Utilities_1.styled)(ChoiceGroupOption_base_1.ChoiceGroupOptionBase, ChoiceGroupOption_styles_1.getStyles, undefined, { scope: 'ChoiceGroupOption' }); +//# sourceMappingURL=ChoiceGroupOption.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.styles.js": +/*!************************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.styles.js ***! + \************************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var GlobalClassNames = { + root: 'ms-ChoiceField', + choiceFieldWrapper: 'ms-ChoiceField-wrapper', + input: 'ms-ChoiceField-input', + field: 'ms-ChoiceField-field', + innerField: 'ms-ChoiceField-innerField', + imageWrapper: 'ms-ChoiceField-imageWrapper', + iconWrapper: 'ms-ChoiceField-iconWrapper', + labelWrapper: 'ms-ChoiceField-labelWrapper', + checked: 'is-checked', +}; +var labelWrapperLineHeight = 15; +var labelWrapperHeight = labelWrapperLineHeight * 2 + 2; // adding 2px height to ensure text doesn't get cutoff +var iconSize = 32; +var choiceFieldSize = 20; +var choiceFieldTransitionDuration = '200ms'; +var choiceFieldTransitionTiming = 'cubic-bezier(.4, 0, .23, 1)'; +var radioButtonSpacing = 3; +var radioButtonInnerSize = 5; +function getChoiceGroupFocusStyle(focusBorderColor, hasIconOrImage) { + var _a, _b; + return [ + 'is-inFocus', + { + selectors: (_a = {}, + _a[".".concat(Utilities_1.IsFocusVisibleClassName, " &")] = { + position: 'relative', + outline: 'transparent', + selectors: { + '::-moz-focus-inner': { + border: 0, + }, + ':after': { + content: '""', + top: -2, + right: -2, + bottom: -2, + left: -2, + pointerEvents: 'none', + border: "1px solid ".concat(focusBorderColor), + position: 'absolute', + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + borderColor: 'WindowText', + borderWidth: hasIconOrImage ? 1 : 2, + }, + _b), + }, + }, + }, + _a), + }, + ]; +} +function getImageWrapperStyle(isSelectedImageWrapper, className, checked) { + return [ + className, + { + paddingBottom: 2, + transitionProperty: 'opacity', + transitionDuration: choiceFieldTransitionDuration, + transitionTimingFunction: 'ease', + selectors: { + '.ms-Image': { + display: 'inline-block', + borderStyle: 'none', + }, + }, + }, + (checked ? !isSelectedImageWrapper : isSelectedImageWrapper) && [ + 'is-hidden', + { + position: 'absolute', + left: 0, + top: 0, + width: '100%', + height: '100%', + overflow: 'hidden', + opacity: 0, + }, + ], + ]; +} +var getStyles = function (props) { + var _a, _b, _c, _d, _e; + var theme = props.theme, hasIcon = props.hasIcon, hasImage = props.hasImage, checked = props.checked, disabled = props.disabled, imageIsLarge = props.imageIsLarge, focused = props.focused, imageSize = props.imageSize; + var palette = theme.palette, semanticColors = theme.semanticColors, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + // Tokens + // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.smallInputBorder + var circleBorderColor = palette.neutralPrimary; + var circleHoveredBorderColor = semanticColors.inputBorderHovered; + var circleCheckedBorderColor = semanticColors.inputBackgroundChecked; + // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.inputBackgroundCheckedHovered + var circleCheckedHoveredBorderColor = palette.themeDark; + var circleDisabledBorderColor = semanticColors.disabledBodySubtext; + var circleBackgroundColor = semanticColors.bodyBackground; + var dotUncheckedHoveredColor = palette.neutralSecondary; + var dotCheckedColor = semanticColors.inputBackgroundChecked; + // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.inputBackgroundCheckedHovered + var dotCheckedHoveredColor = palette.themeDark; + var dotDisabledColor = semanticColors.disabledBodySubtext; + // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.bodyTextChecked + var labelHoverFocusColor = palette.neutralDark; + var focusBorderColor = semanticColors.focusBorder; + var iconOrImageChoiceBorderUncheckedHoveredColor = semanticColors.inputBorderHovered; + // TODO: after updating the semanticColors slots mapping this needs to be semanticColors.inputBackgroundCheckedHovered + var iconOrImageChoiceBorderCheckedColor = semanticColors.inputBackgroundChecked; + var iconOrImageChoiceBorderCheckedHoveredColor = palette.themeDark; + var iconOrImageChoiceBackgroundColor = palette.neutralLighter; + var fieldHoverOrFocusProperties = { + selectors: { + '.ms-ChoiceFieldLabel': { + color: labelHoverFocusColor, + }, + ':before': { + borderColor: checked ? circleCheckedHoveredBorderColor : circleHoveredBorderColor, + }, + ':after': [ + !hasIcon && + !hasImage && + !checked && { + content: '""', + transitionProperty: 'background-color', + left: 5, + top: 5, + width: 10, + height: 10, + backgroundColor: dotUncheckedHoveredColor, + }, + checked && { + borderColor: dotCheckedHoveredColor, + background: dotCheckedHoveredColor, + }, + ], + }, + }; + var enabledFieldWithImageHoverOrFocusProperties = { + borderColor: checked ? iconOrImageChoiceBorderCheckedHoveredColor : iconOrImageChoiceBorderUncheckedHoveredColor, + selectors: { + ':before': { + opacity: 1, + borderColor: checked ? circleCheckedHoveredBorderColor : circleHoveredBorderColor, + }, + }, + }; + var circleAreaProperties = [ + { + content: '""', + display: 'inline-block', + backgroundColor: circleBackgroundColor, + borderWidth: 1, + borderStyle: 'solid', + borderColor: circleBorderColor, + width: choiceFieldSize, + height: choiceFieldSize, + fontWeight: 'normal', + position: 'absolute', + top: 0, + left: 0, + boxSizing: 'border-box', + transitionProperty: 'border-color', + transitionDuration: choiceFieldTransitionDuration, + transitionTimingFunction: choiceFieldTransitionTiming, + borderRadius: '50%', + }, + disabled && { + borderColor: circleDisabledBorderColor, + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = tslib_1.__assign({ borderColor: 'GrayText', background: 'Window' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _a), + }, + checked && { + borderColor: disabled ? circleDisabledBorderColor : circleCheckedBorderColor, + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + borderColor: 'Highlight', + background: 'Window', + forcedColorAdjust: 'none', + }, + _b), + }, + (hasIcon || hasImage) && { + top: radioButtonSpacing, + right: radioButtonSpacing, + left: 'auto', + opacity: checked ? 1 : 0, + }, + ]; + var dotAreaProperties = [ + { + content: '""', + width: 0, + height: 0, + borderRadius: '50%', + position: 'absolute', + left: choiceFieldSize / 2, + right: 0, + transitionProperty: 'border-width', + transitionDuration: choiceFieldTransitionDuration, + transitionTimingFunction: choiceFieldTransitionTiming, + boxSizing: 'border-box', + }, + checked && { + borderWidth: 5, + borderStyle: 'solid', + borderColor: disabled ? dotDisabledColor : dotCheckedColor, + background: dotCheckedColor, + left: 5, + top: 5, + width: 10, + height: 10, + selectors: (_c = {}, + _c[Styling_1.HighContrastSelector] = { + borderColor: 'Highlight', + forcedColorAdjust: 'none', + }, + _c), + }, + checked && + (hasIcon || hasImage) && { + top: radioButtonSpacing + radioButtonInnerSize, + right: radioButtonSpacing + radioButtonInnerSize, + left: 'auto', // To reset the value of 'left' to its default value, so that 'right' works + }, + ]; + return { + root: [ + classNames.root, + theme.fonts.medium, + { + display: 'flex', + alignItems: 'center', + boxSizing: 'border-box', + color: semanticColors.bodyText, + minHeight: 26, + border: 'none', + position: 'relative', + marginTop: 8, + selectors: { + '.ms-ChoiceFieldLabel': { + display: 'inline-block', + }, + }, + }, + !hasIcon && + !hasImage && { + selectors: { + '.ms-ChoiceFieldLabel': { + paddingLeft: '26px', + }, + }, + }, + hasImage && 'ms-ChoiceField--image', + hasIcon && 'ms-ChoiceField--icon', + (hasIcon || hasImage) && { + display: 'inline-flex', + fontSize: 0, + margin: '0 4px 4px 0', + paddingLeft: 0, + backgroundColor: iconOrImageChoiceBackgroundColor, + height: '100%', + }, + ], + choiceFieldWrapper: [ + classNames.choiceFieldWrapper, + focused && getChoiceGroupFocusStyle(focusBorderColor, hasIcon || hasImage), + ], + // The hidden input + input: [ + classNames.input, + { + position: 'absolute', + opacity: 0, + top: 0, + right: 0, + width: '100%', + height: '100%', + margin: 0, + }, + disabled && 'is-disabled', + ], + field: [ + classNames.field, + checked && classNames.checked, + { + display: 'inline-block', + cursor: 'pointer', + marginTop: 0, + position: 'relative', + verticalAlign: 'top', + userSelect: 'none', + minHeight: 20, + selectors: { + ':hover': !disabled && fieldHoverOrFocusProperties, + ':focus': !disabled && fieldHoverOrFocusProperties, + // The circle + ':before': circleAreaProperties, + // The dot + ':after': dotAreaProperties, + }, + }, + hasIcon && 'ms-ChoiceField--icon', + hasImage && 'ms-ChoiceField-field--image', + (hasIcon || hasImage) && { + boxSizing: 'content-box', + cursor: 'pointer', + paddingTop: 22, + margin: 0, + textAlign: 'center', + transitionProperty: 'all', + transitionDuration: choiceFieldTransitionDuration, + transitionTimingFunction: 'ease', + border: '1px solid transparent', + justifyContent: 'center', + alignItems: 'center', + display: 'flex', + flexDirection: 'column', + }, + checked && { + borderColor: iconOrImageChoiceBorderCheckedColor, + }, + (hasIcon || hasImage) && + !disabled && { + selectors: { + ':hover': enabledFieldWithImageHoverOrFocusProperties, + ':focus': enabledFieldWithImageHoverOrFocusProperties, + }, + }, + disabled && { + cursor: 'default', + selectors: { + '.ms-ChoiceFieldLabel': { + color: semanticColors.disabledBodyText, + selectors: (_d = {}, + _d[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'GrayText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _d), + }, + }, + }, + checked && + disabled && { + borderColor: iconOrImageChoiceBackgroundColor, + }, + ], + innerField: [ + classNames.innerField, + hasImage && { + // using non-null assertion because we have a default in `ChoiceGroupOptionBase` class. + height: imageSize.height, + width: imageSize.width, + }, + (hasIcon || hasImage) && { + position: 'relative', + display: 'inline-block', + paddingLeft: 30, + paddingRight: 30, + }, + (hasIcon || hasImage) && + imageIsLarge && { + paddingLeft: 24, + paddingRight: 24, + }, + (hasIcon || hasImage) && + disabled && { + opacity: 0.25, + selectors: (_e = {}, + _e[Styling_1.HighContrastSelector] = { + color: 'GrayText', + opacity: 1, + }, + _e), + }, + ], + imageWrapper: getImageWrapperStyle(false, classNames.imageWrapper, checked), + selectedImageWrapper: getImageWrapperStyle(true, classNames.imageWrapper, checked), + iconWrapper: [ + classNames.iconWrapper, + { + fontSize: iconSize, + lineHeight: iconSize, + height: iconSize, + }, + ], + labelWrapper: [ + classNames.labelWrapper, + fonts.medium, + (hasIcon || hasImage) && { + display: 'block', + position: 'relative', + margin: '4px 8px 2px 8px', + height: labelWrapperHeight, + lineHeight: labelWrapperLineHeight, + // using non-null assertion because we have a default in `ChoiceGroupOptionBase` class. + maxWidth: imageSize.width * 2, + overflow: 'hidden', + whiteSpace: 'pre-wrap', + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=ChoiceGroupOption.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.types.js": +/*!***********************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.types.js ***! + \***********************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=ChoiceGroupOption.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/index.js": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/index.js ***! + \*****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./ChoiceGroupOption */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ChoiceGroupOption.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/ChoiceGroupOption.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/index.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/index.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./ChoiceGroup */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ChoiceGroup.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ChoiceGroup.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ChoiceGroupOption/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroupOption/index.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Beak/Beak.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Beak/Beak.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Beak = exports.BEAK_WIDTH = exports.BEAK_HEIGHT = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Beak_styles_1 = __webpack_require__(/*! ./Beak.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Beak/Beak.styles.js"); +var Positioning_1 = __webpack_require__(/*! ../../../Positioning */ "./node_modules/@fluentui/react/lib-commonjs/Positioning.js"); +exports.BEAK_HEIGHT = 10; +exports.BEAK_WIDTH = 18; +exports.Beak = React.forwardRef(function (props, forwardedRef) { + var left = props.left, top = props.top, bottom = props.bottom, right = props.right, color = props.color, _a = props.direction, direction = _a === void 0 ? Positioning_1.RectangleEdge.top : _a; + var svgHeight; + var svgWidth; + if (direction === Positioning_1.RectangleEdge.top || direction === Positioning_1.RectangleEdge.bottom) { + svgHeight = exports.BEAK_HEIGHT; + svgWidth = exports.BEAK_WIDTH; + } + else { + svgHeight = exports.BEAK_WIDTH; + svgWidth = exports.BEAK_HEIGHT; + } + var pointOne; + var pointTwo; + var pointThree; + var transform; + switch (direction) { + case Positioning_1.RectangleEdge.top: + default: + pointOne = "".concat(exports.BEAK_WIDTH / 2, ", 0"); + pointTwo = "".concat(exports.BEAK_WIDTH, ", ").concat(exports.BEAK_HEIGHT); + pointThree = "0, ".concat(exports.BEAK_HEIGHT); + transform = 'translateY(-100%)'; + break; + case Positioning_1.RectangleEdge.right: + pointOne = "0, 0"; + pointTwo = "".concat(exports.BEAK_HEIGHT, ", ").concat(exports.BEAK_HEIGHT); + pointThree = "0, ".concat(exports.BEAK_WIDTH); + transform = 'translateX(100%)'; + break; + case Positioning_1.RectangleEdge.bottom: + pointOne = "0, 0"; + pointTwo = "".concat(exports.BEAK_WIDTH, ", 0"); + pointThree = "".concat(exports.BEAK_WIDTH / 2, ", ").concat(exports.BEAK_HEIGHT); + transform = 'translateY(100%)'; + break; + case Positioning_1.RectangleEdge.left: + pointOne = "".concat(exports.BEAK_HEIGHT, ", 0"); + pointTwo = "0, ".concat(exports.BEAK_HEIGHT); + pointThree = "".concat(exports.BEAK_HEIGHT, ", ").concat(exports.BEAK_WIDTH); + transform = 'translateX(-100%)'; + break; + } + var getClassNames = (0, Utilities_1.classNamesFunction)(); + var classNames = getClassNames(Beak_styles_1.getStyles, { + left: left, + top: top, + bottom: bottom, + right: right, + height: "".concat(svgHeight, "px"), + width: "".concat(svgWidth, "px"), + transform: transform, + color: color, + }); + return (React.createElement("div", { className: classNames.root, role: "presentation", ref: forwardedRef }, + React.createElement("svg", { height: svgHeight, width: svgWidth, className: classNames.beak }, + React.createElement("polygon", { points: pointOne + ' ' + pointTwo + ' ' + pointThree })))); +}); +exports.Beak.displayName = 'Beak'; +//# sourceMappingURL=Beak.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Beak/Beak.styles.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Beak/Beak.styles.js ***! + \********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +function getStyles(props) { + var _a; + return { + root: [ + { + position: 'absolute', + boxShadow: 'inherit', + border: 'none', + boxSizing: 'border-box', + transform: props.transform, + width: props.width, + height: props.height, + left: props.left, + top: props.top, + right: props.right, + bottom: props.bottom, + }, + ], + beak: { + fill: props.color, + display: 'block', + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + fill: 'windowtext', + }, + _a), + }, + }; +} +exports.getStyles = getStyles; +//# sourceMappingURL=Beak.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.base.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.base.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CoachmarkBase = exports.COACHMARK_ATTRIBUTE_NAME = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +// Utilities +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Positioning_1 = __webpack_require__(/*! ../../Positioning */ "./node_modules/@fluentui/react/lib-commonjs/Positioning.js"); +// Component Dependencies +var index_1 = __webpack_require__(/*! ./PositioningContainer/index */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/index.js"); +var Beak_1 = __webpack_require__(/*! ./Beak/Beak */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Beak/Beak.js"); +var DirectionalHint_1 = __webpack_require__(/*! ../../common/DirectionalHint */ "./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js"); +// Coachmark +var Coachmark_styles_1 = __webpack_require__(/*! ./Coachmark.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.styles.js"); +var FocusTrapZone_1 = __webpack_require__(/*! ../../FocusTrapZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusTrapZone.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +exports.COACHMARK_ATTRIBUTE_NAME = 'data-coachmarkid'; +var DEFAULT_PROPS = { + isCollapsed: true, + mouseProximityOffset: 10, + delayBeforeMouseOpen: 3600, + delayBeforeCoachmarkAnimation: 0, + isPositionForced: true, + positioningContainerProps: { + directionalHint: DirectionalHint_1.DirectionalHint.bottomAutoEdge, + }, +}; +function useCollapsedState(props, entityInnerHostElementRef) { + var propsIsCollapsed = props.isCollapsed, onAnimationOpenStart = props.onAnimationOpenStart, onAnimationOpenEnd = props.onAnimationOpenEnd; + /** Is the Coachmark currently collapsed into a tear drop shape */ + var _a = React.useState(!!propsIsCollapsed), isCollapsed = _a[0], setIsCollapsed = _a[1]; + var setTimeout = (0, react_hooks_1.useSetTimeout)().setTimeout; + // Rather than pushing out logic elsewhere to prevent openCoachmark from being called repeatedly, + // we'll track it here and only invoke the logic once. We do this with a ref, rather than just the state, + // because the openCoachmark callback can be captured in scope for an effect + var hasCoachmarkBeenOpened = React.useRef(!isCollapsed); + var openCoachmark = React.useCallback(function () { + var _a, _b; + if (!hasCoachmarkBeenOpened.current) { + setIsCollapsed(false); + onAnimationOpenStart === null || onAnimationOpenStart === void 0 ? void 0 : onAnimationOpenStart(); + (_b = (_a = entityInnerHostElementRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener) === null || _b === void 0 ? void 0 : _b.call(_a, 'transitionend', function () { + // Need setTimeout to trigger narrator + setTimeout(function () { + if (entityInnerHostElementRef.current) { + (0, Utilities_1.focusFirstChild)(entityInnerHostElementRef.current); + } + }, 1000); + onAnimationOpenEnd === null || onAnimationOpenEnd === void 0 ? void 0 : onAnimationOpenEnd(); + }); + hasCoachmarkBeenOpened.current = true; + } + }, [entityInnerHostElementRef, onAnimationOpenEnd, onAnimationOpenStart, setTimeout]); + React.useEffect(function () { + if (!propsIsCollapsed) { + openCoachmark(); + } + // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run if isCollapsed changes + }, [propsIsCollapsed]); + return [isCollapsed, openCoachmark]; +} +function usePositionedData() { + var async = (0, react_hooks_1.useAsync)(); + /** + * Alignment edge of callout in relation to target + */ + var _a = React.useState(), targetAlignment = _a[0], setTargetAlignment = _a[1]; + /** + * Position of Coachmark/TeachingBubble in relation to target + */ + var _b = React.useState(), targetPosition = _b[0], setTargetPosition = _b[1]; + var onPositioned = function (_a) { + var alignmentEdge = _a.alignmentEdge, targetEdge = _a.targetEdge; + return async.requestAnimationFrame(function () { + setTargetAlignment(alignmentEdge); + setTargetPosition(targetEdge); + }); + }; + return [targetAlignment, targetPosition, onPositioned]; +} +function useBeakPosition(props, targetAlignment, targetPosition) { + var isRTL = (0, Utilities_1.getRTL)(props.theme); + return React.useMemo(function () { + var beakDirection = targetPosition === undefined ? Positioning_1.RectangleEdge.bottom : (0, Positioning_1.getOppositeEdge)(targetPosition); + var beakPosition = { direction: beakDirection }; + var transformOriginX; + var transformOriginY; + var distanceAdjustment = '3px'; // Adjustment distance for Beak to shift towards Coachmark bubble. + switch (beakDirection) { + // If Beak is pointing Up or Down + case Positioning_1.RectangleEdge.top: + case Positioning_1.RectangleEdge.bottom: + // If there is no target alignment, then beak is X-axis centered in callout + if (!targetAlignment) { + beakPosition.left = "calc(50% - ".concat(Beak_1.BEAK_WIDTH / 2, "px)"); + transformOriginX = 'center'; + } + else { + // Beak is aligned to the left of target + if (targetAlignment === Positioning_1.RectangleEdge.left) { + beakPosition.left = "".concat(Coachmark_styles_1.COACHMARK_WIDTH / 2 - Beak_1.BEAK_WIDTH / 2, "px"); + transformOriginX = 'left'; + } + else { + // Beak is aligned to the right of target + beakPosition.right = "".concat(Coachmark_styles_1.COACHMARK_WIDTH / 2 - Beak_1.BEAK_WIDTH / 2, "px"); + transformOriginX = 'right'; + } + } + if (beakDirection === Positioning_1.RectangleEdge.top) { + beakPosition.top = distanceAdjustment; + transformOriginY = 'top'; + } + else { + beakPosition.bottom = distanceAdjustment; + transformOriginY = 'bottom'; + } + break; + // If Beak is pointing Left or Right + case Positioning_1.RectangleEdge.left: + case Positioning_1.RectangleEdge.right: + // If there is no target alignment, then beak is Y-axis centered in callout + if (!targetAlignment) { + beakPosition.top = "calc(50% - ".concat(Beak_1.BEAK_WIDTH / 2, "px)"); + transformOriginY = "center"; + } + else { + // Beak is aligned to the top of target + if (targetAlignment === Positioning_1.RectangleEdge.top) { + beakPosition.top = "".concat(Coachmark_styles_1.COACHMARK_WIDTH / 2 - Beak_1.BEAK_WIDTH / 2, "px"); + transformOriginY = "top"; + } + else { + // Beak is aligned to the bottom of target + beakPosition.bottom = "".concat(Coachmark_styles_1.COACHMARK_WIDTH / 2 - Beak_1.BEAK_WIDTH / 2, "px"); + transformOriginY = "bottom"; + } + } + if (beakDirection === Positioning_1.RectangleEdge.left) { + if (isRTL) { + beakPosition.right = distanceAdjustment; + } + else { + beakPosition.left = distanceAdjustment; + } + transformOriginX = 'left'; + } + else { + if (isRTL) { + beakPosition.left = distanceAdjustment; + } + else { + beakPosition.right = distanceAdjustment; + } + transformOriginX = 'right'; + } + break; + } + return [beakPosition, "".concat(transformOriginX, " ").concat(transformOriginY)]; + }, [targetAlignment, targetPosition, isRTL]); +} +function useListeners(props, translateAnimationContainer, openCoachmark) { + var _a; + var document = (_a = (0, Utilities_1.getDocument)()) === null || _a === void 0 ? void 0 : _a.documentElement; + (0, react_hooks_1.useOnEvent)(document, 'keydown', function (e) { + var _a, _b; + // Open coachmark if user presses ALT + C (arbitrary keypress for now) + if ( + // eslint-disable-next-line deprecation/deprecation + (e.altKey && e.which === Utilities_1.KeyCodes.c) || + // eslint-disable-next-line deprecation/deprecation + (e.which === Utilities_1.KeyCodes.enter && ((_b = (_a = translateAnimationContainer.current) === null || _a === void 0 ? void 0 : _a.contains) === null || _b === void 0 ? void 0 : _b.call(_a, e.target)))) { + openCoachmark(); + } + }, true); + var dismissOnLostFocus = function (ev) { + var _a; + if (props.preventDismissOnLostFocus) { + var clickTarget = ev.target; + var clickedOutsideCallout = translateAnimationContainer.current && !(0, Utilities_1.elementContains)(translateAnimationContainer.current, clickTarget); + var target = props.target; + if (clickedOutsideCallout && clickTarget !== target && !(0, Utilities_1.elementContains)(target, clickTarget)) { + (_a = props.onDismiss) === null || _a === void 0 ? void 0 : _a.call(props, ev); + } + } + }; + (0, react_hooks_1.useOnEvent)(document, 'click', dismissOnLostFocus, true); + (0, react_hooks_1.useOnEvent)(document, 'focus', dismissOnLostFocus, true); +} +function useProximityHandlers(props, translateAnimationContainer, openCoachmark, setBounds) { + var _a = (0, react_hooks_1.useSetTimeout)(), setTimeout = _a.setTimeout, clearTimeout = _a.clearTimeout; + /** The target element the mouse would be in proximity to */ + var targetElementRect = React.useRef(); + React.useEffect(function () { + var setTargetElementRect = function () { + if (translateAnimationContainer.current) { + targetElementRect.current = translateAnimationContainer.current.getBoundingClientRect(); + } + }; + var events = new Utilities_1.EventGroup({}); + // We don't want the user to immediately trigger the Coachmark when it's opened + setTimeout(function () { + var _a = props.mouseProximityOffset, mouseProximityOffset = _a === void 0 ? 0 : _a; + /** Cached ids returned when setTimeout runs during the window resize event trigger. */ + var timeoutIds = []; + // Take the initial measure out of the initial render to prevent an unnecessary render. + setTimeout(function () { + setTargetElementRect(); + // When the window resizes we want to async get the bounding client rectangle. + // Every time the event is triggered we want to setTimeout and then clear any previous + // instances of setTimeout. + events.on(window, 'resize', function () { + timeoutIds.forEach(function (value) { + clearTimeout(value); + }); + timeoutIds.splice(0, timeoutIds.length); // clear array + timeoutIds.push(setTimeout(function () { + setTargetElementRect(); + setBounds(getBounds(props.isPositionForced, props.positioningContainerProps)); + }, 100)); + }); + }, 10); + // Every time the document's mouse move is triggered, we want to check if inside of an element + // and set the state with the result. + events.on(document, 'mousemove', function (e) { + var _a; + var mouseY = e.clientY; + var mouseX = e.clientX; + setTargetElementRect(); + if (isInsideElement(targetElementRect.current, mouseX, mouseY, mouseProximityOffset)) { + openCoachmark(); + } + (_a = props.onMouseMove) === null || _a === void 0 ? void 0 : _a.call(props, e); + }); + }, props.delayBeforeMouseOpen); + return function () { return events.dispose(); }; + // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run on mount + }, []); +} +function useComponentRef(props) { + var onDismiss = props.onDismiss; + React.useImperativeHandle(props.componentRef, function (ev) { return ({ + dismiss: function () { + onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss(ev); + }, + }); }, [onDismiss]); +} +function useAriaAlert(_a) { + var ariaAlertText = _a.ariaAlertText; + var async = (0, react_hooks_1.useAsync)(); + /** ARIA alert text to read aloud with Narrator once the Coachmark is mounted */ + var _b = React.useState(), alertText = _b[0], setAlertText = _b[1]; + React.useEffect(function () { + // Need to add RAF to have narrator read change in alert container + async.requestAnimationFrame(function () { + setAlertText(ariaAlertText); + }); + // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run on mount + }, []); + return alertText; +} +function useAutoFocus(_a) { + var preventFocusOnMount = _a.preventFocusOnMount; + var setTimeout = (0, react_hooks_1.useSetTimeout)().setTimeout; + /** + * The cached HTMLElement reference to the Entity Inner Host + * element. + */ + var entityHost = React.useRef(null); + React.useEffect(function () { + if (!preventFocusOnMount) { + setTimeout(function () { var _a; return (_a = entityHost.current) === null || _a === void 0 ? void 0 : _a.focus(); }, 1000); + } + // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run on mount + }, []); + return entityHost; +} +function useEntityHostMeasurements(props, entityInnerHostElementRef) { + /** Is the teaching bubble currently retrieving the original dimensions of the hosted entity. */ + var _a = React.useState(!!props.isCollapsed), isMeasuring = _a[0], setIsMeasuring = _a[1]; + /** Cached width and height of _entityInnerHostElement */ + var _b = React.useState(props.isCollapsed ? { width: 0, height: 0 } : {}), entityInnerHostRect = _b[0], setEntityInnerHostRect = _b[1]; + var async = (0, react_hooks_1.useAsync)(); + React.useEffect(function () { + async.requestAnimationFrame(function () { + if (entityInnerHostElementRef.current) { + setEntityInnerHostRect({ + width: entityInnerHostElementRef.current.offsetWidth, + height: entityInnerHostElementRef.current.offsetHeight, + }); + setIsMeasuring(false); + } + }); + // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run on mount + }, []); + return [isMeasuring, entityInnerHostRect]; +} +function useDeprecationWarning(props) { + if (true) { + // eslint-disable-next-line react-hooks/rules-of-hooks -- build-time conditional + (0, react_hooks_1.useWarnings)({ + name: COMPONENT_NAME, + props: props, + deprecations: { + teachingBubbleRef: undefined, + collapsed: 'isCollapsed', + beakWidth: undefined, + beakHeight: undefined, + width: undefined, + height: undefined, + }, + }); + } +} +var COMPONENT_NAME = 'CoachmarkBase'; +exports.CoachmarkBase = React.forwardRef(function (propsWithoutDefaults, forwardedRef) { + var props = (0, Utilities_1.getPropsWithDefaults)(DEFAULT_PROPS, propsWithoutDefaults); + var entityInnerHostElementRef = React.useRef(null); + var translateAnimationContainer = React.useRef(null); + var _a = usePositionedData(), targetAlignment = _a[0], targetPosition = _a[1], onPositioned = _a[2]; + var _b = useCollapsedState(props, entityInnerHostElementRef), isCollapsed = _b[0], openCoachmark = _b[1]; + var _c = useBeakPosition(props, targetAlignment, targetPosition), beakPositioningProps = _c[0], transformOrigin = _c[1]; + var _d = useEntityHostMeasurements(props, entityInnerHostElementRef), isMeasuring = _d[0], entityInnerHostRect = _d[1]; + var _e = React.useState(getBounds(props.isPositionForced, props.positioningContainerProps)), bounds = _e[0], setBounds = _e[1]; + var alertText = useAriaAlert(props); + var entityHost = useAutoFocus(props); + useListeners(props, translateAnimationContainer, openCoachmark); + useComponentRef(props); + useProximityHandlers(props, translateAnimationContainer, openCoachmark, setBounds); + useDeprecationWarning(props); + React.useEffect(function () { + setBounds(getBounds(props.isPositionForced, props.positioningContainerProps)); + }, [props.isPositionForced, props.positioningContainerProps]); + var beaconColorOne = props.beaconColorOne, beaconColorTwo = props.beaconColorTwo, children = props.children, target = props.target, color = props.color, positioningContainerProps = props.positioningContainerProps, ariaDescribedBy = props.ariaDescribedBy, ariaDescribedByText = props.ariaDescribedByText, ariaLabelledBy = props.ariaLabelledBy, ariaLabelledByText = props.ariaLabelledByText, ariaAlertText = props.ariaAlertText, delayBeforeCoachmarkAnimation = props.delayBeforeCoachmarkAnimation, styles = props.styles, theme = props.theme, className = props.className, persistentBeak = props.persistentBeak; + // Defaulting the main background before passing it to the styles because it is used for `Beak` too. + var defaultColor = color; + if (!defaultColor && theme) { + defaultColor = theme.semanticColors.primaryButtonBackground; + } + var classNames = getClassNames(styles, { + theme: theme, + beaconColorOne: beaconColorOne, + beaconColorTwo: beaconColorTwo, + className: className, + isCollapsed: isCollapsed, + isMeasuring: isMeasuring, + color: defaultColor, + transformOrigin: transformOrigin, + entityHostHeight: entityInnerHostRect.height === undefined ? undefined : "".concat(entityInnerHostRect.height, "px"), + entityHostWidth: entityInnerHostRect.width === undefined ? undefined : "".concat(entityInnerHostRect.width, "px"), + width: "".concat(Coachmark_styles_1.COACHMARK_WIDTH, "px"), + height: "".concat(Coachmark_styles_1.COACHMARK_HEIGHT, "px"), + delayBeforeCoachmarkAnimation: "".concat(delayBeforeCoachmarkAnimation, "ms"), + }); + var finalHeight = isCollapsed ? Coachmark_styles_1.COACHMARK_HEIGHT : entityInnerHostRect.height; + return (React.createElement(index_1.PositioningContainer, tslib_1.__assign({ target: target, offsetFromTarget: Beak_1.BEAK_HEIGHT, finalHeight: finalHeight, ref: forwardedRef, onPositioned: onPositioned, bounds: bounds }, positioningContainerProps), + React.createElement("div", { className: classNames.root }, + ariaAlertText && (React.createElement("div", { className: classNames.ariaContainer, role: "alert", "aria-hidden": !isCollapsed }, alertText)), + React.createElement("div", { className: classNames.pulsingBeacon }), + React.createElement("div", { className: classNames.translateAnimationContainer, ref: translateAnimationContainer }, + React.createElement("div", { className: classNames.scaleAnimationLayer }, + React.createElement("div", { className: classNames.rotateAnimationLayer }, + (isCollapsed || persistentBeak) && React.createElement(Beak_1.Beak, tslib_1.__assign({}, beakPositioningProps, { color: defaultColor })), + React.createElement("div", { className: classNames.entityHost, ref: entityHost, tabIndex: -1, "data-is-focusable": true, role: "dialog", "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy }, + isCollapsed && [ + ariaLabelledBy && (React.createElement("p", { id: ariaLabelledBy, key: 0, className: classNames.ariaContainer }, ariaLabelledByText)), + ariaDescribedBy && (React.createElement("p", { id: ariaDescribedBy, key: 1, className: classNames.ariaContainer }, ariaDescribedByText)), + ], + React.createElement(FocusTrapZone_1.FocusTrapZone, { isClickableOutsideFocusTrap: true, forceFocusInsideTrap: false }, + React.createElement("div", { className: classNames.entityInnerHost, ref: entityInnerHostElementRef }, + React.createElement("div", { className: classNames.childrenContainer, "aria-hidden": isCollapsed }, children)))))))))); +}); +exports.CoachmarkBase.displayName = COMPONENT_NAME; +function getBounds(isPositionForced, positioningContainerProps) { + if (isPositionForced) { + // If directionalHint direction is the top or bottom auto edge, then we want to set the left/right bounds + // to the window x-axis to have auto positioning work correctly. + if (positioningContainerProps && + (positioningContainerProps.directionalHint === DirectionalHint_1.DirectionalHint.topAutoEdge || + positioningContainerProps.directionalHint === DirectionalHint_1.DirectionalHint.bottomAutoEdge)) { + return { + left: 0, + top: -Infinity, + bottom: Infinity, + right: window.innerWidth, + width: window.innerWidth, + height: Infinity, + }; + } + else { + return { + left: -Infinity, + top: -Infinity, + bottom: Infinity, + right: Infinity, + width: Infinity, + height: Infinity, + }; + } + } + else { + return undefined; + } +} +function isInsideElement( +// eslint-disable-next-line deprecation/deprecation +targetElementRect, mouseX, mouseY, mouseProximityOffset) { + if (mouseProximityOffset === void 0) { mouseProximityOffset = 0; } + return (mouseX > targetElementRect.left - mouseProximityOffset && + mouseX < targetElementRect.left + targetElementRect.width + mouseProximityOffset && + mouseY > targetElementRect.top - mouseProximityOffset && + mouseY < targetElementRect.top + targetElementRect.height + mouseProximityOffset); +} +//# sourceMappingURL=Coachmark.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Coachmark = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Coachmark_styles_1 = __webpack_require__(/*! ./Coachmark.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.styles.js"); +var Coachmark_base_1 = __webpack_require__(/*! ./Coachmark.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.base.js"); +exports.Coachmark = (0, Utilities_1.styled)(Coachmark_base_1.CoachmarkBase, Coachmark_styles_1.getStyles, undefined, { + scope: 'Coachmark', +}); +//# sourceMappingURL=Coachmark.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.styles.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.styles.js ***! + \********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = exports.rotateOne = exports.scaleOne = exports.translateOne = exports.COACHMARK_HEIGHT = exports.COACHMARK_WIDTH = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.COACHMARK_WIDTH = 32; +exports.COACHMARK_HEIGHT = 32; +exports.translateOne = (0, Utilities_1.memoizeFunction)(function () { + return (0, Styling_1.keyframes)({ + '0%': { + transform: 'translate(0, 0)', + animationTimingFunction: 'linear', + }, + '78.57%': { + transform: 'translate(0, 0)', + animationTimingFunction: 'cubic-bezier(0.62, 0, 0.56, 1)', + }, + '82.14%': { + transform: 'translate(0, -5px)', + animationTimingFunction: 'cubic-bezier(0.58, 0, 0, 1)', + }, + '84.88%': { + transform: 'translate(0, 9px)', + animationTimingFunction: 'cubic-bezier(1, 0, 0.56, 1)', + }, + '88.1%': { + transform: 'translate(0, -2px)', + animationTimingFunction: 'cubic-bezier(0.58, 0, 0.67, 1)', + }, + '90.12%': { + transform: 'translate(0, 0)', + animationTimingFunction: 'linear', + }, + '100%': { + transform: 'translate(0, 0)', + }, + }); +}); +exports.scaleOne = (0, Utilities_1.memoizeFunction)(function () { + return (0, Styling_1.keyframes)({ + '0%': { + transform: ' scale(0)', + animationTimingFunction: 'linear', + }, + '14.29%': { + transform: 'scale(0)', + animationTimingFunction: 'cubic-bezier(0.84, 0, 0.52, 0.99)', + }, + '16.67%': { + transform: 'scale(1.15)', + animationTimingFunction: 'cubic-bezier(0.48, -0.01, 0.52, 1.01)', + }, + '19.05%': { + transform: 'scale(0.95)', + animationTimingFunction: 'cubic-bezier(0.48, 0.02, 0.52, 0.98)', + }, + '21.43%': { + transform: 'scale(1)', + animationTimingFunction: 'linear', + }, + '42.86%': { + transform: 'scale(1)', + animationTimingFunction: 'cubic-bezier(0.48, -0.02, 0.52, 1.02)', + }, + '45.71%': { + transform: 'scale(0.8)', + animationTimingFunction: 'cubic-bezier(0.48, 0.01, 0.52, 0.99)', + }, + '50%': { + transform: 'scale(1)', + animationTimingFunction: 'linear', + }, + '90.12%': { + transform: 'scale(1)', + animationTimingFunction: 'cubic-bezier(0.48, -0.02, 0.52, 1.02)', + }, + '92.98%': { + transform: 'scale(0.8)', + animationTimingFunction: 'cubic-bezier(0.48, 0.01, 0.52, 0.99)', + }, + '97.26%': { + transform: 'scale(1)', + animationTimingFunction: 'linear', + }, + '100%': { + transform: 'scale(1)', + }, + }); +}); +exports.rotateOne = (0, Utilities_1.memoizeFunction)(function () { + return (0, Styling_1.keyframes)({ + '0%': { + transform: 'rotate(0deg)', + animationTimingFunction: 'linear', + }, + '83.33%': { + transform: ' rotate(0deg)', + animationTimingFunction: 'cubic-bezier(0.33, 0, 0.67, 1)', + }, + '83.93%': { + transform: 'rotate(15deg)', + animationTimingFunction: 'cubic-bezier(0.33, 0, 0.67, 1)', + }, + '84.52%': { + transform: 'rotate(-15deg)', + animationTimingFunction: 'cubic-bezier(0.33, 0, 0.67, 1)', + }, + '85.12%': { + transform: 'rotate(15deg)', + animationTimingFunction: 'cubic-bezier(0.33, 0, 0.67, 1)', + }, + '85.71%': { + transform: 'rotate(-15deg)', + animationTimingFunction: 'cubic-bezier(0.33, 0, 0.67, 1)', + }, + '86.31%': { + transform: 'rotate(0deg)', + animationTimingFunction: 'linear', + }, + '100%': { + transform: 'rotate(0deg)', + }, + }); +}); +function getStyles(props) { + var _a; + var theme = props.theme, className = props.className, color = props.color, beaconColorOne = props.beaconColorOne, beaconColorTwo = props.beaconColorTwo, delayBeforeCoachmarkAnimation = props.delayBeforeCoachmarkAnimation, isCollapsed = props.isCollapsed, isMeasuring = props.isMeasuring, entityHostHeight = props.entityHostHeight, entityHostWidth = props.entityHostWidth, transformOrigin = props.transformOrigin; + if (!theme) { + throw new Error('theme is undefined or null in base Dropdown getStyles function.'); + } + var animationInnerDimension = '35px'; + var animationOuterDimension = '150px'; + var animationBorderWidth = '10px'; + var ContinuousPulse = Styling_1.PulsingBeaconAnimationStyles.continuousPulseAnimationDouble(beaconColorOne ? beaconColorOne : theme.palette.themePrimary, beaconColorTwo ? beaconColorTwo : theme.palette.themeTertiary, animationInnerDimension, animationOuterDimension, animationBorderWidth); + var ContinuousPulseAnimation = Styling_1.PulsingBeaconAnimationStyles.createDefaultAnimation(ContinuousPulse, delayBeforeCoachmarkAnimation); + return { + root: [ + theme.fonts.medium, + { + position: 'relative', + }, + className, + ], + pulsingBeacon: [ + { + position: 'absolute', + top: '50%', + left: '50%', + transform: (0, Utilities_1.getRTL)(theme) ? 'translate(50%, -50%)' : 'translate(-50%, -50%)', + width: '0px', + height: '0px', + borderRadius: '225px', + borderStyle: 'solid', + opacity: '0', + }, + isCollapsed && ContinuousPulseAnimation, + ], + // Translate Animation Layer + translateAnimationContainer: [ + { + width: '100%', + height: '100%', + }, + isCollapsed && { + animationDuration: '14s', + animationTimingFunction: 'linear', + animationDirection: 'normal', + animationIterationCount: '1', + animationDelay: '0s', + animationFillMode: 'forwards', + animationName: (0, exports.translateOne)(), + transition: 'opacity 0.5s ease-in-out', + }, + !isCollapsed && { + opacity: '1', + }, + ], + // Scale Animation Layer + scaleAnimationLayer: [ + { + width: '100%', + height: '100%', + }, + isCollapsed && { + animationDuration: '14s', + animationTimingFunction: 'linear', + animationDirection: 'normal', + animationIterationCount: '1', + animationDelay: '0s', + animationFillMode: 'forwards', + animationName: (0, exports.scaleOne)(), + }, + ], + // Rotate Animation Layer + rotateAnimationLayer: [ + { + width: '100%', + height: '100%', + }, + isCollapsed && { + animationDuration: '14s', + animationTimingFunction: 'linear', + animationDirection: 'normal', + animationIterationCount: '1', + animationDelay: '0s', + animationFillMode: 'forwards', + animationName: (0, exports.rotateOne)(), + }, + !isCollapsed && { + opacity: '1', + }, + ], + // Layer Host, defaults to collapsed + entityHost: [ + { + position: 'relative', + outline: 'none', + overflow: 'hidden', + backgroundColor: color, + borderRadius: exports.COACHMARK_WIDTH, + transition: 'border-radius 250ms, width 500ms, height 500ms cubic-bezier(0.5, 0, 0, 1)', + visibility: 'hidden', + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + backgroundColor: 'Window', + border: '2px solid WindowText', + }, + _a[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus")] = { + outline: "1px solid ".concat(theme.palette.themeTertiary), + }, + _a), + }, + !isMeasuring && + isCollapsed && { + width: exports.COACHMARK_WIDTH, + height: exports.COACHMARK_HEIGHT, + }, + !isMeasuring && { + visibility: 'visible', + }, + !isCollapsed && { + borderRadius: '1px', + opacity: '1', + width: entityHostWidth, + height: entityHostHeight, + }, + ], + entityInnerHost: [ + { + transition: 'transform 500ms cubic-bezier(0.5, 0, 0, 1)', + transformOrigin: transformOrigin, + transform: 'scale(0)', + }, + !isCollapsed && { + width: entityHostWidth, + height: entityHostHeight, + transform: 'scale(1)', + }, + !isMeasuring && { + visibility: 'visible', + }, + ], + childrenContainer: [ + { + display: !isMeasuring && isCollapsed ? 'none' : 'block', + }, + ], + ariaContainer: { + position: 'fixed', + opacity: 0, + height: 0, + width: 0, + pointerEvents: 'none', + }, + }; +} +exports.getStyles = getStyles; +//# sourceMappingURL=Coachmark.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.types.js": +/*!*******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.types.js ***! + \*******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=Coachmark.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/PositioningContainer.js": +/*!*********************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/PositioningContainer.js ***! + \*********************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +var _a; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PositioningContainer = exports.useHeightOffset = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var PositioningContainer_styles_1 = __webpack_require__(/*! ./PositioningContainer.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/PositioningContainer.styles.js"); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Layer_1 = __webpack_require__(/*! ../../../Layer */ "./node_modules/@fluentui/react/lib-commonjs/Layer.js"); +// Utilites/Helpers +var DirectionalHint_1 = __webpack_require__(/*! ../../../common/DirectionalHint */ "./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Positioning_1 = __webpack_require__(/*! ../../../Positioning */ "./node_modules/@fluentui/react/lib-commonjs/Positioning.js"); +var Styling_2 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var OFF_SCREEN_STYLE = { opacity: 0 }; +// In order for some of the max height logic to work properly we need to set the border. +// The value is arbitrary. +var BORDER_WIDTH = 1; +var SLIDE_ANIMATIONS = (_a = {}, + _a[Positioning_1.RectangleEdge.top] = 'slideUpIn20', + _a[Positioning_1.RectangleEdge.bottom] = 'slideDownIn20', + _a[Positioning_1.RectangleEdge.left] = 'slideLeftIn20', + _a[Positioning_1.RectangleEdge.right] = 'slideRightIn20', + _a); +var DEFAULT_PROPS = { + preventDismissOnScroll: false, + offsetFromTarget: 0, + minPagePadding: 8, + directionalHint: DirectionalHint_1.DirectionalHint.bottomAutoEdge, +}; +function useBounds(props, targetWindow) { + /** The bounds used when determining if and where the PositioningContainer should be placed. */ + var getBounds = function () { + var currentBounds = props.bounds; + if (!currentBounds) { + currentBounds = { + top: 0 + props.minPagePadding, + left: 0 + props.minPagePadding, + right: targetWindow.innerWidth - props.minPagePadding, + bottom: targetWindow.innerHeight - props.minPagePadding, + width: targetWindow.innerWidth - props.minPagePadding * 2, + height: targetWindow.innerHeight - props.minPagePadding * 2, + }; + } + return currentBounds; + }; + return getBounds; +} +function usePositionState(props, positionedHost, contentHost, targetRef, getCachedBounds) { + var async = (0, react_hooks_1.useAsync)(); + /** + * Current set of calculated positions for the outermost parent container. + */ + var _a = React.useState(), positions = _a[0], setPositions = _a[1]; + var positionAttempts = React.useRef(0); + var updateAsyncPosition = function () { + async.requestAnimationFrame(function () { return updatePosition(); }); + }; + var updatePosition = function () { + var offsetFromTarget = props.offsetFromTarget, onPositioned = props.onPositioned; + var hostElement = positionedHost.current; + var positioningContainerElement = contentHost.current; + if (hostElement && positioningContainerElement) { + var currentProps = tslib_1.__assign({}, props); + currentProps.bounds = getCachedBounds(); + currentProps.target = targetRef.current; + var target = currentProps.target; + if (target) { + // Check if the target is an Element or a MouseEvent and the document contains it + // or don't check anything else if the target is a Point or Rectangle + if ((!target.getBoundingClientRect && !target.preventDefault) || + document.body.contains(target)) { + currentProps.gapSpace = offsetFromTarget; + var newPositions = (0, Positioning_1.positionElement)(currentProps, hostElement, positioningContainerElement); + // Set the new position only when the positions are not exists or one of the new positioningContainer + // positions are different. The position should not change if the position is within 2 decimal places. + if ((!positions && newPositions) || + (positions && newPositions && !arePositionsEqual(positions, newPositions) && positionAttempts.current < 5)) { + // We should not reposition the positioningContainer more than a few times, if it is then the content is + // likely resizing and we should stop trying to reposition to prevent a stack overflow. + positionAttempts.current++; + setPositions(newPositions); + onPositioned === null || onPositioned === void 0 ? void 0 : onPositioned(newPositions); + } + else { + positionAttempts.current = 0; + onPositioned === null || onPositioned === void 0 ? void 0 : onPositioned(newPositions); + } + } + else if (positions !== undefined) { + setPositions(undefined); + } + } + else if (positions !== undefined) { + setPositions(undefined); + } + } + }; + React.useEffect(updateAsyncPosition); + return [positions, updateAsyncPosition]; +} +function useSetInitialFocus(_a, contentHost, positions) { + var setInitialFocus = _a.setInitialFocus; + var didSetInitialFocus = React.useRef(false); + React.useEffect(function () { + if (!didSetInitialFocus.current && contentHost.current && setInitialFocus && positions) { + didSetInitialFocus.current = true; + (0, Utilities_1.focusFirstChild)(contentHost.current); + } + }); +} +function useMaxHeight(_a, targetRef, getCachedBounds) { + var directionalHintFixed = _a.directionalHintFixed, offsetFromTarget = _a.offsetFromTarget, directionalHint = _a.directionalHint, target = _a.target; + /** + * The maximum height the PositioningContainer can grow to + * without going beyond the window or target bounds + */ + var maxHeight = React.useRef(); + // If the target element changed, reset the max height. If we are tracking + // target with class name, always reset because we do not know if + // fabric has rendered a new element and disposed the old element. + if (typeof target === 'string') { + maxHeight.current = undefined; + } + React.useEffect(function () { + maxHeight.current = undefined; + }, [target, offsetFromTarget]); + /** + * Return the maximum height the container can grow to + * without going out of the specified bounds + */ + var getCachedMaxHeight = function () { + if (!maxHeight.current) { + if (directionalHintFixed && targetRef.current) { + var gapSpace = offsetFromTarget ? offsetFromTarget : 0; + maxHeight.current = (0, Positioning_1.getMaxHeight)(targetRef.current, directionalHint, gapSpace, getCachedBounds()); + } + else { + maxHeight.current = getCachedBounds().height - BORDER_WIDTH * 2; + } + } + return maxHeight.current; + }; + return getCachedMaxHeight; +} +function useAutoDismissEvents(_a, positionedHost, targetWindow, targetRef, positions, updateAsyncPosition) { + var onDismiss = _a.onDismiss, preventDismissOnScroll = _a.preventDismissOnScroll; + var async = (0, react_hooks_1.useAsync)(); + var onResize = React.useCallback(function (ev) { + if (onDismiss) { + onDismiss(ev); + } + else { + updateAsyncPosition(); + } + }, [onDismiss, updateAsyncPosition]); + var dismissOnLostFocus = React.useCallback(function (ev) { + var target = ev.target; + var clickedOutsideCallout = positionedHost.current && !(0, Utilities_1.elementContains)(positionedHost.current, target); + if ((!targetRef.current && clickedOutsideCallout) || + (ev.target !== targetWindow && + clickedOutsideCallout && + (targetRef.current.stopPropagation || + !targetRef.current || + (target !== targetRef.current && !(0, Utilities_1.elementContains)(targetRef.current, target))))) { + onResize(ev); + } + }, [onResize, positionedHost, targetRef, targetWindow]); + var dismissOnScroll = React.useCallback(function (ev) { + if (positions && !preventDismissOnScroll) { + dismissOnLostFocus(ev); + } + }, [dismissOnLostFocus, positions, preventDismissOnScroll]); + React.useEffect(function () { + var events = new Utilities_1.EventGroup({}); + // This is added so the positioningContainer will dismiss when the window is scrolled + // but not when something inside the positioningContainer is scrolled. The delay seems + // to be required to avoid React firing an async focus event in IE from + // the target changing focus quickly prior to rendering the positioningContainer. + async.setTimeout(function () { + var _a, _b; + events.on(targetWindow, 'scroll', async.throttle(dismissOnScroll, 10), true); + events.on(targetWindow, 'resize', async.throttle(onResize, 10), true); + events.on((_a = targetWindow === null || targetWindow === void 0 ? void 0 : targetWindow.document) === null || _a === void 0 ? void 0 : _a.body, 'focus', dismissOnLostFocus, true); + events.on((_b = targetWindow === null || targetWindow === void 0 ? void 0 : targetWindow.document) === null || _b === void 0 ? void 0 : _b.body, 'click', dismissOnLostFocus, true); + }, 0); + return function () { return events.dispose(); }; + // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run on mount + }, [dismissOnScroll]); +} +function useHeightOffset(_a, contentHost) { + var finalHeight = _a.finalHeight; + /** + * Tracks the current height offset and updates during + * the height animation when props.finalHeight is specified. + * State stored as object to ensure re-render even if the value does not change. + * See https://github.com/microsoft/fluentui/issues/23545 + */ + var _b = React.useState({ value: 0 }), heightOffset = _b[0], setHeightOffset = _b[1]; + var async = (0, react_hooks_1.useAsync)(); + var setHeightOffsetTimer = React.useRef(0); + /** Animates the height if finalHeight was given. */ + var setHeightOffsetEveryFrame = function () { + if (contentHost && finalHeight) { + setHeightOffsetTimer.current = async.requestAnimationFrame(function () { + if (!contentHost.current) { + return; + } + var positioningContainerMainElem = contentHost.current.lastChild; + var cardScrollHeight = positioningContainerMainElem.scrollHeight; + var cardCurrHeight = positioningContainerMainElem.offsetHeight; + var scrollDiff = cardScrollHeight - cardCurrHeight; + setHeightOffset({ value: heightOffset.value + scrollDiff }); + if (positioningContainerMainElem.offsetHeight < finalHeight) { + setHeightOffsetEveryFrame(); + } + else { + async.cancelAnimationFrame(setHeightOffsetTimer.current); + } + }); + } + }; + // eslint-disable-next-line react-hooks/exhaustive-deps -- should only re-run if finalHeight changes + React.useEffect(setHeightOffsetEveryFrame, [finalHeight]); + return heightOffset.value; +} +exports.useHeightOffset = useHeightOffset; +exports.PositioningContainer = React.forwardRef(function (propsWithoutDefaults, forwardedRef) { + var props = (0, Utilities_1.getPropsWithDefaults)(DEFAULT_PROPS, propsWithoutDefaults); + // @TODO rename to reflect the name of this class + var contentHost = React.useRef(null); + /** + * The primary positioned div. + */ + var positionedHost = React.useRef(null); + var rootRef = (0, react_hooks_1.useMergedRefs)(forwardedRef, positionedHost); + var _a = (0, react_hooks_1.useTarget)(props.target, positionedHost), targetRef = _a[0], targetWindow = _a[1]; + var getCachedBounds = useBounds(props, targetWindow); + var _b = usePositionState(props, positionedHost, contentHost, targetRef, getCachedBounds), positions = _b[0], updateAsyncPosition = _b[1]; + var getCachedMaxHeight = useMaxHeight(props, targetRef, getCachedBounds); + var heightOffset = useHeightOffset(props, contentHost); + useSetInitialFocus(props, contentHost, positions); + useAutoDismissEvents(props, positionedHost, targetWindow, targetRef, positions, updateAsyncPosition); + // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run on initial render + React.useEffect(function () { var _a; return (_a = props.onLayerMounted) === null || _a === void 0 ? void 0 : _a.call(props); }, []); + // If there is no target window then we are likely in server side rendering and we should not render anything. + if (!targetWindow) { + return null; + } + var className = props.className, doNotLayer = props.doNotLayer, positioningContainerWidth = props.positioningContainerWidth, positioningContainerMaxHeight = props.positioningContainerMaxHeight, children = props.children; + var styles = (0, PositioningContainer_styles_1.getClassNames)(); + var directionalClassName = positions && positions.targetEdge ? Styling_2.AnimationClassNames[SLIDE_ANIMATIONS[positions.targetEdge]] : ''; + var getContentMaxHeight = getCachedMaxHeight() + heightOffset; + var contentMaxHeight = positioningContainerMaxHeight && positioningContainerMaxHeight > getContentMaxHeight + ? getContentMaxHeight + : positioningContainerMaxHeight; + var content = (React.createElement("div", { ref: rootRef, className: (0, Utilities_1.css)('ms-PositioningContainer', styles.container) }, + React.createElement("div", { className: (0, Styling_2.mergeStyles)('ms-PositioningContainer-layerHost', styles.root, className, directionalClassName, !!positioningContainerWidth && { width: positioningContainerWidth }, doNotLayer && { zIndex: Styling_1.ZIndexes.Layer }), style: positions ? positions.elementPosition : OFF_SCREEN_STYLE, + // Safari and Firefox on Mac OS requires this to back-stop click events so focus remains in the Callout. + // See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus + tabIndex: -1, ref: contentHost }, + children, + // @TODO apply to the content container + contentMaxHeight))); + return doNotLayer ? content : React.createElement(Layer_1.Layer, tslib_1.__assign({}, props.layerProps), content); +}); +exports.PositioningContainer.displayName = 'PositioningContainer'; +function arePositionsEqual(positions, newPosition) { + return comparePositions(positions.elementPosition, newPosition.elementPosition); +} +function comparePositions(oldPositions, newPositions) { + for (var key in newPositions) { + if (newPositions.hasOwnProperty(key)) { + var oldPositionEdge = oldPositions[key]; + var newPositionEdge = newPositions[key]; + if (oldPositionEdge && newPositionEdge) { + if (oldPositionEdge.toFixed(2) !== newPositionEdge.toFixed(2)) { + return false; + } + } + } + } + return true; +} +//# sourceMappingURL=PositioningContainer.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/PositioningContainer.styles.js": +/*!****************************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/PositioningContainer.styles.js ***! + \****************************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getClassNames = void 0; +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +exports.getClassNames = (0, Utilities_1.memoizeFunction)(function () { + var _a; + return (0, Styling_1.mergeStyleSets)({ + root: [ + { + position: 'absolute', + boxSizing: 'border-box', + border: '1px solid ${}', + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + border: '1px solid WindowText', + }, + _a), + }, + (0, Styling_1.focusClear)(), + ], + container: { + position: 'relative', + }, + main: { + backgroundColor: '#ffffff', + overflowX: 'hidden', + overflowY: 'hidden', + position: 'relative', + }, + overFlowYHidden: { + overflowY: 'hidden', + }, + }); +}); +//# sourceMappingURL=PositioningContainer.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/PositioningContainer.types.js": +/*!***************************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/PositioningContainer.types.js ***! + \***************************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=PositioningContainer.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/index.js": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/index.js ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./PositioningContainer */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/PositioningContainer.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./PositioningContainer.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/PositioningContainer/PositioningContainer.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/index.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/index.js ***! + \*********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Coachmark */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Coachmark.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Coachmark.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Coachmark/Coachmark.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.base.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.base.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ColorPickerBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var TextField_1 = __webpack_require__(/*! ../../TextField */ "./node_modules/@fluentui/react/lib-commonjs/TextField.js"); +var Tooltip_1 = __webpack_require__(/*! ../../Tooltip */ "./node_modules/@fluentui/react/lib-commonjs/Tooltip.js"); +var DirectionalHint_1 = __webpack_require__(/*! ../../common/DirectionalHint */ "./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js"); +var ColorRectangle_1 = __webpack_require__(/*! ./ColorRectangle/ColorRectangle */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.js"); +var ColorSlider_1 = __webpack_require__(/*! ./ColorSlider/ColorSlider */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.js"); +var consts_1 = __webpack_require__(/*! ../../utilities/color/consts */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/consts.js"); +// These imports are separated to help with bundling +var getColorFromString_1 = __webpack_require__(/*! ../../utilities/color/getColorFromString */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/getColorFromString.js"); +var getColorFromRGBA_1 = __webpack_require__(/*! ../../utilities/color/getColorFromRGBA */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/getColorFromRGBA.js"); +var clamp_1 = __webpack_require__(/*! ../../utilities/color/clamp */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/clamp.js"); +var updateA_1 = __webpack_require__(/*! ../../utilities/color/updateA */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/updateA.js"); +var updateT_1 = __webpack_require__(/*! ../../utilities/color/updateT */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/updateT.js"); +var updateH_1 = __webpack_require__(/*! ../../utilities/color/updateH */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/updateH.js"); +var correctRGB_1 = __webpack_require__(/*! ../../utilities/color/correctRGB */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/correctRGB.js"); +var correctHex_1 = __webpack_require__(/*! ../../utilities/color/correctHex */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/correctHex.js"); +var ColorRectangle_base_1 = __webpack_require__(/*! ./ColorRectangle/ColorRectangle.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.base.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var allColorComponents = ['hex', 'r', 'g', 'b', 'a', 't']; +var errorKeys = { + hex: 'hexError', + r: 'redError', + g: 'greenError', + b: 'blueError', + a: 'alphaError', + t: 'transparencyError', +}; +/** + * {@docCategory ColorPicker} + */ +var ColorPickerBase = /** @class */ (function (_super) { + tslib_1.__extends(ColorPickerBase, _super); + function ColorPickerBase(props) { + var _this = _super.call(this, props) || this; + _this._onSVChanged = function (ev, color) { + _this._updateColor(ev, color); + }; + _this._onHChanged = function (ev, h) { + _this._updateColor(ev, (0, updateH_1.updateH)(_this.state.color, h)); + }; + /** Callback for when the alpha/transparency slider changes */ + _this._onATChanged = function (ev, value) { + var updater = _this.props.alphaType === 'transparency' ? updateT_1.updateT : updateA_1.updateA; + _this._updateColor(ev, updater(_this.state.color, Math.round(value))); + }; + _this._onBlur = function (event) { + var _a; + var _b = _this.state, color = _b.color, editingColor = _b.editingColor; + if (!editingColor) { + return; + } + // If there was an intermediate incorrect value (such as too large or empty), correct it. + var value = editingColor.value, component = editingColor.component; + var isHex = component === 'hex'; + var isAlpha = component === 'a'; + var isTransparency = component === 't'; + var minLength = isHex ? consts_1.MIN_HEX_LENGTH : consts_1.MIN_RGBA_LENGTH; + if (value.length >= minLength && (isHex || !isNaN(Number(value)))) { + // Real value. Clamp to appropriate length (hex) or range (rgba). + var newColor = void 0; + if (isHex) { + newColor = (0, getColorFromString_1.getColorFromString)('#' + (0, correctHex_1.correctHex)(value)); + } + else if (isAlpha || isTransparency) { + var updater = isAlpha ? updateA_1.updateA : updateT_1.updateT; + newColor = updater(color, (0, clamp_1.clamp)(Number(value), consts_1.MAX_COLOR_ALPHA)); + } + else { + newColor = (0, getColorFromRGBA_1.getColorFromRGBA)((0, correctRGB_1.correctRGB)(tslib_1.__assign(tslib_1.__assign({}, color), (_a = {}, _a[component] = Number(value), _a)))); + } + // Update state and call onChange + _this._updateColor(event, newColor); + } + else { + // Intermediate value was an empty string or too short (hex only). + // Just clear the intermediate state and revert to the previous value. + _this.setState({ editingColor: undefined }); + } + }; + (0, Utilities_1.initializeComponentRef)(_this); + var strings = props.strings; // always defined since it's in defaultProps + (0, Utilities_1.warnDeprecations)('ColorPicker', props, { + hexLabel: 'strings.hex', + redLabel: 'strings.red', + greenLabel: 'strings.green', + blueLabel: 'strings.blue', + alphaLabel: 'strings.alpha', + alphaSliderHidden: 'alphaType', + }); + // eslint-disable-next-line deprecation/deprecation + if (strings.hue) { + // warnDeprecations can't handle nested deprecated props + (0, Utilities_1.warn)("ColorPicker property 'strings.hue' was used but has been deprecated. Use 'strings.hueAriaLabel' instead."); + } + _this.state = { + color: _getColorFromProps(props) || (0, getColorFromString_1.getColorFromString)('#ffffff'), + }; + _this._textChangeHandlers = {}; + for (var _i = 0, allColorComponents_1 = allColorComponents; _i < allColorComponents_1.length; _i++) { + var component = allColorComponents_1[_i]; + _this._textChangeHandlers[component] = _this._onTextChange.bind(_this, component); + } + var defaultStrings = ColorPickerBase.defaultProps.strings; + _this._textLabels = { + /* eslint-disable deprecation/deprecation */ + r: props.redLabel || strings.red || defaultStrings.red, + g: props.greenLabel || strings.green || defaultStrings.green, + b: props.blueLabel || strings.blue || defaultStrings.blue, + a: props.alphaLabel || strings.alpha || defaultStrings.alpha, + hex: props.hexLabel || strings.hex || defaultStrings.hex, + t: strings.transparency || defaultStrings.transparency, + /* eslint-enable deprecation/deprecation */ + }; + _this._strings = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, defaultStrings), { + // these aria labels default to the visible labels + alphaAriaLabel: _this._textLabels.a, transparencyAriaLabel: _this._textLabels.t }), strings); + return _this; + } + Object.defineProperty(ColorPickerBase.prototype, "color", { + get: function () { + return this.state.color; + }, + enumerable: false, + configurable: true + }); + ColorPickerBase.prototype.componentDidUpdate = function (prevProps, prevState) { + // if props changed (as opposed to a state update), update the color + if (prevProps !== this.props) { + var color = _getColorFromProps(this.props); + if (color) { + this._updateColor(undefined, color); + } + } + }; + ColorPickerBase.prototype.render = function () { + var _this = this; + var props = this.props; + var strings = this._strings; + var textLabels = this._textLabels; + var theme = props.theme, className = props.className, styles = props.styles, alphaType = props.alphaType, + // eslint-disable-next-line deprecation/deprecation + _a = props.alphaSliderHidden, + // eslint-disable-next-line deprecation/deprecation + alphaSliderHidden = _a === void 0 ? alphaType === 'none' : _a, tooltipProps = props.tooltipProps; + var color = this.state.color; + var useTransparency = alphaType === 'transparency'; + var colorComponents = ['hex', 'r', 'g', 'b', useTransparency ? 't' : 'a']; + var atValue = useTransparency ? color.t : color.a; + var atLabel = useTransparency ? textLabels.t : textLabels.a; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + alphaType: alphaType, + }); + var selectedColorAriaParts = [textLabels.r, color.r, textLabels.g, color.g, textLabels.b, color.b]; + if (!alphaSliderHidden && typeof atValue === 'number') { + selectedColorAriaParts.push(atLabel, "".concat(atValue, "%")); + } + var ariaLabel = strings.rootAriaLabelFormat.replace('{0}', selectedColorAriaParts.join(' ')); + return (React.createElement("div", { className: classNames.root, role: "group", "aria-label": ariaLabel }, + React.createElement("div", { className: classNames.panel }, + React.createElement(ColorRectangle_1.ColorRectangle, { color: color, onChange: this._onSVChanged, ariaLabel: strings.svAriaLabel, ariaDescription: strings.svAriaDescription, ariaValueFormat: strings.svAriaValueFormat, className: classNames.colorRectangle }), + React.createElement("div", { className: classNames.flexContainer }, + React.createElement("div", { className: classNames.flexSlider }, + React.createElement(ColorSlider_1.ColorSlider, { className: "is-hue", type: "hue", + // eslint-disable-next-line deprecation/deprecation + ariaLabel: strings.hue || strings.hueAriaLabel, value: color.h, onChange: this._onHChanged }), + !alphaSliderHidden && (React.createElement(ColorSlider_1.ColorSlider, { className: "is-alpha", type: alphaType, ariaLabel: useTransparency ? strings.transparencyAriaLabel : strings.alphaAriaLabel, overlayColor: color.hex, value: atValue, onChange: this._onATChanged }))), + props.showPreview && (React.createElement("div", { className: classNames.flexPreviewBox }, + React.createElement("div", { className: classNames.colorSquare + ' is-preview', style: { + backgroundColor: color.str, + } })))), + React.createElement("table", { className: classNames.table, role: "group", cellPadding: "0", cellSpacing: "0" }, + React.createElement("thead", null, + React.createElement("tr", { className: classNames.tableHeader }, + React.createElement("td", { className: classNames.tableHexCell }, textLabels.hex), + React.createElement("td", null, textLabels.r), + React.createElement("td", null, textLabels.g), + React.createElement("td", null, textLabels.b), + !alphaSliderHidden && React.createElement("td", { className: classNames.tableAlphaCell }, atLabel))), + React.createElement("tbody", null, + React.createElement("tr", null, colorComponents.map(function (comp) { + if ((comp === 'a' || comp === 't') && alphaSliderHidden) { + return null; + } + var tooltipContent = _this._getTooltipValue(comp); + return (React.createElement("td", { key: comp }, + React.createElement(Tooltip_1.TooltipHost, tslib_1.__assign({ content: tooltipContent, directionalHint: DirectionalHint_1.DirectionalHint.bottomCenter, role: "alert" }, tooltipProps), + React.createElement(TextField_1.TextField, { className: classNames.input, onChange: _this._textChangeHandlers[comp], onBlur: _this._onBlur, value: _this._getDisplayValue(comp), spellCheck: false, ariaLabel: textLabels[comp], autoComplete: "off", invalid: !!tooltipContent })))); + }))))))); + }; + ColorPickerBase.prototype._getDisplayValue = function (component) { + var _a = this.state, color = _a.color, editingColor = _a.editingColor; + if (editingColor && editingColor.component === component) { + return editingColor.value; + } + if (component === 'hex') { + return color[component] || ''; + } + else if (typeof color[component] === 'number' && !isNaN(color[component])) { + return String(color[component]); + } + return ''; + }; + /* Get the error tooltip value for a component if the component is in an invalid state */ + ColorPickerBase.prototype._getTooltipValue = function (component) { + var editingColor = this.state.editingColor; + // if the component does not have an interim value, it is valid + if (!editingColor || editingColor.component !== component) { + return undefined; + } + var value = editingColor.value; + // for hex, do not show a tooltip if the value is between 3-6 characters + if (component === 'hex' && value.length >= consts_1.MIN_HEX_LENGTH && value.length <= consts_1.MAX_HEX_LENGTH) { + return undefined; + } + var errorKey = errorKeys[component]; + return this._strings[errorKey]; + }; + ColorPickerBase.prototype._onTextChange = function (component, event, newValue) { + var _a; + var color = this.state.color; + var isHex = component === 'hex'; + var isAlpha = component === 'a'; + var isTransparency = component === 't'; + // eslint-disable-next-line deprecation/deprecation + newValue = (newValue || '').substr(0, isHex ? consts_1.MAX_HEX_LENGTH : consts_1.MAX_RGBA_LENGTH); + // Ignore what the user typed if it contains invalid characters + var validCharsRegex = isHex ? consts_1.HEX_REGEX : consts_1.RGBA_REGEX; + if (!validCharsRegex.test(newValue)) { + return; + } + // Determine if the entry is valid (different methods for hex, alpha, and RGB) + var isValid; + if (newValue === '') { + // Empty string is obviously not valid + isValid = false; + } + else if (isHex) { + // Technically hex values of length 3 are also valid, but committing the value here would + // cause it to be automatically converted to a value of length 6, which may not be what the + // user wanted if they're not finished typing. (Values of length 3 will be committed on blur.) + isValid = newValue.length === consts_1.MAX_HEX_LENGTH; + } + else if (isAlpha || isTransparency) { + isValid = Number(newValue) <= consts_1.MAX_COLOR_ALPHA; + } + else { + isValid = Number(newValue) <= consts_1.MAX_COLOR_RGB; + } + if (!isValid) { + // If the new value is an empty string or other invalid value, save that to display. + // (if the user still hasn't entered anything on blur, the last value is restored) + this.setState({ editingColor: { component: component, value: newValue } }); + } + else if (String(color[component]) === newValue) { + // If the new value is the same as the current value, mostly ignore it. + // Exception is that if the user was previously editing the value (but hadn't yet entered + // a new valid value), we should clear the intermediate value. + if (this.state.editingColor) { + this.setState({ editingColor: undefined }); + } + } + else { + // Should be a valid color. Update the value. + var newColor = isHex + ? (0, getColorFromString_1.getColorFromString)('#' + newValue) + : isTransparency + ? (0, updateT_1.updateT)(color, Number(newValue)) + : (0, getColorFromRGBA_1.getColorFromRGBA)(tslib_1.__assign(tslib_1.__assign({}, color), (_a = {}, _a[component] = Number(newValue), _a))); + this._updateColor(event, newColor); + } + }; + /** + * Update the displayed color and call change handlers if appropriate. + * @param ev - Event if call was triggered by an event (undefined if triggered by props change) + * @param newColor - Updated color + */ + ColorPickerBase.prototype._updateColor = function (ev, newColor) { + if (!newColor) { + return; + } + var _a = this.state, color = _a.color, editingColor = _a.editingColor; + // For black or white, the hue can change without changing the string. + var isDifferentColor = newColor.h !== color.h || newColor.str !== color.str; + if (isDifferentColor || editingColor) { + // If ev is undefined, it's an update from props (which should be unconditionally respected + // and not call onChange). + if (ev && this.props.onChange) { + this.props.onChange(ev, newColor); + if (ev.defaultPrevented) { + return; + } + } + this.setState({ color: newColor, editingColor: undefined }); + } + }; + ColorPickerBase.defaultProps = { + alphaType: 'alpha', + strings: { + rootAriaLabelFormat: 'Color picker, {0} selected.', + hex: 'Hex', + red: 'Red', + green: 'Green', + blue: 'Blue', + alpha: 'Alpha', + transparency: 'Transparency', + hueAriaLabel: 'Hue', + svAriaLabel: ColorRectangle_base_1.ColorRectangleBase.defaultProps.ariaLabel, + svAriaValueFormat: ColorRectangle_base_1.ColorRectangleBase.defaultProps.ariaValueFormat, + svAriaDescription: ColorRectangle_base_1.ColorRectangleBase.defaultProps.ariaDescription, + hexError: 'Hex values must be between 3 and 6 characters long', + alphaError: 'Alpha must be between 0 and 100', + transparencyError: 'Transparency must be between 0 and 100', + redError: 'Red must be between 0 and 255', + greenError: 'Green must be between 0 and 255', + blueError: 'Blue must be between 0 and 255', + }, + }; + return ColorPickerBase; +}(React.Component)); +exports.ColorPickerBase = ColorPickerBase; +function _getColorFromProps(props) { + var color = props.color; + return typeof color === 'string' ? (0, getColorFromString_1.getColorFromString)(color) : color; +} +//# sourceMappingURL=ColorPicker.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ColorPicker = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ColorPicker_base_1 = __webpack_require__(/*! ./ColorPicker.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.base.js"); +var ColorPicker_styles_1 = __webpack_require__(/*! ./ColorPicker.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.styles.js"); +exports.ColorPicker = (0, Utilities_1.styled)(ColorPicker_base_1.ColorPickerBase, ColorPicker_styles_1.getStyles, undefined, { scope: 'ColorPicker' }); +//# sourceMappingURL=ColorPicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.styles.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.styles.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var getStyles = function (props) { + var className = props.className, theme = props.theme, alphaType = props.alphaType; + return { + root: [ + 'ms-ColorPicker', + theme.fonts.medium, + { + position: 'relative', + maxWidth: 300, + }, + className, + ], + panel: [ + 'ms-ColorPicker-panel', + { + padding: '16px', + }, + ], + table: [ + 'ms-ColorPicker-table', + { + tableLayout: 'fixed', + width: '100%', + selectors: { + 'tbody td:last-of-type .ms-ColorPicker-input': { + paddingRight: 0, + }, + }, + }, + ], + tableHeader: [ + theme.fonts.small, + { + selectors: { + td: { + paddingBottom: 4, + }, + }, + }, + ], + tableHexCell: { + width: '25%', + }, + // Account for "Transparency" being a longer word + tableAlphaCell: alphaType === 'transparency' && { + width: '22%', + }, + colorSquare: [ + 'ms-ColorPicker-colorSquare', + { + width: 48, + height: 48, + margin: '0 0 0 8px', + border: '1px solid #c8c6c4', + forcedColorAdjust: 'none', + }, + ], + flexContainer: { + display: 'flex', + }, + flexSlider: { + flexGrow: '1', + }, + flexPreviewBox: { + flexGrow: '0', + }, + input: [ + 'ms-ColorPicker-input', + { + width: '100%', + border: 'none', + boxSizing: 'border-box', + height: 30, + selectors: { + '&.ms-TextField': { + paddingRight: 4, + }, + '& .ms-TextField-field': { + minWidth: 'auto', + padding: 5, + textOverflow: 'clip', + }, + }, + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=ColorPicker.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.types.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.types.js ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=ColorPicker.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.base.js": +/*!****************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.base.js ***! + \****************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports._getNewColor = exports.ColorRectangleBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +// These imports are separated to help with bundling +var consts_1 = __webpack_require__(/*! ../../../utilities/color/consts */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/consts.js"); +var getFullColorString_1 = __webpack_require__(/*! ../../../utilities/color/getFullColorString */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/getFullColorString.js"); +var updateSV_1 = __webpack_require__(/*! ../../../utilities/color/updateSV */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/updateSV.js"); +var clamp_1 = __webpack_require__(/*! ../../../utilities/color/clamp */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/clamp.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * {@docCategory ColorPicker} + */ +var ColorRectangleBase = /** @class */ (function (_super) { + tslib_1.__extends(ColorRectangleBase, _super); + function ColorRectangleBase(props) { + var _this = _super.call(this, props) || this; + _this._disposables = []; + _this._root = React.createRef(); + _this._isAdjustingSaturation = true; + _this._descriptionId = (0, Utilities_1.getId)('ColorRectangle-description'); + _this._onKeyDown = function (ev) { + var color = _this.state.color; + var s = color.s, v = color.v; + var increment = ev.shiftKey ? 10 : 1; + // Intentionally DO NOT flip the color picker in RTL: its orientation is not very meaningful, + // and getting all the math and styles flipped correctly is tricky + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case Utilities_1.KeyCodes.up: { + _this._isAdjustingSaturation = false; + v += increment; // V = 100 (lightest) is at the top + break; + } + case Utilities_1.KeyCodes.down: { + _this._isAdjustingSaturation = false; + v -= increment; // V = 0 (darkest) is at the bottom + break; + } + case Utilities_1.KeyCodes.left: { + _this._isAdjustingSaturation = true; + s -= increment; + break; + } + case Utilities_1.KeyCodes.right: { + _this._isAdjustingSaturation = true; + s += increment; + break; + } + default: + return; + } + _this._updateColor(ev, (0, updateSV_1.updateSV)(color, (0, clamp_1.clamp)(s, consts_1.MAX_COLOR_SATURATION), (0, clamp_1.clamp)(v, consts_1.MAX_COLOR_VALUE))); + }; + _this._onMouseDown = function (ev) { + _this._disposables.push((0, Utilities_1.on)(window, 'mousemove', _this._onMouseMove, true), (0, Utilities_1.on)(window, 'mouseup', _this._disposeListeners, true)); + _this._onMouseMove(ev); + }; + _this._onMouseMove = function (ev) { + if (!_this._root.current) { + return; + } + // Leaving the following commented code which is sometimes necessary for debugging: + // If the primary button (1) isn't pressed, the user is no longer dragging, so turn off + // the event handlers and exit. + // if (!(ev.buttons & 1)) { + // this._disposeListeners(); + // return; + // } + var newColor = _getNewColor(ev, _this.state.color, _this._root.current); + if (newColor) { + _this._updateColor(ev, newColor); + } + }; + _this._onTouchStart = function (ev) { + if (!_this._root.current) { + return; + } + // prevent touch from scrolling the page so that the touch can be dragged on the color rectangle. + ev.stopPropagation(); + }; + _this._onTouchMove = function (ev) { + if (!_this._root.current) { + return; + } + var newColor = _getNewColor(ev, _this.state.color, _this._root.current); + if (newColor) { + _this._updateColor(ev, newColor); + } + ev.preventDefault(); + ev.stopPropagation(); + }; + _this._disposeListeners = function () { + _this._disposables.forEach(function (dispose) { return dispose(); }); + _this._disposables = []; + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this.state = { color: props.color }; + return _this; + } + Object.defineProperty(ColorRectangleBase.prototype, "color", { + get: function () { + return this.state.color; + }, + enumerable: false, + configurable: true + }); + ColorRectangleBase.prototype.componentDidUpdate = function (prevProps, prevState) { + // if props changed (as opposed to a state update), set the value + // TODO: switch to strict controlled pattern instead + if (prevProps !== this.props && this.props.color) { + this.setState({ color: this.props.color }); + } + }; + ColorRectangleBase.prototype.componentDidMount = function () { + if (this._root.current) { + // with Chrome's passive DOM listeners, stopPropagation and preventDefault only work if passive is false. + this._root.current.addEventListener('touchstart', this._onTouchStart, { capture: true, passive: false }); + this._root.current.addEventListener('touchmove', this._onTouchMove, { capture: true, passive: false }); + } + }; + ColorRectangleBase.prototype.componentWillUnmount = function () { + if (this._root.current) { + this._root.current.removeEventListener('touchstart', this._onTouchStart); + this._root.current.removeEventListener('touchmove', this._onTouchMove); + } + this._disposeListeners(); + }; + ColorRectangleBase.prototype.render = function () { + var _a = this.props, minSize = _a.minSize, theme = _a.theme, className = _a.className, styles = _a.styles, ariaValueFormat = _a.ariaValueFormat, ariaLabel = _a.ariaLabel, ariaDescription = _a.ariaDescription; + var color = this.state.color; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + minSize: minSize, + }); + var valueText = ariaValueFormat.replace('{0}', String(color.s)).replace('{1}', String(color.v)); + return (React.createElement("div", { ref: this._root, tabIndex: 0, className: classNames.root, style: { backgroundColor: (0, getFullColorString_1.getFullColorString)(color) }, onMouseDown: this._onMouseDown, onKeyDown: this._onKeyDown, role: "slider", "aria-valuetext": valueText, "aria-valuenow": this._isAdjustingSaturation ? color.s : color.v, "aria-valuemin": 0, "aria-valuemax": consts_1.MAX_COLOR_VALUE, "aria-label": ariaLabel, "aria-describedby": this._descriptionId, "data-is-focusable": true }, + React.createElement("div", { className: classNames.description, id: this._descriptionId }, ariaDescription), + React.createElement("div", { className: classNames.light }), + React.createElement("div", { className: classNames.dark }), + React.createElement("div", { className: classNames.thumb, style: { left: color.s + '%', top: consts_1.MAX_COLOR_VALUE - color.v + '%', backgroundColor: color.str } }))); + }; + ColorRectangleBase.prototype._updateColor = function (ev, color) { + var onChange = this.props.onChange; + var oldColor = this.state.color; + if (color.s === oldColor.s && color.v === oldColor.v) { + return; // no change + } + if (onChange) { + onChange(ev, color); + } + if (!ev.defaultPrevented) { + this.setState({ color: color }); + ev.preventDefault(); + } + }; + ColorRectangleBase.defaultProps = { + minSize: 220, + ariaLabel: 'Saturation and brightness', + ariaValueFormat: 'Saturation {0} brightness {1}', + ariaDescription: 'Use left and right arrow keys to set saturation. Use up and down arrow keys to set brightness.', + }; + return ColorRectangleBase; +}(React.Component)); +exports.ColorRectangleBase = ColorRectangleBase; +/** + * Exported for testing only. + * @internal + */ +function _getNewColor(ev, prevColor, root) { + var rectSize = root.getBoundingClientRect(); + var coords = undefined; + var touchEvent = ev; + if (touchEvent.touches) { + var lastTouch = touchEvent.touches[touchEvent.touches.length - 1]; + if (lastTouch.clientX !== undefined && lastTouch.clientY !== undefined) { + coords = { + clientX: lastTouch.clientX, + clientY: lastTouch.clientY, + }; + } + } + if (!coords) { + var mouseEvent = ev; + if (mouseEvent.clientX !== undefined && mouseEvent.clientY !== undefined) { + coords = { + clientX: mouseEvent.clientX, + clientY: mouseEvent.clientY, + }; + } + } + if (coords) { + var sPercentage = (coords.clientX - rectSize.left) / rectSize.width; + var vPercentage = (coords.clientY - rectSize.top) / rectSize.height; + return (0, updateSV_1.updateSV)(prevColor, (0, clamp_1.clamp)(Math.round(sPercentage * consts_1.MAX_COLOR_SATURATION), consts_1.MAX_COLOR_SATURATION), (0, clamp_1.clamp)(Math.round(consts_1.MAX_COLOR_VALUE - vPercentage * consts_1.MAX_COLOR_VALUE), consts_1.MAX_COLOR_VALUE)); + } +} +exports._getNewColor = _getNewColor; +//# sourceMappingURL=ColorRectangle.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.js": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.js ***! + \***********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ColorRectangle = void 0; +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ColorRectangle_base_1 = __webpack_require__(/*! ./ColorRectangle.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.base.js"); +var ColorRectangle_styles_1 = __webpack_require__(/*! ./ColorRectangle.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.styles.js"); +exports.ColorRectangle = (0, Utilities_1.styled)(ColorRectangle_base_1.ColorRectangleBase, ColorRectangle_styles_1.getStyles, undefined, { scope: 'ColorRectangle' }); +//# sourceMappingURL=ColorRectangle.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.styles.js": +/*!******************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.styles.js ***! + \******************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var getStyles = function (props) { + var _a, _b; + var className = props.className, theme = props.theme, minSize = props.minSize; + var palette = theme.palette, effects = theme.effects; + return { + root: [ + 'ms-ColorPicker-colorRect', + { + position: 'relative', + marginBottom: 8, + border: "1px solid ".concat(palette.neutralLighter), + borderRadius: effects.roundedCorner2, + minWidth: minSize, + minHeight: minSize, + outline: 'none', + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = tslib_1.__assign({}, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _a[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus")] = (_b = { + outline: "1px solid ".concat(palette.neutralSecondary) + }, + _b["".concat(Styling_1.HighContrastSelector)] = { + outline: '2px solid CanvasText', + }, + _b), + _a), + }, + className, + ], + light: [ + 'ms-ColorPicker-light', + { + position: 'absolute', + left: 0, + right: 0, + top: 0, + bottom: 0, + // Intentionally DO NOT flip the color picker in RTL: its orientation is not very meaningful, + // and getting all the math and styles flipped correctly is tricky + background: 'linear-gradient(to right, white 0%, transparent 100%) /*@noflip*/', + }, + ], + dark: [ + 'ms-ColorPicker-dark', + { + position: 'absolute', + left: 0, + right: 0, + top: 0, + bottom: 0, + background: 'linear-gradient(to bottom, transparent 0, #000 100%)', + }, + ], + thumb: [ + 'ms-ColorPicker-thumb', + { + position: 'absolute', + width: 20, + height: 20, + background: 'white', + border: "1px solid ".concat(palette.neutralSecondaryAlt), + borderRadius: '50%', + boxShadow: effects.elevation8, + transform: 'translate(-50%, -50%)', + selectors: { + ':before': { + position: 'absolute', + left: 0, + right: 0, + top: 0, + bottom: 0, + border: "2px solid ".concat(palette.white), + borderRadius: '50%', + boxSizing: 'border-box', + content: '""', + }, + }, + }, + ], + description: style_utilities_1.hiddenContentStyle, + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=ColorRectangle.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.types.js": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.types.js ***! + \*****************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=ColorRectangle.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.base.js": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.base.js ***! + \**********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ColorSliderBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var clamp_1 = __webpack_require__(/*! ../../../utilities/color/clamp */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/clamp.js"); +var consts_1 = __webpack_require__(/*! ../../../utilities/color/consts */ "./node_modules/@fluentui/react/lib-commonjs/utilities/color/consts.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * {@docCategory ColorPicker} + */ +var ColorSliderBase = /** @class */ (function (_super) { + tslib_1.__extends(ColorSliderBase, _super); + function ColorSliderBase(props) { + var _this = _super.call(this, props) || this; + _this._disposables = []; + _this._root = React.createRef(); + _this._onKeyDown = function (ev) { + var currentValue = _this.value; + var maxValue = _this._maxValue; + var increment = ev.shiftKey ? 10 : 1; + // Intentionally DO NOT flip the color picker in RTL: its orientation is not very meaningful, + // and getting all the math and styles flipped correctly is tricky + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case Utilities_1.KeyCodes.left: { + currentValue -= increment; + break; + } + case Utilities_1.KeyCodes.right: { + currentValue += increment; + break; + } + case Utilities_1.KeyCodes.home: { + currentValue = 0; + break; + } + case Utilities_1.KeyCodes.end: { + currentValue = maxValue; + break; + } + default: { + return; + } + } + _this._updateValue(ev, (0, clamp_1.clamp)(currentValue, maxValue)); + }; + _this._onMouseDown = function (ev) { + var win = (0, Utilities_1.getWindow)(_this); + if (win) { + _this._disposables.push((0, Utilities_1.on)(win, 'mousemove', _this._onMouseMove, true), (0, Utilities_1.on)(win, 'mouseup', _this._disposeListeners, true)); + } + _this._onMouseMove(ev); + }; + _this._onMouseMove = function (ev) { + if (!_this._root.current) { + return; + } + var maxValue = _this._maxValue; + var rectSize = _this._root.current.getBoundingClientRect(); + var currentPercentage = (ev.clientX - rectSize.left) / rectSize.width; + var newValue = (0, clamp_1.clamp)(Math.round(currentPercentage * maxValue), maxValue); + _this._updateValue(ev, newValue); + }; + _this._onTouchStart = function (ev) { + if (!_this._root.current) { + return; + } + // prevent touch from scrolling the page so that the touch can be dragged on the color rectangle. + ev.stopPropagation(); + }; + _this._onTouchMove = function (ev) { + if (!_this._root.current) { + return; + } + var lastTouch = ev.touches[ev.touches.length - 1]; + if (lastTouch.clientX !== undefined) { + var maxValue = _this._maxValue; + var rectSize = _this._root.current.getBoundingClientRect(); + var currentPercentage = (lastTouch.clientX - rectSize.left) / rectSize.width; + var newValue = (0, clamp_1.clamp)(Math.round(currentPercentage * maxValue), maxValue); + _this._updateValue(ev, newValue); + } + ev.preventDefault(); + ev.stopPropagation(); + }; + _this._disposeListeners = function () { + _this._disposables.forEach(function (dispose) { return dispose(); }); + _this._disposables = []; + }; + (0, Utilities_1.initializeComponentRef)(_this); + (0, Utilities_1.warnDeprecations)('ColorSlider', props, { + thumbColor: 'styles.sliderThumb', + overlayStyle: 'overlayColor', + isAlpha: 'type', + maxValue: 'type', + minValue: 'type', + }); + // eslint-disable-next-line deprecation/deprecation + if (_this._type !== 'hue' && !(props.overlayColor || props.overlayStyle)) { + (0, Utilities_1.warn)("ColorSlider: 'overlayColor' is required when 'type' is \"alpha\" or \"transparency\""); + } + _this.state = { + currentValue: props.value || 0, + }; + return _this; + } + Object.defineProperty(ColorSliderBase.prototype, "value", { + get: function () { + return this.state.currentValue; + }, + enumerable: false, + configurable: true + }); + ColorSliderBase.prototype.componentDidUpdate = function (prevProps, prevState) { + // if props changed (as opposed to a state update), set the value + // TODO: switch to strict controlled pattern instead + if (prevProps !== this.props && this.props.value !== undefined) { + this.setState({ currentValue: this.props.value }); + } + }; + ColorSliderBase.prototype.componentDidMount = function () { + if (this._root.current) { + // with Chrome's passive DOM listeners, stopPropagation and preventDefault only work if passive is false. + this._root.current.addEventListener('touchstart', this._onTouchStart, { capture: true, passive: false }); + this._root.current.addEventListener('touchmove', this._onTouchMove, { capture: true, passive: false }); + } + }; + ColorSliderBase.prototype.componentWillUnmount = function () { + if (this._root.current) { + this._root.current.removeEventListener('touchstart', this._onTouchStart); + this._root.current.removeEventListener('touchmove', this._onTouchMove); + } + this._disposeListeners(); + }; + ColorSliderBase.prototype.render = function () { + var type = this._type; + var maxValue = this._maxValue; + var _a = this.props, + // eslint-disable-next-line deprecation/deprecation + overlayStyle = _a.overlayStyle, overlayColor = _a.overlayColor, theme = _a.theme, className = _a.className, styles = _a.styles, _b = _a.ariaLabel, ariaLabel = _b === void 0 ? type : _b; + var currentValue = this.value; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + type: type, + }); + var currentPercentage = (100 * currentValue) / maxValue; + return (React.createElement("div", { ref: this._root, className: classNames.root, tabIndex: 0, onKeyDown: this._onKeyDown, onMouseDown: this._onMouseDown, role: "slider", "aria-valuenow": currentValue, "aria-valuetext": String(currentValue), "aria-valuemin": 0, "aria-valuemax": maxValue, "aria-label": ariaLabel, "data-is-focusable": true }, + !!(overlayColor || overlayStyle) && (React.createElement("div", { className: classNames.sliderOverlay, + // this isn't included in getStyles because it may change frequently + style: overlayColor + ? { + background: type === 'transparency' + ? "linear-gradient(to right, #".concat(overlayColor, ", transparent)") + : "linear-gradient(to right, transparent, #".concat(overlayColor, ")"), + } + : overlayStyle })), + React.createElement("div", { className: classNames.sliderThumb, style: { left: currentPercentage + '%' } }))); + }; + Object.defineProperty(ColorSliderBase.prototype, "_type", { + get: function () { + // eslint-disable-next-line deprecation/deprecation + var _a = this.props, isAlpha = _a.isAlpha, _b = _a.type, type = _b === void 0 ? isAlpha ? 'alpha' : 'hue' : _b; + return type; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(ColorSliderBase.prototype, "_maxValue", { + get: function () { + return this._type === 'hue' ? consts_1.MAX_COLOR_HUE : consts_1.MAX_COLOR_ALPHA; + }, + enumerable: false, + configurable: true + }); + ColorSliderBase.prototype._updateValue = function (ev, newValue) { + if (newValue === this.value) { + return; + } + var onChange = this.props.onChange; + if (onChange) { + onChange(ev, newValue); + } + if (!ev.defaultPrevented) { + this.setState({ + currentValue: newValue, + }); + ev.preventDefault(); + } + }; + ColorSliderBase.defaultProps = { + value: 0, + }; + return ColorSliderBase; +}(React.Component)); +exports.ColorSliderBase = ColorSliderBase; +//# sourceMappingURL=ColorSlider.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.js": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.js ***! + \*****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ColorSlider = void 0; +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ColorSlider_base_1 = __webpack_require__(/*! ./ColorSlider.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.base.js"); +var ColorSlider_styles_1 = __webpack_require__(/*! ./ColorSlider.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.styles.js"); +exports.ColorSlider = (0, Utilities_1.styled)(ColorSlider_base_1.ColorSliderBase, ColorSlider_styles_1.getStyles, undefined, { scope: 'ColorSlider' }); +//# sourceMappingURL=ColorSlider.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.styles.js": +/*!************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.styles.js ***! + \************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var hueStyle = { + background: "linear-gradient(".concat([ + 'to left', + 'red 0', + '#f09 10%', + '#cd00ff 20%', + '#3200ff 30%', + '#06f 40%', + '#00fffd 50%', + '#0f6 60%', + '#35ff00 70%', + '#cdff00 80%', + '#f90 90%', + 'red 100%', + ].join(','), ")"), +}; +var alphaStyle = { + backgroundImage: 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJUlEQVQYV2N89erVfwY0ICYmxoguxjgUFKI7GsTH5m4M3w1ChQC1/Ca8i2n1WgAAAABJRU5ErkJggg==)', +}; +var getStyles = function (props) { + var _a, _b; + // eslint-disable-next-line deprecation/deprecation + var theme = props.theme, className = props.className, _c = props.type, type = _c === void 0 ? 'hue' : _c, _d = props.isAlpha, useAlphaBackground = _d === void 0 ? type !== 'hue' : _d; + var palette = theme.palette, effects = theme.effects; + return { + root: [ + 'ms-ColorPicker-slider', + { + position: 'relative', + height: 20, + marginBottom: 8, + border: "1px solid ".concat(palette.neutralLight), + borderRadius: effects.roundedCorner2, + boxSizing: 'border-box', + outline: 'none', + forcedColorAdjust: 'none', + selectors: (_a = {}, + _a[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus")] = (_b = { + outline: "1px solid ".concat(palette.neutralSecondary) + }, + _b["".concat(Styling_1.HighContrastSelector)] = { + outline: '2px solid CanvasText', + }, + _b), + _a), + }, + useAlphaBackground ? alphaStyle : hueStyle, + className, + ], + sliderOverlay: [ + 'ms-ColorPicker-sliderOverlay', + { + content: '', + position: 'absolute', + left: 0, + right: 0, + top: 0, + bottom: 0, + }, + ], + sliderThumb: [ + 'ms-ColorPicker-thumb', + 'is-slider', + { + position: 'absolute', + width: 20, + height: 20, + background: 'white', + border: "1px solid ".concat(palette.neutralSecondaryAlt), + borderRadius: '50%', + boxShadow: effects.elevation8, + transform: 'translate(-50%, -50%)', + top: '50%', + forcedColorAdjust: 'auto', + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=ColorSlider.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.types.js": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.types.js ***! + \***********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=ColorSlider.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/index.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/index.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./ColorPicker */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ColorPicker.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ColorPicker.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorPicker.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ColorRectangle/ColorRectangle.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorRectangle/ColorRectangle.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ColorSlider/ColorSlider.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ColorPicker/ColorSlider/ColorSlider.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.classNames.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.classNames.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getComboBoxOptionClassNames = exports.getClassNames = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +exports.getClassNames = (0, Utilities_1.memoizeFunction)(function (styles, className, isOpen, disabled, required, focused, allowFreeForm, hasErrorMessage) { + return { + container: (0, Styling_1.mergeStyles)('ms-ComboBox-container', className, styles.container), + label: (0, Styling_1.mergeStyles)(styles.label, disabled && styles.labelDisabled), + root: (0, Styling_1.mergeStyles)('ms-ComboBox', hasErrorMessage ? styles.rootError : isOpen && 'is-open', required && 'is-required', styles.root, !allowFreeForm && styles.rootDisallowFreeForm, hasErrorMessage && !focused ? styles.rootError : !disabled && focused && styles.rootFocused, !disabled && { + selectors: { + ':hover': hasErrorMessage ? styles.rootError : !isOpen && !focused && styles.rootHovered, + ':active': hasErrorMessage ? styles.rootError : styles.rootPressed, + ':focus': hasErrorMessage ? styles.rootError : styles.rootFocused, + }, + }, disabled && ['is-disabled', styles.rootDisabled]), + input: (0, Styling_1.mergeStyles)('ms-ComboBox-Input', styles.input, disabled && styles.inputDisabled), + errorMessage: (0, Styling_1.mergeStyles)(styles.errorMessage), + callout: (0, Styling_1.mergeStyles)('ms-ComboBox-callout', styles.callout), + optionsContainerWrapper: (0, Styling_1.mergeStyles)('ms-ComboBox-optionsContainerWrapper', styles.optionsContainerWrapper), + optionsContainer: (0, Styling_1.mergeStyles)('ms-ComboBox-optionsContainer', styles.optionsContainer), + header: (0, Styling_1.mergeStyles)('ms-ComboBox-header', styles.header), + divider: (0, Styling_1.mergeStyles)('ms-ComboBox-divider', styles.divider), + screenReaderText: (0, Styling_1.mergeStyles)(styles.screenReaderText), + }; +}); +exports.getComboBoxOptionClassNames = (0, Utilities_1.memoizeFunction)(function (styles) { + return { + optionText: (0, Styling_1.mergeStyles)('ms-ComboBox-optionText', styles.optionText), + root: (0, Styling_1.mergeStyles)('ms-ComboBox-option', styles.root, { + selectors: { + ':hover': styles.rootHovered, + ':focus': styles.rootFocused, + ':active': styles.rootPressed, + }, + }), + optionTextWrapper: (0, Styling_1.mergeStyles)(styles.optionTextWrapper), + }; +}); +//# sourceMappingURL=ComboBox.classNames.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ComboBox = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Autofill_1 = __webpack_require__(/*! ../../Autofill */ "./node_modules/@fluentui/react/lib-commonjs/Autofill.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Callout_1 = __webpack_require__(/*! ../../Callout */ "./node_modules/@fluentui/react/lib-commonjs/Callout.js"); +var Checkbox_1 = __webpack_require__(/*! ../../Checkbox */ "./node_modules/@fluentui/react/lib-commonjs/Checkbox.js"); +var ComboBox_styles_1 = __webpack_require__(/*! ./ComboBox.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.styles.js"); +var ComboBox_classNames_1 = __webpack_require__(/*! ./ComboBox.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.classNames.js"); +var Label_1 = __webpack_require__(/*! ../../Label */ "./node_modules/@fluentui/react/lib-commonjs/Label.js"); +var SelectableOption_1 = __webpack_require__(/*! ../../SelectableOption */ "./node_modules/@fluentui/react/lib-commonjs/SelectableOption.js"); +var Button_1 = __webpack_require__(/*! ../../Button */ "./node_modules/@fluentui/react/lib-commonjs/Button.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var SearchDirection; +(function (SearchDirection) { + SearchDirection[SearchDirection["backward"] = -1] = "backward"; + SearchDirection[SearchDirection["none"] = 0] = "none"; + SearchDirection[SearchDirection["forward"] = 1] = "forward"; +})(SearchDirection || (SearchDirection = {})); +var HoverStatus; +(function (HoverStatus) { + /** Used when the user was hovering and has since moused out of the menu items */ + HoverStatus[HoverStatus["clearAll"] = -2] = "clearAll"; + /** Default "normal" state, when no hover has happened or a hover is in progress */ + HoverStatus[HoverStatus["default"] = -1] = "default"; +})(HoverStatus || (HoverStatus = {})); +var ScrollIdleDelay = 250; /* ms */ +var TouchIdleDelay = 500; /* ms */ +/** + * This is used to clear any pending autocomplete text (used when autocomplete is true and + * allowFreeform is false) + */ +var ReadOnlyPendingAutoCompleteTimeout = 1000; /* ms */ +/** + * Internal component that is used to wrap all ComboBox options. + * This is used to customize when we want to re-render components, + * so we don't re-render every option every time render is executed. + */ +var ComboBoxOptionWrapper = React.memo(function (_a) { + var render = _a.render; + return render(); +}, function (_a, _b) { + var oldRender = _a.render, oldProps = tslib_1.__rest(_a, ["render"]); + var newRender = _b.render, newProps = tslib_1.__rest(_b, ["render"]); + // The render function will always be different, so we ignore that prop + return (0, Utilities_1.shallowCompare)(oldProps, newProps); +}); +var COMPONENT_NAME = 'ComboBox'; +var DEFAULT_PROPS = { + options: [], + allowFreeform: false, + autoComplete: 'on', + buttonIconProps: { iconName: 'ChevronDown' }, +}; +function useOptionsState(_a) { + var options = _a.options, defaultSelectedKey = _a.defaultSelectedKey, selectedKey = _a.selectedKey; + /** The currently selected indices */ + var _b = React.useState(function () { + return getSelectedIndices(options, buildDefaultSelectedKeys(defaultSelectedKey, selectedKey)); + }), selectedIndices = _b[0], setSelectedIndices = _b[1]; + /** The options currently available for the callout */ + var _c = React.useState(options), currentOptions = _c[0], setCurrentOptions = _c[1]; + /** This value is used for the autocomplete hint value */ + var _d = React.useState(), suggestedDisplayValue = _d[0], setSuggestedDisplayValue = _d[1]; + React.useEffect(function () { + if (selectedKey !== undefined) { + var selectedKeys = buildSelectedKeys(selectedKey); + var indices = getSelectedIndices(options, selectedKeys); + setSelectedIndices(indices); + } + setCurrentOptions(options); + }, [options, selectedKey]); + React.useEffect(function () { + if (selectedKey === null) { + setSuggestedDisplayValue(undefined); + } + }, [selectedKey]); + return [ + selectedIndices, + setSelectedIndices, + currentOptions, + setCurrentOptions, + suggestedDisplayValue, + setSuggestedDisplayValue, + ]; +} +exports.ComboBox = React.forwardRef(function (propsWithoutDefaults, forwardedRef) { + var _a = (0, Utilities_1.getPropsWithDefaults)(DEFAULT_PROPS, propsWithoutDefaults), ref = _a.ref, props = tslib_1.__rest(_a, ["ref"]); + var rootRef = React.useRef(null); + var mergedRootRef = (0, react_hooks_1.useMergedRefs)(rootRef, forwardedRef); + var _b = useOptionsState(props), selectedIndices = _b[0], setSelectedIndices = _b[1], currentOptions = _b[2], setCurrentOptions = _b[3], suggestedDisplayValue = _b[4], setSuggestedDisplayValue = _b[5]; + return (React.createElement(ComboBoxInternal, tslib_1.__assign({}, props, { hoisted: { + mergedRootRef: mergedRootRef, + rootRef: rootRef, + selectedIndices: selectedIndices, + setSelectedIndices: setSelectedIndices, + currentOptions: currentOptions, + setCurrentOptions: setCurrentOptions, + suggestedDisplayValue: suggestedDisplayValue, + setSuggestedDisplayValue: setSuggestedDisplayValue, + } }))); +}); +exports.ComboBox.displayName = COMPONENT_NAME; +/** + * Depth-first search to find the first descendant element where the match function returns true. + * @param element - element to start searching at + * @param match - the function that determines if the element is a match + * @returns the matched element or null no match was found + */ +function findFirstDescendant(element, match) { + var children = (0, utilities_1.getChildren)(element); + // For loop is used because forEach cannot be stopped. + for (var index = 0; index < children.length; index++) { + var child = children[index]; + if (match(child)) { + return child; + } + var candidate = findFirstDescendant(child, match); + if (candidate) { + return candidate; + } + } + return null; +} +var ComboBoxInternal = /** @class */ (function (_super) { + tslib_1.__extends(ComboBoxInternal, _super); + function ComboBoxInternal(props) { + var _this = _super.call(this, props) || this; + /** The input aspect of the combo box */ + _this._autofill = React.createRef(); + /** The wrapping div of the input and button */ + _this._comboBoxWrapper = React.createRef(); + /** The callout element */ + _this._comboBoxMenu = React.createRef(); + /** The menu item element that is currently selected */ + _this._selectedElement = React.createRef(); + // props to prevent dismiss on scroll/resize immediately after opening + _this._overrideScrollDismiss = false; + /** + * {@inheritdoc} + */ + _this.focus = function (shouldOpenOnFocus, useFocusAsync) { + if (_this.props.disabled) { + return; + } + if (_this._autofill.current) { + if (useFocusAsync) { + (0, Utilities_1.focusAsync)(_this._autofill.current); + } + else { + _this._autofill.current.focus(); + } + if (shouldOpenOnFocus) { + _this.setState({ + isOpen: true, + }); + } + } + // Programmatically setting focus means that there is nothing else that needs to be done + // Focus is now contained + if (!_this._hasFocus()) { + _this.setState({ focusState: 'focused' }); + } + }; + /** + * Close menu callout if it is open + */ + _this.dismissMenu = function () { + var isOpen = _this.state.isOpen; + isOpen && _this.setState({ isOpen: false }); + }; + /** + * componentWillReceiveProps handler for the auto fill component + * Checks/updates the input value to set, if needed + * @param defaultVisibleValue - the defaultVisibleValue that got passed + * in to the auto fill's componentWillReceiveProps + * @returns - the updated value to set, if needed + */ + _this._onUpdateValueInAutofillWillReceiveProps = function () { + var comboBox = _this._autofill.current; + if (!comboBox) { + return null; + } + if (comboBox.value === null || comboBox.value === undefined) { + return null; + } + return normalizeToString(_this._currentVisibleValue); + }; + _this._renderComboBoxWrapper = function (multiselectAccessibleText, errorMessageId) { + var _a = _this.props, label = _a.label, disabled = _a.disabled, ariaLabel = _a.ariaLabel, _b = _a.ariaDescribedBy, ariaDescribedBy = _b === void 0 ? _this.props['aria-describedby'] : _b, required = _a.required, errorMessage = _a.errorMessage, buttonIconProps = _a.buttonIconProps, isButtonAriaHidden = _a.isButtonAriaHidden, title = _a.title, placeholderProp = _a.placeholder, tabIndex = _a.tabIndex, autofill = _a.autofill, iconButtonProps = _a.iconButtonProps, suggestedDisplayValue = _a.hoisted.suggestedDisplayValue; + var _c = _this.state, ariaActiveDescendantValue = _c.ariaActiveDescendantValue, isOpen = _c.isOpen; + // If the combo box has focus, is multiselect, and has a display string, then use that placeholder + // so that the selected items don't appear to vanish. This is not ideal but it's the only reasonable way + // to correct the behavior where the input is cleared so the user can type. If a full refactor is done, then this + // should be removed and the multiselect combo box should behave like a picker. + var placeholder = _this._hasFocus() && _this.props.multiSelect && multiselectAccessibleText + ? multiselectAccessibleText + : placeholderProp; + var labelledBy = [_this.props['aria-labelledby'], label && _this._id + '-label'].join(' ').trim(); + var labelProps = { + 'aria-labelledby': labelledBy ? labelledBy : undefined, + 'aria-label': ariaLabel && !label ? ariaLabel : undefined, + }; + return (React.createElement("div", { "data-ktp-target": true, ref: _this._comboBoxWrapper, id: _this._id + 'wrapper', className: _this._classNames.root, "aria-owns": isOpen ? _this._id + '-list' : undefined }, + React.createElement(Autofill_1.Autofill, tslib_1.__assign({ "data-ktp-execute-target": true, "data-is-interactable": !disabled, componentRef: _this._autofill, id: _this._id + '-input', className: _this._classNames.input, type: "text", onFocus: _this._onFocus, onBlur: _this._onBlur, onKeyDown: _this._onInputKeyDown, onKeyUp: _this._onInputKeyUp, onClick: _this._onAutofillClick, onTouchStart: _this._onTouchStart, onInputValueChange: _this._onInputChange, "aria-expanded": isOpen, "aria-autocomplete": _this._getAriaAutoCompleteValue(), role: "combobox", readOnly: disabled }, labelProps, { "aria-describedby": errorMessage !== undefined ? (0, Utilities_1.mergeAriaAttributeValues)(ariaDescribedBy, errorMessageId) : ariaDescribedBy, "aria-activedescendant": ariaActiveDescendantValue, "aria-required": required, "aria-disabled": disabled, "aria-controls": isOpen ? _this._id + '-list' : undefined, spellCheck: false, defaultVisibleValue: _this._currentVisibleValue, suggestedDisplayValue: suggestedDisplayValue, updateValueInWillReceiveProps: _this._onUpdateValueInAutofillWillReceiveProps, shouldSelectFullInputValueInComponentDidUpdate: _this._onShouldSelectFullInputValueInAutofillComponentDidUpdate, title: title, preventValueSelection: !_this._hasFocus(), placeholder: placeholder, tabIndex: disabled ? -1 : tabIndex }, autofill)), + React.createElement(Button_1.IconButton, tslib_1.__assign({ className: 'ms-ComboBox-CaretDown-button', styles: _this._getCaretButtonStyles(), role: isButtonAriaHidden ? 'presentation' : undefined, "aria-hidden": isButtonAriaHidden }, (!isButtonAriaHidden ? labelProps : undefined), { "data-is-focusable": false, tabIndex: -1, onClick: _this._onComboBoxClick, onBlur: _this._onBlur, iconProps: buttonIconProps, disabled: disabled, checked: isOpen }, iconButtonProps)))); + }; + /** + * componentDidUpdate handler for the auto fill component + * + * @param defaultVisibleValue - the current defaultVisibleValue in the auto fill's componentDidUpdate + * @param suggestedDisplayValue - the current suggestedDisplayValue in the auto fill's componentDidUpdate + * @returns - should the full value of the input be selected? + * True if the defaultVisibleValue equals the suggestedDisplayValue, false otherwise + */ + _this._onShouldSelectFullInputValueInAutofillComponentDidUpdate = function () { + return _this._currentVisibleValue === _this.props.hoisted.suggestedDisplayValue; + }; + /** + * Get the correct value to pass to the input + * to show to the user based off of the current props and state + * @returns the value to pass to the input + */ + _this._getVisibleValue = function () { + var _a = _this.props, text = _a.text, allowFreeform = _a.allowFreeform, allowFreeInput = _a.allowFreeInput, autoComplete = _a.autoComplete, _b = _a.hoisted, suggestedDisplayValue = _b.suggestedDisplayValue, selectedIndices = _b.selectedIndices, currentOptions = _b.currentOptions; + var _c = _this.state, currentPendingValueValidIndex = _c.currentPendingValueValidIndex, currentPendingValue = _c.currentPendingValue, isOpen = _c.isOpen; + var currentPendingIndexValid = indexWithinBounds(currentOptions, currentPendingValueValidIndex); + // If the user passed is a value prop, use that + // unless we are open and have a valid current pending index + if (!(isOpen && currentPendingIndexValid) && + (text || text === '') && + (currentPendingValue === null || currentPendingValue === undefined)) { + return text; + } + if (_this.props.multiSelect) { + // Multi-select + if (_this._hasFocus()) { + var index = -1; + if (autoComplete === 'on' && currentPendingIndexValid) { + index = currentPendingValueValidIndex; + } + return _this._getPendingString(currentPendingValue, currentOptions, index); + } + else { + return _this._getMultiselectDisplayString(selectedIndices, currentOptions, suggestedDisplayValue); + } + } + else { + // Single-select + var index = _this._getFirstSelectedIndex(); + if (allowFreeform || allowFreeInput) { + // If we are allowing freeform/free input and autocomplete is also true + // and we've got a pending value that matches an option, remember + // the matched option's index + if (autoComplete === 'on' && currentPendingIndexValid) { + index = currentPendingValueValidIndex; + } + // Since we are allowing freeform, if there is currently a pending value, use that + // otherwise use the index determined above (falling back to '' if we did not get a valid index) + return _this._getPendingString(currentPendingValue, currentOptions, index); + } + else { + // If we are not allowing freeform and have a valid index that matches the pending value, + // we know we will need some version of the pending value + if (currentPendingIndexValid && autoComplete === 'on') { + // If autoComplete is on, return the raw pending value, otherwise remember + // the matched option's index + index = currentPendingValueValidIndex; + return normalizeToString(currentPendingValue); + } + else if (!_this.state.isOpen && currentPendingValue) { + return indexWithinBounds(currentOptions, index) + ? currentPendingValue + : normalizeToString(suggestedDisplayValue); + } + else { + return indexWithinBounds(currentOptions, index) + ? getPreviewText(currentOptions[index]) + : normalizeToString(suggestedDisplayValue); + } + } + } + }; + /** + * Handler for typing changes on the input + * @param updatedValue - the newly changed value + */ + _this._onInputChange = function (updatedValue) { + if (_this.props.disabled) { + _this._handleInputWhenDisabled(null /* event */); + return; + } + if (_this.props.onInputValueChange) { + _this.props.onInputValueChange(updatedValue); + } + _this.props.allowFreeform || _this.props.allowFreeInput + ? _this._processInputChangeWithFreeform(updatedValue) + : _this._processInputChangeWithoutFreeform(updatedValue); + }; + /** + * Focus (and select) the content of the input + * and set the focused state + */ + _this._onFocus = function () { + var _a, _b; + (_b = (_a = _this._autofill.current) === null || _a === void 0 ? void 0 : _a.inputElement) === null || _b === void 0 ? void 0 : _b.select(); + if (!_this._hasFocus()) { + _this.setState({ focusState: 'focusing' }); + } + }; + /** + * Callback issued when the options should be resolved, if they have been updated or + * if they need to be passed in the first time. This only does work if an onResolveOptions + * callback was passed in + */ + _this._onResolveOptions = function () { + if (_this.props.onResolveOptions) { + // get the options + var newOptions_1 = _this.props.onResolveOptions(tslib_1.__spreadArray([], _this.props.hoisted.currentOptions, true)); + // Check to see if the returned value is an array, if it is update the state + // If the returned value is not an array then check to see if it's a promise or PromiseLike. + // If it is then resolve it asynchronously. + if (Array.isArray(newOptions_1)) { + _this.props.hoisted.setCurrentOptions(newOptions_1); + } + else if (newOptions_1 && newOptions_1.then) { + // Ensure that the promise will only use the callback if it was the most recent one + // and update the state when the promise returns + _this._currentPromise = newOptions_1; + newOptions_1.then(function (newOptionsFromPromise) { + if (newOptions_1 === _this._currentPromise) { + _this.props.hoisted.setCurrentOptions(newOptionsFromPromise); + } + }); + } + } + }; + /** + * OnBlur handler. Set the focused state to false + * and submit any pending value + */ + // eslint-disable-next-line deprecation/deprecation + _this._onBlur = function (event) { + var _a, _b; + // Do nothing if the blur is coming from something + // inside the comboBox root or the comboBox menu since + // it we are not really blurring from the whole comboBox + var relatedTarget = event.relatedTarget; + if (event.relatedTarget === null) { + // In IE11, due to lack of support, event.relatedTarget is always + // null making every onBlur call to be "outside" of the ComboBox + // even when it's not. Using document.activeElement is another way + // for us to be able to get what the relatedTarget without relying + // on the event + relatedTarget = document.activeElement; + } + if (relatedTarget) { + var isBlurFromComboBoxTitle = (_a = _this.props.hoisted.rootRef.current) === null || _a === void 0 ? void 0 : _a.contains(relatedTarget); + var isBlurFromComboBoxMenu = (_b = _this._comboBoxMenu.current) === null || _b === void 0 ? void 0 : _b.contains(relatedTarget); + var isBlurFromComboBoxMenuAncestor = _this._comboBoxMenu.current && + (0, Utilities_1.findElementRecursive)(_this._comboBoxMenu.current, function (element) { return element === relatedTarget; }); + if (isBlurFromComboBoxTitle || isBlurFromComboBoxMenu || isBlurFromComboBoxMenuAncestor) { + if (isBlurFromComboBoxMenuAncestor && + _this._hasFocus() && + (!_this.props.multiSelect || _this.props.allowFreeform)) { + _this._submitPendingValue(event); + } + event.preventDefault(); + event.stopPropagation(); + return; + } + } + if (_this._hasFocus()) { + _this.setState({ focusState: 'none' }); + if (!_this.props.multiSelect || _this.props.allowFreeform) { + _this._submitPendingValue(event); + } + } + }; + // Render Callout container and pass in list + _this._onRenderContainer = function (props, defaultRender) { + var onRenderList = props.onRenderList, calloutProps = props.calloutProps, dropdownWidth = props.dropdownWidth, dropdownMaxWidth = props.dropdownMaxWidth, _a = props.onRenderUpperContent, onRenderUpperContent = _a === void 0 ? _this._onRenderUpperContent : _a, _b = props.onRenderLowerContent, onRenderLowerContent = _b === void 0 ? _this._onRenderLowerContent : _b, useComboBoxAsMenuWidth = props.useComboBoxAsMenuWidth, persistMenu = props.persistMenu, _c = props.shouldRestoreFocus, shouldRestoreFocus = _c === void 0 ? true : _c; + var isOpen = _this.state.isOpen; + var id = _this._id; + var comboBoxMenuWidth = useComboBoxAsMenuWidth && _this._comboBoxWrapper.current + ? _this._comboBoxWrapper.current.clientWidth + 2 + : undefined; + return (React.createElement(Callout_1.Callout, tslib_1.__assign({ isBeakVisible: false, gapSpace: 0, doNotLayer: false, directionalHint: Callout_1.DirectionalHint.bottomLeftEdge, directionalHintFixed: false }, calloutProps, { onLayerMounted: _this._onLayerMounted, className: (0, Utilities_1.css)(_this._classNames.callout, calloutProps === null || calloutProps === void 0 ? void 0 : calloutProps.className), target: _this._comboBoxWrapper.current, onDismiss: _this._onDismiss, onMouseDown: _this._onCalloutMouseDown, onScroll: _this._onScroll, setInitialFocus: false, calloutWidth: useComboBoxAsMenuWidth && _this._comboBoxWrapper.current + ? comboBoxMenuWidth && comboBoxMenuWidth + : dropdownWidth, calloutMaxWidth: dropdownMaxWidth ? dropdownMaxWidth : comboBoxMenuWidth, hidden: persistMenu ? !isOpen : undefined, shouldRestoreFocus: shouldRestoreFocus, + // eslint-disable-next-line react/jsx-no-bind + preventDismissOnEvent: function (ev) { return _this._preventDismissOnScrollOrResize(ev); } }), + onRenderUpperContent(_this.props, _this._onRenderUpperContent), + React.createElement("div", { className: _this._classNames.optionsContainerWrapper, ref: _this._comboBoxMenu }, onRenderList === null || onRenderList === void 0 ? void 0 : onRenderList(tslib_1.__assign(tslib_1.__assign({}, props), { id: id }), _this._onRenderList)), + onRenderLowerContent(_this.props, _this._onRenderLowerContent))); + }; + _this._onLayerMounted = function () { + _this._onCalloutLayerMounted(); + // need to call this again here to get the correct scroll parent dimensions + // when the callout is first opened + _this._async.setTimeout(function () { + _this._scrollIntoView(); + }, 0); + if (_this.props.calloutProps && _this.props.calloutProps.onLayerMounted) { + _this.props.calloutProps.onLayerMounted(); + } + }; + _this._onRenderLabel = function (onRenderLabelProps) { + var _a = onRenderLabelProps.props, label = _a.label, disabled = _a.disabled, required = _a.required; + if (label) { + return (React.createElement(Label_1.Label, { id: _this._id + '-label', disabled: disabled, required: required, className: _this._classNames.label }, + label, + onRenderLabelProps.multiselectAccessibleText && (React.createElement("span", { className: _this._classNames.screenReaderText }, onRenderLabelProps.multiselectAccessibleText)))); + } + return null; + }; + // Render List of items + _this._onRenderList = function (props) { + var _a = props.onRenderItem, onRenderItem = _a === void 0 ? _this._onRenderItem : _a, label = props.label, ariaLabel = props.ariaLabel, multiSelect = props.multiSelect; + var queue = { items: [] }; + var renderedList = []; + var emptyQueue = function () { + var newGroup = queue.id + ? [ + React.createElement("div", { role: "group", key: queue.id, "aria-labelledby": queue.id }, queue.items), + ] + : queue.items; + renderedList = tslib_1.__spreadArray(tslib_1.__spreadArray([], renderedList, true), newGroup, true); + // Flush items and id + queue = { items: [] }; + }; + var placeRenderedOptionIntoQueue = function (item, index) { + /* + Case Header + empty queue if it's not already empty + ensure unique ID for header and set queue ID + push header into queue + Case Divider + push divider into queue if not first item + empty queue if not already empty + Default + push item into queue + */ + switch (item.itemType) { + case SelectableOption_1.SelectableOptionMenuItemType.Header: + queue.items.length > 0 && emptyQueue(); + var id_1 = _this._id + item.key; + queue.items.push(onRenderItem(tslib_1.__assign(tslib_1.__assign({ id: id_1 }, item), { index: index }), _this._onRenderItem)); + queue.id = id_1; + break; + case SelectableOption_1.SelectableOptionMenuItemType.Divider: + index > 0 && queue.items.push(onRenderItem(tslib_1.__assign(tslib_1.__assign({}, item), { index: index }), _this._onRenderItem)); + queue.items.length > 0 && emptyQueue(); + break; + default: + queue.items.push(onRenderItem(tslib_1.__assign(tslib_1.__assign({}, item), { index: index }), _this._onRenderItem)); + } + }; + // Place options into the queue. Queue will be emptied anytime a Header or Divider is encountered + props.options.forEach(function (item, index) { + placeRenderedOptionIntoQueue(item, index); + }); + // Push remaining items into all renderedList + queue.items.length > 0 && emptyQueue(); + var id = _this._id; + return (React.createElement("div", { id: id + '-list', className: _this._classNames.optionsContainer, "aria-labelledby": label && id + '-label', "aria-label": ariaLabel && !label ? ariaLabel : undefined, "aria-multiselectable": multiSelect ? 'true' : undefined, role: "listbox" }, renderedList)); + }; + // Render items + _this._onRenderItem = function (item) { + switch (item.itemType) { + case SelectableOption_1.SelectableOptionMenuItemType.Divider: + return _this._renderSeparator(item); + case SelectableOption_1.SelectableOptionMenuItemType.Header: + return _this._renderHeader(item); + default: + return _this._renderOption(item); + } + }; + // Default _onRenderLowerContent function returns nothing + _this._onRenderLowerContent = function () { + return null; + }; + // Default _onRenderUpperContent function returns nothing + _this._onRenderUpperContent = function () { + return null; + }; + _this._renderOption = function (item) { + var _a; + var _b = _this.props.onRenderOption, onRenderOption = _b === void 0 ? _this._onRenderOptionContent : _b; + var id = (_a = item.id) !== null && _a !== void 0 ? _a : _this._id + '-list' + item.index; + var isSelected = _this._isOptionSelected(item.index); + var isChecked = _this._isOptionChecked(item.index); + var isIndeterminate = _this._isOptionIndeterminate(item.index); + var optionStyles = _this._getCurrentOptionStyles(item); + var optionClassNames = (0, ComboBox_classNames_1.getComboBoxOptionClassNames)(_this._getCurrentOptionStyles(item)); + var title = item.title; + var getOptionComponent = function () { + return !_this.props.multiSelect ? (React.createElement(Button_1.CommandButton, { id: id, key: item.key, "data-index": item.index, styles: optionStyles, checked: isSelected, className: 'ms-ComboBox-option', onClick: _this._onItemClick(item), + // eslint-disable-next-line react/jsx-no-bind + onMouseEnter: _this._onOptionMouseEnter.bind(_this, item.index), + // eslint-disable-next-line react/jsx-no-bind + onMouseMove: _this._onOptionMouseMove.bind(_this, item.index), onMouseLeave: _this._onOptionMouseLeave, role: "option", "aria-selected": isSelected ? 'true' : 'false', ariaLabel: item.ariaLabel, disabled: item.disabled, title: title }, React.createElement("span", { className: optionClassNames.optionTextWrapper, ref: isSelected ? _this._selectedElement : undefined }, onRenderOption(item, _this._onRenderOptionContent)))) : (React.createElement(Checkbox_1.Checkbox, { id: id, ariaLabel: item.ariaLabel, ariaLabelledBy: item.ariaLabel ? undefined : id + '-label', key: item.key, styles: optionStyles, className: 'ms-ComboBox-option', onChange: _this._onItemClick(item), label: item.text, checked: isChecked, indeterminate: isIndeterminate, title: title, disabled: item.disabled, + // eslint-disable-next-line react/jsx-no-bind + onRenderLabel: _this._renderCheckboxLabel.bind(_this, tslib_1.__assign(tslib_1.__assign({}, item), { id: id + '-label' })), inputProps: tslib_1.__assign({ + // aria-selected should only be applied to checked items, not hovered items + 'aria-selected': isChecked ? 'true' : 'false', role: 'option' }, { + 'data-index': item.index, + 'data-is-focusable': true, + }) })); + }; + return (React.createElement(ComboBoxOptionWrapper, { key: item.key, index: item.index, disabled: item.disabled, isSelected: isSelected, isChecked: isChecked, isIndeterminate: isIndeterminate, text: item.text, + // eslint-disable-next-line react/jsx-no-bind + render: getOptionComponent, data: item.data })); + }; + /** + * Mouse clicks to headers, dividers and scrollbar should not make input lose focus + */ + _this._onCalloutMouseDown = function (ev) { + ev.preventDefault(); + }; + /** + * Scroll handler for the callout to make sure the mouse events + * for updating focus are not interacting during scroll + */ + _this._onScroll = function () { + var _a; + if (!_this._isScrollIdle && _this._scrollIdleTimeoutId !== undefined) { + _this._async.clearTimeout(_this._scrollIdleTimeoutId); + _this._scrollIdleTimeoutId = undefined; + } + else { + _this._isScrollIdle = false; + } + if ((_a = _this.props.calloutProps) === null || _a === void 0 ? void 0 : _a.onScroll) { + _this.props.calloutProps.onScroll(); + } + _this._scrollIdleTimeoutId = _this._async.setTimeout(function () { + _this._isScrollIdle = true; + }, ScrollIdleDelay); + }; + _this._onRenderOptionContent = function (item) { + var optionClassNames = (0, ComboBox_classNames_1.getComboBoxOptionClassNames)(_this._getCurrentOptionStyles(item)); + return React.createElement("span", { className: optionClassNames.optionText }, item.text); + }; + /* + * Render content of a multiselect item label. + * Text within the label is aria-hidden, to prevent duplicate input/label exposure + */ + _this._onRenderMultiselectOptionContent = function (item) { + var optionClassNames = (0, ComboBox_classNames_1.getComboBoxOptionClassNames)(_this._getCurrentOptionStyles(item)); + return (React.createElement("span", { id: item.id, "aria-hidden": "true", className: optionClassNames.optionText }, item.text)); + }; + /** + * Handles dismissing (cancelling) the menu + */ + _this._onDismiss = function () { + var onMenuDismiss = _this.props.onMenuDismiss; + if (onMenuDismiss) { + onMenuDismiss(); + } + // In persistMode we need to simulate callout layer mount + // since that only happens once. We do it on dismiss since + // it works either way. + if (_this.props.persistMenu) { + _this._onCalloutLayerMounted(); + } + // close the menu + _this._setOpenStateAndFocusOnClose(false /* isOpen */, false /* focusInputAfterClose */); + // reset the selected index + // to the last value state + _this._resetSelectedIndex(); + }; + _this._onAfterClearPendingInfo = function () { + _this._processingClearPendingInfo = false; + }; + /** + * Handle keydown on the input + * @param ev - The keyboard event that was fired + */ + _this._onInputKeyDown = function (ev) { + var _a = _this.props, disabled = _a.disabled, allowFreeform = _a.allowFreeform, allowFreeInput = _a.allowFreeInput, autoComplete = _a.autoComplete, currentOptions = _a.hoisted.currentOptions; + var _b = _this.state, isOpen = _b.isOpen, currentPendingValueValidIndexOnHover = _b.currentPendingValueValidIndexOnHover; + // Take note if we are processing an alt (option) or meta (command) keydown. + // See comment in _onInputKeyUp for reasoning. + _this._lastKeyDownWasAltOrMeta = isAltOrMeta(ev); + if (disabled) { + _this._handleInputWhenDisabled(ev); + return; + } + var index = _this._getPendingSelectedIndex(false /* includeCurrentPendingValue */); + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case Utilities_1.KeyCodes.enter: + if (_this._autofill.current && _this._autofill.current.inputElement) { + _this._autofill.current.inputElement.select(); + } + _this._submitPendingValue(ev); + if (_this.props.multiSelect && isOpen) { + _this.setState({ + currentPendingValueValidIndex: index, + }); + } + else { + // On enter submit the pending value + if (isOpen || + ((!allowFreeform || + _this.state.currentPendingValue === undefined || + _this.state.currentPendingValue === null || + _this.state.currentPendingValue.length <= 0) && + _this.state.currentPendingValueValidIndex < 0)) { + // if we are open or + // if we are not allowing freeform or + // our we have no pending value + // and no valid pending index + // flip the open state + _this.setState({ + isOpen: !isOpen, + }); + } + } + break; + case Utilities_1.KeyCodes.tab: + // On enter submit the pending value + if (!_this.props.multiSelect) { + _this._submitPendingValue(ev); + } + // If we are not allowing freeform + // or the combo box is open, flip the open state + if (isOpen) { + _this._setOpenStateAndFocusOnClose(!isOpen, false /* focusInputAfterClose */); + } + // Allow TAB to propagate + return; + case Utilities_1.KeyCodes.escape: + // reset the selected index + _this._resetSelectedIndex(); + // Close the menu if opened + if (isOpen) { + _this.setState({ + isOpen: false, + }); + } + else { + return; + } + break; + case Utilities_1.KeyCodes.up: + // if we are in clearAll state (e.g. the user as hovering + // and has since mousedOut of the menu items), + // go to the last index + if (currentPendingValueValidIndexOnHover === HoverStatus.clearAll) { + index = _this.props.hoisted.currentOptions.length; + } + if (ev.altKey || ev.metaKey) { + // Close the menu if it is open and break so + // that the event get stopPropagation and prevent default. + // Otherwise, we need to let the event continue to propagate + if (isOpen) { + _this._setOpenStateAndFocusOnClose(!isOpen, true /* focusInputAfterClose */); + break; + } + return; + } + // do not scroll page + ev.preventDefault(); + // Go to the previous option + _this._setPendingInfoFromIndexAndDirection(index, SearchDirection.backward); + break; + case Utilities_1.KeyCodes.down: + // Expand the combo box on ALT + DownArrow + if (ev.altKey || ev.metaKey) { + _this._setOpenStateAndFocusOnClose(true /* isOpen */, true /* focusInputAfterClose */); + } + else { + // if we are in clearAll state (e.g. the user as hovering + // and has since mousedOut of the menu items), + // go to the first index + if (currentPendingValueValidIndexOnHover === HoverStatus.clearAll) { + index = -1; + } + // do not scroll page + ev.preventDefault(); + // Got to the next option + _this._setPendingInfoFromIndexAndDirection(index, SearchDirection.forward); + } + break; + case Utilities_1.KeyCodes.home: + case Utilities_1.KeyCodes.end: + if (allowFreeform || allowFreeInput) { + return; + } + // Set the initial values to respond to HOME + // which goes to the first selectable option + index = -1; + var directionToSearch = SearchDirection.forward; + // If end, update the values to respond to END + // which goes to the last selectable option + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.end) { + index = currentOptions.length; + directionToSearch = SearchDirection.backward; + } + _this._setPendingInfoFromIndexAndDirection(index, directionToSearch); + break; + /* eslint-disable no-fallthrough */ + case Utilities_1.KeyCodes.space: + // event handled in _onComboBoxKeyUp + if (!allowFreeform && !allowFreeInput && autoComplete === 'off') { + break; + } + default: + /* eslint-enable no-fallthrough */ + // are we processing a function key? if so bail out + // eslint-disable-next-line deprecation/deprecation + if (ev.which >= 112 /* F1 */ && ev.which <= 123 /* F12 */) { + return; + } + // If we get here and we got either and ALT key + // or meta key, let the event propagate + // eslint-disable-next-line deprecation/deprecation + if (ev.keyCode === Utilities_1.KeyCodes.alt || ev.key === 'Meta' /* && isOpen */) { + return; + } + // If we are not allowing freeform or free input and + // allowing autoComplete, handle the input here + if (!allowFreeform && !allowFreeInput && autoComplete === 'on') { + _this._onInputChange(ev.key); + break; + } + // allow the key to propagate by default + return; + } + ev.stopPropagation(); + ev.preventDefault(); + }; + /** + * Handle keyup on the input + * @param ev - the keyboard event that was fired + */ + _this._onInputKeyUp = function (ev) { + var _a = _this.props, disabled = _a.disabled, allowFreeform = _a.allowFreeform, allowFreeInput = _a.allowFreeInput, autoComplete = _a.autoComplete; + var isOpen = _this.state.isOpen; + // We close the menu on key up only if ALL of the following are true: + // - Most recent key down was alt or meta (command) + // - The alt/meta key down was NOT followed by some other key (such as down/up arrow to + // expand/collapse the menu) + // - We're not on a Mac (or iOS) + // This is because on Windows, pressing alt moves focus to the application menu bar or similar, + // closing any open context menus. There is not a similar behavior on Macs. + var keyPressIsAltOrMetaAlone = _this._lastKeyDownWasAltOrMeta && isAltOrMeta(ev); + _this._lastKeyDownWasAltOrMeta = false; + var shouldHandleKey = keyPressIsAltOrMetaAlone && !((0, Utilities_1.isMac)() || (0, Utilities_1.isIOS)()); + if (disabled) { + _this._handleInputWhenDisabled(ev); + return; + } + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case Utilities_1.KeyCodes.space: + // If we are not allowing freeform or free input, and autoComplete is off + // make space expand/collapse the combo box + // and allow the event to propagate + if (!allowFreeform && !allowFreeInput && autoComplete === 'off') { + _this._setOpenStateAndFocusOnClose(!isOpen, !!isOpen); + } + return; + default: + if (shouldHandleKey && isOpen) { + _this._setOpenStateAndFocusOnClose(!isOpen, true /* focusInputAfterClose */); + } + else { + if (_this.state.focusState === 'focusing' && _this.props.openOnKeyboardFocus) { + _this.setState({ isOpen: true }); + } + if (_this.state.focusState !== 'focused') { + _this.setState({ focusState: 'focused' }); + } + } + return; + } + }; + _this._onOptionMouseLeave = function () { + if (_this._shouldIgnoreMouseEvent()) { + return; + } + // Ignore the event in persistMenu mode if the callout has + // closed. This is to avoid clearing the visuals on item click. + if (_this.props.persistMenu && !_this.state.isOpen) { + return; + } + _this.setState({ + currentPendingValueValidIndexOnHover: HoverStatus.clearAll, + }); + }; + /** + * Click handler for the button of the combo box and the input when not allowing freeform. + * This toggles the expand/collapse state of the combo box (if enabled). + */ + _this._onComboBoxClick = function () { + var disabled = _this.props.disabled; + var isOpen = _this.state.isOpen; + if (!disabled) { + _this._setOpenStateAndFocusOnClose(!isOpen, false /* focusInputAfterClose */); + _this.setState({ focusState: 'focused' }); + } + }; + /** + * Click handler for the autofill. + */ + _this._onAutofillClick = function () { + var _a = _this.props, disabled = _a.disabled, allowFreeform = _a.allowFreeform; + if (allowFreeform && !disabled) { + _this.focus(_this.state.isOpen || _this._processingTouch); + } + else { + _this._onComboBoxClick(); + } + }; + _this._onTouchStart = function () { + if (_this._comboBoxWrapper.current && !('onpointerdown' in _this._comboBoxWrapper)) { + _this._handleTouchAndPointerEvent(); + } + }; + _this._onPointerDown = function (ev) { + if (ev.pointerType === 'touch') { + _this._handleTouchAndPointerEvent(); + ev.preventDefault(); + ev.stopImmediatePropagation(); + } + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this._async = new Utilities_1.Async(_this); + _this._events = new Utilities_1.EventGroup(_this); + (0, Utilities_1.warnMutuallyExclusive)(COMPONENT_NAME, props, { + defaultSelectedKey: 'selectedKey', + text: 'defaultSelectedKey', + selectedKey: 'value', + dropdownWidth: 'useComboBoxAsMenuWidth', + ariaLabel: 'label', + }); + _this._id = props.id || (0, Utilities_1.getId)('ComboBox'); + _this._isScrollIdle = true; + _this._processingTouch = false; + _this._gotMouseMove = false; + _this._processingClearPendingInfo = false; + _this.state = { + isOpen: false, + focusState: 'none', + currentPendingValueValidIndex: -1, + currentPendingValue: undefined, + currentPendingValueValidIndexOnHover: HoverStatus.default, + }; + return _this; + } + Object.defineProperty(ComboBoxInternal.prototype, "selectedOptions", { + /** + * All selected options + */ + get: function () { + var _a = this.props.hoisted, currentOptions = _a.currentOptions, selectedIndices = _a.selectedIndices; + return (0, SelectableOption_1.getAllSelectedOptions)(currentOptions, selectedIndices); + }, + enumerable: false, + configurable: true + }); + ComboBoxInternal.prototype.componentDidMount = function () { + if (this._comboBoxWrapper.current && !this.props.disabled) { + // hook up resolving the options if needed on focus + this._events.on(this._comboBoxWrapper.current, 'focus', this._onResolveOptions, true); + if ('onpointerdown' in this._comboBoxWrapper.current) { + // For ComboBoxes, touching anywhere in the combo box should drop the dropdown, including the input element. + // This gives more hit target space for touch environments. We're setting the onpointerdown here, because React + // does not support Pointer events yet. + this._events.on(this._comboBoxWrapper.current, 'pointerdown', this._onPointerDown, true); + } + } + }; + ComboBoxInternal.prototype.componentDidUpdate = function (prevProps, prevState) { + var _this = this; + var _a, _b, _c; + var _d = this.props, allowFreeform = _d.allowFreeform, allowFreeInput = _d.allowFreeInput, text = _d.text, onMenuOpen = _d.onMenuOpen, onMenuDismissed = _d.onMenuDismissed, _e = _d.hoisted, currentOptions = _e.currentOptions, selectedIndices = _e.selectedIndices; + var _f = this.state, currentPendingValue = _f.currentPendingValue, currentPendingValueValidIndex = _f.currentPendingValueValidIndex, isOpen = _f.isOpen; + // If we are newly open or are open and the pending valid index changed, + // make sure the currently selected/pending option is scrolled into view + if (isOpen && (!prevState.isOpen || prevState.currentPendingValueValidIndex !== currentPendingValueValidIndex)) { + // Need this timeout so that the selectedElement ref is correctly updated + this._async.setTimeout(function () { return _this._scrollIntoView(); }, 0); + } + // if an action is taken that put focus in the ComboBox + // and If we are open or we are just closed, shouldFocusAfterClose is set, + // but we are not the activeElement set focus on the input + if (this._hasFocus() && + (isOpen || + (prevState.isOpen && + !isOpen && + this._focusInputAfterClose && + this._autofill.current && + document.activeElement !== this._autofill.current.inputElement))) { + this.focus(undefined /*shouldOpenOnFocus*/, true /*useFocusAsync*/); + } + // If we should focusAfterClose AND + // just opened/closed the menu OR + // are focused AND + // updated the selectedIndex with the menu closed OR + // are not allowing freeform or free input OR + // the value changed + // we need to set selection + if (this._focusInputAfterClose && + ((prevState.isOpen && !isOpen) || + (this._hasFocus() && + ((!isOpen && + !this.props.multiSelect && + prevProps.hoisted.selectedIndices && + selectedIndices && + prevProps.hoisted.selectedIndices[0] !== selectedIndices[0]) || + (!allowFreeform && !allowFreeInput) || + text !== prevProps.text)))) { + this._onFocus(); + } + this._notifyPendingValueChanged(prevState); + if (isOpen && !prevState.isOpen) { + // handle dismiss buffer after suggestions are opened + this._overrideScrollDismiss = true; + this._async.clearTimeout(this._overrideScrollDimissTimeout); + this._overrideScrollDimissTimeout = this._async.setTimeout(function () { + _this._overrideScrollDismiss = false; + }, 100); + onMenuOpen === null || onMenuOpen === void 0 ? void 0 : onMenuOpen(); + } + if (!isOpen && prevState.isOpen && onMenuDismissed) { + onMenuDismissed(); + } + var newCurrentPendingValueValidIndex = currentPendingValueValidIndex; + var options = currentOptions.map(function (item, index) { return (tslib_1.__assign(tslib_1.__assign({}, item), { index: index })); }); + // If currentOptions differs from the previous currentOptions we need to update the currentPendingValueValidIndex + // otherwise, it will be out of sync with the currentOptions. This can happen when the options are filtered. + if (!(0, Utilities_1.shallowCompare)(prevProps.hoisted.currentOptions, currentOptions) && currentPendingValue) { + newCurrentPendingValueValidIndex = + this.props.allowFreeform || this.props.allowFreeInput + ? this._processInputChangeWithFreeform(currentPendingValue) + : this._updateAutocompleteIndexWithoutFreeform(currentPendingValue); + } + var descendantText = undefined; + if (isOpen && this._hasFocus() && newCurrentPendingValueValidIndex !== -1) { + descendantText = + (_a = options[newCurrentPendingValueValidIndex].id) !== null && _a !== void 0 ? _a : this._id + '-list' + newCurrentPendingValueValidIndex; + } + else if (isOpen && selectedIndices.length) { + descendantText = (_c = (_b = options[selectedIndices[0]]) === null || _b === void 0 ? void 0 : _b.id) !== null && _c !== void 0 ? _c : this._id + '-list' + selectedIndices[0]; + } + if (descendantText !== this.state.ariaActiveDescendantValue) { + this.setState({ + ariaActiveDescendantValue: descendantText, + }); + } + }; + ComboBoxInternal.prototype.componentWillUnmount = function () { + this._async.dispose(); + this._events.dispose(); + }; + // Primary Render + ComboBoxInternal.prototype.render = function () { + var id = this._id; + var errorMessageId = id + '-error'; + var _a = this.props, className = _a.className, disabled = _a.disabled, required = _a.required, errorMessage = _a.errorMessage, _b = _a.onRenderContainer, onRenderContainer = _b === void 0 ? this._onRenderContainer : _b, _c = _a.onRenderLabel, onRenderLabel = _c === void 0 ? this._onRenderLabel : _c, _d = _a.onRenderList, onRenderList = _d === void 0 ? this._onRenderList : _d, _e = _a.onRenderItem, onRenderItem = _e === void 0 ? this._onRenderItem : _e, _f = _a.onRenderOption, onRenderOption = _f === void 0 ? this._onRenderOptionContent : _f, allowFreeform = _a.allowFreeform, customStyles = _a.styles, theme = _a.theme, persistMenu = _a.persistMenu, multiSelect = _a.multiSelect, _g = _a.hoisted, suggestedDisplayValue = _g.suggestedDisplayValue, selectedIndices = _g.selectedIndices, currentOptions = _g.currentOptions; + var isOpen = this.state.isOpen; + this._currentVisibleValue = this._getVisibleValue(); + // Single select is already accessible since the whole text is selected + // when focus enters the input. Since multiselect appears to clear the input + // it needs special accessible text + var multiselectAccessibleText = multiSelect + ? this._getMultiselectDisplayString(selectedIndices, currentOptions, suggestedDisplayValue) + : undefined; + var divProps = (0, Utilities_1.getNativeProps)(this.props, Utilities_1.divProperties, [ + 'onChange', + 'value', + 'aria-describedby', + 'aria-labelledby', + ]); + var hasErrorMessage = errorMessage && errorMessage.length > 0 ? true : false; + this._classNames = this.props.getClassNames + ? this.props.getClassNames(theme, !!isOpen, !!disabled, !!required, !!this._hasFocus(), !!allowFreeform, !!hasErrorMessage, className) + : (0, ComboBox_classNames_1.getClassNames)((0, ComboBox_styles_1.getStyles)(theme, customStyles), className, !!isOpen, !!disabled, !!required, !!this._hasFocus(), !!allowFreeform, !!hasErrorMessage); + var comboBoxWrapper = this._renderComboBoxWrapper(multiselectAccessibleText, errorMessageId); + return (React.createElement("div", tslib_1.__assign({}, divProps, { ref: this.props.hoisted.mergedRootRef, className: this._classNames.container }), + onRenderLabel({ props: this.props, multiselectAccessibleText: multiselectAccessibleText }, this._onRenderLabel), + comboBoxWrapper, + (persistMenu || isOpen) && + onRenderContainer(tslib_1.__assign(tslib_1.__assign({}, this.props), { onRenderList: onRenderList, onRenderItem: onRenderItem, onRenderOption: onRenderOption, options: currentOptions.map(function (item, index) { return (tslib_1.__assign(tslib_1.__assign({}, item), { index: index })); }), onDismiss: this._onDismiss }), this._onRenderContainer), + hasErrorMessage && (React.createElement("div", { role: "alert", id: errorMessageId, className: this._classNames.errorMessage }, errorMessage)))); + }; + ComboBoxInternal.prototype._getPendingString = function (currentPendingValue, currentOptions, index) { + return currentPendingValue !== null && currentPendingValue !== undefined + ? currentPendingValue + : indexWithinBounds(currentOptions, index) + ? getPreviewText(currentOptions[index]) + : ''; + }; + /** + * Returns a string that concatenates all of the selected values + * for multiselect combo box. + */ + ComboBoxInternal.prototype._getMultiselectDisplayString = function (selectedIndices, currentOptions, suggestedDisplayValue) { + var displayValues = []; + for (var idx = 0; selectedIndices && idx < selectedIndices.length; idx++) { + var index = selectedIndices[idx]; + if (currentOptions[index].itemType !== SelectableOption_1.SelectableOptionMenuItemType.SelectAll) { + displayValues.push(indexWithinBounds(currentOptions, index) + ? currentOptions[index].text + : normalizeToString(suggestedDisplayValue)); + } + } + var _a = this.props.multiSelectDelimiter, multiSelectDelimiter = _a === void 0 ? ', ' : _a; + return displayValues.join(multiSelectDelimiter); + }; + /** + * Do not dismiss if the window resizes or scrolls within 100ms of opening + * This prevents the Android issue where pickers immediately dismiss on open, because the keyboard appears + * @param ev - the event triggering the dismiss check + * @returns a boolean indicating whether the callout dismissal should be prevented + */ + ComboBoxInternal.prototype._preventDismissOnScrollOrResize = function (ev) { + if (this._overrideScrollDismiss && (ev.type === 'scroll' || ev.type === 'resize')) { + return true; + } + return false; + }; + /** + * Process the new input's new value when the combo box allows freeform entry + * @param updatedValue - the input's newly changed value + * @returns the index of the matched option, -1 if no match was found + */ + ComboBoxInternal.prototype._processInputChangeWithFreeform = function (updatedValue) { + var currentOptions = this.props.hoisted.currentOptions; + var newCurrentPendingValueValidIndex = -1; + // if the new value is empty, see if we have an exact match and then set the pending info + if (updatedValue === '') { + var items = currentOptions + .map(function (item, index) { return (tslib_1.__assign(tslib_1.__assign({}, item), { index: index })); }) + .filter(function (option) { return isNormalOption(option) && !option.disabled && getPreviewText(option) === updatedValue; }); + // if we found a match remember the index + if (items.length === 1) { + newCurrentPendingValueValidIndex = items[0].index; + } + this._setPendingInfo(updatedValue, newCurrentPendingValueValidIndex, updatedValue); + return newCurrentPendingValueValidIndex; + } + // Remember the original value and then make the value lowercase for comparison + var originalUpdatedValue = updatedValue; + updatedValue = updatedValue.toLocaleLowerCase(); + var newSuggestedDisplayValue = ''; + // If autoComplete is on, attempt to find a match from the available options + if (this.props.autoComplete === 'on') { + // If autoComplete is on, attempt to find a match where the text of an option starts with the updated value + var items = currentOptions + .map(function (item, index) { return (tslib_1.__assign(tslib_1.__assign({}, item), { index: index })); }) + .filter(function (option) { + return isNormalOption(option) && + !option.disabled && + getPreviewText(option).toLocaleLowerCase().indexOf(updatedValue) === 0; + }); + if (items.length > 0) { + // use ariaLabel as the value when the option is set + var text = getPreviewText(items[0]); + // If the user typed out the complete option text, we don't need any suggested display text anymore + newSuggestedDisplayValue = text.toLocaleLowerCase() !== updatedValue ? text : ''; + // remember the index of the match we found + newCurrentPendingValueValidIndex = items[0].index; + } + } + else { + // If autoComplete is off, attempt to find a match only when the value is exactly equal to the text of an option + var items = currentOptions + .map(function (item, index) { return (tslib_1.__assign(tslib_1.__assign({}, item), { index: index })); }) + .filter(function (option) { + return isNormalOption(option) && !option.disabled && getPreviewText(option).toLocaleLowerCase() === updatedValue; + }); + // if we found a match remember the index + if (items.length === 1) { + newCurrentPendingValueValidIndex = items[0].index; + } + } + // Set the updated state + this._setPendingInfo(originalUpdatedValue, newCurrentPendingValueValidIndex, newSuggestedDisplayValue); + return newCurrentPendingValueValidIndex; + }; + /** + * Process the new input's new value when the combo box does not allow freeform entry + * @param updatedValue - the input's newly changed value + * @returns the index of the matched option + */ + ComboBoxInternal.prototype._processInputChangeWithoutFreeform = function (updatedValue) { + var _this = this; + var _a = this.state, currentPendingValue = _a.currentPendingValue, currentPendingValueValidIndex = _a.currentPendingValueValidIndex; + if (this.props.autoComplete === 'on') { + // If autoComplete is on while allow freeform is off, + // we will remember the key press and build up a string to attempt to match + // as long as characters are typed within a the timeout span of each other, + // otherwise we will clear the string and start building a new one on the next keypress. + // Also, only do this processing if we have a non-empty value + if (updatedValue !== '') { + // If we have a pending autocomplete clearing task, + // we know that the user is typing with key press happening + // within the timeout of each other so remove the clearing task + // and continue building the pending value with the updated value + if (this._autoCompleteTimeout) { + this._async.clearTimeout(this._autoCompleteTimeout); + this._autoCompleteTimeout = undefined; + updatedValue = normalizeToString(currentPendingValue) + updatedValue; + } + var matchingIndex = this._updateAutocompleteIndexWithoutFreeform(updatedValue); + // Schedule a timeout to clear the pending value after the timeout span + this._autoCompleteTimeout = this._async.setTimeout(function () { + _this._autoCompleteTimeout = undefined; + }, ReadOnlyPendingAutoCompleteTimeout); + return matchingIndex; + } + } + // If we get here, autoComplete is off. + // Remember we are not allowing freeform, so at this point, if we have a pending valid value index + // use that; otherwise use the selectedIndex + var index = currentPendingValueValidIndex >= 0 ? currentPendingValueValidIndex : this._getFirstSelectedIndex(); + // Since we are not allowing freeform, we need to + // set both the pending and suggested values/index + // to allow us to select all content in the input to + // give the illusion that we are readonly (e.g. freeform off) + this._setPendingInfoFromIndex(index); + return index; + }; + ComboBoxInternal.prototype._updateAutocompleteIndexWithoutFreeform = function (updatedValue) { + var currentOptions = this.props.hoisted.currentOptions; + var originalUpdatedValue = updatedValue; + updatedValue = updatedValue.toLocaleLowerCase(); + // If autoComplete is on, attempt to find a match where the text of an option starts with the updated value + var items = currentOptions + .map(function (item, i) { return (tslib_1.__assign(tslib_1.__assign({}, item), { index: i })); }) + .filter(function (option) { + return isNormalOption(option) && !option.disabled && option.text.toLocaleLowerCase().indexOf(updatedValue) === 0; + }); + // If we found a match, update the state + if (items.length > 0) { + this._setPendingInfo(originalUpdatedValue, items[0].index, getPreviewText(items[0])); + return items[0].index; + } + return -1; + }; + ComboBoxInternal.prototype._getFirstSelectedIndex = function () { + var selectedIndices = this.props.hoisted.selectedIndices; + return (selectedIndices === null || selectedIndices === void 0 ? void 0 : selectedIndices.length) ? selectedIndices[0] : -1; + }; + /** + * Walk along the options starting at the index, stepping by the delta (positive or negative) + * looking for the next valid selectable index (e.g. skipping headings and dividers) + * @param index - the index to get the next selectable index from + * @param delta - optional delta to step by when finding the next index, defaults to 0 + * @returns - the next valid selectable index. If the new index is outside of the bounds, + * it will snap to the edge of the options array. If delta == 0 and the given index is not selectable + */ + ComboBoxInternal.prototype._getNextSelectableIndex = function (index, searchDirection) { + var currentOptions = this.props.hoisted.currentOptions; + var newIndex = index + searchDirection; + newIndex = Math.max(0, Math.min(currentOptions.length - 1, newIndex)); + if (!indexWithinBounds(currentOptions, newIndex)) { + return -1; + } + var option = currentOptions[newIndex]; + if (!isSelectableOption(option) || option.hidden === true) { + // Should we continue looking for an index to select? + if (searchDirection !== SearchDirection.none && + ((newIndex > 0 && searchDirection < SearchDirection.none) || + (newIndex >= 0 && newIndex < currentOptions.length && searchDirection > SearchDirection.none))) { + newIndex = this._getNextSelectableIndex(newIndex, searchDirection); + } + else { + // If we cannot perform a useful search just return the index we were given + return index; + } + } + // We have the next valid selectable index, return it + return newIndex; + }; + /** + * Set the selected index. Note, this is + * the "real" selected index, not the pending selected index + * @param index - the index to set (or the index to set from if a search direction is provided) + * @param searchDirection - the direction to search along the options from the given index + */ + ComboBoxInternal.prototype._setSelectedIndex = function (index, submitPendingValueEvent, searchDirection) { + if (searchDirection === void 0) { searchDirection = SearchDirection.none; } + var _a = this.props, onChange = _a.onChange, onPendingValueChanged = _a.onPendingValueChanged, _b = _a.hoisted, initialIndices = _b.selectedIndices, currentOptions = _b.currentOptions; + // Clone currentOptions and selectedIndices so we don't mutate state + var selectedIndices = initialIndices ? initialIndices.slice() : []; + var changedOptions = currentOptions.slice(); + // Find the next selectable index, if searchDirection is none + // we will get our starting index back + index = this._getNextSelectableIndex(index, searchDirection); + if (!indexWithinBounds(currentOptions, index)) { + return; + } + // Are we at a new index? If so, update the state, otherwise + // there is nothing to do + if (this.props.multiSelect || + selectedIndices.length < 1 || + (selectedIndices.length === 1 && selectedIndices[0] !== index)) { + var option = tslib_1.__assign({}, currentOptions[index]); + // if option doesn't existing, or option is disabled, we noop + if (!option || option.disabled) { + return; + } + if (this.props.multiSelect) { + // Setting the initial state of option.selected in Multi-select combo box by checking the + // selectedIndices array and overriding the undefined issue + option.selected = option.selected !== undefined ? !option.selected : selectedIndices.indexOf(index) < 0; + // handle changing all options if SelectAll is changed + if (option.itemType === SelectableOption_1.SelectableOptionMenuItemType.SelectAll) { + selectedIndices = []; + // if select all is set to checked, push all selectable option indices + if (option.selected) { + currentOptions.forEach(function (currentOption, i) { + if (!currentOption.disabled && isSelectableOption(currentOption)) { + selectedIndices.push(i); + changedOptions[i] = tslib_1.__assign(tslib_1.__assign({}, currentOption), { selected: true }); + } + }); + } + // otherwise un-check all options + else { + changedOptions = currentOptions.map(function (currentOption) { return (tslib_1.__assign(tslib_1.__assign({}, currentOption), { selected: false })); }); + } + } + // otherwise update the individual option + else { + if (option.selected && selectedIndices.indexOf(index) < 0) { + selectedIndices.push(index); + } + else if (!option.selected && selectedIndices.indexOf(index) >= 0) { + selectedIndices = selectedIndices.filter(function (value) { return value !== index; }); + } + changedOptions[index] = option; + // If SelectAll exists and another option was toggled, update the SelectAll option's state + var selectAllOption = changedOptions.filter(function (o) { return o.itemType === SelectableOption_1.SelectableOptionMenuItemType.SelectAll; })[0]; + if (selectAllOption) { + var selectAllState = this._isSelectAllChecked(selectedIndices); + var selectAllIndex_1 = changedOptions.indexOf(selectAllOption); + if (selectAllState) { + selectedIndices.push(selectAllIndex_1); + changedOptions[selectAllIndex_1] = tslib_1.__assign(tslib_1.__assign({}, selectAllOption), { selected: true }); + } + else { + selectedIndices = selectedIndices.filter(function (value) { return value !== selectAllIndex_1; }); + changedOptions[selectAllIndex_1] = tslib_1.__assign(tslib_1.__assign({}, selectAllOption), { selected: false }); + } + } + } + } + else { + selectedIndices[0] = index; + } + submitPendingValueEvent.persist(); + // Only setState if combo box is uncontrolled. + if (this.props.selectedKey || this.props.selectedKey === null) { + // If combo box value is changed, revert preview first + if (this._hasPendingValue && onPendingValueChanged) { + onPendingValueChanged(); + this._hasPendingValue = false; + } + } + else { + this.props.hoisted.setSelectedIndices(selectedIndices); + this.props.hoisted.setCurrentOptions(changedOptions); + // If ComboBox value is changed, revert preview first + if (this._hasPendingValue && onPendingValueChanged) { + onPendingValueChanged(); + this._hasPendingValue = false; + } + } + // Call onChange after state is updated + if (onChange) { + onChange(submitPendingValueEvent, option, index, getPreviewText(option)); + } + } + if (this.props.multiSelect && this.state.isOpen) { + return; + } + // clear all of the pending info + this._clearPendingInfo(); + }; + /** + * Submit a pending value if there is one + */ + ComboBoxInternal.prototype._submitPendingValue = function (submitPendingValueEvent) { + var _a; + var _b = this.props, onChange = _b.onChange, allowFreeform = _b.allowFreeform, autoComplete = _b.autoComplete, multiSelect = _b.multiSelect, hoisted = _b.hoisted; + var currentOptions = hoisted.currentOptions; + var _c = this.state, currentPendingValue = _c.currentPendingValue, currentPendingValueValidIndex = _c.currentPendingValueValidIndex, currentPendingValueValidIndexOnHover = _c.currentPendingValueValidIndexOnHover; + var selectedIndices = this.props.hoisted.selectedIndices; + // Do not submit any pending value if we + // have already initiated clearing the pending info + if (this._processingClearPendingInfo) { + return; + } + // If we allow freeform we need to handle that + if (allowFreeform) { + // if currentPendingValue is null or undefined the user did not submit anything + // (not even empty because we would have stored that as the pending value) + if (currentPendingValue === null || currentPendingValue === undefined) { + // if a user did not type anything they may just hovered over an item + if (currentPendingValueValidIndexOnHover >= 0) { + this._setSelectedIndex(currentPendingValueValidIndexOnHover, submitPendingValueEvent); + this._clearPendingInfo(); + } + return; + } + // Check to see if the user typed an exact match + if (indexWithinBounds(currentOptions, currentPendingValueValidIndex)) { + var pendingOptionText = getPreviewText(currentOptions[currentPendingValueValidIndex]).toLocaleLowerCase(); + var autofill = this._autofill.current; + // By exact match, that means: our pending value is the same as the pending option text OR + // the pending option starts with the pending value and we have an "autoComplete" selection + // where the total length is equal to pending option length OR + // the live value in the underlying input matches the pending option; update the state + if (currentPendingValue.toLocaleLowerCase() === pendingOptionText || + (autoComplete && + pendingOptionText.indexOf(currentPendingValue.toLocaleLowerCase()) === 0 && + (autofill === null || autofill === void 0 ? void 0 : autofill.isValueSelected) && + currentPendingValue.length + (autofill.selectionEnd - autofill.selectionStart) === + pendingOptionText.length) || + ((_a = autofill === null || autofill === void 0 ? void 0 : autofill.inputElement) === null || _a === void 0 ? void 0 : _a.value.toLocaleLowerCase()) === pendingOptionText) { + this._setSelectedIndex(currentPendingValueValidIndex, submitPendingValueEvent); + if (multiSelect && this.state.isOpen) { + return; + } + this._clearPendingInfo(); + return; + } + } + if (onChange) { + if (onChange) { + // trigger onChange to clear value + onChange(submitPendingValueEvent, undefined, undefined, currentPendingValue); + } + } + else { + // If we are not controlled, create a new selected option + var newOption = { + key: currentPendingValue || (0, Utilities_1.getId)(), + text: normalizeToString(currentPendingValue), + }; + // If it's multiselect, set selected state to true + if (multiSelect) { + newOption.selected = true; + } + var newOptions = currentOptions.concat([newOption]); + if (selectedIndices) { + if (!multiSelect) { + selectedIndices = []; + } + selectedIndices.push(newOptions.length - 1); + } + hoisted.setCurrentOptions(newOptions); + hoisted.setSelectedIndices(selectedIndices); + } + } + else if (currentPendingValueValidIndex >= 0) { + // Since we are not allowing freeform, we must have a matching + // to be able to update state + this._setSelectedIndex(currentPendingValueValidIndex, submitPendingValueEvent); + } + else if (currentPendingValueValidIndexOnHover >= 0) { + // If all else failed and we were hovering over an item, select it + this._setSelectedIndex(currentPendingValueValidIndexOnHover, submitPendingValueEvent); + } + // Finally, clear the pending info + this._clearPendingInfo(); + }; + ComboBoxInternal.prototype._onCalloutLayerMounted = function () { + // In persistMenu mode _onLayerMounted is only called once for the lifetime + // of the component. Any functionality required for callout "on mount" can + // go here so that we can also call it again during callout dismissal to reset + // object state. + this._gotMouseMove = false; + }; + // Render separator + ComboBoxInternal.prototype._renderSeparator = function (item) { + var index = item.index, key = item.key; + if (index && index > 0) { + return React.createElement("div", { role: "presentation", key: key, className: this._classNames.divider }); + } + return null; + }; + ComboBoxInternal.prototype._renderHeader = function (item) { + var _a = this.props.onRenderOption, onRenderOption = _a === void 0 ? this._onRenderOptionContent : _a; + return (React.createElement("div", { id: item.id, key: item.key, className: this._classNames.header }, onRenderOption(item, this._onRenderOptionContent))); + }; + ComboBoxInternal.prototype._renderCheckboxLabel = function (item) { + var _a = this.props.onRenderOption, onRenderOption = _a === void 0 ? this._onRenderMultiselectOptionContent : _a; + return onRenderOption(item, this._onRenderMultiselectOptionContent); + }; + /** + * If we are coming from a mouseOut: + * there is no visible selected option. + * + * Else if We are hovering over an item: + * that gets the selected look. + * + * Else: + * Use the current valid pending index if it exists OR + * we do not have a valid index and we currently have a pending input value, + * otherwise use the selected index + * */ + ComboBoxInternal.prototype._isOptionHighlighted = function (index) { + var currentPendingValueValidIndexOnHover = this.state.currentPendingValueValidIndexOnHover; + // If the hover state is set to clearAll, don't show a selected index. + // Note, this happens when the user moused out of the menu items + if (currentPendingValueValidIndexOnHover === HoverStatus.clearAll) { + return false; + } + return currentPendingValueValidIndexOnHover >= 0 + ? currentPendingValueValidIndexOnHover === index + : this._isOptionSelected(index); + }; + ComboBoxInternal.prototype._isOptionSelected = function (index) { + return this._getPendingSelectedIndex(true /* includePendingValue */) === index; + }; + ComboBoxInternal.prototype._isOptionChecked = function (index) { + if (this.props.multiSelect && index !== undefined && this.props.hoisted.selectedIndices) { + var idxOfSelectedIndex = -1; + idxOfSelectedIndex = this.props.hoisted.selectedIndices.indexOf(index); + return idxOfSelectedIndex >= 0; + } + return false; + }; + ComboBoxInternal.prototype._isOptionIndeterminate = function (index) { + var _a = this.props, multiSelect = _a.multiSelect, hoisted = _a.hoisted; + if (multiSelect && index !== undefined && hoisted.selectedIndices && hoisted.currentOptions) { + var option = hoisted.currentOptions[index]; + if (option && option.itemType === SelectableOption_1.SelectableOptionMenuItemType.SelectAll) { + return hoisted.selectedIndices.length > 0 && !this._isSelectAllChecked(); + } + } + return false; + }; + ComboBoxInternal.prototype._isSelectAllChecked = function (testIndices) { + var _a = this.props, multiSelect = _a.multiSelect, hoisted = _a.hoisted; + var selectAllOption = hoisted.currentOptions.find(function (option) { return option.itemType === SelectableOption_1.SelectableOptionMenuItemType.SelectAll; }); + var selectedIndices = testIndices || hoisted.selectedIndices; + if (!multiSelect || !selectedIndices || !selectAllOption) { + return false; + } + // start by not including the select all option itself + var selectAllIndex = hoisted.currentOptions.indexOf(selectAllOption); + var compareSelectedIndices = selectedIndices.filter(function (value) { return value !== selectAllIndex; }); + // get array of selectable options, excluding disabled options, headers, and dividers + var selectableOptions = hoisted.currentOptions.filter(function (option) { + return !option.disabled && option.itemType !== SelectableOption_1.SelectableOptionMenuItemType.SelectAll && isSelectableOption(option); + }); + return compareSelectedIndices.length === selectableOptions.length; + }; + /** + * Gets the pending selected index taking into account valueValidIndex and selectedIndex + * @param includeCurrentPendingValue - Should we include the currentPendingValue when + * finding the index + */ + ComboBoxInternal.prototype._getPendingSelectedIndex = function (includeCurrentPendingValue) { + var _a = this.state, currentPendingValueValidIndex = _a.currentPendingValueValidIndex, currentPendingValue = _a.currentPendingValue; + return currentPendingValueValidIndex >= 0 || + (includeCurrentPendingValue && currentPendingValue !== null && currentPendingValue !== undefined) + ? currentPendingValueValidIndex + : this.props.multiSelect + ? -1 + : this._getFirstSelectedIndex(); + }; + /** + * Scroll the selected element into view + */ + ComboBoxInternal.prototype._scrollIntoView = function () { + var _a = this.props, onScrollToItem = _a.onScrollToItem, scrollSelectedToTop = _a.scrollSelectedToTop; + var currentPendingSelectedIndex = this._getPendingSelectedIndex(true); + if (onScrollToItem) { + // Use the custom scroll handler + onScrollToItem(currentPendingSelectedIndex >= 0 ? currentPendingSelectedIndex : this._getFirstSelectedIndex()); + return; + } + var scrollToElement = this._selectedElement.current; + // in multi-select there are multiple selected elements, so we use the pending select index + // to locate the option to scroll to. + if (this.props.multiSelect && this._comboBoxMenu.current) { + scrollToElement = findFirstDescendant(this._comboBoxMenu.current, function (element) { + var _a; + return ((_a = element.dataset) === null || _a === void 0 ? void 0 : _a.index) === currentPendingSelectedIndex.toString(); + }); + } + if (scrollToElement && scrollToElement.offsetParent) { + var alignToTop = true; + // We are using refs, scroll the ref into view + if (this._comboBoxMenu.current && this._comboBoxMenu.current.offsetParent) { + var scrollableParent = this._comboBoxMenu.current.offsetParent; + var selectedElement = scrollToElement.offsetParent; + var _b = selectedElement, offsetHeight = _b.offsetHeight, offsetTop = _b.offsetTop; + var _c = scrollableParent, parentOffsetHeight = _c.offsetHeight, scrollTop = _c.scrollTop; + var isAbove = offsetTop < scrollTop; + var isBelow = offsetTop + offsetHeight > scrollTop + parentOffsetHeight; + if (isAbove || scrollSelectedToTop) { + alignToTop = false; + scrollableParent.scrollTo(0, offsetTop); + } + else if (isBelow) { + scrollableParent.scrollTo(0, offsetTop - parentOffsetHeight + offsetHeight); + } + } + // if _comboboxMenu doesn't exist, fall back to scrollIntoView + else { + scrollToElement.offsetParent.scrollIntoView(alignToTop); + } + } + }; + /** + * Click handler for the menu items + * to select the item and also close the menu + * @param index - the index of the item that was clicked + */ + ComboBoxInternal.prototype._onItemClick = function (item) { + var _this = this; + var onItemClick = this.props.onItemClick; + var index = item.index; + return function (ev) { + // only close the callout when it's in single-select mode + if (!_this.props.multiSelect) { + // ensure that focus returns to the input, not the button + _this._autofill.current && _this._autofill.current.focus(); + _this.setState({ + isOpen: false, + }); + } + // Continue processing the click only after + // performing menu close / control focus(inner working) + onItemClick && onItemClick(ev, item, index); + _this._setSelectedIndex(index, ev); + }; + }; + /** + * Reset the selected index by clearing the + * input (of any pending text), clearing the pending state, + * and setting the suggested display value to the last + * selected state text + */ + ComboBoxInternal.prototype._resetSelectedIndex = function () { + var currentOptions = this.props.hoisted.currentOptions; + this._clearPendingInfo(); + var selectedIndex = this._getFirstSelectedIndex(); + if (selectedIndex > 0 && selectedIndex < currentOptions.length) { + this.props.hoisted.setSuggestedDisplayValue(currentOptions[selectedIndex].text); + } + else if (this.props.text) { + // If we had a value initially, restore it + this.props.hoisted.setSuggestedDisplayValue(this.props.text); + } + }; + /** + * Clears the pending info state + */ + ComboBoxInternal.prototype._clearPendingInfo = function () { + this._processingClearPendingInfo = true; + this.props.hoisted.setSuggestedDisplayValue(undefined); + this.setState({ + currentPendingValue: undefined, + currentPendingValueValidIndex: -1, + currentPendingValueValidIndexOnHover: HoverStatus.default, + }, this._onAfterClearPendingInfo); + }; + /** + * Set the pending info + * @param currentPendingValue - new pending value to set + * @param currentPendingValueValidIndex - new pending value index to set + * @param suggestedDisplayValue - new suggest display value to set + */ + ComboBoxInternal.prototype._setPendingInfo = function (currentPendingValue, currentPendingValueValidIndex, suggestedDisplayValue) { + if (currentPendingValueValidIndex === void 0) { currentPendingValueValidIndex = -1; } + if (this._processingClearPendingInfo) { + return; + } + this.props.hoisted.setSuggestedDisplayValue(suggestedDisplayValue); + this.setState({ + currentPendingValue: normalizeToString(currentPendingValue), + currentPendingValueValidIndex: currentPendingValueValidIndex, + currentPendingValueValidIndexOnHover: HoverStatus.default, + }); + }; + /** + * Set the pending info from the given index + * @param index - the index to set the pending info from + */ + ComboBoxInternal.prototype._setPendingInfoFromIndex = function (index) { + var currentOptions = this.props.hoisted.currentOptions; + if (index >= 0 && index < currentOptions.length) { + var option = currentOptions[index]; + this._setPendingInfo(getPreviewText(option), index, getPreviewText(option)); + } + else { + this._clearPendingInfo(); + } + }; + /** + * Sets the pending info for the combo box + * @param index - the index to search from + * @param searchDirection - the direction to search + */ + ComboBoxInternal.prototype._setPendingInfoFromIndexAndDirection = function (index, searchDirection) { + var currentOptions = this.props.hoisted.currentOptions; + // update index to allow content to wrap + if (searchDirection === SearchDirection.forward && index >= currentOptions.length - 1) { + index = -1; + } + else if (searchDirection === SearchDirection.backward && index <= 0) { + index = currentOptions.length; + } + // get the next "valid" index + var indexUpdate = this._getNextSelectableIndex(index, searchDirection); + // if the two indices are equal we didn't move and + // we should attempt to get get the first/last "valid" index to use + // (Note, this takes care of the potential cases where the first/last + // item is not focusable), otherwise use the updated index + if (index === indexUpdate) { + if (searchDirection === SearchDirection.forward) { + index = this._getNextSelectableIndex(-1, searchDirection); + } + else if (searchDirection === SearchDirection.backward) { + index = this._getNextSelectableIndex(currentOptions.length, searchDirection); + } + } + else { + index = indexUpdate; + } + if (indexWithinBounds(currentOptions, index)) { + this._setPendingInfoFromIndex(index); + } + }; + ComboBoxInternal.prototype._notifyPendingValueChanged = function (prevState) { + var onPendingValueChanged = this.props.onPendingValueChanged; + if (!onPendingValueChanged) { + return; + } + var currentOptions = this.props.hoisted.currentOptions; + var _a = this.state, currentPendingValue = _a.currentPendingValue, currentPendingValueValidIndex = _a.currentPendingValueValidIndex, currentPendingValueValidIndexOnHover = _a.currentPendingValueValidIndexOnHover; + var newPendingIndex = undefined; + var newPendingValue = undefined; + if (currentPendingValueValidIndexOnHover !== prevState.currentPendingValueValidIndexOnHover && + indexWithinBounds(currentOptions, currentPendingValueValidIndexOnHover)) { + // Set new pending index if hover index was changed + newPendingIndex = currentPendingValueValidIndexOnHover; + } + else if (currentPendingValueValidIndex !== prevState.currentPendingValueValidIndex && + indexWithinBounds(currentOptions, currentPendingValueValidIndex)) { + // Set new pending index if currentPendingValueValidIndex was changed + newPendingIndex = currentPendingValueValidIndex; + } + else if (currentPendingValue !== prevState.currentPendingValue) { + // Set pendingValue in the case it was changed and no index was changed + newPendingValue = currentPendingValue; + } + // Notify when there is a new pending index/value. Also, if there is a pending value, it needs to send undefined. + if (newPendingIndex !== undefined || newPendingValue !== undefined || this._hasPendingValue) { + onPendingValueChanged(newPendingIndex !== undefined ? currentOptions[newPendingIndex] : undefined, newPendingIndex, newPendingValue); + this._hasPendingValue = newPendingIndex !== undefined || newPendingValue !== undefined; + } + }; + /** + * Sets the isOpen state and updates focusInputAfterClose + */ + ComboBoxInternal.prototype._setOpenStateAndFocusOnClose = function (isOpen, focusInputAfterClose) { + this._focusInputAfterClose = focusInputAfterClose; + this.setState({ isOpen: isOpen }); + }; + ComboBoxInternal.prototype._onOptionMouseEnter = function (index) { + if (this._shouldIgnoreMouseEvent()) { + return; + } + this.setState({ + currentPendingValueValidIndexOnHover: index, + }); + }; + ComboBoxInternal.prototype._onOptionMouseMove = function (index) { + this._gotMouseMove = true; + if (!this._isScrollIdle || this.state.currentPendingValueValidIndexOnHover === index) { + return; + } + this.setState({ + currentPendingValueValidIndexOnHover: index, + }); + }; + ComboBoxInternal.prototype._shouldIgnoreMouseEvent = function () { + return !this._isScrollIdle || !this._gotMouseMove; + }; + /** + * Handle dismissing the menu and eating the required key event when disabled + * @param ev - the keyboard event that was fired + */ + ComboBoxInternal.prototype._handleInputWhenDisabled = function (ev) { + // If we are disabled, close the menu (if needed) + // and eat all keystrokes other than TAB or ESC + if (this.props.disabled) { + if (this.state.isOpen) { + this.setState({ isOpen: false }); + } + // When disabled stop propagation and prevent default + // of the event unless we have a tab, escape, or function key + if (ev !== null && + // eslint-disable-next-line deprecation/deprecation + ev.which !== Utilities_1.KeyCodes.tab && + // eslint-disable-next-line deprecation/deprecation + ev.which !== Utilities_1.KeyCodes.escape && + // eslint-disable-next-line deprecation/deprecation + (ev.which < 112 /* F1 */ || ev.which > 123) /* F12 */) { + ev.stopPropagation(); + ev.preventDefault(); + } + } + }; + ComboBoxInternal.prototype._handleTouchAndPointerEvent = function () { + var _this = this; + // If we already have an existing timeout from a previous touch and pointer event + // cancel that timeout so we can set a nwe one. + if (this._lastTouchTimeoutId !== undefined) { + this._async.clearTimeout(this._lastTouchTimeoutId); + this._lastTouchTimeoutId = undefined; + } + this._processingTouch = true; + this._lastTouchTimeoutId = this._async.setTimeout(function () { + _this._processingTouch = false; + _this._lastTouchTimeoutId = undefined; + }, TouchIdleDelay); + }; + /** + * Get the styles for the current option. + * @param item - Item props for the current option + */ + ComboBoxInternal.prototype._getCaretButtonStyles = function () { + var customCaretDownButtonStyles = this.props.caretDownButtonStyles; + return (0, ComboBox_styles_1.getCaretDownButtonStyles)(this.props.theme, customCaretDownButtonStyles); + }; + /** + * Get the styles for the current option. + * @param item - Item props for the current option + */ + ComboBoxInternal.prototype._getCurrentOptionStyles = function (item) { + var customStylesForAllOptions = this.props.comboBoxOptionStyles; + var customStylesForCurrentOption = item.styles; + return (0, ComboBox_styles_1.getOptionStyles)(this.props.theme, customStylesForAllOptions, customStylesForCurrentOption, this._isPendingOption(item), item.hidden, this._isOptionHighlighted(item.index)); + }; + /** + * Get the aria autocomplete value for the combo box + * @returns 'inline' if auto-complete automatically dynamic, 'both' if we have a list of possible values to pick from + * and can dynamically populate input, and 'list' if auto-complete is not enabled as selection is the only option. + * Ideally, this should be 'none' if auto-complete is not enabled, but there is a known bug in Edge + * where the callout may appear over the combo box if this attribute is set to 'none' + */ + ComboBoxInternal.prototype._getAriaAutoCompleteValue = function () { + var autoComplete = !this.props.disabled && this.props.autoComplete === 'on'; + return autoComplete ? (this.props.allowFreeform ? 'inline' : 'both') : 'list'; + }; + ComboBoxInternal.prototype._isPendingOption = function (item) { + return item && item.index === this.state.currentPendingValueValidIndex; + }; + /** + * Returns true if the component has some kind of focus. If it's either focusing or if it's focused + */ + ComboBoxInternal.prototype._hasFocus = function () { + return this.state.focusState !== 'none'; + }; + ComboBoxInternal = tslib_1.__decorate([ + (0, Utilities_1.customizable)('ComboBox', ['theme', 'styles'], true) + ], ComboBoxInternal); + return ComboBoxInternal; +}(React.Component)); +/** + * Get the indices of the options that are marked as selected + * @param options - the combo box options + * @param selectedKeys - the known selected keys to find + * @returns - an array of the indices of the selected options, empty array if nothing is selected + */ +function getSelectedIndices(options, selectedKeys) { + if (!options || !selectedKeys) { + return []; + } + var selectedIndices = {}; + options.forEach(function (option, index) { + if (option.selected) { + selectedIndices[index] = true; + } + }); + var _loop_1 = function (selectedKey) { + var index = (0, Utilities_1.findIndex)(options, function (option) { return option.key === selectedKey; }); + if (index > -1) { + selectedIndices[index] = true; + } + }; + for (var _i = 0, selectedKeys_1 = selectedKeys; _i < selectedKeys_1.length; _i++) { + var selectedKey = selectedKeys_1[_i]; + _loop_1(selectedKey); + } + return Object.keys(selectedIndices).map(Number).sort(); +} +/** + * Given default selected key(s) and selected key(s), return the selected keys(s). + * When default selected key(s) are available, they take precedence and return them instead of selected key(s). + * + * @returns No matter what specific types the input parameters are, always return an array of + * either strings or numbers instead of primitive type. This normalization makes caller's logic easier. + */ +function buildDefaultSelectedKeys(defaultSelectedKey, selectedKey) { + var selectedKeys = buildSelectedKeys(defaultSelectedKey); + if (selectedKeys.length) { + return selectedKeys; + } + return buildSelectedKeys(selectedKey); +} +function buildSelectedKeys(selectedKey) { + if (selectedKey === undefined) { + return []; + } + // need to cast here so typescript does not complain + return (selectedKey instanceof Array ? selectedKey : [selectedKey]); +} +function normalizeToString(value) { + return value || ''; +} +/** + * Is the index within the bounds of the array? + * @param options - options to check if the index is valid for + * @param index - the index to check + * @returns - true if the index is valid for the given options, false otherwise + */ +function indexWithinBounds(options, index) { + return !!options && index >= 0 && index < options.length; +} +/** Whether this is a normal option, not a header or divider or select all. */ +function isNormalOption(option) { + return (option.itemType !== SelectableOption_1.SelectableOptionMenuItemType.Header && + option.itemType !== SelectableOption_1.SelectableOptionMenuItemType.Divider && + option.itemType !== SelectableOption_1.SelectableOptionMenuItemType.SelectAll); +} +/** Whether this is a selectable option, not a header or divider. */ +function isSelectableOption(option) { + return (option.itemType !== SelectableOption_1.SelectableOptionMenuItemType.Header && option.itemType !== SelectableOption_1.SelectableOptionMenuItemType.Divider); +} +/** + * For scenarios where the option's `text` prop contains embedded styles, we use the option's + * `ariaLabel` value as the text in the input and for autocomplete matching. We know to use this + * when the `useAriaLabelAsText` prop is set to true. + */ +function getPreviewText(item) { + return item.useAriaLabelAsText && item.ariaLabel ? item.ariaLabel : item.text; +} +/** + * Returns true if the key for the event is alt (Mac option) or meta (Mac command). + */ +function isAltOrMeta(ev) { + // eslint-disable-next-line deprecation/deprecation + return ev.which === Utilities_1.KeyCodes.alt || ev.key === 'Meta'; +} +//# sourceMappingURL=ComboBox.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.styles.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.styles.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +var _a, _b; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = exports.getCaretDownButtonStyles = exports.getOptionStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ComboBoxHeight = 32; +var ComboBoxLineHeight = 30; +var ComboBoxCaretDownWidth = 32; +var ComboBoxOptionHeight = 36; +var getDisabledStyles = (0, Utilities_1.memoizeFunction)(function (theme) { + var _a; + var semanticColors = theme.semanticColors; + return { + backgroundColor: semanticColors.disabledBackground, + color: semanticColors.disabledText, + cursor: 'default', + selectors: (_a = { + ':after': { + borderColor: semanticColors.disabledBackground, + } + }, + _a[Styling_1.HighContrastSelector] = { + color: 'GrayText', + selectors: { + ':after': { + borderColor: 'GrayText', + }, + }, + }, + _a), + }; +}); +var listOptionHighContrastStyles = { + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = tslib_1.__assign({ backgroundColor: 'Highlight', borderColor: 'Highlight', color: 'HighlightText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _a), +}; +var inputHighContrastStyles = { + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'WindowText', backgroundColor: 'Window' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _b), +}; +exports.getOptionStyles = (0, Utilities_1.memoizeFunction)(function (theme, customStylesForAllOptions, customOptionStylesForCurrentOption, isPending, isHidden, isSelected) { + var _a; + var palette = theme.palette, semanticColors = theme.semanticColors; + var option = { + textHoveredColor: semanticColors.menuItemTextHovered, + textSelectedColor: palette.neutralDark, + textDisabledColor: semanticColors.disabledText, + backgroundHoveredColor: semanticColors.menuItemBackgroundHovered, + backgroundPressedColor: semanticColors.menuItemBackgroundPressed, + }; + var optionStyles = { + root: [ + theme.fonts.medium, + { + backgroundColor: isPending ? option.backgroundHoveredColor : 'transparent', + boxSizing: 'border-box', + cursor: 'pointer', + display: isHidden ? 'none' : 'block', + width: '100%', + height: 'auto', + minHeight: ComboBoxOptionHeight, + lineHeight: '20px', + padding: '0 8px', + position: 'relative', + borderWidth: '1px', + borderStyle: 'solid', + borderColor: 'transparent', + borderRadius: 0, + wordWrap: 'break-word', + overflowWrap: 'break-word', + textAlign: 'left', + selectors: tslib_1.__assign(tslib_1.__assign((_a = {}, _a[Styling_1.HighContrastSelector] = { + border: 'none', + borderColor: 'Background', + }, _a), (!isHidden && { + '&.ms-Checkbox': { + display: 'flex', + alignItems: 'center', + }, + })), { '&.ms-Button--command:hover:active': { + backgroundColor: option.backgroundPressedColor, + }, '.ms-Checkbox-label': { + width: '100%', + } }), + }, + isSelected + ? [ + { + backgroundColor: 'transparent', + color: option.textSelectedColor, + selectors: { + ':hover': [ + { + backgroundColor: option.backgroundHoveredColor, + }, + listOptionHighContrastStyles, + ], + }, + }, + (0, Styling_1.getFocusStyle)(theme, { inset: -1, isFocusedOnly: false }), + listOptionHighContrastStyles, + ] + : [], + ], + rootHovered: { + backgroundColor: option.backgroundHoveredColor, + color: option.textHoveredColor, + }, + rootFocused: { + backgroundColor: option.backgroundHoveredColor, + }, + rootDisabled: { + color: option.textDisabledColor, + cursor: 'default', + }, + optionText: { + overflow: 'hidden', + whiteSpace: 'nowrap', + textOverflow: 'ellipsis', + minWidth: '0px', + maxWidth: '100%', + wordWrap: 'break-word', + overflowWrap: 'break-word', + display: 'inline-block', + }, + optionTextWrapper: { + maxWidth: '100%', + display: 'flex', + alignItems: 'center', + }, + }; + return (0, Styling_1.concatStyleSets)(optionStyles, customStylesForAllOptions, customOptionStylesForCurrentOption); +}); +exports.getCaretDownButtonStyles = (0, Utilities_1.memoizeFunction)(function (theme, customStyles) { + var _a, _b; + var semanticColors = theme.semanticColors, fonts = theme.fonts; + var caret = { + buttonTextColor: semanticColors.bodySubtext, + buttonTextHoveredCheckedColor: semanticColors.buttonTextChecked, + buttonBackgroundHoveredColor: semanticColors.listItemBackgroundHovered, + buttonBackgroundCheckedColor: semanticColors.listItemBackgroundChecked, + buttonBackgroundCheckedHoveredColor: semanticColors.listItemBackgroundCheckedHovered, + }; + var buttonHighContrastStyles = { + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = tslib_1.__assign({ backgroundColor: 'Highlight', borderColor: 'Highlight', color: 'HighlightText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _a), + }; + var styles = { + root: { + color: caret.buttonTextColor, + fontSize: fonts.small.fontSize, + position: 'absolute', + top: 0, + height: '100%', + lineHeight: ComboBoxLineHeight, + width: ComboBoxCaretDownWidth, + textAlign: 'center', + cursor: 'default', + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = tslib_1.__assign({ backgroundColor: 'ButtonFace', borderColor: 'ButtonText', color: 'ButtonText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _b), + }, + icon: { + fontSize: fonts.small.fontSize, + }, + rootHovered: [ + { + backgroundColor: caret.buttonBackgroundHoveredColor, + color: caret.buttonTextHoveredCheckedColor, + cursor: 'pointer', + }, + buttonHighContrastStyles, + ], + rootPressed: [ + { + backgroundColor: caret.buttonBackgroundCheckedColor, + color: caret.buttonTextHoveredCheckedColor, + }, + buttonHighContrastStyles, + ], + rootChecked: [ + { + backgroundColor: caret.buttonBackgroundCheckedColor, + color: caret.buttonTextHoveredCheckedColor, + }, + buttonHighContrastStyles, + ], + rootCheckedHovered: [ + { + backgroundColor: caret.buttonBackgroundCheckedHoveredColor, + color: caret.buttonTextHoveredCheckedColor, + }, + buttonHighContrastStyles, + ], + rootDisabled: [ + getDisabledStyles(theme), + { + position: 'absolute', + }, + ], + }; + return (0, Styling_1.concatStyleSets)(styles, customStyles); +}); +exports.getStyles = (0, Utilities_1.memoizeFunction)(function (theme, customStyles, comboBoxOptionWidth) { + var _a, _b, _c, _d, _e, _f; + var semanticColors = theme.semanticColors, fonts = theme.fonts, effects = theme.effects; + var root = { + textColor: semanticColors.inputText, + borderColor: semanticColors.inputBorder, + borderHoveredColor: semanticColors.inputBorderHovered, + borderPressedColor: semanticColors.inputFocusBorderAlt, + borderFocusedColor: semanticColors.inputFocusBorderAlt, + backgroundColor: semanticColors.inputBackground, + erroredColor: semanticColors.errorText, + }; + var option = { + headerTextColor: semanticColors.menuHeader, + dividerBorderColor: semanticColors.bodyDivider, + }; + // placeholder style variables + var placeholderHighContrastStyles = { + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + color: 'GrayText', + }, + _a), + }; + var placeholderStyles = [ + { + color: semanticColors.inputPlaceholderText, + }, + placeholderHighContrastStyles, + ]; + var placeholderStylesHovered = [ + { + color: semanticColors.inputTextHovered, + }, + placeholderHighContrastStyles, + ]; + var disabledPlaceholderStyles = [ + { + color: semanticColors.disabledText, + }, + placeholderHighContrastStyles, + ]; + var ComboBoxRootHighContrastFocused = tslib_1.__assign(tslib_1.__assign({ color: 'HighlightText', backgroundColor: 'Window' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), { selectors: { + ':after': { + borderColor: 'Highlight', + }, + } }); + var focusBorderStyles = (0, Styling_1.getInputFocusStyle)(root.borderPressedColor, effects.roundedCorner2, 'border', 0); + var styles = { + container: {}, + label: {}, + labelDisabled: {}, + root: [ + theme.fonts.medium, + { + boxShadow: 'none', + marginLeft: '0', + paddingRight: ComboBoxCaretDownWidth, + paddingLeft: 9, + color: root.textColor, + position: 'relative', + outline: '0', + userSelect: 'none', + backgroundColor: root.backgroundColor, + cursor: 'text', + display: 'block', + height: ComboBoxHeight, + whiteSpace: 'nowrap', + textOverflow: 'ellipsis', + boxSizing: 'border-box', + selectors: { + '.ms-Label': { + display: 'inline-block', + marginBottom: '8px', + }, + '&.is-open': { + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = ComboBoxRootHighContrastFocused, + _b), + }, + // setting border using pseudo-element here in order to + // prevent chevron button to overlap ComboBox border under certain resolutions + ':after': { + pointerEvents: 'none', + content: "''", + position: 'absolute', + left: 0, + top: 0, + bottom: 0, + right: 0, + borderWidth: '1px', + borderStyle: 'solid', + borderColor: root.borderColor, + borderRadius: effects.roundedCorner2, + }, + }, + }, + ], + rootHovered: { + selectors: (_c = { + ':after': { + borderColor: root.borderHoveredColor, + }, + '.ms-ComboBox-Input': [ + { + color: semanticColors.inputTextHovered, + }, + (0, Styling_1.getPlaceholderStyles)(placeholderStylesHovered), + inputHighContrastStyles, + ] + }, + _c[Styling_1.HighContrastSelector] = tslib_1.__assign(tslib_1.__assign({ color: 'HighlightText', backgroundColor: 'Window' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), { selectors: { + ':after': { + borderColor: 'Highlight', + }, + } }), + _c), + }, + rootPressed: [ + { + position: 'relative', + selectors: (_d = {}, + _d[Styling_1.HighContrastSelector] = ComboBoxRootHighContrastFocused, + _d), + }, + ], + rootFocused: [ + { + selectors: (_e = { + '.ms-ComboBox-Input': [ + { + color: semanticColors.inputTextHovered, + }, + inputHighContrastStyles, + ] + }, + _e[Styling_1.HighContrastSelector] = ComboBoxRootHighContrastFocused, + _e), + }, + focusBorderStyles, + ], + rootDisabled: getDisabledStyles(theme), + rootError: { + selectors: { + ':after': { + borderColor: root.erroredColor, + }, + ':hover:after': { + borderColor: semanticColors.inputBorderHovered, + }, + }, + }, + rootDisallowFreeForm: {}, + input: [ + (0, Styling_1.getPlaceholderStyles)(placeholderStyles), + { + backgroundColor: root.backgroundColor, + color: root.textColor, + boxSizing: 'border-box', + width: '100%', + height: '100%', + borderStyle: 'none', + outline: 'none', + font: 'inherit', + textOverflow: 'ellipsis', + padding: '0', + selectors: { + '::-ms-clear': { + display: 'none', + }, + }, + }, + inputHighContrastStyles, + ], + inputDisabled: [getDisabledStyles(theme), (0, Styling_1.getPlaceholderStyles)(disabledPlaceholderStyles)], + errorMessage: [ + theme.fonts.small, + { + color: root.erroredColor, + marginTop: '5px', + }, + ], + callout: { + boxShadow: effects.elevation8, + }, + optionsContainerWrapper: { + width: comboBoxOptionWidth, + }, + optionsContainer: { + display: 'block', + }, + screenReaderText: Styling_1.hiddenContentStyle, + header: [ + fonts.medium, + { + fontWeight: Styling_1.FontWeights.semibold, + color: option.headerTextColor, + backgroundColor: 'none', + borderStyle: 'none', + height: ComboBoxOptionHeight, + lineHeight: ComboBoxOptionHeight, + cursor: 'default', + padding: '0 8px', + userSelect: 'none', + textAlign: 'left', + selectors: (_f = {}, + _f[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'GrayText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _f), + }, + ], + divider: { + height: 1, + backgroundColor: option.dividerBorderColor, + }, + }; + return (0, Styling_1.concatStyleSets)(styles, customStyles); +}); +//# sourceMappingURL=ComboBox.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.types.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.types.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=ComboBox.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/VirtualizedComboBox.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/VirtualizedComboBox.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.VirtualizedComboBox = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var ComboBox_1 = __webpack_require__(/*! ./ComboBox */ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.js"); +var List_1 = __webpack_require__(/*! ../../List */ "./node_modules/@fluentui/react/lib-commonjs/List.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var VirtualizedComboBox = /** @class */ (function (_super) { + tslib_1.__extends(VirtualizedComboBox, _super); + function VirtualizedComboBox(props) { + var _this = _super.call(this, props) || this; + /** The combo box element */ + _this._comboBox = React.createRef(); + /** The virtualized list element */ + _this._list = React.createRef(); + _this._onRenderList = function (props) { + var id = props.id, onRenderItem = props.onRenderItem; + // Render virtualized list + return (React.createElement(List_1.List, { componentRef: _this._list, role: "listbox", id: "".concat(id, "-list"), "aria-labelledby": "".concat(id, "-label"), items: props.options, + // eslint-disable-next-line react/jsx-no-bind + onRenderCell: onRenderItem ? function (item) { return onRenderItem(item); } : function () { return null; } })); + }; + _this._onScrollToItem = function (itemIndex) { + // We are using the List component, call scrollToIndex + _this._list.current && _this._list.current.scrollToIndex(itemIndex); + }; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + Object.defineProperty(VirtualizedComboBox.prototype, "selectedOptions", { + /** + * All selected options + */ + get: function () { + if (this._comboBox.current) { + return this._comboBox.current.selectedOptions; + } + return []; + }, + enumerable: false, + configurable: true + }); + VirtualizedComboBox.prototype.dismissMenu = function () { + if (this._comboBox.current) { + return this._comboBox.current.dismissMenu(); + } + }; + VirtualizedComboBox.prototype.focus = function (shouldOpenOnFocus, useFocusAsync) { + if (this._comboBox.current) { + this._comboBox.current.focus(shouldOpenOnFocus, useFocusAsync); + return true; + } + return false; + }; + VirtualizedComboBox.prototype.render = function () { + return (React.createElement(ComboBox_1.ComboBox, tslib_1.__assign({}, this.props, { componentRef: this._comboBox, onRenderList: this._onRenderList, onScrollToItem: this._onScrollToItem }))); + }; + return VirtualizedComboBox; +}(React.Component)); +exports.VirtualizedComboBox = VirtualizedComboBox; +//# sourceMappingURL=VirtualizedComboBox.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/index.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/index.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./ComboBox */ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ComboBox.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/ComboBox.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./VirtualizedComboBox */ "./node_modules/@fluentui/react/lib-commonjs/components/ComboBox/VirtualizedComboBox.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.base.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.base.js ***! + \********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CommandBarBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var OverflowSet_1 = __webpack_require__(/*! ../../OverflowSet */ "./node_modules/@fluentui/react/lib-commonjs/OverflowSet.js"); +var ResizeGroup_1 = __webpack_require__(/*! ../../ResizeGroup */ "./node_modules/@fluentui/react/lib-commonjs/ResizeGroup.js"); +var FocusZone_1 = __webpack_require__(/*! ../../FocusZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js"); +var Button_1 = __webpack_require__(/*! ../../Button */ "./node_modules/@fluentui/react/lib-commonjs/Button.js"); +var Tooltip_1 = __webpack_require__(/*! ../../Tooltip */ "./node_modules/@fluentui/react/lib-commonjs/Tooltip.js"); +var CommandBar_styles_1 = __webpack_require__(/*! ./CommandBar.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.styles.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var CommandBarBase = /** @class */ (function (_super) { + tslib_1.__extends(CommandBarBase, _super); + function CommandBarBase(props) { + var _this = _super.call(this, props) || this; + _this._overflowSet = React.createRef(); + _this._resizeGroup = React.createRef(); + _this._onRenderData = function (data) { + var _a = _this.props, ariaLabel = _a.ariaLabel, primaryGroupAriaLabel = _a.primaryGroupAriaLabel, farItemsGroupAriaLabel = _a.farItemsGroupAriaLabel; + var hasSecondSet = data.farItems && data.farItems.length > 0; + return (React.createElement(FocusZone_1.FocusZone, { className: (0, Utilities_1.css)(_this._classNames.root), direction: FocusZone_1.FocusZoneDirection.horizontal, role: 'menubar', "aria-label": ariaLabel }, + React.createElement(OverflowSet_1.OverflowSet, { role: hasSecondSet ? 'group' : 'none', "aria-label": hasSecondSet ? primaryGroupAriaLabel : undefined, componentRef: _this._overflowSet, className: (0, Utilities_1.css)(_this._classNames.primarySet), items: data.primaryItems, overflowItems: data.overflowItems.length ? data.overflowItems : undefined, onRenderItem: _this._onRenderItem, onRenderOverflowButton: _this._onRenderOverflowButton }), + hasSecondSet && (React.createElement(OverflowSet_1.OverflowSet, { role: "group", "aria-label": farItemsGroupAriaLabel, className: (0, Utilities_1.css)(_this._classNames.secondarySet), items: data.farItems, onRenderItem: _this._onRenderItem, onRenderOverflowButton: Utilities_1.nullRender })))); + }; + _this._onRenderItem = function (item) { + if (item.onRender) { + // These are the top level items, there is no relevant menu dismissing function to + // provide for the IContextualMenuItem onRender function. Pass in a no op function instead. + return item.onRender(item, function () { return undefined; }); + } + // eslint-disable-next-line deprecation/deprecation + var itemText = item.text || item.name; + var commandButtonProps = tslib_1.__assign(tslib_1.__assign({ allowDisabledFocus: true, role: 'menuitem' }, item), { styles: (0, CommandBar_styles_1.getCommandButtonStyles)(item.buttonStyles), className: (0, Utilities_1.css)('ms-CommandBarItem-link', item.className), text: !item.iconOnly ? itemText : undefined, menuProps: item.subMenuProps, onClick: _this._onButtonClick(item) }); + if (item.iconOnly && (itemText !== undefined || item.tooltipHostProps)) { + return (React.createElement(Tooltip_1.TooltipHost, tslib_1.__assign({ role: "none", content: itemText, setAriaDescribedBy: false }, item.tooltipHostProps), _this._commandButton(item, commandButtonProps))); + } + return _this._commandButton(item, commandButtonProps); + }; + _this._commandButton = function (item, props) { + var ButtonAs = _this.props.buttonAs; + var CommandBarButtonAs = item.commandBarButtonAs; + var DefaultButtonAs = Button_1.CommandBarButton; + // The prop types between these three possible implementations overlap enough that a force-cast is safe. + var Type = DefaultButtonAs; + if (CommandBarButtonAs) { + Type = (0, Utilities_1.composeComponentAs)(CommandBarButtonAs, Type); + } + if (ButtonAs) { + Type = (0, Utilities_1.composeComponentAs)(ButtonAs, Type); + } + // Always pass the default implementation to the override so it may be composed. + return React.createElement(Type, tslib_1.__assign({}, props)); + }; + _this._onRenderOverflowButton = function (overflowItems) { + var _a = _this.props.overflowButtonProps, overflowButtonProps = _a === void 0 ? {} : _a; + var combinedOverflowItems = tslib_1.__spreadArray(tslib_1.__spreadArray([], (overflowButtonProps.menuProps ? overflowButtonProps.menuProps.items : []), true), overflowItems, true); + var overflowProps = tslib_1.__assign(tslib_1.__assign({ role: 'menuitem' }, overflowButtonProps), { styles: tslib_1.__assign({ menuIcon: { fontSize: '17px' } }, overflowButtonProps.styles), className: (0, Utilities_1.css)('ms-CommandBar-overflowButton', overflowButtonProps.className), menuProps: tslib_1.__assign(tslib_1.__assign({}, overflowButtonProps.menuProps), { items: combinedOverflowItems }), menuIconProps: tslib_1.__assign({ iconName: 'More' }, overflowButtonProps.menuIconProps) }); + var OverflowButtonType = _this.props.overflowButtonAs + ? (0, Utilities_1.composeComponentAs)(_this.props.overflowButtonAs, Button_1.CommandBarButton) + : Button_1.CommandBarButton; + return React.createElement(OverflowButtonType, tslib_1.__assign({}, overflowProps)); + }; + _this._onReduceData = function (data) { + var _a = _this.props, shiftOnReduce = _a.shiftOnReduce, onDataReduced = _a.onDataReduced; + var primaryItems = data.primaryItems, overflowItems = data.overflowItems, cacheKey = data.cacheKey; + var farItems = data.farItems; + // Use first item if shiftOnReduce, otherwise use last item + var movedItem = primaryItems[shiftOnReduce ? 0 : primaryItems.length - 1]; + if (movedItem !== undefined) { + movedItem.renderedInOverflow = true; + overflowItems = tslib_1.__spreadArray([movedItem], overflowItems, true); + primaryItems = shiftOnReduce ? primaryItems.slice(1) : primaryItems.slice(0, -1); + var newData = tslib_1.__assign(tslib_1.__assign({}, data), { primaryItems: primaryItems, overflowItems: overflowItems }); + cacheKey = _this._computeCacheKey({ primaryItems: primaryItems, overflow: overflowItems.length > 0, farItems: farItems }); + if (onDataReduced) { + onDataReduced(movedItem); + } + newData.cacheKey = cacheKey; + return newData; + } + return undefined; + }; + _this._onGrowData = function (data) { + var _a = _this.props, shiftOnReduce = _a.shiftOnReduce, onDataGrown = _a.onDataGrown; + var minimumOverflowItems = data.minimumOverflowItems; + var primaryItems = data.primaryItems, overflowItems = data.overflowItems, cacheKey = data.cacheKey; + var farItems = data.farItems; + var movedItem = overflowItems[0]; + // Make sure that moved item exists and is not one of the original overflow items + if (movedItem !== undefined && overflowItems.length > minimumOverflowItems) { + movedItem.renderedInOverflow = false; + overflowItems = overflowItems.slice(1); + // if shiftOnReduce, movedItem goes first, otherwise, last. + primaryItems = shiftOnReduce ? tslib_1.__spreadArray([movedItem], primaryItems, true) : tslib_1.__spreadArray(tslib_1.__spreadArray([], primaryItems, true), [movedItem], false); + var newData = tslib_1.__assign(tslib_1.__assign({}, data), { primaryItems: primaryItems, overflowItems: overflowItems }); + cacheKey = _this._computeCacheKey({ primaryItems: primaryItems, overflow: overflowItems.length > 0, farItems: farItems }); + if (onDataGrown) { + onDataGrown(movedItem); + } + newData.cacheKey = cacheKey; + return newData; + } + return undefined; + }; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + CommandBarBase.prototype.render = function () { + var _a = this.props, items = _a.items, overflowItems = _a.overflowItems, farItems = _a.farItems, styles = _a.styles, theme = _a.theme, dataDidRender = _a.dataDidRender, _b = _a.onReduceData, onReduceData = _b === void 0 ? this._onReduceData : _b, _c = _a.onGrowData, onGrowData = _c === void 0 ? this._onGrowData : _c, _d = _a.resizeGroupAs, ResizeGroupAs = _d === void 0 ? ResizeGroup_1.ResizeGroup : _d; + var commandBarData = { + primaryItems: tslib_1.__spreadArray([], items, true), + overflowItems: tslib_1.__spreadArray([], overflowItems, true), + minimumOverflowItems: tslib_1.__spreadArray([], overflowItems, true).length, + farItems: farItems, + cacheKey: this._computeCacheKey({ + primaryItems: tslib_1.__spreadArray([], items, true), + overflow: overflowItems && overflowItems.length > 0, + farItems: farItems, + }), + }; + this._classNames = getClassNames(styles, { theme: theme }); + // ResizeGroup will render these attributes to the root
. + // TODO We may need to elevate classNames from into ? + var nativeProps = (0, Utilities_1.getNativeProps)(this.props, Utilities_1.divProperties); + return (React.createElement(ResizeGroupAs, tslib_1.__assign({}, nativeProps, { componentRef: this._resizeGroup, data: commandBarData, onReduceData: onReduceData, onGrowData: onGrowData, onRenderData: this._onRenderData, dataDidRender: dataDidRender }))); + }; + CommandBarBase.prototype.focus = function () { + var overflowSet = this._overflowSet.current; + overflowSet && overflowSet.focus(); + }; + CommandBarBase.prototype.remeasure = function () { + this._resizeGroup.current && this._resizeGroup.current.remeasure(); + }; + CommandBarBase.prototype._onButtonClick = function (item) { + return function (ev) { + // inactive is deprecated. remove check in 7.0 + // eslint-disable-next-line deprecation/deprecation + if (item.inactive) { + return; + } + if (item.onClick) { + item.onClick(ev, item); + } + }; + }; + CommandBarBase.prototype._computeCacheKey = function (data) { + var primaryItems = data.primaryItems, overflow = data.overflow, farItems = data.farItems; + var returnKey = function (acc, current) { + var _a = current.cacheKey, cacheKey = _a === void 0 ? current.key : _a; + return acc + cacheKey; + }; + var primaryKey = primaryItems && primaryItems.reduce(returnKey, ''); + var overflowKey = overflow ? 'overflow' : ''; + var farKey = farItems && farItems.reduce(returnKey, ''); + return [primaryKey, overflowKey, farKey].join(''); + }; + CommandBarBase.defaultProps = { + items: [], + overflowItems: [], + }; + return CommandBarBase; +}(React.Component)); +exports.CommandBarBase = CommandBarBase; +//# sourceMappingURL=CommandBar.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.js ***! + \***************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CommandBar = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var CommandBar_base_1 = __webpack_require__(/*! ./CommandBar.base */ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.base.js"); +var CommandBar_styles_1 = __webpack_require__(/*! ./CommandBar.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.styles.js"); +// Create a CommandBar variant which uses these default styles and this styled subcomponent. +exports.CommandBar = (0, Utilities_1.styled)(CommandBar_base_1.CommandBarBase, CommandBar_styles_1.getStyles, undefined, { + scope: 'CommandBar', +}); +//# sourceMappingURL=CommandBar.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.styles.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.styles.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getCommandButtonStyles = exports.getStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var COMMAND_BAR_HEIGHT = 44; +var getStyles = function (props) { + var className = props.className, theme = props.theme; + var semanticColors = theme.semanticColors; + return { + root: [ + theme.fonts.medium, + 'ms-CommandBar', + { + display: 'flex', + backgroundColor: semanticColors.bodyBackground, + padding: '0 14px 0 24px', + height: COMMAND_BAR_HEIGHT, + }, + className, + ], + primarySet: [ + 'ms-CommandBar-primaryCommand', + { + flexGrow: '1', + display: 'flex', + alignItems: 'stretch', + }, + ], + secondarySet: [ + 'ms-CommandBar-secondaryCommand', + { + flexShrink: '0', + display: 'flex', + alignItems: 'stretch', + }, + ], + }; +}; +exports.getStyles = getStyles; +exports.getCommandButtonStyles = (0, Utilities_1.memoizeFunction)(function (customStyles) { + var rootStyles = { + height: '100%', + }; + var labelStyles = { + whiteSpace: 'nowrap', + }; + var _a = customStyles || {}, root = _a.root, label = _a.label, restCustomStyles = tslib_1.__rest(_a, ["root", "label"]); + return tslib_1.__assign(tslib_1.__assign({}, restCustomStyles), { root: root ? [rootStyles, root] : rootStyles, label: label ? [labelStyles, label] : labelStyles }); +}); +//# sourceMappingURL=CommandBar.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.types.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.types.js ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=CommandBar.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/index.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/index.js ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getCommandButtonStyles = exports.getCommandBarStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var CommandBar_styles_1 = __webpack_require__(/*! ./CommandBar.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.styles.js"); +Object.defineProperty(exports, "getCommandBarStyles", ({ enumerable: true, get: function () { return CommandBar_styles_1.getStyles; } })); +Object.defineProperty(exports, "getCommandButtonStyles", ({ enumerable: true, get: function () { return CommandBar_styles_1.getCommandButtonStyles; } })); +tslib_1.__exportStar(__webpack_require__(/*! ./CommandBar */ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CommandBar.base */ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./CommandBar.types */ "./node_modules/@fluentui/react/lib-commonjs/components/CommandBar/CommandBar.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.base.js": +/*!****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.base.js ***! + \****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ContextualMenuBase = exports.canAnyMenuItemsCheck = exports.getSubmenuItems = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var ContextualMenu_types_1 = __webpack_require__(/*! ./ContextualMenu.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.types.js"); +var DirectionalHint_1 = __webpack_require__(/*! ../../common/DirectionalHint */ "./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js"); +var FocusZone_1 = __webpack_require__(/*! ../../FocusZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var index_1 = __webpack_require__(/*! ../../utilities/contextualMenu/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/contextualMenu/index.js"); +var Callout_1 = __webpack_require__(/*! ../../Callout */ "./node_modules/@fluentui/react/lib-commonjs/Callout.js"); +var ContextualMenuItem_1 = __webpack_require__(/*! ./ContextualMenuItem */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.js"); +var index_2 = __webpack_require__(/*! ./ContextualMenuItemWrapper/index */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/index.js"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var ContextualMenu_classNames_1 = __webpack_require__(/*! ./ContextualMenu.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.classNames.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var ResponsiveMode_1 = __webpack_require__(/*! ../../ResponsiveMode */ "./node_modules/@fluentui/react/lib-commonjs/ResponsiveMode.js"); +var index_3 = __webpack_require__(/*! ../../utilities/MenuContext/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/MenuContext/index.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var getContextualMenuItemClassNames = (0, Utilities_1.classNamesFunction)(); +// The default ContextualMenu properties have no items and beak, the default submenu direction is right and top. +var DEFAULT_PROPS = { + items: [], + shouldFocusOnMount: true, + gapSpace: 0, + directionalHint: DirectionalHint_1.DirectionalHint.bottomAutoEdge, + beakWidth: 16, +}; +/* return number of menu items, excluding headers and dividers */ +function getItemCount(items) { + var totalItemCount = 0; + for (var _i = 0, items_1 = items; _i < items_1.length; _i++) { + var item = items_1[_i]; + if (item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Divider && item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Header) { + var itemCount = item.customOnRenderListLength ? item.customOnRenderListLength : 1; + totalItemCount += itemCount; + } + } + return totalItemCount; +} +function getSubmenuItems(item, options) { + var target = options === null || options === void 0 ? void 0 : options.target; + // eslint-disable-next-line deprecation/deprecation + var items = item.subMenuProps ? item.subMenuProps.items : item.items; + if (items) { + var overrideItems = []; + for (var _i = 0, items_2 = items; _i < items_2.length; _i++) { + var subItem = items_2[_i]; + if (subItem.preferMenuTargetAsEventTarget) { + // For sub-items which need an overridden target, intercept `onClick` + var onClick = subItem.onClick, contextItem = tslib_1.__rest(subItem, ["onClick"]); + overrideItems.push(tslib_1.__assign(tslib_1.__assign({}, contextItem), { onClick: getOnClickWithOverrideTarget(onClick, target) })); + } + else { + overrideItems.push(subItem); + } + } + return overrideItems; + } +} +exports.getSubmenuItems = getSubmenuItems; +/** + * Returns true if a list of menu items can contain a checkbox + */ +function canAnyMenuItemsCheck(items) { + return items.some(function (item) { + if (item.canCheck) { + return true; + } + // If the item is a section, check if any of the items in the section can check. + if (item.sectionProps && item.sectionProps.items.some(function (submenuItem) { return submenuItem.canCheck === true; })) { + return true; + } + return false; + }); +} +exports.canAnyMenuItemsCheck = canAnyMenuItemsCheck; +var NavigationIdleDelay = 250; /* ms */ +var COMPONENT_NAME = 'ContextualMenu'; +var _getMenuItemStylesFunction = (0, Utilities_1.memoizeFunction)(function () { + var styles = []; + for (var _i = 0; _i < arguments.length; _i++) { + styles[_i] = arguments[_i]; + } + return function (styleProps) { + return Styling_1.concatStyleSetsWithProps.apply(void 0, tslib_1.__spreadArray([styleProps, ContextualMenu_classNames_1.getItemStyles], styles, false)); + }; +}); +//#region Custom hooks +function useVisibility(props, targetWindow) { + var _a = props.hidden, hidden = _a === void 0 ? false : _a, onMenuDismissed = props.onMenuDismissed, onMenuOpened = props.onMenuOpened; + var previousHidden = (0, react_hooks_1.usePrevious)(hidden); + var onMenuOpenedRef = React.useRef(onMenuOpened); + var onMenuClosedRef = React.useRef(onMenuDismissed); + var propsRef = React.useRef(props); + onMenuOpenedRef.current = onMenuOpened; + onMenuClosedRef.current = onMenuDismissed; + propsRef.current = props; + React.useEffect(function () { + var _a, _b; + // Don't issue dismissed callbacks on initial mount + if (hidden && previousHidden === false) { + (_a = onMenuClosedRef.current) === null || _a === void 0 ? void 0 : _a.call(onMenuClosedRef, propsRef.current); + } + else if (!hidden && previousHidden !== false) { + (_b = onMenuOpenedRef.current) === null || _b === void 0 ? void 0 : _b.call(onMenuOpenedRef, propsRef.current); + } + }, [hidden, previousHidden]); + // Issue onDismissedCallback on unmount + React.useEffect(function () { return function () { var _a; return (_a = onMenuClosedRef.current) === null || _a === void 0 ? void 0 : _a.call(onMenuClosedRef, propsRef.current); }; }, []); +} +function useSubMenuState(_a, dismiss) { + var hidden = _a.hidden, items = _a.items, theme = _a.theme, className = _a.className, id = _a.id, menuTarget = _a.target; + var _b = React.useState(), expandedMenuItemKey = _b[0], setExpandedMenuItemKey = _b[1]; + var _c = React.useState(), submenuTarget = _c[0], setSubmenuTarget = _c[1]; + /** True if the menu was expanded by mouse click OR hover (as opposed to by keyboard) */ + var _d = React.useState(), shouldFocusOnContainer = _d[0], setShouldFocusOnContainer = _d[1]; + var subMenuId = (0, react_hooks_1.useId)(COMPONENT_NAME, id); + var closeSubMenu = React.useCallback(function () { + setShouldFocusOnContainer(undefined); + setExpandedMenuItemKey(undefined); + setSubmenuTarget(undefined); + }, []); + var openSubMenu = React.useCallback(function (_a, target, focusContainer) { + var submenuItemKey = _a.key; + if (expandedMenuItemKey === submenuItemKey) { + return; + } + target.focus(); + setShouldFocusOnContainer(focusContainer); + setExpandedMenuItemKey(submenuItemKey); + setSubmenuTarget(target); + }, [expandedMenuItemKey]); + React.useEffect(function () { + if (hidden) { + closeSubMenu(); + } + }, [hidden, closeSubMenu]); + var onSubMenuDismiss = useOnSubmenuDismiss(dismiss, closeSubMenu); + var getSubmenuProps = function () { + var item = findItemByKeyFromItems(expandedMenuItemKey, items); + var submenuProps = null; + if (item) { + submenuProps = { + items: getSubmenuItems(item, { target: menuTarget }), + target: submenuTarget, + onDismiss: onSubMenuDismiss, + isSubMenu: true, + id: subMenuId, + shouldFocusOnMount: true, + shouldFocusOnContainer: shouldFocusOnContainer, + directionalHint: (0, Utilities_1.getRTL)(theme) ? DirectionalHint_1.DirectionalHint.leftTopEdge : DirectionalHint_1.DirectionalHint.rightTopEdge, + className: className, + gapSpace: 0, + isBeakVisible: false, + }; + if (item.subMenuProps) { + (0, Utilities_1.assign)(submenuProps, item.subMenuProps); + } + if (item.preferMenuTargetAsEventTarget) { + var onItemClick = item.onItemClick; + submenuProps.onItemClick = getOnClickWithOverrideTarget(onItemClick, menuTarget); + } + } + return submenuProps; + }; + return [expandedMenuItemKey, openSubMenu, getSubmenuProps, onSubMenuDismiss]; +} +function useShouldUpdateFocusOnMouseMove(_a) { + var delayUpdateFocusOnHover = _a.delayUpdateFocusOnHover, hidden = _a.hidden; + var shouldUpdateFocusOnMouseEvent = React.useRef(!delayUpdateFocusOnHover); + var gotMouseMove = React.useRef(false); + React.useEffect(function () { + shouldUpdateFocusOnMouseEvent.current = !delayUpdateFocusOnHover; + gotMouseMove.current = hidden ? false : !delayUpdateFocusOnHover && gotMouseMove.current; + }, [delayUpdateFocusOnHover, hidden]); + var onMenuFocusCapture = React.useCallback(function () { + if (delayUpdateFocusOnHover) { + shouldUpdateFocusOnMouseEvent.current = false; + } + }, [delayUpdateFocusOnHover]); + return [shouldUpdateFocusOnMouseEvent, gotMouseMove, onMenuFocusCapture]; +} +function usePreviousActiveElement(_a, targetWindow, hostElement) { + var hidden = _a.hidden, onRestoreFocus = _a.onRestoreFocus; + var previousActiveElement = React.useRef(); + var tryFocusPreviousActiveElement = React.useCallback(function (options) { + var _a, _b; + if (onRestoreFocus) { + onRestoreFocus(options); + } + else if (options === null || options === void 0 ? void 0 : options.documentContainsFocus) { + // Make sure that the focus method actually exists + // In some cases the object might exist but not be a real element. + // This is primarily for IE 11 and should be removed once IE 11 is no longer in use. + (_b = (_a = previousActiveElement.current) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a); + } + }, [onRestoreFocus]); + (0, react_hooks_1.useIsomorphicLayoutEffect)(function () { + var _a, _b; + if (!hidden) { + var newElement = targetWindow === null || targetWindow === void 0 ? void 0 : targetWindow.document.activeElement; + if (!((_a = hostElement.current) === null || _a === void 0 ? void 0 : _a.contains(newElement)) && newElement.tagName !== 'BODY') { + previousActiveElement.current = newElement; + } + } + else if (previousActiveElement.current) { + tryFocusPreviousActiveElement({ + originalElement: previousActiveElement.current, + containsFocus: true, + documentContainsFocus: ((_b = (0, Utilities_1.getDocument)()) === null || _b === void 0 ? void 0 : _b.hasFocus()) || false, + }); + previousActiveElement.current = undefined; + } + }, [hidden, targetWindow === null || targetWindow === void 0 ? void 0 : targetWindow.document.activeElement, tryFocusPreviousActiveElement, hostElement]); + return [tryFocusPreviousActiveElement]; +} +function useKeyHandlers(_a, dismiss, hostElement, openSubMenu) { + var theme = _a.theme, isSubMenu = _a.isSubMenu, _b = _a.focusZoneProps, _c = _b === void 0 ? {} : _b, checkForNoWrap = _c.checkForNoWrap, _d = _c.direction, focusZoneDirection = _d === void 0 ? FocusZone_1.FocusZoneDirection.vertical : _d; + /** True if the most recent keydown event was for alt (option) or meta (command). */ + var lastKeyDownWasAltOrMeta = React.useRef(); + /** + * Calls `shouldHandleKey` to determine whether the keyboard event should be handled; + * if so, stops event propagation and dismisses menu(s). + * @param ev - The keyboard event. + * @param shouldHandleKey - Returns whether we should handle this keyboard event. + * @param dismissAllMenus - If true, dismiss all menus. Otherwise, dismiss only the current menu. + * Only does anything if `shouldHandleKey` returns true. + * @returns Whether the event was handled. + */ + var keyHandler = function (ev, shouldHandleKey, dismissAllMenus) { + var handled = false; + if (shouldHandleKey(ev)) { + dismiss(ev, dismissAllMenus); + ev.preventDefault(); + ev.stopPropagation(); + handled = true; + } + return handled; + }; + /** + * Checks if the submenu should be closed + */ + var shouldCloseSubMenu = function (ev) { + var submenuCloseKey = (0, Utilities_1.getRTL)(theme) ? Utilities_1.KeyCodes.right : Utilities_1.KeyCodes.left; + // eslint-disable-next-line deprecation/deprecation + if (ev.which !== submenuCloseKey || !isSubMenu) { + return false; + } + return !!(focusZoneDirection === FocusZone_1.FocusZoneDirection.vertical || + (checkForNoWrap && !(0, Utilities_1.shouldWrapFocus)(ev.target, 'data-no-horizontal-wrap'))); + }; + var shouldHandleKeyDown = function (ev) { + return ( + // eslint-disable-next-line deprecation/deprecation + ev.which === Utilities_1.KeyCodes.escape || + shouldCloseSubMenu(ev) || + // eslint-disable-next-line deprecation/deprecation + (ev.which === Utilities_1.KeyCodes.up && (ev.altKey || ev.metaKey))); + }; + var onKeyDown = function (ev) { + // Take note if we are processing an alt (option) or meta (command) keydown. + // See comment in shouldHandleKeyUp for reasoning. + lastKeyDownWasAltOrMeta.current = isAltOrMeta(ev); + // On Mac, pressing escape dismisses all levels of native context menus + // eslint-disable-next-line deprecation/deprecation + var dismissAllMenus = ev.which === Utilities_1.KeyCodes.escape && ((0, Utilities_1.isMac)() || (0, Utilities_1.isIOS)()); + return keyHandler(ev, shouldHandleKeyDown, dismissAllMenus); + }; + /** + * We close the menu on key up only if ALL of the following are true: + * - Most recent key down was alt or meta (command) + * - The alt/meta key down was NOT followed by some other key (such as down/up arrow to + * expand/collapse the menu) + * - We're not on a Mac (or iOS) + * + * This is because on Windows, pressing alt moves focus to the application menu bar or similar, + * closing any open context menus. There is not a similar behavior on Macs. + */ + var shouldHandleKeyUp = function (ev) { + var keyPressIsAltOrMetaAlone = lastKeyDownWasAltOrMeta.current && isAltOrMeta(ev); + lastKeyDownWasAltOrMeta.current = false; + return !!keyPressIsAltOrMetaAlone && !((0, Utilities_1.isIOS)() || (0, Utilities_1.isMac)()); + }; + var onKeyUp = function (ev) { + return keyHandler(ev, shouldHandleKeyUp, true /* dismissAllMenus */); + }; + var onMenuKeyDown = function (ev) { + // Mark as handled if onKeyDown returns true (for handling collapse cases) + // or if we are attempting to expand a submenu + var handled = onKeyDown(ev); + if (handled || !hostElement.current) { + return; + } + // If we have a modifier key being pressed, we do not want to move focus. + // Otherwise, handle up and down keys. + var hasModifier = !!(ev.altKey || ev.metaKey); + // eslint-disable-next-line deprecation/deprecation + var isUp = ev.which === Utilities_1.KeyCodes.up; + // eslint-disable-next-line deprecation/deprecation + var isDown = ev.which === Utilities_1.KeyCodes.down; + if (!hasModifier && (isUp || isDown)) { + var elementToFocus = isUp + ? (0, Utilities_1.getLastFocusable)(hostElement.current, hostElement.current.lastChild, true) + : (0, Utilities_1.getFirstFocusable)(hostElement.current, hostElement.current.firstChild, true); + if (elementToFocus) { + elementToFocus.focus(); + ev.preventDefault(); + ev.stopPropagation(); + } + } + }; + var onItemKeyDown = function (item, ev) { + var openKey = (0, Utilities_1.getRTL)(theme) ? Utilities_1.KeyCodes.left : Utilities_1.KeyCodes.right; + if (!item.disabled && + // eslint-disable-next-line deprecation/deprecation + (ev.which === openKey || ev.which === Utilities_1.KeyCodes.enter || (ev.which === Utilities_1.KeyCodes.down && (ev.altKey || ev.metaKey)))) { + openSubMenu(item, ev.currentTarget); + ev.preventDefault(); + } + }; + return [onKeyDown, onKeyUp, onMenuKeyDown, onItemKeyDown]; +} +function useScrollHandler(asyncTracker) { + var isScrollIdle = React.useRef(true); + var scrollIdleTimeoutId = React.useRef(); + /** + * Scroll handler for the callout to make sure the mouse events + * for updating focus are not interacting during scroll + */ + var onScroll = function () { + if (!isScrollIdle.current && scrollIdleTimeoutId.current !== undefined) { + asyncTracker.clearTimeout(scrollIdleTimeoutId.current); + scrollIdleTimeoutId.current = undefined; + } + else { + isScrollIdle.current = false; + } + scrollIdleTimeoutId.current = asyncTracker.setTimeout(function () { + isScrollIdle.current = true; + }, NavigationIdleDelay); + }; + return [onScroll, isScrollIdle]; +} +function useOnSubmenuDismiss(dismiss, closeSubMenu) { + var isMountedRef = React.useRef(false); + React.useEffect(function () { + isMountedRef.current = true; + return function () { + isMountedRef.current = false; + }; + }, []); + /** + * This function is called ASYNCHRONOUSLY, and so there is a chance it is called + * after the component is unmounted. The isMountedRef is added to prevent + * from calling setState() after unmount. Do NOT copy this pattern in synchronous + * code. + */ + var onSubMenuDismiss = function (ev, dismissAll) { + if (dismissAll) { + dismiss(ev, dismissAll); + } + else if (isMountedRef.current) { + closeSubMenu(); + } + }; + return onSubMenuDismiss; +} +function useSubmenuEnterTimer(_a, asyncTracker) { + var _b = _a.subMenuHoverDelay, subMenuHoverDelay = _b === void 0 ? NavigationIdleDelay : _b; + var enterTimerRef = React.useRef(undefined); + var cancelSubMenuTimer = function () { + if (enterTimerRef.current !== undefined) { + asyncTracker.clearTimeout(enterTimerRef.current); + enterTimerRef.current = undefined; + } + }; + var startSubmenuTimer = function (onTimerExpired) { + enterTimerRef.current = asyncTracker.setTimeout(function () { + onTimerExpired(); + cancelSubMenuTimer(); + }, subMenuHoverDelay); + }; + return [cancelSubMenuTimer, startSubmenuTimer, enterTimerRef]; +} +function useMouseHandlers(props, isScrollIdle, subMenuEntryTimer, targetWindow, shouldUpdateFocusOnMouseEvent, gotMouseMove, expandedMenuItemKey, hostElement, startSubmenuTimer, cancelSubMenuTimer, openSubMenu, onSubMenuDismiss, dismiss) { + var menuTarget = props.target; + var onItemMouseEnterBase = function (item, ev, target) { + if (shouldUpdateFocusOnMouseEvent.current) { + gotMouseMove.current = true; + } + if (shouldIgnoreMouseEvent()) { + return; + } + updateFocusOnMouseEvent(item, ev, target); + }; + var onItemMouseMoveBase = function (item, ev, target) { + var targetElement = ev.currentTarget; + // Always do this check to make sure we record a mouseMove if needed (even if we are timed out) + if (shouldUpdateFocusOnMouseEvent.current) { + gotMouseMove.current = true; + } + else { + return; + } + if (!isScrollIdle.current || + subMenuEntryTimer.current !== undefined || + targetElement === (targetWindow === null || targetWindow === void 0 ? void 0 : targetWindow.document.activeElement)) { + return; + } + updateFocusOnMouseEvent(item, ev, target); + }; + var shouldIgnoreMouseEvent = function () { + return !isScrollIdle.current || !gotMouseMove.current; + }; + var onMouseItemLeave = function (item, ev) { + var _a; + if (shouldIgnoreMouseEvent()) { + return; + } + cancelSubMenuTimer(); + if (expandedMenuItemKey !== undefined) { + return; + } + /** + * IE11 focus() method forces parents to scroll to top of element. + * Edge and IE expose a setActive() function for focusable divs that + * sets the page focus but does not scroll the parent element. + */ + if (hostElement.current.setActive) { + try { + hostElement.current.setActive(); + } + catch (e) { + /* no-op */ + } + } + else { + (_a = hostElement.current) === null || _a === void 0 ? void 0 : _a.focus(); + } + }; + /** + * Handles updating focus when mouseEnter or mouseMove fire. + * As part of updating focus, This function will also update + * the expand/collapse state accordingly. + */ + var updateFocusOnMouseEvent = function (item, ev, target) { + var targetElement = target ? target : ev.currentTarget; + if (item.key === expandedMenuItemKey) { + return; + } + cancelSubMenuTimer(); + // If the menu is not expanded we can update focus without any delay + if (expandedMenuItemKey === undefined) { + targetElement.focus(); + } + // Delay updating expanding/dismissing the submenu + // and only set focus if we have not already done so + if ((0, index_1.hasSubmenu)(item)) { + ev.stopPropagation(); + startSubmenuTimer(function () { + targetElement.focus(); + openSubMenu(item, targetElement, true); + }); + } + else { + startSubmenuTimer(function () { + onSubMenuDismiss(ev); + targetElement.focus(); + }); + } + }; + var onItemClick = function (item, ev) { + onItemClickBase(item, ev, ev.currentTarget); + }; + var onItemClickBase = function (item, ev, target) { + var items = getSubmenuItems(item, { target: menuTarget }); + // Cancel an async menu item hover timeout action from being taken and instead + // just trigger the click event instead. + cancelSubMenuTimer(); + if (!(0, index_1.hasSubmenu)(item) && (!items || !items.length)) { + // This is an item without a menu. Click it. + executeItemClick(item, ev); + } + else { + if (item.key !== expandedMenuItemKey) { + // This has a collapsed sub menu. Expand it. + // focus on the container by default when the menu is opened with a click event + // this differentiates from a keyboard interaction triggering the click event + var shouldFocusOnContainer = typeof props.shouldFocusOnContainer === 'boolean' + ? props.shouldFocusOnContainer + : ev.nativeEvent.pointerType === 'mouse'; + openSubMenu(item, target, shouldFocusOnContainer); + } + } + ev.stopPropagation(); + ev.preventDefault(); + }; + var onAnchorClick = function (item, ev) { + executeItemClick(item, ev); + ev.stopPropagation(); + }; + var executeItemClick = function (item, ev) { + if (item.disabled || item.isDisabled) { + return; + } + if (item.preferMenuTargetAsEventTarget) { + overrideTarget(ev, menuTarget); + } + var shouldDismiss = false; + if (item.onClick) { + shouldDismiss = !!item.onClick(ev, item); + } + else if (props.onItemClick) { + shouldDismiss = !!props.onItemClick(ev, item); + } + if (shouldDismiss || !ev.defaultPrevented) { + dismiss(ev, true); + } + }; + return [ + onItemMouseEnterBase, + onItemMouseMoveBase, + onMouseItemLeave, + onItemClick, + onAnchorClick, + executeItemClick, + onItemClickBase, + ]; +} +//#endregion +exports.ContextualMenuBase = React.memo(React.forwardRef(function (propsWithoutDefaults, forwardedRef) { + var _a; + var _b = (0, Utilities_1.getPropsWithDefaults)(DEFAULT_PROPS, propsWithoutDefaults), ref = _b.ref, props = tslib_1.__rest(_b, ["ref"]); + var hostElement = React.useRef(null); + var asyncTracker = (0, react_hooks_1.useAsync)(); + var menuId = (0, react_hooks_1.useId)(COMPONENT_NAME, props.id); + (0, react_hooks_1.useWarnings)({ + name: COMPONENT_NAME, + props: props, + deprecations: { + getMenuClassNames: 'styles', + }, + }); + var dismiss = function (ev, dismissAll) { var _a; return (_a = props.onDismiss) === null || _a === void 0 ? void 0 : _a.call(props, ev, dismissAll); }; + var _c = (0, react_hooks_1.useTarget)(props.target, hostElement), targetRef = _c[0], targetWindow = _c[1]; + var tryFocusPreviousActiveElement = usePreviousActiveElement(props, targetWindow, hostElement)[0]; + var _d = useSubMenuState(props, dismiss), expandedMenuItemKey = _d[0], openSubMenu = _d[1], getSubmenuProps = _d[2], onSubMenuDismiss = _d[3]; + var _e = useShouldUpdateFocusOnMouseMove(props), shouldUpdateFocusOnMouseEvent = _e[0], gotMouseMove = _e[1], onMenuFocusCapture = _e[2]; + var _f = useScrollHandler(asyncTracker), onScroll = _f[0], isScrollIdle = _f[1]; + var _g = useSubmenuEnterTimer(props, asyncTracker), cancelSubMenuTimer = _g[0], startSubmenuTimer = _g[1], subMenuEntryTimer = _g[2]; + var responsiveMode = (0, ResponsiveMode_1.useResponsiveMode)(hostElement, props.responsiveMode); + useVisibility(props, targetWindow); + var _h = useKeyHandlers(props, dismiss, hostElement, openSubMenu), onKeyDown = _h[0], onKeyUp = _h[1], onMenuKeyDown = _h[2], onItemKeyDown = _h[3]; + var _j = useMouseHandlers(props, isScrollIdle, subMenuEntryTimer, targetWindow, shouldUpdateFocusOnMouseEvent, gotMouseMove, expandedMenuItemKey, hostElement, startSubmenuTimer, cancelSubMenuTimer, openSubMenu, onSubMenuDismiss, dismiss), onItemMouseEnterBase = _j[0], onItemMouseMoveBase = _j[1], onMouseItemLeave = _j[2], onItemClick = _j[3], onAnchorClick = _j[4], executeItemClick = _j[5], onItemClickBase = _j[6]; + //#region Render helpers + var onDefaultRenderMenuList = function (menuListProps, + // eslint-disable-next-line deprecation/deprecation + menuClassNames, defaultRender) { + var indexCorrection = 0; + var items = menuListProps.items, totalItemCount = menuListProps.totalItemCount, hasCheckmarks = menuListProps.hasCheckmarks, hasIcons = menuListProps.hasIcons; + return (React.createElement("ul", { className: menuClassNames.list, onKeyDown: onKeyDown, onKeyUp: onKeyUp, role: 'presentation' }, items.map(function (item, index) { + var menuItem = renderMenuItem(item, index, indexCorrection, totalItemCount, hasCheckmarks, hasIcons, menuClassNames); + if (item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Divider && item.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Header) { + var indexIncrease = item.customOnRenderListLength ? item.customOnRenderListLength : 1; + indexCorrection += indexIncrease; + } + return menuItem; + }))); + }; + var renderFocusZone = function (children, adjustedFocusZoneProps) { + var _a = props.focusZoneAs, ChildrenRenderer = _a === void 0 ? FocusZone_1.FocusZone : _a; + return React.createElement(ChildrenRenderer, tslib_1.__assign({}, adjustedFocusZoneProps), children); + }; + /** + * !!!IMPORTANT!!! Avoid mutating `item: IContextualMenuItem` argument. It will + * cause the menu items to always re-render because the component update is based on shallow comparison. + */ + var renderMenuItem = function (item, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons, + // eslint-disable-next-line deprecation/deprecation + menuClassNames) { + var _a; + var renderedItems = []; + var iconProps = item.iconProps || { iconName: 'None' }; + var getItemClassNames = item.getItemClassNames, // eslint-disable-line deprecation/deprecation + itemProps = item.itemProps; + var styles = itemProps ? itemProps.styles : undefined; + // We only send a dividerClassName when the item to be rendered is a divider. + // For all other cases, the default divider style is used. + var dividerClassName = item.itemType === ContextualMenu_types_1.ContextualMenuItemType.Divider ? item.className : undefined; + var subMenuIconClassName = item.submenuIconProps ? item.submenuIconProps.className : ''; + // eslint-disable-next-line deprecation/deprecation + var itemClassNames; + // IContextualMenuItem#getItemClassNames for backwards compatibility + // otherwise uses mergeStyles for class names. + if (getItemClassNames) { + itemClassNames = getItemClassNames(props.theme, (0, index_1.isItemDisabled)(item), expandedMenuItemKey === item.key, !!(0, index_1.getIsChecked)(item), !!item.href, iconProps.iconName !== 'None', item.className, dividerClassName, iconProps.className, subMenuIconClassName, item.primaryDisabled); + } + else { + var itemStyleProps = { + theme: props.theme, + disabled: (0, index_1.isItemDisabled)(item), + expanded: expandedMenuItemKey === item.key, + checked: !!(0, index_1.getIsChecked)(item), + isAnchorLink: !!item.href, + knownIcon: iconProps.iconName !== 'None', + itemClassName: item.className, + dividerClassName: dividerClassName, + iconClassName: iconProps.className, + subMenuClassName: subMenuIconClassName, + primaryDisabled: item.primaryDisabled, + }; + // We need to generate default styles then override if styles are provided + // since the ContextualMenu currently handles item classNames. + itemClassNames = getContextualMenuItemClassNames(_getMenuItemStylesFunction((_a = menuClassNames.subComponentStyles) === null || _a === void 0 ? void 0 : _a.menuItem, styles), itemStyleProps); + } + // eslint-disable-next-line deprecation/deprecation + if (item.text === '-' || item.name === '-') { + item.itemType = ContextualMenu_types_1.ContextualMenuItemType.Divider; + } + switch (item.itemType) { + case ContextualMenu_types_1.ContextualMenuItemType.Divider: + renderedItems.push(renderSeparator(index, itemClassNames)); + break; + case ContextualMenu_types_1.ContextualMenuItemType.Header: + renderedItems.push(renderSeparator(index, itemClassNames)); + var headerItem = renderHeaderMenuItem(item, itemClassNames, menuClassNames, index, hasCheckmarks, hasIcons); + renderedItems.push(renderListItem(headerItem, item.key || index, itemClassNames, item.title)); + break; + case ContextualMenu_types_1.ContextualMenuItemType.Section: + renderedItems.push(renderSectionItem(item, itemClassNames, menuClassNames, index, hasCheckmarks, hasIcons)); + break; + default: + var defaultRenderNormalItem = function () { + return renderNormalItem(item, itemClassNames, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons); + }; + var menuItem = props.onRenderContextualMenuItem + ? props.onRenderContextualMenuItem(item, defaultRenderNormalItem) + : defaultRenderNormalItem(); + renderedItems.push(renderListItem(menuItem, item.key || index, itemClassNames, item.title)); + break; + } + // Since multiple nodes *could* be rendered, wrap them all in a fragment with this item's key. + // This ensures the reconciler handles multi-item output per-node correctly and does not re-mount content. + return React.createElement(React.Fragment, { key: item.key }, renderedItems); + }; + var defaultMenuItemRenderer = function (item, + // eslint-disable-next-line deprecation/deprecation + menuClassNames) { + var index = item.index, focusableElementIndex = item.focusableElementIndex, totalItemCount = item.totalItemCount, hasCheckmarks = item.hasCheckmarks, hasIcons = item.hasIcons; + return renderMenuItem(item, index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons, menuClassNames); + }; + var renderSectionItem = function (sectionItem, + // eslint-disable-next-line deprecation/deprecation + itemClassNames, + // eslint-disable-next-line deprecation/deprecation + menuClassNames, index, hasCheckmarks, hasIcons) { + var sectionProps = sectionItem.sectionProps; + if (!sectionProps) { + return; + } + var headerItem; + var groupProps; + if (sectionProps.title) { + var headerContextualMenuItem = undefined; + var ariaLabelledby = ''; + if (typeof sectionProps.title === 'string') { + // Since title is a user-facing string, it needs to be stripped + // of whitespace in order to build a valid element ID + var id_1 = menuId + sectionProps.title.replace(/\s/g, ''); + headerContextualMenuItem = { + key: "section-".concat(sectionProps.title, "-title"), + itemType: ContextualMenu_types_1.ContextualMenuItemType.Header, + text: sectionProps.title, + id: id_1, + }; + ariaLabelledby = id_1; + } + else { + var id_2 = sectionProps.title.id || menuId + sectionProps.title.key.replace(/\s/g, ''); + headerContextualMenuItem = tslib_1.__assign(tslib_1.__assign({}, sectionProps.title), { id: id_2 }); + ariaLabelledby = id_2; + } + if (headerContextualMenuItem) { + groupProps = { + role: 'group', + 'aria-labelledby': ariaLabelledby, + }; + headerItem = renderHeaderMenuItem(headerContextualMenuItem, itemClassNames, menuClassNames, index, hasCheckmarks, hasIcons); + } + } + if (sectionProps.items && sectionProps.items.length > 0) { + var correctedIndex_1 = 0; + return (React.createElement("li", { role: "presentation", key: sectionProps.key || sectionItem.key || "section-".concat(index) }, + React.createElement("div", tslib_1.__assign({}, groupProps), + React.createElement("ul", { className: menuClassNames.list, role: "presentation" }, + sectionProps.topDivider && renderSeparator(index, itemClassNames, true, true), + headerItem && renderListItem(headerItem, sectionItem.key || index, itemClassNames, sectionItem.title), + sectionProps.items.map(function (contextualMenuItem, itemsIndex) { + var menuItem = renderMenuItem(contextualMenuItem, itemsIndex, correctedIndex_1, getItemCount(sectionProps.items), hasCheckmarks, hasIcons, menuClassNames); + if (contextualMenuItem.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Divider && + contextualMenuItem.itemType !== ContextualMenu_types_1.ContextualMenuItemType.Header) { + var indexIncrease = contextualMenuItem.customOnRenderListLength + ? contextualMenuItem.customOnRenderListLength + : 1; + correctedIndex_1 += indexIncrease; + } + return menuItem; + }), + sectionProps.bottomDivider && renderSeparator(index, itemClassNames, false, true))))); + } + }; + var renderListItem = function (content, key, classNames, // eslint-disable-line deprecation/deprecation + title) { + return (React.createElement("li", { role: "presentation", title: title, key: key, className: classNames.item }, content)); + }; + var renderSeparator = function (index, classNames, // eslint-disable-line deprecation/deprecation + top, fromSection) { + if (fromSection || index > 0) { + return (React.createElement("li", { role: "separator", key: 'separator-' + index + (top === undefined ? '' : top ? '-top' : '-bottom'), className: classNames.divider, "aria-hidden": "true" })); + } + return null; + }; + var renderNormalItem = function (item, classNames, // eslint-disable-line deprecation/deprecation + index, focusableElementIndex, totalItemCount, hasCheckmarks, hasIcons) { + if (item.onRender) { + return item.onRender(tslib_1.__assign({ 'aria-posinset': focusableElementIndex + 1, 'aria-setsize': totalItemCount }, item), dismiss); + } + var contextualMenuItemAs = props.contextualMenuItemAs; + var commonProps = { + item: item, + classNames: classNames, + index: index, + focusableElementIndex: focusableElementIndex, + totalItemCount: totalItemCount, + hasCheckmarks: hasCheckmarks, + hasIcons: hasIcons, + contextualMenuItemAs: contextualMenuItemAs, + onItemMouseEnter: onItemMouseEnterBase, + onItemMouseLeave: onMouseItemLeave, + onItemMouseMove: onItemMouseMoveBase, + onItemMouseDown: onItemMouseDown, + executeItemClick: executeItemClick, + onItemKeyDown: onItemKeyDown, + expandedMenuItemKey: expandedMenuItemKey, + openSubMenu: openSubMenu, + dismissSubMenu: onSubMenuDismiss, + dismissMenu: dismiss, + }; + if (item.href) { + return React.createElement(index_2.ContextualMenuAnchor, tslib_1.__assign({}, commonProps, { onItemClick: onAnchorClick })); + } + if (item.split && (0, index_1.hasSubmenu)(item)) { + return (React.createElement(index_2.ContextualMenuSplitButton, tslib_1.__assign({}, commonProps, { onItemClick: onItemClick, onItemClickBase: onItemClickBase, onTap: cancelSubMenuTimer }))); + } + return React.createElement(index_2.ContextualMenuButton, tslib_1.__assign({}, commonProps, { onItemClick: onItemClick, onItemClickBase: onItemClickBase })); + }; + var renderHeaderMenuItem = function (item, + // eslint-disable-next-line deprecation/deprecation + itemClassNames, + // eslint-disable-next-line deprecation/deprecation + menuClassNames, index, hasCheckmarks, hasIcons) { + var _a = props.contextualMenuItemAs, ChildrenRenderer = _a === void 0 ? ContextualMenuItem_1.ContextualMenuItem : _a; + var itemProps = item.itemProps, id = item.id; + var divHtmlProperties = itemProps && (0, Utilities_1.getNativeProps)(itemProps, Utilities_1.divProperties); + return ( + // eslint-disable-next-line deprecation/deprecation + React.createElement("div", tslib_1.__assign({ id: id, className: menuClassNames.header }, divHtmlProperties, { style: item.style }), + React.createElement(ChildrenRenderer, tslib_1.__assign({ item: item, classNames: itemClassNames, index: index, onCheckmarkClick: hasCheckmarks ? onItemClick : undefined, hasIcons: hasIcons }, itemProps)))); + }; + //#endregion + //#region Main render + var isBeakVisible = props.isBeakVisible; + var items = props.items, labelElementId = props.labelElementId, id = props.id, className = props.className, beakWidth = props.beakWidth, directionalHint = props.directionalHint, directionalHintForRTL = props.directionalHintForRTL, alignTargetEdge = props.alignTargetEdge, gapSpace = props.gapSpace, coverTarget = props.coverTarget, ariaLabel = props.ariaLabel, doNotLayer = props.doNotLayer, target = props.target, bounds = props.bounds, useTargetWidth = props.useTargetWidth, useTargetAsMinWidth = props.useTargetAsMinWidth, directionalHintFixed = props.directionalHintFixed, shouldFocusOnMount = props.shouldFocusOnMount, shouldFocusOnContainer = props.shouldFocusOnContainer, title = props.title, styles = props.styles, theme = props.theme, calloutProps = props.calloutProps, _k = props.onRenderSubMenu, onRenderSubMenu = _k === void 0 ? onDefaultRenderSubMenu : _k, _l = props.onRenderMenuList, onRenderMenuList = _l === void 0 ? function (menuListProps, defaultRender) { return onDefaultRenderMenuList(menuListProps, classNames, defaultRender); } : _l, focusZoneProps = props.focusZoneProps, + // eslint-disable-next-line deprecation/deprecation + getMenuClassNames = props.getMenuClassNames; + var classNames = getMenuClassNames + ? getMenuClassNames(theme, className) + : getClassNames(styles, { + theme: theme, + className: className, + }); + var hasIcons = itemsHaveIcons(items); + function itemsHaveIcons(contextualMenuItems) { + for (var _i = 0, contextualMenuItems_1 = contextualMenuItems; _i < contextualMenuItems_1.length; _i++) { + var item = contextualMenuItems_1[_i]; + if (item.iconProps) { + return true; + } + if (item.itemType === ContextualMenu_types_1.ContextualMenuItemType.Section && + item.sectionProps && + itemsHaveIcons(item.sectionProps.items)) { + return true; + } + } + return false; + } + var adjustedFocusZoneProps = tslib_1.__assign(tslib_1.__assign({ direction: FocusZone_1.FocusZoneDirection.vertical, handleTabKey: FocusZone_1.FocusZoneTabbableElements.all, isCircularNavigation: true }, focusZoneProps), { className: (0, Utilities_1.css)(classNames.root, (_a = props.focusZoneProps) === null || _a === void 0 ? void 0 : _a.className) }); + var hasCheckmarks = canAnyMenuItemsCheck(items); + var submenuProps = expandedMenuItemKey && props.hidden !== true ? getSubmenuProps() : null; + isBeakVisible = isBeakVisible === undefined ? responsiveMode <= ResponsiveMode_1.ResponsiveMode.medium : isBeakVisible; + /** + * When useTargetWidth is true, get the width of the target element and apply it for the context menu container + */ + var contextMenuStyle; + var targetAsHtmlElement = targetRef.current; + if ((useTargetWidth || useTargetAsMinWidth) && targetAsHtmlElement && targetAsHtmlElement.offsetWidth) { + var targetBoundingRect = targetAsHtmlElement.getBoundingClientRect(); + var targetWidth = targetBoundingRect.width - 2; /* Accounts for 1px border */ + if (useTargetWidth) { + contextMenuStyle = { + width: targetWidth, + }; + } + else if (useTargetAsMinWidth) { + contextMenuStyle = { + minWidth: targetWidth, + }; + } + } + // The menu should only return if items were provided, if no items were provided then it should not appear. + if (items && items.length > 0) { + var totalItemCount_1 = getItemCount(items); + var calloutStyles_1 = classNames.subComponentStyles + ? classNames.subComponentStyles.callout + : undefined; + return (React.createElement(index_3.MenuContext.Consumer, null, function (menuContext) { return (React.createElement(Callout_1.Callout, tslib_1.__assign({ styles: calloutStyles_1, onRestoreFocus: tryFocusPreviousActiveElement }, calloutProps, { target: target || menuContext.target, isBeakVisible: isBeakVisible, beakWidth: beakWidth, directionalHint: directionalHint, directionalHintForRTL: directionalHintForRTL, gapSpace: gapSpace, coverTarget: coverTarget, doNotLayer: doNotLayer, className: (0, Utilities_1.css)('ms-ContextualMenu-Callout', calloutProps && calloutProps.className), setInitialFocus: shouldFocusOnMount, onDismiss: props.onDismiss || menuContext.onDismiss, onScroll: onScroll, bounds: bounds, directionalHintFixed: directionalHintFixed, alignTargetEdge: alignTargetEdge, hidden: props.hidden || menuContext.hidden, ref: forwardedRef }), + React.createElement("div", { style: contextMenuStyle, ref: hostElement, id: id, className: classNames.container, tabIndex: shouldFocusOnContainer ? 0 : -1, onKeyDown: onMenuKeyDown, onKeyUp: onKeyUp, onFocusCapture: onMenuFocusCapture, "aria-label": ariaLabel, "aria-labelledby": labelElementId, role: 'menu' }, + title && React.createElement("div", { className: classNames.title }, + " ", + title, + " "), + items && items.length + ? renderFocusZone(onRenderMenuList({ + ariaLabel: ariaLabel, + items: items, + totalItemCount: totalItemCount_1, + hasCheckmarks: hasCheckmarks, + hasIcons: hasIcons, + defaultMenuItemRenderer: function (item) { + return defaultMenuItemRenderer(item, classNames); + }, + labelElementId: labelElementId, + }, function (menuListProps, defaultRender) { return onDefaultRenderMenuList(menuListProps, classNames, defaultRender); }), adjustedFocusZoneProps) + : null, + submenuProps && onRenderSubMenu(submenuProps, onDefaultRenderSubMenu)), + React.createElement(Utilities_1.FocusRects, null))); })); + } + else { + return null; + } + //#endregion +}), function (prevProps, newProps) { + if (!newProps.shouldUpdateWhenHidden && prevProps.hidden && newProps.hidden) { + // Do not update when hidden. + return true; + } + return (0, Utilities_1.shallowCompare)(prevProps, newProps); +}); +exports.ContextualMenuBase.displayName = 'ContextualMenuBase'; +/** + * Returns true if the key for the event is alt (Mac option) or meta (Mac command). + */ +function isAltOrMeta(ev) { + // eslint-disable-next-line deprecation/deprecation + return ev.which === Utilities_1.KeyCodes.alt || ev.key === 'Meta'; +} +function onItemMouseDown(item, ev) { + var _a; + (_a = item.onMouseDown) === null || _a === void 0 ? void 0 : _a.call(item, item, ev); +} +function onDefaultRenderSubMenu(subMenuProps, defaultRender) { + throw Error('ContextualMenuBase: onRenderSubMenu callback is null or undefined. ' + + 'Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.'); +} +/** + * Returns the item that matches a given key if any. + * @param key - The key of the item to match + * @param items - The items to look for the key + */ +function findItemByKeyFromItems(key, items) { + for (var _i = 0, items_3 = items; _i < items_3.length; _i++) { + var item = items_3[_i]; + if (item.itemType === ContextualMenu_types_1.ContextualMenuItemType.Section && item.sectionProps) { + var match = findItemByKeyFromItems(key, item.sectionProps.items); + if (match) { + return match; + } + } + else if (item.key && item.key === key) { + return item; + } + } +} +function getOnClickWithOverrideTarget(onClick, target) { + return onClick + ? function (ev, item) { + overrideTarget(ev, target); + return onClick(ev, item); + } + : onClick; +} +function overrideTarget(ev, target) { + if (ev && target) { + ev.persist(); + if (target instanceof Event) { + ev.target = target.target; + } + else if (target instanceof Element) { + ev.target = target; + } + } +} +//# sourceMappingURL=ContextualMenu.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.classNames.js": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.classNames.js ***! + \**********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getItemStyles = exports.getItemClassNames = exports.getSplitButtonVerticalDividerClassNames = void 0; +var VerticalDivider_classNames_1 = __webpack_require__(/*! ../Divider/VerticalDivider.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.classNames.js"); +var ContextualMenu_cnstyles_1 = __webpack_require__(/*! ./ContextualMenu.cnstyles */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.cnstyles.js"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var CONTEXTUAL_SPLIT_MENU_MINWIDTH = '28px'; +var MediumScreenSelector = (0, Styling_1.getScreenSelector)(0, Styling_1.ScreenWidthMaxMedium); +exports.getSplitButtonVerticalDividerClassNames = (0, Utilities_1.memoizeFunction)( +/* eslint-disable deprecation/deprecation */ +function (theme) { + var _a; + return (0, Styling_1.mergeStyleSets)((0, VerticalDivider_classNames_1.getDividerClassNames)(theme), { + /* eslint-enable deprecation/deprecation */ + wrapper: { + position: 'absolute', + right: 28, + selectors: (_a = {}, + _a[MediumScreenSelector] = { + right: 32, // fontSize of the icon increased from 12px to 16px + }, + _a), + }, + divider: { + height: 16, + width: 1, + }, + }); +}); +var GlobalClassNames = { + item: 'ms-ContextualMenu-item', + divider: 'ms-ContextualMenu-divider', + root: 'ms-ContextualMenu-link', + isChecked: 'is-checked', + isExpanded: 'is-expanded', + isDisabled: 'is-disabled', + linkContent: 'ms-ContextualMenu-linkContent', + linkContentMenu: 'ms-ContextualMenu-linkContent', + icon: 'ms-ContextualMenu-icon', + iconColor: 'ms-ContextualMenu-iconColor', + checkmarkIcon: 'ms-ContextualMenu-checkmarkIcon', + subMenuIcon: 'ms-ContextualMenu-submenuIcon', + label: 'ms-ContextualMenu-itemText', + secondaryText: 'ms-ContextualMenu-secondaryText', + splitMenu: 'ms-ContextualMenu-splitMenu', + screenReaderText: 'ms-ContextualMenu-screenReaderText', +}; +/** + * @deprecated Will be removed in \>= 7.0. + * This is a package-internal method that has been depended on. + * It is being kept in this form for backwards compatibility. + * @internal + */ +// TODO: Audit perf. impact of and potentially remove memoizeFunction. +// https://github.com/microsoft/fluentui/issues/5534 +exports.getItemClassNames = (0, Utilities_1.memoizeFunction)(function (theme, disabled, expanded, checked, isAnchorLink, knownIcon, itemClassName, dividerClassName, iconClassName, subMenuClassName, primaryDisabled, className) { + var _a, _b, _c, _d; + var styles = (0, ContextualMenu_cnstyles_1.getMenuItemStyles)(theme); + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return (0, Styling_1.mergeStyleSets)({ + item: [classNames.item, styles.item, itemClassName], + divider: [classNames.divider, styles.divider, dividerClassName], + root: [ + classNames.root, + styles.root, + checked && [classNames.isChecked, styles.rootChecked], + isAnchorLink && styles.anchorLink, + expanded && [classNames.isExpanded, styles.rootExpanded], + disabled && [classNames.isDisabled, styles.rootDisabled], + !disabled && + !expanded && [ + { + selectors: (_a = { + ':hover': styles.rootHovered, + ':active': styles.rootPressed + }, + _a[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus, .").concat(Utilities_1.IsFocusVisibleClassName, " &:focus:hover")] = styles.rootFocused, + _a[".".concat(Utilities_1.IsFocusVisibleClassName, " &:hover")] = { background: 'inherit;' }, + _a), + }, + ], + className, + ], + splitPrimary: [ + styles.root, + { + width: "calc(100% - ".concat(CONTEXTUAL_SPLIT_MENU_MINWIDTH, ")"), + }, + checked && ['is-checked', styles.rootChecked], + (disabled || primaryDisabled) && ['is-disabled', styles.rootDisabled], + !(disabled || primaryDisabled) && + !checked && [ + { + selectors: (_b = { + ':hover': styles.rootHovered + }, + // when hovering over the splitPrimary also affect the splitMenu + _b[":hover ~ .".concat(classNames.splitMenu)] = styles.rootHovered, + _b[':active'] = styles.rootPressed, + _b[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus, .").concat(Utilities_1.IsFocusVisibleClassName, " &:focus:hover")] = styles.rootFocused, + _b[".".concat(Utilities_1.IsFocusVisibleClassName, " &:hover")] = { background: 'inherit;' }, + _b), + }, + ], + ], + splitMenu: [ + classNames.splitMenu, + styles.root, + { + flexBasis: '0', + padding: '0 8px', + minWidth: CONTEXTUAL_SPLIT_MENU_MINWIDTH, + }, + expanded && ['is-expanded', styles.rootExpanded], + disabled && ['is-disabled', styles.rootDisabled], + !disabled && + !expanded && [ + { + selectors: (_c = { + ':hover': styles.rootHovered, + ':active': styles.rootPressed + }, + _c[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus, .").concat(Utilities_1.IsFocusVisibleClassName, " &:focus:hover")] = styles.rootFocused, + _c[".".concat(Utilities_1.IsFocusVisibleClassName, " &:hover")] = { background: 'inherit;' }, + _c), + }, + ], + ], + anchorLink: styles.anchorLink, + linkContent: [classNames.linkContent, styles.linkContent], + linkContentMenu: [ + classNames.linkContentMenu, + styles.linkContent, + { + justifyContent: 'center', + }, + ], + icon: [ + classNames.icon, + knownIcon && styles.iconColor, + styles.icon, + iconClassName, + disabled && [classNames.isDisabled, styles.iconDisabled], + ], + iconColor: styles.iconColor, + checkmarkIcon: [classNames.checkmarkIcon, knownIcon && styles.checkmarkIcon, styles.icon, iconClassName], + subMenuIcon: [ + classNames.subMenuIcon, + styles.subMenuIcon, + subMenuClassName, + expanded && { color: theme.palette.neutralPrimary }, + disabled && [styles.iconDisabled], + ], + label: [classNames.label, styles.label], + secondaryText: [classNames.secondaryText, styles.secondaryText], + splitContainer: [ + styles.splitButtonFlexContainer, + !disabled && + !checked && [ + { + selectors: (_d = {}, + _d[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus, .").concat(Utilities_1.IsFocusVisibleClassName, " &:focus:hover")] = styles.rootFocused, + _d), + }, + ], + ], + screenReaderText: [ + classNames.screenReaderText, + styles.screenReaderText, + Styling_1.hiddenContentStyle, + { visibility: 'hidden' }, + ], + }); +}); +/** + * Wrapper function for generating ContextualMenuItem classNames which adheres to + * the getStyles API, but invokes memoized className generator function with + * primitive values. + * + * @param props - the ContextualMenuItem style props used to generate its styles. + */ +var getItemStyles = function (props) { + var theme = props.theme, disabled = props.disabled, expanded = props.expanded, checked = props.checked, isAnchorLink = props.isAnchorLink, knownIcon = props.knownIcon, itemClassName = props.itemClassName, dividerClassName = props.dividerClassName, iconClassName = props.iconClassName, subMenuClassName = props.subMenuClassName, primaryDisabled = props.primaryDisabled, className = props.className; + // eslint-disable-next-line deprecation/deprecation + return (0, exports.getItemClassNames)(theme, disabled, expanded, checked, isAnchorLink, knownIcon, itemClassName, dividerClassName, iconClassName, subMenuClassName, primaryDisabled, className); +}; +exports.getItemStyles = getItemStyles; +//# sourceMappingURL=ContextualMenu.classNames.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.cnstyles.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.cnstyles.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getMenuItemStyles = exports.CONTEXTUAL_MENU_ITEM_HEIGHT = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.CONTEXTUAL_MENU_ITEM_HEIGHT = 36; +var MediumScreenSelector = (0, Styling_1.getScreenSelector)(0, Styling_1.ScreenWidthMaxMedium); +exports.getMenuItemStyles = (0, Utilities_1.memoizeFunction)(function (theme) { + var _a, _b, _c, _d, _e; + var semanticColors = theme.semanticColors, fonts = theme.fonts, palette = theme.palette; + var ContextualMenuItemBackgroundHoverColor = semanticColors.menuItemBackgroundHovered; + var ContextualMenuItemTextHoverColor = semanticColors.menuItemTextHovered; + var ContextualMenuItemBackgroundSelectedColor = semanticColors.menuItemBackgroundPressed; + var ContextualMenuItemDividerColor = semanticColors.bodyDivider; + var menuItemStyles = { + item: [ + fonts.medium, + { + color: semanticColors.bodyText, + position: 'relative', + boxSizing: 'border-box', + }, + ], + divider: { + display: 'block', + height: '1px', + backgroundColor: ContextualMenuItemDividerColor, + position: 'relative', + }, + root: [ + (0, Styling_1.getFocusStyle)(theme), + fonts.medium, + { + color: semanticColors.bodyText, + backgroundColor: 'transparent', + border: 'none', + width: '100%', + height: exports.CONTEXTUAL_MENU_ITEM_HEIGHT, + lineHeight: exports.CONTEXTUAL_MENU_ITEM_HEIGHT, + display: 'block', + cursor: 'pointer', + padding: '0px 8px 0 4px', + textAlign: 'left', + }, + ], + rootDisabled: { + color: semanticColors.disabledBodyText, + cursor: 'default', + pointerEvents: 'none', + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + // ensure disabled text looks different than enabled + color: 'GrayText', + opacity: 1, + }, + _a), + }, + rootHovered: { + backgroundColor: ContextualMenuItemBackgroundHoverColor, + color: ContextualMenuItemTextHoverColor, + selectors: { + '.ms-ContextualMenu-icon': { + color: palette.themeDarkAlt, + }, + '.ms-ContextualMenu-submenuIcon': { + color: palette.neutralPrimary, + }, + }, + }, + rootFocused: { + backgroundColor: palette.white, + }, + rootChecked: { + selectors: { + '.ms-ContextualMenu-checkmarkIcon': { + color: palette.neutralPrimary, + }, + }, + }, + rootPressed: { + backgroundColor: ContextualMenuItemBackgroundSelectedColor, + selectors: { + '.ms-ContextualMenu-icon': { + color: palette.themeDark, + }, + '.ms-ContextualMenu-submenuIcon': { + color: palette.neutralPrimary, + }, + }, + }, + rootExpanded: { + backgroundColor: ContextualMenuItemBackgroundSelectedColor, + color: semanticColors.bodyTextChecked, + selectors: (_b = { + '.ms-ContextualMenu-submenuIcon': (_c = {}, + _c[Styling_1.HighContrastSelector] = { + // icons inside of anchor tags are not properly inheriting color in high contrast + color: 'inherit', + }, + _c) + }, + _b[Styling_1.HighContrastSelector] = tslib_1.__assign({}, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _b), + }, + linkContent: { + whiteSpace: 'nowrap', + height: 'inherit', + display: 'flex', + alignItems: 'center', + maxWidth: '100%', + }, + anchorLink: { + padding: '0px 8px 0 4px', + textRendering: 'auto', + color: 'inherit', + letterSpacing: 'normal', + wordSpacing: 'normal', + textTransform: 'none', + textIndent: '0px', + textShadow: 'none', + textDecoration: 'none', + boxSizing: 'border-box', + }, + label: { + margin: '0 4px', + verticalAlign: 'middle', + display: 'inline-block', + flexGrow: '1', + textOverflow: 'ellipsis', + whiteSpace: 'nowrap', + overflow: 'hidden', + }, + secondaryText: { + color: theme.palette.neutralSecondary, + paddingLeft: '20px', + textAlign: 'right', + }, + icon: { + display: 'inline-block', + minHeight: '1px', + maxHeight: exports.CONTEXTUAL_MENU_ITEM_HEIGHT, + fontSize: Styling_1.IconFontSizes.medium, + width: Styling_1.IconFontSizes.medium, + margin: '0 4px', + verticalAlign: 'middle', + flexShrink: '0', + selectors: (_d = {}, + _d[MediumScreenSelector] = { + fontSize: Styling_1.IconFontSizes.large, + width: Styling_1.IconFontSizes.large, + }, + _d), + }, + iconColor: { + color: semanticColors.menuIcon, + }, + iconDisabled: { + color: semanticColors.disabledBodyText, + }, + checkmarkIcon: { + color: semanticColors.bodySubtext, + }, + subMenuIcon: { + height: exports.CONTEXTUAL_MENU_ITEM_HEIGHT, + lineHeight: exports.CONTEXTUAL_MENU_ITEM_HEIGHT, + color: palette.neutralSecondary, + textAlign: 'center', + display: 'inline-block', + verticalAlign: 'middle', + flexShrink: '0', + fontSize: Styling_1.IconFontSizes.small, + selectors: (_e = { + ':hover': { + color: palette.neutralPrimary, + }, + ':active': { + color: palette.neutralPrimary, + } + }, + _e[MediumScreenSelector] = { + fontSize: Styling_1.IconFontSizes.medium, // 16px + }, + _e), + }, + splitButtonFlexContainer: [ + (0, Styling_1.getFocusStyle)(theme), + { + display: 'flex', + height: exports.CONTEXTUAL_MENU_ITEM_HEIGHT, + flexWrap: 'nowrap', + justifyContent: 'center', + alignItems: 'flex-start', + }, + ], + }; + return (0, Styling_1.concatStyleSets)(menuItemStyles); +}); +//# sourceMappingURL=ContextualMenu.cnstyles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.js ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ContextualMenu = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ContextualMenu_base_1 = __webpack_require__(/*! ./ContextualMenu.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.base.js"); +var ContextualMenu_styles_1 = __webpack_require__(/*! ./ContextualMenu.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.styles.js"); +function onRenderSubMenu(subMenuProps) { + return React.createElement(LocalContextualMenu, tslib_1.__assign({}, subMenuProps)); +} +// This is to prevent cyclic import with ContextualMenu.base.tsx. +var LocalContextualMenu = (0, Utilities_1.styled)(ContextualMenu_base_1.ContextualMenuBase, ContextualMenu_styles_1.getStyles, function (props) { return ({ + onRenderSubMenu: props.onRenderSubMenu + ? (0, Utilities_1.composeRenderFunction)(props.onRenderSubMenu, onRenderSubMenu) + : onRenderSubMenu, +}); }, { scope: 'ContextualMenu' }); +/** + * ContextualMenu description + */ +exports.ContextualMenu = LocalContextualMenu; +exports.ContextualMenu.displayName = 'ContextualMenu'; +//# sourceMappingURL=ContextualMenu.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.styles.js": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.styles.js ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var ContextualMenu_cnstyles_1 = __webpack_require__(/*! ./ContextualMenu.cnstyles */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.cnstyles.js"); +var GlobalClassNames = { + root: 'ms-ContextualMenu', + container: 'ms-ContextualMenu-container', + list: 'ms-ContextualMenu-list', + header: 'ms-ContextualMenu-header', + title: 'ms-ContextualMenu-title', + isopen: 'is-open', +}; +var getStyles = function (props) { + var className = props.className, theme = props.theme; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + var fonts = theme.fonts, semanticColors = theme.semanticColors, effects = theme.effects; + return { + root: [ + theme.fonts.medium, + classNames.root, + classNames.isopen, + { + backgroundColor: semanticColors.menuBackground, + minWidth: '180px', + }, + className, + ], + container: [ + classNames.container, + { + selectors: { + ':focus': { outline: 0 }, + }, + }, + ], + list: [ + classNames.list, + classNames.isopen, + { + listStyleType: 'none', + margin: '0', + padding: '0', + }, + ], + header: [ + classNames.header, + fonts.small, + { + fontWeight: Styling_1.FontWeights.semibold, + color: semanticColors.menuHeader, + background: 'none', + backgroundColor: 'transparent', + border: 'none', + height: ContextualMenu_cnstyles_1.CONTEXTUAL_MENU_ITEM_HEIGHT, + lineHeight: ContextualMenu_cnstyles_1.CONTEXTUAL_MENU_ITEM_HEIGHT, + cursor: 'default', + padding: '0px 6px', + userSelect: 'none', + textAlign: 'left', + }, + ], + title: [ + classNames.title, + { + fontSize: fonts.mediumPlus.fontSize, + paddingRight: '14px', + paddingLeft: '14px', + paddingBottom: '5px', + paddingTop: '5px', + backgroundColor: semanticColors.menuItemBackgroundPressed, + }, + ], + subComponentStyles: { + callout: { + root: { + boxShadow: effects.elevation8, + }, + }, + menuItem: {}, + }, + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=ContextualMenu.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.types.js": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.types.js ***! + \*****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ContextualMenuItemType = exports.DirectionalHint = void 0; +var DirectionalHint_1 = __webpack_require__(/*! ../../common/DirectionalHint */ "./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js"); +Object.defineProperty(exports, "DirectionalHint", ({ enumerable: true, get: function () { return DirectionalHint_1.DirectionalHint; } })); +/** + * {@docCategory ContextualMenu} + */ +var ContextualMenuItemType; +(function (ContextualMenuItemType) { + ContextualMenuItemType[ContextualMenuItemType["Normal"] = 0] = "Normal"; + ContextualMenuItemType[ContextualMenuItemType["Divider"] = 1] = "Divider"; + ContextualMenuItemType[ContextualMenuItemType["Header"] = 2] = "Header"; + ContextualMenuItemType[ContextualMenuItemType["Section"] = 3] = "Section"; +})(ContextualMenuItemType = exports.ContextualMenuItemType || (exports.ContextualMenuItemType = {})); +//# sourceMappingURL=ContextualMenu.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.base.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.base.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ContextualMenuItemBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var index_1 = __webpack_require__(/*! ../../utilities/contextualMenu/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/contextualMenu/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var defaultIconRenderer = function (props) { + var item = props.item, classNames = props.classNames; + var iconProps = item.iconProps; + return React.createElement(Icon_1.Icon, tslib_1.__assign({}, iconProps, { className: classNames.icon })); +}; +var renderItemIcon = function (props) { + var item = props.item, hasIcons = props.hasIcons; + if (!hasIcons) { + return null; + } + if (item.onRenderIcon) { + return item.onRenderIcon(props, defaultIconRenderer); + } + return defaultIconRenderer(props); +}; +var renderCheckMarkIcon = function (_a) { + var onCheckmarkClick = _a.onCheckmarkClick, item = _a.item, classNames = _a.classNames; + var isItemChecked = (0, index_1.getIsChecked)(item); + if (onCheckmarkClick) { + // Ensures that the item is passed as the first argument to the checkmark click callback. + var onClick = function (e) { return onCheckmarkClick(item, e); }; + return (React.createElement(Icon_1.Icon, { iconName: item.canCheck !== false && isItemChecked ? 'CheckMark' : '', className: classNames.checkmarkIcon, + // eslint-disable-next-line react/jsx-no-bind + onClick: onClick })); + } + return null; +}; +var renderItemName = function (_a) { + var item = _a.item, classNames = _a.classNames; + /* eslint-disable deprecation/deprecation */ + if (item.text || item.name) { + return React.createElement("span", { className: classNames.label }, item.text || item.name); + } + /* eslint-enable deprecation/deprecation */ + return null; +}; +var renderSecondaryText = function (_a) { + var item = _a.item, classNames = _a.classNames; + if (item.secondaryText) { + return React.createElement("span", { className: classNames.secondaryText }, item.secondaryText); + } + return null; +}; +var renderSubMenuIcon = function (_a) { + var item = _a.item, classNames = _a.classNames, theme = _a.theme; + if ((0, index_1.hasSubmenu)(item)) { + return (React.createElement(Icon_1.Icon, tslib_1.__assign({ iconName: (0, Utilities_1.getRTL)(theme) ? 'ChevronLeft' : 'ChevronRight' }, item.submenuIconProps, { className: classNames.subMenuIcon }))); + } + return null; +}; +var ContextualMenuItemBase = /** @class */ (function (_super) { + tslib_1.__extends(ContextualMenuItemBase, _super); + function ContextualMenuItemBase(props) { + var _this = _super.call(this, props) || this; + _this.openSubMenu = function () { + var _a = _this.props, item = _a.item, openSubMenu = _a.openSubMenu, getSubmenuTarget = _a.getSubmenuTarget; + if (getSubmenuTarget) { + var submenuTarget = getSubmenuTarget(); + if ((0, index_1.hasSubmenu)(item) && openSubMenu && submenuTarget) { + openSubMenu(item, submenuTarget); + } + } + }; + _this.dismissSubMenu = function () { + var _a = _this.props, item = _a.item, dismissSubMenu = _a.dismissSubMenu; + if ((0, index_1.hasSubmenu)(item) && dismissSubMenu) { + dismissSubMenu(); + } + }; + _this.dismissMenu = function (dismissAll) { + var dismissMenu = _this.props.dismissMenu; + if (dismissMenu) { + dismissMenu(undefined /* ev */, dismissAll); + } + }; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + ContextualMenuItemBase.prototype.render = function () { + var _a = this.props, item = _a.item, classNames = _a.classNames; + var renderContent = item.onRenderContent || this._renderLayout; + return (React.createElement("div", { className: item.split ? classNames.linkContentMenu : classNames.linkContent }, renderContent(this.props, { + renderCheckMarkIcon: renderCheckMarkIcon, + renderItemIcon: renderItemIcon, + renderItemName: renderItemName, + renderSecondaryText: renderSecondaryText, + renderSubMenuIcon: renderSubMenuIcon, + }))); + }; + ContextualMenuItemBase.prototype._renderLayout = function (props, defaultRenders) { + return (React.createElement(React.Fragment, null, + defaultRenders.renderCheckMarkIcon(props), + defaultRenders.renderItemIcon(props), + defaultRenders.renderItemName(props), + defaultRenders.renderSecondaryText(props), + defaultRenders.renderSubMenuIcon(props))); + }; + return ContextualMenuItemBase; +}(React.Component)); +exports.ContextualMenuItemBase = ContextualMenuItemBase; +//# sourceMappingURL=ContextualMenuItem.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.js": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.js ***! + \***************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ContextualMenuItem = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ContextualMenuItem_base_1 = __webpack_require__(/*! ./ContextualMenuItem.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.base.js"); +var ContextualMenu_classNames_1 = __webpack_require__(/*! ./ContextualMenu.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.classNames.js"); +/** + * ContextualMenuItem description + */ +exports.ContextualMenuItem = (0, Utilities_1.styled)(ContextualMenuItem_base_1.ContextualMenuItemBase, ContextualMenu_classNames_1.getItemStyles, undefined, { scope: 'ContextualMenuItem' }); +//# sourceMappingURL=ContextualMenuItem.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.types.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.types.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=ContextualMenuItem.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuAnchor.js": +/*!*******************************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuAnchor.js ***! + \*******************************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ContextualMenuAnchor = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ContextualMenuItemWrapper_1 = __webpack_require__(/*! ./ContextualMenuItemWrapper */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuItemWrapper.js"); +var KeytipData_1 = __webpack_require__(/*! ../../../KeytipData */ "./node_modules/@fluentui/react/lib-commonjs/KeytipData.js"); +var index_1 = __webpack_require__(/*! ../../../utilities/contextualMenu/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/contextualMenu/index.js"); +var ContextualMenuItem_1 = __webpack_require__(/*! ../ContextualMenuItem */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.js"); +var ContextualMenuAnchor = /** @class */ (function (_super) { + tslib_1.__extends(ContextualMenuAnchor, _super); + function ContextualMenuAnchor() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this._anchor = React.createRef(); + _this._getMemoizedMenuButtonKeytipProps = (0, Utilities_1.memoizeFunction)(function (keytipProps) { + return tslib_1.__assign(tslib_1.__assign({}, keytipProps), { hasMenu: true }); + }); + _this._getSubmenuTarget = function () { + return _this._anchor.current ? _this._anchor.current : undefined; + }; + _this._onItemClick = function (ev) { + var _a = _this.props, item = _a.item, onItemClick = _a.onItemClick; + if (onItemClick) { + onItemClick(item, ev); + } + }; + _this._renderAriaDescription = function (ariaDescription, className) { + // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan + return ariaDescription ? (React.createElement("span", { id: _this._ariaDescriptionId, className: className }, ariaDescription)) : null; + }; + return _this; + } + ContextualMenuAnchor.prototype.render = function () { + var _this = this; + var _a = this.props, item = _a.item, classNames = _a.classNames, index = _a.index, focusableElementIndex = _a.focusableElementIndex, totalItemCount = _a.totalItemCount, hasCheckmarks = _a.hasCheckmarks, hasIcons = _a.hasIcons, _b = _a.contextualMenuItemAs, ChildrenRenderer = _b === void 0 ? ContextualMenuItem_1.ContextualMenuItem : _b, expandedMenuItemKey = _a.expandedMenuItemKey, onItemClick = _a.onItemClick, openSubMenu = _a.openSubMenu, dismissSubMenu = _a.dismissSubMenu, dismissMenu = _a.dismissMenu; + var anchorRel = item.rel; + if (item.target && item.target.toLowerCase() === '_blank') { + anchorRel = anchorRel ? anchorRel : 'nofollow noopener noreferrer'; // Safe default to prevent tabjacking + } + var itemHasSubmenu = (0, index_1.hasSubmenu)(item); + var nativeProps = (0, Utilities_1.getNativeProps)(item, Utilities_1.anchorProperties); + var disabled = (0, index_1.isItemDisabled)(item); + var itemProps = item.itemProps, ariaDescription = item.ariaDescription; + var keytipProps = item.keytipProps; + if (keytipProps && itemHasSubmenu) { + keytipProps = this._getMemoizedMenuButtonKeytipProps(keytipProps); + } + // Check for ariaDescription to set the _ariaDescriptionId and render a hidden span with + // the description in it to be added to ariaDescribedBy + if (ariaDescription) { + this._ariaDescriptionId = (0, Utilities_1.getId)(); + } + var ariaDescribedByIds = (0, Utilities_1.mergeAriaAttributeValues)(item.ariaDescribedBy, ariaDescription ? this._ariaDescriptionId : undefined, nativeProps['aria-describedby']); + var additionalItemProperties = { + 'aria-describedby': ariaDescribedByIds, + }; + return (React.createElement("div", null, + React.createElement(KeytipData_1.KeytipData, { keytipProps: item.keytipProps, ariaDescribedBy: ariaDescribedByIds, disabled: disabled }, function (keytipAttributes) { return (React.createElement("a", tslib_1.__assign({}, additionalItemProperties, nativeProps, keytipAttributes, { ref: _this._anchor, href: item.href, target: item.target, rel: anchorRel, className: classNames.root, role: "menuitem", "aria-haspopup": itemHasSubmenu || undefined, "aria-expanded": itemHasSubmenu ? item.key === expandedMenuItemKey : undefined, "aria-posinset": focusableElementIndex + 1, "aria-setsize": totalItemCount, "aria-disabled": (0, index_1.isItemDisabled)(item), + // eslint-disable-next-line deprecation/deprecation + style: item.style, onClick: _this._onItemClick, onMouseEnter: _this._onItemMouseEnter, onMouseLeave: _this._onItemMouseLeave, onMouseMove: _this._onItemMouseMove, onKeyDown: itemHasSubmenu ? _this._onItemKeyDown : undefined }), + React.createElement(ChildrenRenderer, tslib_1.__assign({ componentRef: item.componentRef, item: item, classNames: classNames, index: index, onCheckmarkClick: hasCheckmarks && onItemClick ? onItemClick : undefined, hasIcons: hasIcons, openSubMenu: openSubMenu, dismissSubMenu: dismissSubMenu, dismissMenu: dismissMenu, getSubmenuTarget: _this._getSubmenuTarget }, itemProps)), + _this._renderAriaDescription(ariaDescription, classNames.screenReaderText))); }))); + }; + return ContextualMenuAnchor; +}(ContextualMenuItemWrapper_1.ContextualMenuItemWrapper)); +exports.ContextualMenuAnchor = ContextualMenuAnchor; +//# sourceMappingURL=ContextualMenuAnchor.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuButton.js": +/*!*******************************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuButton.js ***! + \*******************************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ContextualMenuButton = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ContextualMenuItemWrapper_1 = __webpack_require__(/*! ./ContextualMenuItemWrapper */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuItemWrapper.js"); +var KeytipData_1 = __webpack_require__(/*! ../../../KeytipData */ "./node_modules/@fluentui/react/lib-commonjs/KeytipData.js"); +var index_1 = __webpack_require__(/*! ../../../utilities/contextualMenu/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/contextualMenu/index.js"); +var ContextualMenuItem_1 = __webpack_require__(/*! ../ContextualMenuItem */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.js"); +var ContextualMenuButton = /** @class */ (function (_super) { + tslib_1.__extends(ContextualMenuButton, _super); + function ContextualMenuButton() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this._btn = React.createRef(); + _this._getMemoizedMenuButtonKeytipProps = (0, Utilities_1.memoizeFunction)(function (keytipProps) { + return tslib_1.__assign(tslib_1.__assign({}, keytipProps), { hasMenu: true }); + }); + _this._renderAriaDescription = function (ariaDescription, className) { + // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan + return ariaDescription ? (React.createElement("span", { id: _this._ariaDescriptionId, className: className }, ariaDescription)) : null; + }; + _this._getSubmenuTarget = function () { + return _this._btn.current ? _this._btn.current : undefined; + }; + return _this; + } + ContextualMenuButton.prototype.render = function () { + var _this = this; + var _a = this.props, item = _a.item, classNames = _a.classNames, index = _a.index, focusableElementIndex = _a.focusableElementIndex, totalItemCount = _a.totalItemCount, hasCheckmarks = _a.hasCheckmarks, hasIcons = _a.hasIcons, _b = _a.contextualMenuItemAs, ChildrenRenderer = _b === void 0 ? ContextualMenuItem_1.ContextualMenuItem : _b, expandedMenuItemKey = _a.expandedMenuItemKey, onItemMouseDown = _a.onItemMouseDown, onItemClick = _a.onItemClick, openSubMenu = _a.openSubMenu, dismissSubMenu = _a.dismissSubMenu, dismissMenu = _a.dismissMenu; + var isChecked = (0, index_1.getIsChecked)(item); + var canCheck = isChecked !== null; + var defaultRole = (0, index_1.getMenuItemAriaRole)(item); + var itemHasSubmenu = (0, index_1.hasSubmenu)(item); + var itemProps = item.itemProps, ariaLabel = item.ariaLabel, ariaDescription = item.ariaDescription; + var buttonNativeProperties = (0, Utilities_1.getNativeProps)(item, Utilities_1.buttonProperties); + // Do not add the disabled attribute to the button so that it is focusable + delete buttonNativeProperties.disabled; + var itemRole = item.role || defaultRole; + // Check for ariaDescription to set the _ariaDescriptionId and render a hidden span with + // the description in it to be added to ariaDescribedBy + if (ariaDescription) { + this._ariaDescriptionId = (0, Utilities_1.getId)(); + } + var ariaDescribedByIds = (0, Utilities_1.mergeAriaAttributeValues)(item.ariaDescribedBy, ariaDescription ? this._ariaDescriptionId : undefined, buttonNativeProperties['aria-describedby']); + var itemButtonProperties = { + className: classNames.root, + onClick: this._onItemClick, + onKeyDown: itemHasSubmenu ? this._onItemKeyDown : undefined, + onMouseEnter: this._onItemMouseEnter, + onMouseLeave: this._onItemMouseLeave, + onMouseDown: function (ev) { + return onItemMouseDown ? onItemMouseDown(item, ev) : undefined; + }, + onMouseMove: this._onItemMouseMove, + href: item.href, + title: item.title, + 'aria-label': ariaLabel, + 'aria-describedby': ariaDescribedByIds, + 'aria-haspopup': itemHasSubmenu || undefined, + 'aria-expanded': itemHasSubmenu ? item.key === expandedMenuItemKey : undefined, + 'aria-posinset': focusableElementIndex + 1, + 'aria-setsize': totalItemCount, + 'aria-disabled': (0, index_1.isItemDisabled)(item), + 'aria-checked': (itemRole === 'menuitemcheckbox' || itemRole === 'menuitemradio') && canCheck ? !!isChecked : undefined, + 'aria-selected': itemRole === 'menuitem' && canCheck ? !!isChecked : undefined, + role: itemRole, + // eslint-disable-next-line deprecation/deprecation + style: item.style, + }; + var keytipProps = item.keytipProps; + if (keytipProps && itemHasSubmenu) { + keytipProps = this._getMemoizedMenuButtonKeytipProps(keytipProps); + } + return (React.createElement(KeytipData_1.KeytipData, { keytipProps: keytipProps, ariaDescribedBy: ariaDescribedByIds, disabled: (0, index_1.isItemDisabled)(item) }, function (keytipAttributes) { return (React.createElement("button", tslib_1.__assign({ ref: _this._btn }, buttonNativeProperties, itemButtonProperties, keytipAttributes), + React.createElement(ChildrenRenderer, tslib_1.__assign({ componentRef: item.componentRef, item: item, classNames: classNames, index: index, onCheckmarkClick: hasCheckmarks && onItemClick ? onItemClick : undefined, hasIcons: hasIcons, openSubMenu: openSubMenu, dismissSubMenu: dismissSubMenu, dismissMenu: dismissMenu, getSubmenuTarget: _this._getSubmenuTarget }, itemProps)), + _this._renderAriaDescription(ariaDescription, classNames.screenReaderText))); })); + }; + return ContextualMenuButton; +}(ContextualMenuItemWrapper_1.ContextualMenuItemWrapper)); +exports.ContextualMenuButton = ContextualMenuButton; +//# sourceMappingURL=ContextualMenuButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuItemWrapper.js": +/*!************************************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuItemWrapper.js ***! + \************************************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ContextualMenuItemWrapper = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ContextualMenuItemWrapper = /** @class */ (function (_super) { + tslib_1.__extends(ContextualMenuItemWrapper, _super); + function ContextualMenuItemWrapper(props) { + var _this = _super.call(this, props) || this; + _this._onItemMouseEnter = function (ev) { + var _a = _this.props, item = _a.item, onItemMouseEnter = _a.onItemMouseEnter; + if (onItemMouseEnter) { + onItemMouseEnter(item, ev, ev.currentTarget); + } + }; + _this._onItemClick = function (ev) { + var _a = _this.props, item = _a.item, onItemClickBase = _a.onItemClickBase; + if (onItemClickBase) { + onItemClickBase(item, ev, ev.currentTarget); + } + }; + _this._onItemMouseLeave = function (ev) { + var _a = _this.props, item = _a.item, onItemMouseLeave = _a.onItemMouseLeave; + if (onItemMouseLeave) { + onItemMouseLeave(item, ev); + } + }; + _this._onItemKeyDown = function (ev) { + var _a = _this.props, item = _a.item, onItemKeyDown = _a.onItemKeyDown; + if (onItemKeyDown) { + onItemKeyDown(item, ev); + } + }; + _this._onItemMouseMove = function (ev) { + var _a = _this.props, item = _a.item, onItemMouseMove = _a.onItemMouseMove; + if (onItemMouseMove) { + onItemMouseMove(item, ev, ev.currentTarget); + } + }; + _this._getSubmenuTarget = function () { + return undefined; + }; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + ContextualMenuItemWrapper.prototype.shouldComponentUpdate = function (newProps) { + return !(0, Utilities_1.shallowCompare)(newProps, this.props); + }; + return ContextualMenuItemWrapper; +}(React.Component)); +exports.ContextualMenuItemWrapper = ContextualMenuItemWrapper; +//# sourceMappingURL=ContextualMenuItemWrapper.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuItemWrapper.types.js": +/*!******************************************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuItemWrapper.types.js ***! + \******************************************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=ContextualMenuItemWrapper.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuSplitButton.js": +/*!************************************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuSplitButton.js ***! + \************************************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ContextualMenuSplitButton = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ContextualMenuItem_1 = __webpack_require__(/*! ../ContextualMenuItem */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.js"); +var ContextualMenu_classNames_1 = __webpack_require__(/*! ../ContextualMenu.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.classNames.js"); +var KeytipData_1 = __webpack_require__(/*! ../../../KeytipData */ "./node_modules/@fluentui/react/lib-commonjs/KeytipData.js"); +var index_1 = __webpack_require__(/*! ../../../utilities/contextualMenu/index */ "./node_modules/@fluentui/react/lib-commonjs/utilities/contextualMenu/index.js"); +var Divider_1 = __webpack_require__(/*! ../../../Divider */ "./node_modules/@fluentui/react/lib-commonjs/Divider.js"); +var ContextualMenuItemWrapper_1 = __webpack_require__(/*! ./ContextualMenuItemWrapper */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuItemWrapper.js"); +var TouchIdleDelay = 500; /* ms */ +var ContextualMenuSplitButton = /** @class */ (function (_super) { + tslib_1.__extends(ContextualMenuSplitButton, _super); + function ContextualMenuSplitButton(props) { + var _this = _super.call(this, props) || this; + _this._getMemoizedMenuButtonKeytipProps = (0, Utilities_1.memoizeFunction)(function (keytipProps) { + return tslib_1.__assign(tslib_1.__assign({}, keytipProps), { hasMenu: true }); + }); + _this._onItemKeyDown = function (ev) { + var _a = _this.props, item = _a.item, onItemKeyDown = _a.onItemKeyDown; + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.enter) { + _this._executeItemClick(ev); + ev.preventDefault(); + ev.stopPropagation(); + } + else if (onItemKeyDown) { + onItemKeyDown(item, ev); + } + }; + _this._getSubmenuTarget = function () { + return _this._splitButton; + }; + _this._renderAriaDescription = function (ariaDescription, className) { + // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan + return ariaDescription ? (React.createElement("span", { id: _this._ariaDescriptionId, className: className }, ariaDescription)) : null; + }; + _this._onItemMouseEnterPrimary = function (ev) { + var _a = _this.props, item = _a.item, onItemMouseEnter = _a.onItemMouseEnter; + if (onItemMouseEnter) { + onItemMouseEnter(tslib_1.__assign(tslib_1.__assign({}, item), { subMenuProps: undefined, items: undefined }), ev, _this._splitButton); + } + }; + _this._onItemMouseEnterIcon = function (ev) { + var _a = _this.props, item = _a.item, onItemMouseEnter = _a.onItemMouseEnter; + if (onItemMouseEnter) { + onItemMouseEnter(item, ev, _this._splitButton); + } + }; + _this._onItemMouseMovePrimary = function (ev) { + var _a = _this.props, item = _a.item, onItemMouseMove = _a.onItemMouseMove; + if (onItemMouseMove) { + onItemMouseMove(tslib_1.__assign(tslib_1.__assign({}, item), { subMenuProps: undefined, items: undefined }), ev, _this._splitButton); + } + }; + _this._onItemMouseMoveIcon = function (ev) { + var _a = _this.props, item = _a.item, onItemMouseMove = _a.onItemMouseMove; + if (onItemMouseMove) { + onItemMouseMove(item, ev, _this._splitButton); + } + }; + _this._onIconItemClick = function (ev) { + var _a = _this.props, item = _a.item, onItemClickBase = _a.onItemClickBase; + if (onItemClickBase) { + onItemClickBase(item, ev, (_this._splitButton ? _this._splitButton : ev.currentTarget)); + } + }; + _this._executeItemClick = function (ev) { + var _a = _this.props, item = _a.item, executeItemClick = _a.executeItemClick, onItemClick = _a.onItemClick; + if (item.disabled || item.isDisabled) { + return; + } + if (_this._processingTouch && !item.canCheck && onItemClick) { + return onItemClick(item, ev); + } + if (executeItemClick) { + executeItemClick(item, ev); + } + }; + _this._onTouchStart = function (ev) { + if (_this._splitButton && !('onpointerdown' in _this._splitButton)) { + _this._handleTouchAndPointerEvent(ev); + } + }; + _this._onPointerDown = function (ev) { + if (ev.pointerType === 'touch') { + _this._handleTouchAndPointerEvent(ev); + ev.preventDefault(); + ev.stopImmediatePropagation(); + } + }; + _this._async = new Utilities_1.Async(_this); + _this._events = new Utilities_1.EventGroup(_this); + _this._dismissLabelId = (0, Utilities_1.getId)(); + return _this; + } + ContextualMenuSplitButton.prototype.componentDidMount = function () { + if (this._splitButton && 'onpointerdown' in this._splitButton) { + this._events.on(this._splitButton, 'pointerdown', this._onPointerDown, true); + } + }; + ContextualMenuSplitButton.prototype.componentWillUnmount = function () { + this._async.dispose(); + this._events.dispose(); + }; + ContextualMenuSplitButton.prototype.render = function () { + var _this = this; + var _a; + var _b = this.props, item = _b.item, classNames = _b.classNames, index = _b.index, focusableElementIndex = _b.focusableElementIndex, totalItemCount = _b.totalItemCount, hasCheckmarks = _b.hasCheckmarks, hasIcons = _b.hasIcons, onItemMouseLeave = _b.onItemMouseLeave, expandedMenuItemKey = _b.expandedMenuItemKey; + var itemHasSubmenu = (0, index_1.hasSubmenu)(item); + var keytipProps = item.keytipProps; + if (keytipProps) { + keytipProps = this._getMemoizedMenuButtonKeytipProps(keytipProps); + } + // Check for ariaDescription to set the _ariaDescriptionId and render a hidden span with + // the description in it to be added to ariaDescribedBy + var ariaDescription = item.ariaDescription; + if (ariaDescription) { + this._ariaDescriptionId = (0, Utilities_1.getId)(); + } + var ariaChecked = (_a = (0, index_1.getIsChecked)(item)) !== null && _a !== void 0 ? _a : undefined; + return (React.createElement(KeytipData_1.KeytipData, { keytipProps: keytipProps, disabled: (0, index_1.isItemDisabled)(item) }, function (keytipAttributes) { return (React.createElement("div", { "data-ktp-target": keytipAttributes['data-ktp-target'], ref: function (splitButton) { return (_this._splitButton = splitButton); }, role: (0, index_1.getMenuItemAriaRole)(item), "aria-label": item.ariaLabel, className: classNames.splitContainer, "aria-disabled": (0, index_1.isItemDisabled)(item), "aria-expanded": itemHasSubmenu ? item.key === expandedMenuItemKey : undefined, "aria-haspopup": true, "aria-describedby": (0, Utilities_1.mergeAriaAttributeValues)(item.ariaDescribedBy, ariaDescription ? _this._ariaDescriptionId : undefined, keytipAttributes['aria-describedby']), "aria-checked": ariaChecked, "aria-posinset": focusableElementIndex + 1, "aria-setsize": totalItemCount, onMouseEnter: _this._onItemMouseEnterPrimary, onMouseLeave: onItemMouseLeave ? onItemMouseLeave.bind(_this, tslib_1.__assign(tslib_1.__assign({}, item), { subMenuProps: null, items: null })) : undefined, onMouseMove: _this._onItemMouseMovePrimary, onKeyDown: _this._onItemKeyDown, onClick: _this._executeItemClick, onTouchStart: _this._onTouchStart, tabIndex: 0, "data-is-focusable": true, "aria-roledescription": item['aria-roledescription'] }, + _this._renderSplitPrimaryButton(item, classNames, index, hasCheckmarks, hasIcons), + _this._renderSplitDivider(item), + _this._renderSplitIconButton(item, classNames, index, keytipAttributes), + _this._renderAriaDescription(ariaDescription, classNames.screenReaderText))); })); + }; + ContextualMenuSplitButton.prototype._renderSplitPrimaryButton = function (item, + // eslint-disable-next-line deprecation/deprecation + classNames, index, hasCheckmarks, hasIcons) { + var _a = this.props, _b = _a.contextualMenuItemAs, ChildrenRenderer = _b === void 0 ? ContextualMenuItem_1.ContextualMenuItem : _b, onItemClick = _a.onItemClick; + var itemProps = { + key: item.key, + disabled: (0, index_1.isItemDisabled)(item) || item.primaryDisabled, + /* eslint-disable deprecation/deprecation */ + name: item.name, + text: item.text || item.name, + secondaryText: item.secondaryText, + /* eslint-enable deprecation/deprecation */ + className: classNames.splitPrimary, + canCheck: item.canCheck, + isChecked: item.isChecked, + checked: item.checked, + iconProps: item.iconProps, + id: this._dismissLabelId, + onRenderIcon: item.onRenderIcon, + data: item.data, + 'data-is-focusable': false, + }; + var itemComponentProps = item.itemProps; + return (React.createElement("button", tslib_1.__assign({}, (0, Utilities_1.getNativeProps)(itemProps, Utilities_1.buttonProperties)), + React.createElement(ChildrenRenderer, tslib_1.__assign({ "data-is-focusable": false, item: itemProps, classNames: classNames, index: index, onCheckmarkClick: hasCheckmarks && onItemClick ? onItemClick : undefined, hasIcons: hasIcons }, itemComponentProps)))); + }; + ContextualMenuSplitButton.prototype._renderSplitDivider = function (item) { + var getDividerClassNames = item.getSplitButtonVerticalDividerClassNames || ContextualMenu_classNames_1.getSplitButtonVerticalDividerClassNames; + return React.createElement(Divider_1.VerticalDivider, { getClassNames: getDividerClassNames }); + }; + ContextualMenuSplitButton.prototype._renderSplitIconButton = function (item, classNames, // eslint-disable-line deprecation/deprecation + index, keytipAttributes) { + var _a = this.props, _b = _a.contextualMenuItemAs, ChildrenRenderer = _b === void 0 ? ContextualMenuItem_1.ContextualMenuItem : _b, onItemMouseLeave = _a.onItemMouseLeave, onItemMouseDown = _a.onItemMouseDown, openSubMenu = _a.openSubMenu, dismissSubMenu = _a.dismissSubMenu, dismissMenu = _a.dismissMenu; + var itemProps = { + onClick: this._onIconItemClick, + disabled: (0, index_1.isItemDisabled)(item), + className: classNames.splitMenu, + subMenuProps: item.subMenuProps, + submenuIconProps: item.submenuIconProps, + split: true, + key: item.key, + 'aria-labelledby': this._dismissLabelId, + }; + var buttonProps = tslib_1.__assign(tslib_1.__assign({}, (0, Utilities_1.getNativeProps)(itemProps, Utilities_1.buttonProperties)), { + onMouseEnter: this._onItemMouseEnterIcon, + onMouseLeave: onItemMouseLeave ? onItemMouseLeave.bind(this, item) : undefined, + onMouseDown: function (ev) { + return onItemMouseDown ? onItemMouseDown(item, ev) : undefined; + }, + onMouseMove: this._onItemMouseMoveIcon, + 'data-is-focusable': false, + 'data-ktp-execute-target': keytipAttributes['data-ktp-execute-target'], + 'aria-haspopup': true, + }); + var itemComponentProps = item.itemProps; + return (React.createElement("button", tslib_1.__assign({}, buttonProps), + React.createElement(ChildrenRenderer, tslib_1.__assign({ componentRef: item.componentRef, item: itemProps, classNames: classNames, index: index, hasIcons: false, openSubMenu: openSubMenu, dismissSubMenu: dismissSubMenu, dismissMenu: dismissMenu, getSubmenuTarget: this._getSubmenuTarget }, itemComponentProps)))); + }; + ContextualMenuSplitButton.prototype._handleTouchAndPointerEvent = function (ev) { + var _this = this; + var onTap = this.props.onTap; + if (onTap) { + onTap(ev); + } + // If we already have an existing timeout from a previous touch/pointer event + // cancel that timeout so we can set a new one. + if (this._lastTouchTimeoutId) { + this._async.clearTimeout(this._lastTouchTimeoutId); + this._lastTouchTimeoutId = undefined; + } + this._processingTouch = true; + this._lastTouchTimeoutId = this._async.setTimeout(function () { + _this._processingTouch = false; + _this._lastTouchTimeoutId = undefined; + }, TouchIdleDelay); + }; + return ContextualMenuSplitButton; +}(ContextualMenuItemWrapper_1.ContextualMenuItemWrapper)); +exports.ContextualMenuSplitButton = ContextualMenuSplitButton; +//# sourceMappingURL=ContextualMenuSplitButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/index.js": +/*!****************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/index.js ***! + \****************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenuAnchor */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuAnchor.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenuButton */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuButton.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenuSplitButton */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuSplitButton.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenuItemWrapper */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuItemWrapper.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenuItemWrapper.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItemWrapper/ContextualMenuItemWrapper.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/index.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/index.js ***! + \**************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getContextualMenuItemStyles = exports.getContextualMenuItemClassNames = exports.getMenuItemStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenu */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenu.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenu.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenuItem */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenuItem.base */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./ContextualMenuItem.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenuItem.types.js"), exports); +var ContextualMenu_cnstyles_1 = __webpack_require__(/*! ./ContextualMenu.cnstyles */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.cnstyles.js"); +Object.defineProperty(exports, "getMenuItemStyles", ({ enumerable: true, get: function () { return ContextualMenu_cnstyles_1.getMenuItemStyles; } })); +var ContextualMenu_classNames_1 = __webpack_require__(/*! ./ContextualMenu.classNames */ "./node_modules/@fluentui/react/lib-commonjs/components/ContextualMenu/ContextualMenu.classNames.js"); +// eslint-disable-next-line deprecation/deprecation +Object.defineProperty(exports, "getContextualMenuItemClassNames", ({ enumerable: true, get: function () { return ContextualMenu_classNames_1.getItemClassNames; } })); +Object.defineProperty(exports, "getContextualMenuItemStyles", ({ enumerable: true, get: function () { return ContextualMenu_classNames_1.getItemStyles; } })); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.base.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.base.js ***! + \********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DatePickerBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var Calendar_1 = __webpack_require__(/*! ../../Calendar */ "./node_modules/@fluentui/react/lib-commonjs/Calendar.js"); +var date_time_utilities_1 = __webpack_require__(/*! @fluentui/date-time-utilities */ "./node_modules/@fluentui/date-time-utilities/lib-commonjs/index.js"); +var Callout_1 = __webpack_require__(/*! ../../Callout */ "./node_modules/@fluentui/react/lib-commonjs/Callout.js"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var TextField_1 = __webpack_require__(/*! ../../TextField */ "./node_modules/@fluentui/react/lib-commonjs/TextField.js"); +var FocusTrapZone_1 = __webpack_require__(/*! ../../FocusTrapZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusTrapZone.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var defaults_1 = __webpack_require__(/*! ./defaults */ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/defaults.js"); +var getClassNames = (0, utilities_1.classNamesFunction)(); +var DEFAULT_PROPS = { + allowTextInput: false, + formatDate: function (date) { return (date ? date.toDateString() : ''); }, + parseDateFromString: function (dateStr) { + //if dateStr is DATE ONLY ISO 8601 -> add time so Date.parse() won't convert it to UTC + //See here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#date_time_string_format + if (dateStr.match(/^\d{4}(-\d{2}){2}$/)) { + dateStr += 'T12:00'; + } + var date = Date.parse(dateStr); + return date ? new Date(date) : null; + }, + firstDayOfWeek: date_time_utilities_1.DayOfWeek.Sunday, + initialPickerDate: new Date(), + isRequired: false, + isMonthPickerVisible: true, + showMonthPickerAsOverlay: false, + strings: defaults_1.defaultDatePickerStrings, + highlightCurrentMonth: false, + highlightSelectedMonth: false, + borderless: false, + pickerAriaLabel: 'Calendar', + showWeekNumbers: false, + firstWeekOfYear: date_time_utilities_1.FirstWeekOfYear.FirstDay, + showGoToToday: true, + showCloseButton: false, + underlined: false, + allFocusable: false, +}; +function useFocusLogic() { + var textFieldRef = React.useRef(null); + var preventFocusOpeningPicker = React.useRef(false); + var focus = function () { + var _a, _b; + (_b = (_a = textFieldRef.current) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a); + }; + var preventNextFocusOpeningPicker = function () { + preventFocusOpeningPicker.current = true; + }; + return [textFieldRef, focus, preventFocusOpeningPicker, preventNextFocusOpeningPicker]; +} +function useCalendarVisibility(_a, focus) { + var allowTextInput = _a.allowTextInput, onAfterMenuDismiss = _a.onAfterMenuDismiss; + var _b = React.useState(false), isCalendarShown = _b[0], setIsCalendarShown = _b[1]; + var isMounted = React.useRef(false); + var async = (0, react_hooks_1.useAsync)(); + React.useEffect(function () { + if (isMounted.current && !isCalendarShown) { + // In browsers like IE, textfield gets unfocused when datepicker is collapsed + if (allowTextInput) { + async.requestAnimationFrame(focus); + } + // If DatePicker's menu (Calendar) is closed, run onAfterMenuDismiss + onAfterMenuDismiss === null || onAfterMenuDismiss === void 0 ? void 0 : onAfterMenuDismiss(); + } + isMounted.current = true; + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [isCalendarShown]); + return [isCalendarShown, setIsCalendarShown]; +} +function useSelectedDate(_a) { + var formatDate = _a.formatDate, value = _a.value, onSelectDate = _a.onSelectDate; + var _b = (0, react_hooks_1.useControllableValue)(value, undefined, function (ev, newValue) { + return onSelectDate === null || onSelectDate === void 0 ? void 0 : onSelectDate(newValue); + }), selectedDate = _b[0], setSelectedDateState = _b[1]; + var _c = React.useState(function () { return (value && formatDate ? formatDate(value) : ''); }), formattedDate = _c[0], setFormattedDate = _c[1]; + var setSelectedDate = function (newDate) { + setSelectedDateState(newDate); + setFormattedDate(newDate && formatDate ? formatDate(newDate) : ''); + }; + React.useEffect(function () { + setFormattedDate(value && formatDate ? formatDate(value) : ''); + }, [formatDate, value]); + return [selectedDate, formattedDate, setSelectedDate, setFormattedDate]; +} +function useErrorMessage(_a, selectedDate, setSelectedDate, inputValue, isCalendarShown) { + var _b; + var isRequired = _a.isRequired, allowTextInput = _a.allowTextInput, strings = _a.strings, parseDateFromString = _a.parseDateFromString, onSelectDate = _a.onSelectDate, formatDate = _a.formatDate, minDate = _a.minDate, maxDate = _a.maxDate, textField = _a.textField; + var _c = React.useState(), errorMessage = _c[0], setErrorMessage = _c[1]; + var _d = React.useState(), statusMessage = _d[0], setStatusMessage = _d[1]; + var isFirstLoadRef = React.useRef(true); + var validateOnLoad = (_b = textField === null || textField === void 0 ? void 0 : textField.validateOnLoad) !== null && _b !== void 0 ? _b : true; + var validateTextInput = function (date) { + if (date === void 0) { date = null; } + if (allowTextInput) { + if (inputValue || date) { + // Don't parse if the selected date has the same formatted string as what we're about to parse. + // The formatted string might be ambiguous (ex: "1/2/3" or "New Year Eve") and the parser might + // not be able to come up with the exact same date. + if (selectedDate && !errorMessage && formatDate && formatDate(date !== null && date !== void 0 ? date : selectedDate) === inputValue) { + return; + } + date = date || parseDateFromString(inputValue); + // Check if date is null, or date is Invalid Date + if (!date || isNaN(date.getTime())) { + // Reset invalid input field, if formatting is available + setSelectedDate(selectedDate); + // default the newer isResetStatusMessage string to invalidInputErrorMessage for legacy support + var selectedText = formatDate ? formatDate(selectedDate) : ''; + var statusText = strings.isResetStatusMessage + ? (0, utilities_1.format)(strings.isResetStatusMessage, inputValue, selectedText) + : strings.invalidInputErrorMessage || ''; + setStatusMessage(statusText); + } + else { + // Check against optional date boundaries + if (isDateOutOfBounds(date, minDate, maxDate)) { + setErrorMessage(strings.isOutOfBoundsErrorMessage || ' '); + } + else { + setSelectedDate(date); + setErrorMessage(undefined); + setStatusMessage(undefined); + } + } + } + else { + // Only show error for empty inputValue if it is a required field + setErrorMessage(isRequired ? strings.isRequiredErrorMessage || ' ' : undefined); + // If no input date string or input date string is invalid + // date variable will be null, callback should expect null value for this case + onSelectDate === null || onSelectDate === void 0 ? void 0 : onSelectDate(date); + } + } + else if (isRequired && !inputValue) { + // Check when DatePicker is a required field but has NO input value + setErrorMessage(strings.isRequiredErrorMessage || ' '); + } + else { + // Cleanup the error message and status message + setErrorMessage(undefined); + setStatusMessage(undefined); + } + }; + React.useEffect(function () { + if (isFirstLoadRef.current) { + isFirstLoadRef.current = false; + if (!validateOnLoad) { + return; + } + } + if (isRequired && !selectedDate) { + setErrorMessage(strings.isRequiredErrorMessage || ' '); + } + else if (selectedDate && isDateOutOfBounds(selectedDate, minDate, maxDate)) { + setErrorMessage(strings.isOutOfBoundsErrorMessage || ' '); + } + else { + setErrorMessage(undefined); + } + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [ + // We don't want to compare the date itself, since two instances of date at the same time are not equal + // eslint-disable-next-line react-hooks/exhaustive-deps + minDate && (0, date_time_utilities_1.getDatePartHashValue)(minDate), + // eslint-disable-next-line react-hooks/exhaustive-deps + maxDate && (0, date_time_utilities_1.getDatePartHashValue)(maxDate), + // eslint-disable-next-line react-hooks/exhaustive-deps + selectedDate && (0, date_time_utilities_1.getDatePartHashValue)(selectedDate), + isRequired, + validateOnLoad, + ]); + return [ + isCalendarShown ? undefined : errorMessage, + validateTextInput, + setErrorMessage, + isCalendarShown ? undefined : statusMessage, + setStatusMessage, + ]; +} +exports.DatePickerBase = React.forwardRef(function (propsWithoutDefaults, forwardedRef) { + var _a, _b; + var props = (0, utilities_1.getPropsWithDefaults)(DEFAULT_PROPS, propsWithoutDefaults); + var firstDayOfWeek = props.firstDayOfWeek, strings = props.strings, label = props.label, theme = props.theme, className = props.className, styles = props.styles, initialPickerDate = props.initialPickerDate, isRequired = props.isRequired, disabled = props.disabled, ariaLabel = props.ariaLabel, pickerAriaLabel = props.pickerAriaLabel, placeholder = props.placeholder, allowTextInput = props.allowTextInput, borderless = props.borderless, minDate = props.minDate, maxDate = props.maxDate, showCloseButton = props.showCloseButton, calendarProps = props.calendarProps, calloutProps = props.calloutProps, textFieldProps = props.textField, underlined = props.underlined, allFocusable = props.allFocusable, _c = props.calendarAs, CalendarType = _c === void 0 ? Calendar_1.Calendar : _c, tabIndex = props.tabIndex, _d = props.disableAutoFocus, disableAutoFocus = _d === void 0 ? true : _d; + var id = (0, react_hooks_1.useId)('DatePicker', props.id); + var calloutId = (0, react_hooks_1.useId)('DatePicker-Callout'); + var calendar = React.useRef(null); + var datePickerDiv = React.useRef(null); + var _e = useFocusLogic(), textFieldRef = _e[0], focus = _e[1], preventFocusOpeningPicker = _e[2], preventNextFocusOpeningPicker = _e[3]; + var _f = useCalendarVisibility(props, focus), isCalendarShown = _f[0], setIsCalendarShown = _f[1]; + var _g = useSelectedDate(props), selectedDate = _g[0], formattedDate = _g[1], setSelectedDate = _g[2], setFormattedDate = _g[3]; + var _h = useErrorMessage(props, selectedDate, setSelectedDate, formattedDate, isCalendarShown), errorMessage = _h[0], validateTextInput = _h[1], setErrorMessage = _h[2], statusMessage = _h[3], setStatusMessage = _h[4]; + var showDatePickerPopup = React.useCallback(function () { + if (!isCalendarShown) { + preventNextFocusOpeningPicker(); + setIsCalendarShown(true); + } + }, [isCalendarShown, preventNextFocusOpeningPicker, setIsCalendarShown]); + React.useImperativeHandle(props.componentRef, function () { return ({ + focus: focus, + reset: function () { + setIsCalendarShown(false); + setSelectedDate(undefined); + setErrorMessage(undefined); + setStatusMessage(undefined); + }, + showDatePickerPopup: showDatePickerPopup, + }); }, [focus, setErrorMessage, setIsCalendarShown, setSelectedDate, setStatusMessage, showDatePickerPopup]); + var onTextFieldFocus = function () { + if (disableAutoFocus) { + return; + } + if (!allowTextInput) { + if (!preventFocusOpeningPicker.current) { + showDatePickerPopup(); + } + preventFocusOpeningPicker.current = false; + } + }; + var onSelectDate = function (date) { + if (props.calendarProps && props.calendarProps.onSelectDate) { + props.calendarProps.onSelectDate(date); + } + calendarDismissed(date); + }; + var onCalloutPositioned = function () { + var shouldFocus = true; + // If the user has specified that the callout shouldn't use initial focus, then respect + // that and don't attempt to set focus. That will default to true within the callout + // so we need to check if it's undefined here. + if (props.calloutProps && props.calloutProps.setInitialFocus !== undefined) { + shouldFocus = props.calloutProps.setInitialFocus; + } + if (calendar.current && shouldFocus) { + calendar.current.focus(); + } + }; + var onTextFieldBlur = function (ev) { + validateTextInput(); + }; + var onTextFieldChanged = function (ev, newValue) { + var _a; + var textField = props.textField; + if (allowTextInput) { + if (isCalendarShown) { + dismissDatePickerPopup(); + } + setFormattedDate(newValue); + } + (_a = textField === null || textField === void 0 ? void 0 : textField.onChange) === null || _a === void 0 ? void 0 : _a.call(textField, ev, newValue); + }; + var onTextFieldKeyDown = function (ev) { + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case utilities_1.KeyCodes.enter: + ev.preventDefault(); + ev.stopPropagation(); + if (!isCalendarShown) { + validateTextInput(); + showDatePickerPopup(); + } + else { + // When DatePicker allows input date string directly, + // it is expected to hit another enter to close the popup + if (props.allowTextInput) { + dismissDatePickerPopup(); + } + } + break; + case utilities_1.KeyCodes.escape: + handleEscKey(ev); + break; + case utilities_1.KeyCodes.down: + if (ev.altKey && !isCalendarShown) { + showDatePickerPopup(); + } + break; + default: + break; + } + }; + var onTextFieldClick = function (ev) { + // default openOnClick to !props.disableAutoFocus for legacy support of disableAutoFocus behavior + var openOnClick = props.openOnClick || !props.disableAutoFocus; + if (openOnClick && !isCalendarShown && !props.disabled) { + showDatePickerPopup(); + return; + } + if (props.allowTextInput) { + dismissDatePickerPopup(); + } + }; + var onIconClick = function (ev) { + ev.stopPropagation(); + if (!isCalendarShown && !props.disabled) { + showDatePickerPopup(); + } + else if (props.allowTextInput) { + dismissDatePickerPopup(); + } + }; + var dismissDatePickerPopup = function (newlySelectedDate) { + if (isCalendarShown) { + setIsCalendarShown(false); + validateTextInput(newlySelectedDate); + if (!allowTextInput && newlySelectedDate) { + setSelectedDate(newlySelectedDate); + } + } + }; + var renderTextfieldDescription = function (inputProps, defaultRender) { + return (React.createElement(React.Fragment, null, + inputProps.description || inputProps.onRenderDescription ? defaultRender(inputProps) : null, + React.createElement("div", { "aria-live": "assertive", className: classNames.statusMessage }, statusMessage))); + }; + var renderReadOnlyInput = function (inputProps) { + var divProps = (0, utilities_1.getNativeProps)(inputProps, utilities_1.divProperties); + // Need to merge styles so the provided styles win over the default ones. This is due to the classnames having the + // same specificity. + var readOnlyTextFieldClassName = (0, Styling_1.mergeStyles)(divProps.className, classNames.readOnlyTextField); + // Talkback on Android treats readonly inputs as disabled, so swipe gestures to open the Calendar + // don't register. Workaround is rendering a div with role="combobox" (passed in via TextField props). + return (React.createElement("div", tslib_1.__assign({}, divProps, { className: readOnlyTextFieldClassName, tabIndex: tabIndex || 0 }), formattedDate || ( + // Putting the placeholder in a separate span fixes specificity issues for the text color + React.createElement("span", { className: classNames.readOnlyPlaceholder }, placeholder)))); + }; + /** + * Callback for closing the calendar callout + */ + var calendarDismissed = function (newlySelectedDate) { + preventNextFocusOpeningPicker(); + dismissDatePickerPopup(newlySelectedDate); + // don't need to focus the text box, if necessary the focusTrapZone will do it + }; + var calloutDismissed = function (ev) { + calendarDismissed(); + }; + var handleEscKey = function (ev) { + if (isCalendarShown) { + ev.stopPropagation(); + calendarDismissed(); + } + }; + var onCalendarDismissed = function (ev) { + calendarDismissed(); + }; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + disabled: disabled, + underlined: underlined, + label: !!label, + isDatePickerShown: isCalendarShown, + }); + var nativeProps = (0, utilities_1.getNativeProps)(props, utilities_1.divProperties, ['value']); + var iconProps = textFieldProps && textFieldProps.iconProps; + var textFieldId = textFieldProps && textFieldProps.id && textFieldProps.id !== id ? textFieldProps.id : id + '-label'; + var readOnly = !allowTextInput && !disabled; + var dataIsFocusable = (_b = (_a = textFieldProps === null || textFieldProps === void 0 ? void 0 : textFieldProps['data-is-focusable']) !== null && _a !== void 0 ? _a : props['data-is-focusable']) !== null && _b !== void 0 ? _b : true; + return (React.createElement("div", tslib_1.__assign({}, nativeProps, { className: classNames.root, ref: forwardedRef }), + React.createElement("div", { ref: datePickerDiv, "aria-owns": isCalendarShown ? calloutId : undefined, className: classNames.wrapper }, + React.createElement(TextField_1.TextField, tslib_1.__assign({ role: "combobox", label: label, "aria-expanded": isCalendarShown, ariaLabel: ariaLabel, "aria-haspopup": "dialog", "aria-controls": isCalendarShown ? calloutId : undefined, required: isRequired, disabled: disabled, errorMessage: errorMessage, placeholder: placeholder, borderless: borderless, value: formattedDate, componentRef: textFieldRef, underlined: underlined, tabIndex: tabIndex, readOnly: !allowTextInput }, textFieldProps, { "data-is-focusable": dataIsFocusable, id: textFieldId, className: (0, utilities_1.css)(classNames.textField, textFieldProps && textFieldProps.className), iconProps: tslib_1.__assign(tslib_1.__assign({ iconName: 'Calendar' }, iconProps), { className: (0, utilities_1.css)(classNames.icon, iconProps && iconProps.className), onClick: onIconClick }), + // eslint-disable-next-line react/jsx-no-bind + onRenderDescription: renderTextfieldDescription, + // eslint-disable-next-line react/jsx-no-bind + onKeyDown: onTextFieldKeyDown, + // eslint-disable-next-line react/jsx-no-bind + onFocus: onTextFieldFocus, + // eslint-disable-next-line react/jsx-no-bind + onBlur: onTextFieldBlur, + // eslint-disable-next-line react/jsx-no-bind + onClick: onTextFieldClick, + // eslint-disable-next-line react/jsx-no-bind + onChange: onTextFieldChanged, onRenderInput: readOnly ? renderReadOnlyInput : undefined }))), + isCalendarShown && (React.createElement(Callout_1.Callout, tslib_1.__assign({ id: calloutId, role: "dialog", ariaLabel: pickerAriaLabel, isBeakVisible: false, gapSpace: 0, doNotLayer: false, target: datePickerDiv.current, directionalHint: Callout_1.DirectionalHint.bottomLeftEdge }, calloutProps, { className: (0, utilities_1.css)(classNames.callout, calloutProps && calloutProps.className), + // eslint-disable-next-line react/jsx-no-bind + onDismiss: calloutDismissed, + // eslint-disable-next-line react/jsx-no-bind + onPositioned: onCalloutPositioned }), + React.createElement(FocusTrapZone_1.FocusTrapZone, { isClickableOutsideFocusTrap: true, disableFirstFocus: disableAutoFocus }, + React.createElement(CalendarType, tslib_1.__assign({}, calendarProps, { + // eslint-disable-next-line react/jsx-no-bind + onSelectDate: onSelectDate, + // eslint-disable-next-line react/jsx-no-bind + onDismiss: onCalendarDismissed, isMonthPickerVisible: props.isMonthPickerVisible, showMonthPickerAsOverlay: props.showMonthPickerAsOverlay, today: props.today, value: selectedDate || initialPickerDate, firstDayOfWeek: firstDayOfWeek, strings: strings, highlightCurrentMonth: props.highlightCurrentMonth, highlightSelectedMonth: props.highlightSelectedMonth, showWeekNumbers: props.showWeekNumbers, firstWeekOfYear: props.firstWeekOfYear, showGoToToday: props.showGoToToday, dateTimeFormatter: props.dateTimeFormatter, minDate: minDate, maxDate: maxDate, componentRef: calendar, showCloseButton: showCloseButton, allFocusable: allFocusable }))))))); +}); +exports.DatePickerBase.displayName = 'DatePickerBase'; +function isDateOutOfBounds(date, minDate, maxDate) { + return (!!minDate && (0, date_time_utilities_1.compareDatePart)(minDate, date) > 0) || (!!maxDate && (0, date_time_utilities_1.compareDatePart)(maxDate, date) < 0); +} +//# sourceMappingURL=DatePicker.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.js ***! + \***************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DatePicker = void 0; +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var DatePicker_base_1 = __webpack_require__(/*! ./DatePicker.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.base.js"); +var DatePicker_styles_1 = __webpack_require__(/*! ./DatePicker.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.styles.js"); +exports.DatePicker = (0, utilities_1.styled)(DatePicker_base_1.DatePickerBase, DatePicker_styles_1.styles, undefined, { + scope: 'DatePicker', +}); +//# sourceMappingURL=DatePicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.styles.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.styles.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.styles = void 0; +var style_utilities_1 = __webpack_require__(/*! @fluentui/style-utilities */ "./node_modules/@fluentui/style-utilities/lib-commonjs/index.js"); +var GlobalClassNames = { + root: 'ms-DatePicker', + callout: 'ms-DatePicker-callout', + withLabel: 'ms-DatePicker-event--with-label', + withoutLabel: 'ms-DatePicker-event--without-label', + disabled: 'msDatePickerDisabled ', +}; +var TEXTFIELD_HEIGHT = 32; +var styles = function (props) { + var _a; + var className = props.className, theme = props.theme, disabled = props.disabled, underlined = props.underlined, label = props.label, isDatePickerShown = props.isDatePickerShown; + var palette = theme.palette, semanticColors = theme.semanticColors, fonts = theme.fonts; + var classNames = (0, style_utilities_1.getGlobalClassNames)(GlobalClassNames, theme); + var DatePickerIcon = { + color: palette.neutralSecondary, + fontSize: style_utilities_1.FontSizes.icon, + lineHeight: '18px', + pointerEvents: 'none', + position: 'absolute', + right: '4px', + padding: '5px', + }; + return { + root: [classNames.root, theme.fonts.large, isDatePickerShown && 'is-open', style_utilities_1.normalize, className], + textField: [ + { + position: 'relative', + selectors: { + '& input[readonly]': { + cursor: 'pointer', + }, + input: { + selectors: { + '::-ms-clear': { + display: 'none', + }, + }, + }, + }, + }, + disabled && { + selectors: { + '& input[readonly]': { + cursor: 'default', + }, + }, + }, + ], + callout: [classNames.callout], + icon: [ + DatePickerIcon, + label ? classNames.withLabel : classNames.withoutLabel, + { paddingTop: '7px' }, + !disabled && [ + classNames.disabled, + { + pointerEvents: 'initial', + cursor: 'pointer', + }, + ], + disabled && { + color: semanticColors.disabledText, + cursor: 'default', + }, + ], + statusMessage: [ + fonts.small, + { + color: semanticColors.errorText, + marginTop: 5, + }, + ], + readOnlyTextField: [ + { + cursor: 'pointer', + height: TEXTFIELD_HEIGHT, + lineHeight: TEXTFIELD_HEIGHT - 2, + overflow: 'hidden', + textOverflow: 'ellipsis', + }, + underlined && { + lineHeight: TEXTFIELD_HEIGHT + 2, + }, + ], + readOnlyPlaceholder: (_a = { + color: semanticColors.inputPlaceholderText + }, + _a[style_utilities_1.HighContrastSelector] = { + color: 'GrayText', + }, + _a), + }; +}; +exports.styles = styles; +//# sourceMappingURL=DatePicker.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.types.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.types.js ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DatePicker.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/defaults.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/defaults.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.defaultDatePickerStrings = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Calendar_1 = __webpack_require__(/*! ../../Calendar */ "./node_modules/@fluentui/react/lib-commonjs/Calendar.js"); +exports.defaultDatePickerStrings = tslib_1.__assign(tslib_1.__assign({}, Calendar_1.defaultCalendarStrings), { prevMonthAriaLabel: 'Go to previous month', nextMonthAriaLabel: 'Go to next month', prevYearAriaLabel: 'Go to previous year', nextYearAriaLabel: 'Go to next year', closeButtonAriaLabel: 'Close date picker', isRequiredErrorMessage: 'Field is required', invalidInputErrorMessage: 'Invalid date format', isResetStatusMessage: 'Invalid entry "{0}", date reset to "{1}"' }); +//# sourceMappingURL=defaults.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/index.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/index.js ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./DatePicker */ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DatePicker.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DatePicker.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/DatePicker.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ../Calendar/Calendar.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Calendar/Calendar.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./defaults */ "./node_modules/@fluentui/react/lib-commonjs/components/DatePicker/defaults.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.base.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.base.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DetailsColumnBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DetailsList_types_1 = __webpack_require__(/*! ./DetailsList.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.types.js"); +var DetailsRow_styles_1 = __webpack_require__(/*! ./DetailsRow.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js"); +var MOUSEDOWN_PRIMARY_BUTTON = 0; // for mouse down event we are using ev.button property, 0 means left button +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var TRANSITION_DURATION_DRAG = 200; // ms +var TRANSITION_DURATION_DROP = 1500; // ms +var CLASSNAME_ADD_INTERVAL = 20; // ms +var defaultOnRenderHeader = function (classNames) { + return function (props) { + if (!props) { + return null; + } + if (props.column.isIconOnly) { + return React.createElement("span", { className: classNames.accessibleLabel }, props.column.name); + } + return React.createElement(React.Fragment, null, props.column.name); + }; +}; +/** + * Component for rendering columns in a `DetailsList`. + * + * {@docCategory DetailsList} + */ +var DetailsColumnBase = /** @class */ (function (_super) { + tslib_1.__extends(DetailsColumnBase, _super); + function DetailsColumnBase(props) { + var _this = _super.call(this, props) || this; + _this._root = React.createRef(); + _this._tooltipRef = React.createRef(); + _this._onRenderFilterIcon = function (classNames) { + return function (props) { + var columnProps = props.columnProps, iconProps = tslib_1.__rest(props, ["columnProps"]); + var IconComponent = (columnProps === null || columnProps === void 0 ? void 0 : columnProps.useFastIcons) ? Icon_1.FontIcon : Icon_1.Icon; + return React.createElement(IconComponent, tslib_1.__assign({}, iconProps)); + }; + }; + _this._onRenderColumnHeaderTooltip = function (tooltipHostProps) { + return React.createElement("span", { className: tooltipHostProps.hostClassName }, tooltipHostProps.children); + }; + _this._onColumnClick = function (ev) { + var _a = _this.props, onColumnClick = _a.onColumnClick, column = _a.column; + if (column.columnActionsMode === DetailsList_types_1.ColumnActionsMode.disabled) { + return; + } + if (column.onColumnClick) { + column.onColumnClick(ev, column); + } + if (onColumnClick) { + onColumnClick(ev, column); + } + }; + _this._onColumnBlur = function () { + _this._tooltipRef.current && _this._tooltipRef.current.dismiss(); + }; + _this._onColumnFocus = function () { + _this._tooltipRef.current && _this._tooltipRef.current.show(); + }; + _this._onDragStart = function (item, itemIndex, selectedItems, event) { + var classNames = _this._classNames; + if (itemIndex) { + _this._updateHeaderDragInfo(itemIndex); + _this._root.current.classList.add(classNames.borderWhileDragging); + _this._async.setTimeout(function () { + if (_this._root.current) { + _this._root.current.classList.add(classNames.noBorderWhileDragging); + } + }, CLASSNAME_ADD_INTERVAL); + } + }; + _this._onDragEnd = function (item, event) { + var classNames = _this._classNames; + if (event) { + _this._updateHeaderDragInfo(-1, event); + } + _this._root.current.classList.remove(classNames.borderWhileDragging); + _this._root.current.classList.remove(classNames.noBorderWhileDragging); + }; + _this._updateHeaderDragInfo = function (itemIndex, event) { + /* eslint-disable deprecation/deprecation */ + if (_this.props.setDraggedItemIndex) { + _this.props.setDraggedItemIndex(itemIndex); + } + /* eslint-enable deprecation/deprecation */ + if (_this.props.updateDragInfo) { + _this.props.updateDragInfo({ itemIndex: itemIndex }, event); + } + }; + _this._onColumnContextMenu = function (ev) { + var _a = _this.props, onColumnContextMenu = _a.onColumnContextMenu, column = _a.column; + if (column.onColumnContextMenu) { + column.onColumnContextMenu(column, ev); + ev.preventDefault(); + } + if (onColumnContextMenu) { + onColumnContextMenu(column, ev); + ev.preventDefault(); + } + }; + _this._onRootMouseDown = function (ev) { + var isDraggable = _this.props.isDraggable; + // Ignore anything except the primary button. + if (isDraggable && ev.button === MOUSEDOWN_PRIMARY_BUTTON) { + ev.stopPropagation(); + } + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this._async = new Utilities_1.Async(_this); + _this._events = new Utilities_1.EventGroup(_this); + return _this; + } + DetailsColumnBase.prototype.render = function () { + var _a = this.props, column = _a.column, parentId = _a.parentId, isDraggable = _a.isDraggable, styles = _a.styles, theme = _a.theme, _b = _a.cellStyleProps, cellStyleProps = _b === void 0 ? DetailsRow_styles_1.DEFAULT_CELL_STYLE_PROPS : _b, _c = _a.useFastIcons, useFastIcons = _c === void 0 ? true : _c; + var _d = this.props.onRenderColumnHeaderTooltip, onRenderColumnHeaderTooltip = _d === void 0 ? this._onRenderColumnHeaderTooltip : _d; + this._classNames = getClassNames(styles, { + theme: theme, + headerClassName: column.headerClassName, + iconClassName: column.iconClassName, + isActionable: column.columnActionsMode !== DetailsList_types_1.ColumnActionsMode.disabled, + isEmpty: !column.name, + isIconVisible: column.isSorted || column.isGrouped || column.isFiltered, + isPadded: column.isPadded, + isIconOnly: column.isIconOnly, + cellStyleProps: cellStyleProps, + transitionDurationDrag: TRANSITION_DURATION_DRAG, + transitionDurationDrop: TRANSITION_DURATION_DROP, + }); + var classNames = this._classNames; + var IconComponent = useFastIcons ? Icon_1.FontIcon : Icon_1.Icon; + var onRenderFilterIcon = column.onRenderFilterIcon + ? (0, Utilities_1.composeRenderFunction)(column.onRenderFilterIcon, this._onRenderFilterIcon(this._classNames)) + : this._onRenderFilterIcon(this._classNames); + var onRenderHeader = column.onRenderHeader + ? (0, Utilities_1.composeRenderFunction)(column.onRenderHeader, defaultOnRenderHeader(this._classNames)) + : defaultOnRenderHeader(this._classNames); + var hasInnerButton = column.columnActionsMode !== DetailsList_types_1.ColumnActionsMode.disabled && + (column.onColumnClick !== undefined || this.props.onColumnClick !== undefined); + // use aria-describedby to point to the tooltip if the tooltip is not using the ariaLabel string + var shouldAssociateTooltip = this.props.onRenderColumnHeaderTooltip + ? !column.ariaLabel + : this._hasAccessibleDescription(); + var accNameDescription = { + 'aria-label': column.ariaLabel ? column.ariaLabel : column.isIconOnly ? column.name : undefined, + 'aria-labelledby': column.ariaLabel || column.isIconOnly ? undefined : "".concat(parentId, "-").concat(column.key, "-name"), + 'aria-describedby': shouldAssociateTooltip ? "".concat(parentId, "-").concat(column.key, "-tooltip") : undefined, + }; + return (React.createElement(React.Fragment, null, + React.createElement("div", tslib_1.__assign({ key: column.key, ref: this._root, role: 'columnheader' }, (!hasInnerButton && accNameDescription), { "aria-sort": column.isSorted ? (column.isSortedDescending ? 'descending' : 'ascending') : 'none', "data-is-focusable": !hasInnerButton && column.columnActionsMode !== DetailsList_types_1.ColumnActionsMode.disabled ? 'true' : undefined, className: classNames.root, "data-is-draggable": isDraggable, draggable: isDraggable, style: { + width: column.calculatedWidth + + cellStyleProps.cellLeftPadding + + cellStyleProps.cellRightPadding + + (column.isPadded ? cellStyleProps.cellExtraRightPadding : 0), + }, "data-automationid": 'ColumnsHeaderColumn', "data-item-key": column.key, onBlur: this._onColumnBlur, onFocus: this._onColumnFocus }), + isDraggable && (React.createElement(IconComponent, { iconName: "GripperBarVertical", className: classNames.gripperBarVerticalStyle })), + onRenderColumnHeaderTooltip({ + hostClassName: classNames.cellTooltip, + id: "".concat(parentId, "-").concat(column.key, "-tooltip"), + setAriaDescribedBy: false, + column: column, + componentRef: this._tooltipRef, + content: column.columnActionsMode !== DetailsList_types_1.ColumnActionsMode.disabled ? column.ariaLabel : '', + children: (React.createElement("span", tslib_1.__assign({ id: "".concat(parentId, "-").concat(column.key), className: classNames.cellTitle, "data-is-focusable": hasInnerButton && column.columnActionsMode !== DetailsList_types_1.ColumnActionsMode.disabled ? 'true' : undefined, role: hasInnerButton ? 'button' : undefined }, (hasInnerButton && accNameDescription), { onContextMenu: this._onColumnContextMenu, onClick: this._onColumnClick, "aria-haspopup": column.columnActionsMode === DetailsList_types_1.ColumnActionsMode.hasDropdown ? 'menu' : undefined, "aria-expanded": column.columnActionsMode === DetailsList_types_1.ColumnActionsMode.hasDropdown ? !!column.isMenuOpen : undefined }), + React.createElement("span", { id: "".concat(parentId, "-").concat(column.key, "-name"), className: classNames.cellName }, + (column.iconName || column.iconClassName) && (React.createElement(IconComponent, { className: classNames.iconClassName, iconName: column.iconName })), + onRenderHeader(this.props)), + column.isFiltered && React.createElement(IconComponent, { className: classNames.nearIcon, iconName: "Filter" }), + (column.isSorted || column.showSortIconWhenUnsorted) && (React.createElement(IconComponent, { className: classNames.sortIcon, iconName: column.isSorted ? (column.isSortedDescending ? 'SortDown' : 'SortUp') : 'Sort' })), + column.isGrouped && React.createElement(IconComponent, { className: classNames.nearIcon, iconName: "GroupedDescending" }), + column.columnActionsMode === DetailsList_types_1.ColumnActionsMode.hasDropdown && + !column.isIconOnly && + onRenderFilterIcon({ + 'aria-hidden': true, + columnProps: this.props, + className: classNames.filterChevron, + iconName: 'ChevronDown', + }))), + }, this._onRenderColumnHeaderTooltip)), + !this.props.onRenderColumnHeaderTooltip ? this._renderAccessibleDescription() : null)); + }; + DetailsColumnBase.prototype.componentDidMount = function () { + var _this = this; + if (this.props.dragDropHelper && this.props.isDraggable) { + this._addDragDropHandling(); + } + var classNames = this._classNames; + if (this.props.isDropped) { + if (this._root.current) { + this._root.current.classList.add(classNames.borderAfterDropping); + this._async.setTimeout(function () { + if (_this._root.current) { + _this._root.current.classList.add(classNames.noBorderAfterDropping); + } + }, CLASSNAME_ADD_INTERVAL); + } + this._async.setTimeout(function () { + if (_this._root.current) { + _this._root.current.classList.remove(classNames.borderAfterDropping); + _this._root.current.classList.remove(classNames.noBorderAfterDropping); + } + }, TRANSITION_DURATION_DROP + CLASSNAME_ADD_INTERVAL); + } + }; + DetailsColumnBase.prototype.componentWillUnmount = function () { + if (this._dragDropSubscription) { + this._dragDropSubscription.dispose(); + delete this._dragDropSubscription; + } + this._async.dispose(); + this._events.dispose(); + }; + DetailsColumnBase.prototype.componentDidUpdate = function () { + if (!this._dragDropSubscription && this.props.dragDropHelper && this.props.isDraggable) { + this._addDragDropHandling(); + } + if (this._dragDropSubscription && !this.props.isDraggable) { + this._dragDropSubscription.dispose(); + this._events.off(this._root.current, 'mousedown'); + delete this._dragDropSubscription; + } + }; + DetailsColumnBase.prototype._getColumnDragDropOptions = function () { + var _this = this; + var columnIndex = this.props.columnIndex; + var options = { + selectionIndex: columnIndex, + context: { data: columnIndex, index: columnIndex }, + canDrag: function () { return _this.props.isDraggable; }, + canDrop: function () { return false; }, + onDragStart: this._onDragStart, + updateDropState: function () { return undefined; }, + onDrop: function () { return undefined; }, + onDragEnd: this._onDragEnd, + }; + return options; + }; + DetailsColumnBase.prototype._hasAccessibleDescription = function () { + var column = this.props.column; + return !!(column.filterAriaLabel || + column.sortAscendingAriaLabel || + column.sortDescendingAriaLabel || + column.groupAriaLabel || + column.sortableAriaLabel); + }; + DetailsColumnBase.prototype._renderAccessibleDescription = function () { + var _a = this.props, column = _a.column, parentId = _a.parentId; + var classNames = this._classNames; + return this._hasAccessibleDescription() && !this.props.onRenderColumnHeaderTooltip ? (React.createElement("label", { key: "".concat(column.key, "_label"), id: "".concat(parentId, "-").concat(column.key, "-tooltip"), className: classNames.accessibleLabel, hidden: true }, + (column.isFiltered && column.filterAriaLabel) || null, + ((column.isSorted || column.showSortIconWhenUnsorted) && + (column.isSorted + ? column.isSortedDescending + ? column.sortDescendingAriaLabel + : column.sortAscendingAriaLabel + : column.sortableAriaLabel)) || + null, + (column.isGrouped && column.groupAriaLabel) || null)) : null; + }; + DetailsColumnBase.prototype._addDragDropHandling = function () { + this._dragDropSubscription = this.props.dragDropHelper.subscribe(this._root.current, this._events, this._getColumnDragDropOptions()); + // We need to use native on this to prevent MarqueeSelection from handling the event before us. + this._events.on(this._root.current, 'mousedown', this._onRootMouseDown); + }; + return DetailsColumnBase; +}(React.Component)); +exports.DetailsColumnBase = DetailsColumnBase; +//# sourceMappingURL=DetailsColumn.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.js": +/*!*******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.js ***! + \*******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DetailsColumn = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DetailsColumn_base_1 = __webpack_require__(/*! ./DetailsColumn.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.base.js"); +var DetailsColumn_styles_1 = __webpack_require__(/*! ./DetailsColumn.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.styles.js"); +exports.DetailsColumn = (0, Utilities_1.styled)(DetailsColumn_base_1.DetailsColumnBase, DetailsColumn_styles_1.getDetailsColumnStyles, undefined, { scope: 'DetailsColumn' }); +//# sourceMappingURL=DetailsColumn.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.styles.js": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.styles.js ***! + \**************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getDetailsColumnStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var DetailsRow_styles_1 = __webpack_require__(/*! ./DetailsRow.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js"); +var DetailsHeader_styles_1 = __webpack_require__(/*! ./DetailsHeader.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.styles.js"); +var GlobalClassNames = { + isActionable: 'is-actionable', + cellIsCheck: 'ms-DetailsHeader-cellIsCheck', + collapseButton: 'ms-DetailsHeader-collapseButton', + isCollapsed: 'is-collapsed', + isAllSelected: 'is-allSelected', + isSelectAllHidden: 'is-selectAllHidden', + isResizingColumn: 'is-resizingColumn', + isEmpty: 'is-empty', + isIconVisible: 'is-icon-visible', + cellSizer: 'ms-DetailsHeader-cellSizer', + isResizing: 'is-resizing', + dropHintCircleStyle: 'ms-DetailsHeader-dropHintCircleStyle', + dropHintLineStyle: 'ms-DetailsHeader-dropHintLineStyle', + cellTitle: 'ms-DetailsHeader-cellTitle', + cellName: 'ms-DetailsHeader-cellName', + filterChevron: 'ms-DetailsHeader-filterChevron', + gripperBarVerticalStyle: 'ms-DetailsColumn-gripperBar', + nearIcon: 'ms-DetailsColumn-nearIcon', +}; +var getDetailsColumnStyles = function (props) { + var _a; + var theme = props.theme, headerClassName = props.headerClassName, iconClassName = props.iconClassName, isActionable = props.isActionable, isEmpty = props.isEmpty, isIconVisible = props.isIconVisible, isPadded = props.isPadded, isIconOnly = props.isIconOnly, _b = props.cellStyleProps, cellStyleProps = _b === void 0 ? DetailsRow_styles_1.DEFAULT_CELL_STYLE_PROPS : _b, transitionDurationDrag = props.transitionDurationDrag, transitionDurationDrop = props.transitionDurationDrop; + var semanticColors = theme.semanticColors, palette = theme.palette, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + var colors = { + iconForegroundColor: semanticColors.bodySubtext, + headerForegroundColor: semanticColors.bodyText, + headerBackgroundColor: semanticColors.bodyBackground, + dropdownChevronForegroundColor: palette.neutralSecondary, + resizerColor: palette.neutralTertiaryAlt, + }; + var nearIconStyle = { + color: colors.iconForegroundColor, + opacity: 1, + paddingLeft: 8, + }; + var borderWhileDragging = { + outline: "1px solid ".concat(palette.themePrimary), + }; + var borderAfterDragOrDrop = { + outlineColor: 'transparent', + }; + return { + root: [ + (0, DetailsHeader_styles_1.getCellStyles)(props), + fonts.small, + isActionable && [ + classNames.isActionable, + { + selectors: { + ':hover': { + color: semanticColors.bodyText, + background: semanticColors.listHeaderBackgroundHovered, + }, + ':active': { + background: semanticColors.listHeaderBackgroundPressed, + }, + }, + }, + ], + isEmpty && [ + classNames.isEmpty, + { + textOverflow: 'clip', + }, + ], + isIconVisible && classNames.isIconVisible, + isPadded && { + paddingRight: cellStyleProps.cellExtraRightPadding + cellStyleProps.cellRightPadding, + }, + { + selectors: { + ':hover i[data-icon-name="GripperBarVertical"]': { + display: 'block', + }, + }, + }, + headerClassName, + ], + gripperBarVerticalStyle: { + display: 'none', + position: 'absolute', + textAlign: 'left', + color: palette.neutralTertiary, + left: 1, + }, + nearIcon: [classNames.nearIcon, nearIconStyle], + sortIcon: [ + nearIconStyle, + { + paddingLeft: 4, + position: 'relative', + top: 1, + }, + ], + iconClassName: [ + { + color: colors.iconForegroundColor, + opacity: 1, + }, + iconClassName, + ], + filterChevron: [ + classNames.filterChevron, + { + color: colors.dropdownChevronForegroundColor, + paddingLeft: 6, + verticalAlign: 'middle', + fontSize: fonts.small.fontSize, + }, + ], + cellTitle: [ + classNames.cellTitle, + (0, Styling_1.getFocusStyle)(theme), + tslib_1.__assign({ display: 'flex', flexDirection: 'row', justifyContent: 'flex-start', alignItems: 'stretch', boxSizing: 'border-box', overflow: 'hidden', padding: "0 ".concat(cellStyleProps.cellRightPadding, "px 0 ").concat(cellStyleProps.cellLeftPadding, "px") }, (isIconOnly + ? { + alignContent: 'flex-end', + maxHeight: '100%', + flexWrap: 'wrap-reverse', + } + : {})), + ], + cellName: [ + classNames.cellName, + { + flex: '0 1 auto', + overflow: 'hidden', + textOverflow: 'ellipsis', + fontWeight: Styling_1.FontWeights.semibold, + fontSize: fonts.medium.fontSize, + }, + isIconOnly && { + selectors: (_a = {}, + _a[".".concat(classNames.nearIcon)] = { + paddingLeft: 0, + }, + _a), + }, + ], + cellTooltip: { + display: 'block', + position: 'absolute', + top: 0, + left: 0, + bottom: 0, + right: 0, + }, + accessibleLabel: Styling_1.hiddenContentStyle, + borderWhileDragging: borderWhileDragging, + noBorderWhileDragging: [borderAfterDragOrDrop, { transition: "outline ".concat(transitionDurationDrag, "ms ease") }], + borderAfterDropping: borderWhileDragging, + noBorderAfterDropping: [borderAfterDragOrDrop, { transition: "outline ".concat(transitionDurationDrop, "ms ease") }], + }; +}; +exports.getDetailsColumnStyles = getDetailsColumnStyles; +//# sourceMappingURL=DetailsColumn.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.types.js": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.types.js ***! + \*************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DetailsColumn.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsFooter.types.js": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsFooter.types.js ***! + \*************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DetailsFooter.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.base.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.base.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DetailsHeaderBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DetailsList_types_1 = __webpack_require__(/*! ./DetailsList.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.types.js"); +var FocusZone_1 = __webpack_require__(/*! ../../FocusZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var Layer_1 = __webpack_require__(/*! ../../Layer */ "./node_modules/@fluentui/react/lib-commonjs/Layer.js"); +var GroupSpacer_1 = __webpack_require__(/*! ../GroupedList/GroupSpacer */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupSpacer.js"); +var GroupedList_1 = __webpack_require__(/*! ../../GroupedList */ "./node_modules/@fluentui/react/lib-commonjs/GroupedList.js"); +var DetailsRowCheck_1 = __webpack_require__(/*! ./DetailsRowCheck */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.js"); +var Selection_1 = __webpack_require__(/*! ../../Selection */ "./node_modules/@fluentui/react/lib-commonjs/Selection.js"); +var DragDrop_1 = __webpack_require__(/*! ../../DragDrop */ "./node_modules/@fluentui/react/lib-commonjs/DragDrop.js"); +var DetailsColumn_1 = __webpack_require__(/*! ../../components/DetailsList/DetailsColumn */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.js"); +var DetailsHeader_types_1 = __webpack_require__(/*! ./DetailsHeader.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.types.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var MOUSEDOWN_PRIMARY_BUTTON = 0; // for mouse down event we are using ev.button property, 0 means left button +var MOUSEMOVE_PRIMARY_BUTTON = 1; // for mouse move event we are using ev.buttons property, 1 means left button +var NO_COLUMNS = []; +var DetailsHeaderBase = /** @class */ (function (_super) { + tslib_1.__extends(DetailsHeaderBase, _super); + function DetailsHeaderBase(props) { + var _this = _super.call(this, props) || this; + _this._rootElement = React.createRef(); + _this._rootComponent = React.createRef(); + _this._draggedColumnIndex = -1; + _this._dropHintDetails = {}; + _this._updateDroppingState = function (newValue, event) { + if (_this._draggedColumnIndex >= 0 && event.type !== 'drop' && !newValue) { + _this._resetDropHints(); + } + }; + _this._onDragOver = function (item, event) { + if (_this._draggedColumnIndex >= 0) { + event.stopPropagation(); + _this._computeDropHintToBeShown(event.clientX); + } + }; + _this._onDrop = function (item, event) { + // Safe to assume this is defined since we're handling a drop event + var columnReorderProps = _this._getColumnReorderProps(); + // Target index will not get changed if draggeditem is after target item. + if (_this._draggedColumnIndex >= 0 && event) { + var targetIndex = _this._draggedColumnIndex > _this._currentDropHintIndex + ? _this._currentDropHintIndex + : _this._currentDropHintIndex - 1; + var isValidDrop = _this._isValidCurrentDropHintIndex(); + event.stopPropagation(); + if (isValidDrop) { + _this._onDropIndexInfo.sourceIndex = _this._draggedColumnIndex; + _this._onDropIndexInfo.targetIndex = targetIndex; + if (columnReorderProps.onColumnDrop) { + var dragDropDetails = { + draggedIndex: _this._draggedColumnIndex, + targetIndex: targetIndex, + }; + columnReorderProps.onColumnDrop(dragDropDetails); + /* eslint-disable deprecation/deprecation */ + } + else if (columnReorderProps.handleColumnReorder) { + columnReorderProps.handleColumnReorder(_this._draggedColumnIndex, targetIndex); + /* eslint-enable deprecation/deprecation */ + } + } + } + _this._resetDropHints(); + _this._dropHintDetails = {}; + _this._draggedColumnIndex = -1; + }; + _this._computeColumnIndexOffset = function (showCheckbox) { + var hasGroupExpander = _this.props.groupNestingDepth && _this.props.groupNestingDepth > 0; + var offset = 1; + if (showCheckbox) { + offset += 1; + } + if (hasGroupExpander) { + offset += 1; + } + return offset; + }; + _this._updateDragInfo = function (props, event) { + // Safe to assume this is defined since we're handling a drag event + var columnReorderProps = _this._getColumnReorderProps(); + var itemIndex = props.itemIndex; + if (itemIndex >= 0) { + // Column index is set based on the checkbox + _this._draggedColumnIndex = itemIndex - _this._computeColumnIndexOffset(!_this._isCheckboxColumnHidden()); + _this._getDropHintPositions(); + if (columnReorderProps.onColumnDragStart) { + columnReorderProps.onColumnDragStart(true); + } + } + else if (event && _this._draggedColumnIndex >= 0) { + _this._resetDropHints(); + _this._draggedColumnIndex = -1; + _this._dropHintDetails = {}; + if (columnReorderProps.onColumnDragEnd) { + var columnDragEndLocation = _this._isEventOnHeader(event); + columnReorderProps.onColumnDragEnd({ dropLocation: columnDragEndLocation }, event); + } + } + }; + _this._getDropHintPositions = function () { + var _a = _this.props.columns, columns = _a === void 0 ? NO_COLUMNS : _a; + // Safe to assume this is defined since we're handling a drag/drop event + var columnReorderProps = _this._getColumnReorderProps(); + var prevX = 0; + var prevMid = 0; + var prevRef; + var frozenColumnCountFromStart = columnReorderProps.frozenColumnCountFromStart || 0; + var frozenColumnCountFromEnd = columnReorderProps.frozenColumnCountFromEnd || 0; + for (var i = frozenColumnCountFromStart; i < columns.length - frozenColumnCountFromEnd + 1; i++) { + if (_this._rootElement.current) { + var dropHintElement = _this._rootElement.current.querySelectorAll('#columnDropHint_' + i)[0]; + if (dropHintElement) { + if (i === frozenColumnCountFromStart) { + prevX = dropHintElement.offsetLeft; + prevMid = dropHintElement.offsetLeft; + prevRef = dropHintElement; + } + else { + var newMid = (dropHintElement.offsetLeft + prevX) / 2; + _this._dropHintDetails[i - 1] = { + originX: prevX, + startX: prevMid, + endX: newMid, + dropHintElementRef: prevRef, + }; + prevMid = newMid; + prevRef = dropHintElement; + prevX = dropHintElement.offsetLeft; + if (i === columns.length - frozenColumnCountFromEnd) { + _this._dropHintDetails[i] = { + originX: prevX, + startX: prevMid, + endX: dropHintElement.offsetLeft, + dropHintElementRef: prevRef, + }; + } + } + } + } + } + }; + /** + * Based on the given cursor position, finds the nearest drop hint and updates the state to make it visible + */ + _this._computeDropHintToBeShown = function (clientX) { + var isRtl = (0, Utilities_1.getRTL)(_this.props.theme); + if (_this._rootElement.current) { + var clientRect = _this._rootElement.current.getBoundingClientRect(); + var headerOriginX = clientRect.left; + var eventXRelativePosition = clientX - headerOriginX; + var currentDropHintIndex = _this._currentDropHintIndex; + if (_this._isValidCurrentDropHintIndex()) { + if (_liesBetween(isRtl, eventXRelativePosition, _this._dropHintDetails[currentDropHintIndex].startX, _this._dropHintDetails[currentDropHintIndex].endX)) { + return; + } + } + var _a = _this.props.columns, columns = _a === void 0 ? NO_COLUMNS : _a; + // Safe to assume this is defined since we're handling a drag/drop event + var columnReorderProps = _this._getColumnReorderProps(); + var frozenColumnCountFromStart = columnReorderProps.frozenColumnCountFromStart || 0; + var frozenColumnCountFromEnd = columnReorderProps.frozenColumnCountFromEnd || 0; + var currentIndex = frozenColumnCountFromStart; + var lastValidColumn = columns.length - frozenColumnCountFromEnd; + var indexToUpdate = -1; + if (_isBefore(isRtl, eventXRelativePosition, _this._dropHintDetails[currentIndex].endX)) { + indexToUpdate = currentIndex; + } + else if (_isAfter(isRtl, eventXRelativePosition, _this._dropHintDetails[lastValidColumn].startX)) { + indexToUpdate = lastValidColumn; + } + else if (_this._isValidCurrentDropHintIndex()) { + if (_this._dropHintDetails[currentDropHintIndex + 1] && + _liesBetween(isRtl, eventXRelativePosition, _this._dropHintDetails[currentDropHintIndex + 1].startX, _this._dropHintDetails[currentDropHintIndex + 1].endX)) { + indexToUpdate = currentDropHintIndex + 1; + } + else if (_this._dropHintDetails[currentDropHintIndex - 1] && + _liesBetween(isRtl, eventXRelativePosition, _this._dropHintDetails[currentDropHintIndex - 1].startX, _this._dropHintDetails[currentDropHintIndex - 1].endX)) { + indexToUpdate = currentDropHintIndex - 1; + } + } + if (indexToUpdate === -1) { + var startIndex = frozenColumnCountFromStart; + var endIndex = lastValidColumn; + while (startIndex < endIndex) { + var middleIndex = Math.ceil((endIndex + startIndex) / 2); + if (_liesBetween(isRtl, eventXRelativePosition, _this._dropHintDetails[middleIndex].startX, _this._dropHintDetails[middleIndex].endX)) { + indexToUpdate = middleIndex; + break; + } + else if (_isBefore(isRtl, eventXRelativePosition, _this._dropHintDetails[middleIndex].originX)) { + endIndex = middleIndex; + } + else if (_isAfter(isRtl, eventXRelativePosition, _this._dropHintDetails[middleIndex].originX)) { + startIndex = middleIndex; + } + } + } + if (indexToUpdate === _this._draggedColumnIndex || indexToUpdate === _this._draggedColumnIndex + 1) { + if (_this._isValidCurrentDropHintIndex()) { + _this._resetDropHints(); + } + } + else if (currentDropHintIndex !== indexToUpdate && indexToUpdate >= 0) { + _this._resetDropHints(); + _this._updateDropHintElement(_this._dropHintDetails[indexToUpdate].dropHintElementRef, 'inline-block'); + _this._currentDropHintIndex = indexToUpdate; + } + } + }; + _this._renderColumnSizer = function (_a) { + var _b; + var columnIndex = _a.columnIndex; + var _c = _this.props.columns, columns = _c === void 0 ? NO_COLUMNS : _c; + var column = columns[columnIndex]; + var columnResizeDetails = _this.state.columnResizeDetails; + var classNames = _this._classNames; + return column.isResizable ? (React.createElement("div", { key: "".concat(column.key, "_sizer"), "aria-hidden": true, role: "button", "data-is-focusable": false, onClick: _stopPropagation, "data-sizer-index": columnIndex, onBlur: _this._onSizerBlur, className: (0, Utilities_1.css)(classNames.cellSizer, columnIndex < columns.length - 1 ? classNames.cellSizerStart : classNames.cellSizerEnd, (_b = {}, + _b[classNames.cellIsResizing] = columnResizeDetails && columnResizeDetails.columnIndex === columnIndex, + _b)), onDoubleClick: _this._onSizerDoubleClick.bind(_this, columnIndex) })) : null; + }; + _this._onRenderColumnHeaderTooltip = function (tooltipHostProps) { + return React.createElement("span", { className: tooltipHostProps.hostClassName }, tooltipHostProps.children); + }; + /** + * Called when the select all toggle is clicked. + */ + _this._onSelectAllClicked = function () { + var selection = _this.props.selection; + if (selection) { + selection.toggleAllSelected(); + } + }; + _this._onRootMouseDown = function (ev) { + var columnIndexAttr = ev.target.getAttribute('data-sizer-index'); + var columnIndex = Number(columnIndexAttr); + var _a = _this.props.columns, columns = _a === void 0 ? NO_COLUMNS : _a; + if (columnIndexAttr === null || ev.button !== MOUSEDOWN_PRIMARY_BUTTON) { + // Ignore anything except the primary button. + return; + } + _this.setState({ + columnResizeDetails: { + columnIndex: columnIndex, + columnMinWidth: columns[columnIndex].calculatedWidth, + originX: ev.clientX, + }, + }); + ev.preventDefault(); + ev.stopPropagation(); + }; + _this._onRootMouseMove = function (ev) { + var _a = _this.state, columnResizeDetails = _a.columnResizeDetails, isSizing = _a.isSizing; + if (columnResizeDetails && !isSizing && ev.clientX !== columnResizeDetails.originX) { + _this.setState({ isSizing: true }); + } + }; + _this._onRootKeyDown = function (ev) { + var _a = _this.state, columnResizeDetails = _a.columnResizeDetails, isSizing = _a.isSizing; + var _b = _this.props, _c = _b.columns, columns = _c === void 0 ? NO_COLUMNS : _c, onColumnResized = _b.onColumnResized; + var columnIndexAttr = ev.target.getAttribute('data-sizer-index'); + if (!columnIndexAttr || isSizing) { + return; + } + var columnIndex = Number(columnIndexAttr); + if (!columnResizeDetails) { + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.enter) { + _this.setState({ + columnResizeDetails: { + columnIndex: columnIndex, + columnMinWidth: columns[columnIndex].calculatedWidth, + }, + }); + ev.preventDefault(); + ev.stopPropagation(); + } + } + else { + var increment = void 0; + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.enter) { + _this.setState({ + columnResizeDetails: undefined, + }); + ev.preventDefault(); + ev.stopPropagation(); + // eslint-disable-next-line deprecation/deprecation + } + else if (ev.which === Utilities_1.KeyCodes.left) { + increment = (0, Utilities_1.getRTL)(_this.props.theme) ? 1 : -1; + // eslint-disable-next-line deprecation/deprecation + } + else if (ev.which === Utilities_1.KeyCodes.right) { + increment = (0, Utilities_1.getRTL)(_this.props.theme) ? -1 : 1; + } + if (increment) { + if (!ev.shiftKey) { + increment *= 10; + } + _this.setState({ + columnResizeDetails: tslib_1.__assign(tslib_1.__assign({}, columnResizeDetails), { columnMinWidth: columnResizeDetails.columnMinWidth + increment }), + }); + if (onColumnResized) { + onColumnResized(columns[columnIndex], columnResizeDetails.columnMinWidth + increment, columnIndex); + } + ev.preventDefault(); + ev.stopPropagation(); + } + } + }; + /** + * mouse move event handler in the header + * it will set isSizing state to true when user clicked on the sizer and move the mouse. + * + * @param ev - mouse move event + */ + _this._onSizerMouseMove = function (ev) { + var + // use buttons property here since ev.button in some edge case is not upding well during the move. + // but firefox doesn't support it, so we set the default value when it is not defined. + buttons = ev.buttons; + var _a = _this.props, onColumnIsSizingChanged = _a.onColumnIsSizingChanged, onColumnResized = _a.onColumnResized, _b = _a.columns, columns = _b === void 0 ? NO_COLUMNS : _b; + var columnResizeDetails = _this.state.columnResizeDetails; + if (buttons !== undefined && buttons !== MOUSEMOVE_PRIMARY_BUTTON) { + // cancel mouse down event and return early when the primary button is not pressed + _this._onSizerMouseUp(ev); + return; + } + if (ev.clientX !== columnResizeDetails.originX) { + if (onColumnIsSizingChanged) { + onColumnIsSizingChanged(columns[columnResizeDetails.columnIndex], true); + } + } + if (onColumnResized) { + var movement = ev.clientX - columnResizeDetails.originX; + if ((0, Utilities_1.getRTL)(_this.props.theme)) { + movement = -movement; + } + onColumnResized(columns[columnResizeDetails.columnIndex], columnResizeDetails.columnMinWidth + movement, columnResizeDetails.columnIndex); + } + }; + _this._onSizerBlur = function (ev) { + var columnResizeDetails = _this.state.columnResizeDetails; + if (columnResizeDetails) { + _this.setState({ + columnResizeDetails: undefined, + isSizing: false, + }); + } + }; + /** + * mouse up event handler in the header + * clear the resize related state. + * This is to ensure we can catch double click event + * + * @param ev - mouse up event + */ + _this._onSizerMouseUp = function (ev) { + var _a = _this.props, _b = _a.columns, columns = _b === void 0 ? NO_COLUMNS : _b, onColumnIsSizingChanged = _a.onColumnIsSizingChanged; + var columnResizeDetails = _this.state.columnResizeDetails; + _this.setState({ + columnResizeDetails: undefined, + isSizing: false, + }); + if (onColumnIsSizingChanged) { + onColumnIsSizingChanged(columns[columnResizeDetails.columnIndex], false); + } + }; + _this._onToggleCollapseAll = function () { + var onToggleCollapseAll = _this.props.onToggleCollapseAll; + var newCollapsed = !_this.state.isAllCollapsed; + _this.setState({ + isAllCollapsed: newCollapsed, + }); + if (onToggleCollapseAll) { + onToggleCollapseAll(newCollapsed); + } + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this._events = new Utilities_1.EventGroup(_this); + _this.state = { + columnResizeDetails: undefined, + isAllCollapsed: _this.props.isAllCollapsed, + isAllSelected: !!_this.props.selection && _this.props.selection.isAllSelected(), + }; + _this._onDropIndexInfo = { + sourceIndex: -1, + targetIndex: -1, + }; + _this._id = (0, Utilities_1.getId)('header'); + _this._currentDropHintIndex = -1; + // The drag drop handler won't do any work until subscribe() is called, + // so always set it up for convenience + _this._dragDropHelper = new DragDrop_1.DragDropHelper({ + selection: { + getSelection: function () { + return; + }, + }, + minimumPixelsForDrag: _this.props.minimumPixelsForDrag, + }); + return _this; + } + DetailsHeaderBase.prototype.componentDidMount = function () { + var selection = this.props.selection; + this._events.on(selection, Selection_1.SELECTION_CHANGE, this._onSelectionChanged); + // this._rootElement.current will be null in tests using react-test-renderer + if (this._rootElement.current) { + // We need to use native on this to prevent MarqueeSelection from handling the event before us. + this._events.on(this._rootElement.current, 'mousedown', this._onRootMouseDown); + this._events.on(this._rootElement.current, 'keydown', this._onRootKeyDown); + if (this._getColumnReorderProps()) { + this._subscriptionObject = this._dragDropHelper.subscribe(this._rootElement.current, this._events, this._getHeaderDragDropOptions()); + } + } + }; + DetailsHeaderBase.prototype.componentDidUpdate = function (prevProps) { + if (this._getColumnReorderProps()) { + if (!this._subscriptionObject && this._rootElement.current) { + this._subscriptionObject = this._dragDropHelper.subscribe(this._rootElement.current, this._events, this._getHeaderDragDropOptions()); + } + } + else if (this._subscriptionObject) { + this._subscriptionObject.dispose(); + delete this._subscriptionObject; + } + if (this.props !== prevProps && this._onDropIndexInfo.sourceIndex >= 0 && this._onDropIndexInfo.targetIndex >= 0) { + var _a = prevProps.columns, previousColumns = _a === void 0 ? NO_COLUMNS : _a; + var _b = this.props.columns, columns = _b === void 0 ? NO_COLUMNS : _b; + if (previousColumns[this._onDropIndexInfo.sourceIndex].key === columns[this._onDropIndexInfo.targetIndex].key) { + this._onDropIndexInfo = { + sourceIndex: -1, + targetIndex: -1, + }; + } + } + if (this.props.isAllCollapsed !== prevProps.isAllCollapsed) { + this.setState({ isAllCollapsed: this.props.isAllCollapsed }); + } + }; + DetailsHeaderBase.prototype.componentWillUnmount = function () { + if (this._subscriptionObject) { + this._subscriptionObject.dispose(); + delete this._subscriptionObject; + } + this._dragDropHelper.dispose(); + this._events.dispose(); + }; + DetailsHeaderBase.prototype.render = function () { + var _this = this; + var _a = this.props, _b = _a.columns, columns = _b === void 0 ? NO_COLUMNS : _b, ariaLabel = _a.ariaLabel, ariaLabelForToggleAllGroupsButton = _a.ariaLabelForToggleAllGroupsButton, ariaLabelForSelectAllCheckbox = _a.ariaLabelForSelectAllCheckbox, selectAllVisibility = _a.selectAllVisibility, ariaLabelForSelectionColumn = _a.ariaLabelForSelectionColumn, indentWidth = _a.indentWidth, onColumnClick = _a.onColumnClick, onColumnContextMenu = _a.onColumnContextMenu, _c = _a.onRenderColumnHeaderTooltip, onRenderColumnHeaderTooltip = _c === void 0 ? this._onRenderColumnHeaderTooltip : _c, styles = _a.styles, selectionMode = _a.selectionMode, theme = _a.theme, onRenderDetailsCheckbox = _a.onRenderDetailsCheckbox, groupNestingDepth = _a.groupNestingDepth, useFastIcons = _a.useFastIcons, checkboxVisibility = _a.checkboxVisibility, className = _a.className; + var _d = this.state, isAllSelected = _d.isAllSelected, columnResizeDetails = _d.columnResizeDetails, isSizing = _d.isSizing, isAllCollapsed = _d.isAllCollapsed; + var showCheckbox = selectAllVisibility !== DetailsHeader_types_1.SelectAllVisibility.none; + var isCheckboxHidden = selectAllVisibility === DetailsHeader_types_1.SelectAllVisibility.hidden; + var isCheckboxAlwaysVisible = checkboxVisibility === DetailsList_types_1.CheckboxVisibility.always; + var columnReorderProps = this._getColumnReorderProps(); + var frozenColumnCountFromStart = columnReorderProps && columnReorderProps.frozenColumnCountFromStart + ? columnReorderProps.frozenColumnCountFromStart + : 0; + var frozenColumnCountFromEnd = columnReorderProps && columnReorderProps.frozenColumnCountFromEnd + ? columnReorderProps.frozenColumnCountFromEnd + : 0; + this._classNames = getClassNames(styles, { + theme: theme, + isAllSelected: isAllSelected, + isSelectAllHidden: selectAllVisibility === DetailsHeader_types_1.SelectAllVisibility.hidden, + isResizingColumn: !!columnResizeDetails && isSizing, + isSizing: isSizing, + isAllCollapsed: isAllCollapsed, + isCheckboxHidden: isCheckboxHidden, + className: className, + }); + var classNames = this._classNames; + var IconComponent = useFastIcons ? Icon_1.FontIcon : Icon_1.Icon; + var hasGroupExpander = groupNestingDepth > 0; + var showGroupExpander = hasGroupExpander && this.props.collapseAllVisibility === GroupedList_1.CollapseAllVisibility.visible; + var columnIndexOffset = this._computeColumnIndexOffset(showCheckbox); + var isRTL = (0, Utilities_1.getRTL)(theme); + return (React.createElement(FocusZone_1.FocusZone, { role: "row", "aria-label": ariaLabel, className: classNames.root, componentRef: this._rootComponent, elementRef: this._rootElement, onMouseMove: this._onRootMouseMove, "data-automationid": "DetailsHeader", direction: FocusZone_1.FocusZoneDirection.horizontal }, + showCheckbox + ? [ + React.createElement("div", { key: "__checkbox", className: classNames.cellIsCheck, "aria-labelledby": "".concat(this._id, "-checkTooltip"), onClick: !isCheckboxHidden ? this._onSelectAllClicked : undefined, role: 'columnheader' }, onRenderColumnHeaderTooltip({ + hostClassName: classNames.checkTooltip, + id: "".concat(this._id, "-checkTooltip"), + setAriaDescribedBy: false, + content: ariaLabelForSelectAllCheckbox, + children: (React.createElement(DetailsRowCheck_1.DetailsRowCheck, { id: "".concat(this._id, "-check"), "aria-label": selectionMode === Selection_1.SelectionMode.multiple + ? ariaLabelForSelectAllCheckbox + : ariaLabelForSelectionColumn, "data-is-focusable": !isCheckboxHidden || undefined, isHeader: true, selected: isAllSelected, anySelected: false, canSelect: !isCheckboxHidden, className: classNames.check, onRenderDetailsCheckbox: onRenderDetailsCheckbox, useFastIcons: useFastIcons, isVisible: isCheckboxAlwaysVisible })), + }, this._onRenderColumnHeaderTooltip)), + !this.props.onRenderColumnHeaderTooltip ? (ariaLabelForSelectAllCheckbox && !isCheckboxHidden ? (React.createElement("label", { key: "__checkboxLabel", id: "".concat(this._id, "-checkTooltip"), className: classNames.accessibleLabel, "aria-hidden": true }, ariaLabelForSelectAllCheckbox)) : ariaLabelForSelectionColumn && isCheckboxHidden ? (React.createElement("label", { key: "__checkboxLabel", id: "".concat(this._id, "-checkTooltip"), className: classNames.accessibleLabel, "aria-hidden": true }, ariaLabelForSelectionColumn)) : null) : null, + ] + : null, + showGroupExpander ? (React.createElement("div", { className: classNames.cellIsGroupExpander, onClick: this._onToggleCollapseAll, "data-is-focusable": true, "aria-label": ariaLabelForToggleAllGroupsButton, "aria-expanded": !isAllCollapsed, role: "columnheader" }, + React.createElement(IconComponent, { className: classNames.collapseButton, iconName: isRTL ? 'ChevronLeftMed' : 'ChevronRightMed' }), + React.createElement("span", { className: classNames.accessibleLabel }, ariaLabelForToggleAllGroupsButton))) : hasGroupExpander ? (React.createElement("div", { className: classNames.cellIsGroupExpander, "data-is-focusable": false, role: "columnheader" })) : null, + React.createElement(GroupSpacer_1.GroupSpacer, { indentWidth: indentWidth, role: "gridcell", count: groupNestingDepth - 1 }), + columns.map(function (column, columnIndex) { + var _isDraggable = columnReorderProps + ? columnIndex >= frozenColumnCountFromStart && columnIndex < columns.length - frozenColumnCountFromEnd + : false; + return [ + columnReorderProps && + (_isDraggable || columnIndex === columns.length - frozenColumnCountFromEnd) && + _this._renderDropHint(columnIndex), + React.createElement(DetailsColumn_1.DetailsColumn, { column: column, styles: column.styles, key: column.key, columnIndex: columnIndexOffset + columnIndex, parentId: _this._id, isDraggable: _isDraggable, updateDragInfo: _this._updateDragInfo, dragDropHelper: _this._dragDropHelper, onColumnClick: onColumnClick, onColumnContextMenu: onColumnContextMenu, + // Do not render tooltips by default, but allow for override via props. + onRenderColumnHeaderTooltip: _this.props.onRenderColumnHeaderTooltip, isDropped: _this._onDropIndexInfo.targetIndex === columnIndex, cellStyleProps: _this.props.cellStyleProps, useFastIcons: useFastIcons }), + _this._renderColumnDivider(columnIndex), + ]; + }), + columnReorderProps && frozenColumnCountFromEnd === 0 && this._renderDropHint(columns.length), + isSizing && (React.createElement(Layer_1.Layer, null, + React.createElement("div", { className: classNames.sizingOverlay, onMouseMove: this._onSizerMouseMove, onMouseUp: this._onSizerMouseUp }))))); + }; + /** Set focus to the active thing in the focus area. */ + DetailsHeaderBase.prototype.focus = function () { + var _a; + return !!((_a = this._rootComponent.current) === null || _a === void 0 ? void 0 : _a.focus()); + }; + /** + * Gets column reorder props from this.props. If the calling code is part of setting up or + * handling drag/drop events, it's safe to assume that this method's return value is defined + * (because drag/drop handling will only be set up if reorder props are given). + */ + DetailsHeaderBase.prototype._getColumnReorderProps = function () { + var _a = this.props, columnReorderOptions = _a.columnReorderOptions, columnReorderProps = _a.columnReorderProps; + return columnReorderProps || (columnReorderOptions && tslib_1.__assign(tslib_1.__assign({}, columnReorderOptions), { onColumnDragEnd: undefined })); + }; + DetailsHeaderBase.prototype._getHeaderDragDropOptions = function () { + var options = { + selectionIndex: 1, + context: { data: this, index: 0 }, + canDrag: function () { return false; }, + canDrop: function () { return true; }, + onDragStart: function () { return undefined; }, + updateDropState: this._updateDroppingState, + onDrop: this._onDrop, + onDragEnd: function () { return undefined; }, + onDragOver: this._onDragOver, + }; + return options; + }; + DetailsHeaderBase.prototype._isValidCurrentDropHintIndex = function () { + return this._currentDropHintIndex >= 0; + }; + /** + * @returns whether or not the "Select All" checkbox column is hidden. + */ + DetailsHeaderBase.prototype._isCheckboxColumnHidden = function () { + var _a = this.props, selectionMode = _a.selectionMode, checkboxVisibility = _a.checkboxVisibility; + return selectionMode === Selection_1.SelectionMode.none || checkboxVisibility === DetailsList_types_1.CheckboxVisibility.hidden; + }; + DetailsHeaderBase.prototype._resetDropHints = function () { + if (this._currentDropHintIndex >= 0) { + this._updateDropHintElement(this._dropHintDetails[this._currentDropHintIndex].dropHintElementRef, 'none'); + this._currentDropHintIndex = -1; + } + }; + DetailsHeaderBase.prototype._updateDropHintElement = function (element, displayProperty) { + element.childNodes[1].style.display = displayProperty; + element.childNodes[0].style.display = displayProperty; + }; + DetailsHeaderBase.prototype._isEventOnHeader = function (event) { + if (this._rootElement.current) { + var clientRect = this._rootElement.current.getBoundingClientRect(); + if (event.clientX > clientRect.left && + event.clientX < clientRect.right && + event.clientY > clientRect.top && + event.clientY < clientRect.bottom) { + return DetailsList_types_1.ColumnDragEndLocation.header; + } + } + }; + DetailsHeaderBase.prototype._renderColumnDivider = function (columnIndex) { + var _a = this.props.columns, columns = _a === void 0 ? NO_COLUMNS : _a; + var column = columns[columnIndex]; + var onRenderDivider = column.onRenderDivider; + return onRenderDivider + ? onRenderDivider({ column: column, columnIndex: columnIndex }, this._renderColumnSizer) + : this._renderColumnSizer({ column: column, columnIndex: columnIndex }); + }; + DetailsHeaderBase.prototype._renderDropHint = function (dropHintIndex) { + var classNames = this._classNames; + var IconComponent = this.props.useFastIcons ? Icon_1.FontIcon : Icon_1.Icon; + return (React.createElement("div", { key: 'dropHintKey', className: classNames.dropHintStyle, id: "columnDropHint_".concat(dropHintIndex) }, + React.createElement("div", { role: "presentation", key: "dropHintCircleKey", className: classNames.dropHintCaretStyle, "data-is-focusable": false, "data-sizer-index": dropHintIndex, "aria-hidden": true }, + React.createElement(IconComponent, { iconName: 'CircleShapeSolid' })), + React.createElement("div", { key: "dropHintLineKey", "aria-hidden": true, "data-is-focusable": false, "data-sizer-index": dropHintIndex, className: classNames.dropHintLineStyle }))); + }; + /** + * double click on the column sizer will auto ajust column width + * to fit the longest content among current rendered rows. + * + * @param columnIndex - index of the column user double clicked + * @param ev - mouse double click event + */ + DetailsHeaderBase.prototype._onSizerDoubleClick = function (columnIndex, ev) { + var _a = this.props, onColumnAutoResized = _a.onColumnAutoResized, _b = _a.columns, columns = _b === void 0 ? NO_COLUMNS : _b; + if (onColumnAutoResized) { + onColumnAutoResized(columns[columnIndex], columnIndex); + } + }; + DetailsHeaderBase.prototype._onSelectionChanged = function () { + var isAllSelected = !!this.props.selection && this.props.selection.isAllSelected(); + if (this.state.isAllSelected !== isAllSelected) { + this.setState({ + isAllSelected: isAllSelected, + }); + } + }; + DetailsHeaderBase.defaultProps = { + selectAllVisibility: DetailsHeader_types_1.SelectAllVisibility.visible, + collapseAllVisibility: GroupedList_1.CollapseAllVisibility.visible, + useFastIcons: true, + }; + return DetailsHeaderBase; +}(React.Component)); +exports.DetailsHeaderBase = DetailsHeaderBase; +function _liesBetween(rtl, target, left, right) { + return rtl ? target <= left && target >= right : target >= left && target <= right; +} +function _isBefore(rtl, a, b) { + return rtl ? a >= b : a <= b; +} +function _isAfter(rtl, a, b) { + return rtl ? a <= b : a >= b; +} +function _stopPropagation(ev) { + ev.stopPropagation(); +} +//# sourceMappingURL=DetailsHeader.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.js": +/*!*******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.js ***! + \*******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DetailsHeader = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DetailsHeader_base_1 = __webpack_require__(/*! ./DetailsHeader.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.base.js"); +var DetailsHeader_styles_1 = __webpack_require__(/*! ./DetailsHeader.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.styles.js"); +exports.DetailsHeader = (0, Utilities_1.styled)(DetailsHeader_base_1.DetailsHeaderBase, DetailsHeader_styles_1.getDetailsHeaderStyles, undefined, { scope: 'DetailsHeader' }); +//# sourceMappingURL=DetailsHeader.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.styles.js": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.styles.js ***! + \**************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getDetailsHeaderStyles = exports.getCellStyles = exports.HEADER_HEIGHT = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DetailsRow_styles_1 = __webpack_require__(/*! ./DetailsRow.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js"); +// For every group level there is a GroupSpacer added. Importing this const to have the source value in one place. +var GroupSpacer_1 = __webpack_require__(/*! ../GroupedList/GroupSpacer */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupSpacer.js"); +var GlobalClassNames = { + tooltipHost: 'ms-TooltipHost', + root: 'ms-DetailsHeader', + cell: 'ms-DetailsHeader-cell', + cellIsCheck: 'ms-DetailsHeader-cellIsCheck', + collapseButton: 'ms-DetailsHeader-collapseButton', + isCollapsed: 'is-collapsed', + isAllSelected: 'is-allSelected', + isSelectAllHidden: 'is-selectAllHidden', + isResizingColumn: 'is-resizingColumn', + cellSizer: 'ms-DetailsHeader-cellSizer', + isResizing: 'is-resizing', + dropHintCircleStyle: 'ms-DetailsHeader-dropHintCircleStyle', + dropHintCaretStyle: 'ms-DetailsHeader-dropHintCaretStyle', + dropHintLineStyle: 'ms-DetailsHeader-dropHintLineStyle', + cellTitle: 'ms-DetailsHeader-cellTitle', + cellName: 'ms-DetailsHeader-cellName', + filterChevron: 'ms-DetailsHeader-filterChevron', + gripperBarVertical: 'ms-DetailsColumn-gripperBarVertical', + checkTooltip: 'ms-DetailsHeader-checkTooltip', + check: 'ms-DetailsHeader-check', +}; +exports.HEADER_HEIGHT = 42; +var getCellStyles = function (props) { + var theme = props.theme, _a = props.cellStyleProps, cellStyleProps = _a === void 0 ? DetailsRow_styles_1.DEFAULT_CELL_STYLE_PROPS : _a; + var semanticColors = theme.semanticColors; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return [ + classNames.cell, + (0, Styling_1.getFocusStyle)(theme), + { + color: semanticColors.bodyText, + position: 'relative', + display: 'inline-block', + boxSizing: 'border-box', + padding: "0 ".concat(cellStyleProps.cellRightPadding, "px 0 ").concat(cellStyleProps.cellLeftPadding, "px"), + lineHeight: 'inherit', + margin: '0', + height: exports.HEADER_HEIGHT, + verticalAlign: 'top', + whiteSpace: 'nowrap', + textOverflow: 'ellipsis', + textAlign: 'left', + }, + ]; +}; +exports.getCellStyles = getCellStyles; +var getDetailsHeaderStyles = function (props) { + var _a, _b, _c, _d; + var theme = props.theme, className = props.className, isAllSelected = props.isAllSelected, isResizingColumn = props.isResizingColumn, isSizing = props.isSizing, isAllCollapsed = props.isAllCollapsed, _e = props.cellStyleProps, cellStyleProps = _e === void 0 ? DetailsRow_styles_1.DEFAULT_CELL_STYLE_PROPS : _e; + var semanticColors = theme.semanticColors, palette = theme.palette, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + var colors = { + iconForegroundColor: semanticColors.bodySubtext, + headerForegroundColor: semanticColors.bodyText, + headerBackgroundColor: semanticColors.bodyBackground, + resizerColor: palette.neutralTertiaryAlt, + }; + var cellSizerFadeInStyles = { + opacity: 1, + transition: 'opacity 0.3s linear', + }; + var cellStyles = (0, exports.getCellStyles)(props); + return { + root: [ + classNames.root, + fonts.small, + { + display: 'inline-block', + background: colors.headerBackgroundColor, + position: 'relative', + minWidth: '100%', + verticalAlign: 'top', + height: exports.HEADER_HEIGHT, + lineHeight: exports.HEADER_HEIGHT, + whiteSpace: 'nowrap', + boxSizing: 'content-box', + paddingBottom: '1px', + paddingTop: '16px', + borderBottom: "1px solid ".concat(semanticColors.bodyDivider), + cursor: 'default', + userSelect: 'none', + selectors: (_a = {}, + _a["&:hover .".concat(classNames.check)] = { + opacity: 1, + }, + _a["& .".concat(classNames.tooltipHost, " .").concat(classNames.checkTooltip)] = { + display: 'block', + }, + _a), + }, + isAllSelected && classNames.isAllSelected, + isResizingColumn && classNames.isResizingColumn, + className, + ], + check: [ + classNames.check, + { + height: exports.HEADER_HEIGHT, + }, + { + selectors: (_b = {}, + _b[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus")] = { + opacity: 1, + }, + _b), + }, + ], + cellWrapperPadded: { + paddingRight: cellStyleProps.cellExtraRightPadding + cellStyleProps.cellRightPadding, + }, + cellIsCheck: [ + cellStyles, + classNames.cellIsCheck, + { + position: 'relative', + padding: 0, + margin: 0, + display: 'inline-flex', + alignItems: 'center', + border: 'none', + }, + isAllSelected && { + opacity: 1, + }, + ], + cellIsGroupExpander: [ + cellStyles, + { + display: 'inline-flex', + alignItems: 'center', + justifyContent: 'center', + fontSize: fonts.small.fontSize, + padding: 0, + border: 'none', + width: GroupSpacer_1.SPACER_WIDTH, + color: palette.neutralSecondary, + selectors: { + ':hover': { + backgroundColor: palette.neutralLighter, + }, + ':active': { + backgroundColor: palette.neutralLight, + }, + }, + }, + ], + cellIsActionable: { + selectors: { + ':hover': { + color: semanticColors.bodyText, + background: semanticColors.listHeaderBackgroundHovered, + }, + ':active': { + background: semanticColors.listHeaderBackgroundPressed, + }, + }, + }, + cellIsEmpty: { + textOverflow: 'clip', + }, + cellSizer: [ + classNames.cellSizer, + (0, Styling_1.focusClear)(), + { + display: 'inline-block', + position: 'relative', + cursor: 'ew-resize', + bottom: 0, + top: 0, + overflow: 'hidden', + height: 'inherit', + background: 'transparent', + zIndex: 1, + width: 16, + selectors: (_c = { + ':after': { + content: '""', + position: 'absolute', + top: 0, + bottom: 0, + width: 1, + background: colors.resizerColor, + opacity: 0, + left: '50%', + }, + ':focus:after': cellSizerFadeInStyles, + ':hover:after': cellSizerFadeInStyles + }, + _c["&.".concat(classNames.isResizing, ":after")] = [ + cellSizerFadeInStyles, + { + boxShadow: '0 0 5px 0 rgba(0, 0, 0, 0.4)', + }, + ], + _c), + }, + ], + cellIsResizing: classNames.isResizing, + cellSizerStart: { + margin: '0 -8px', + }, + cellSizerEnd: { + margin: 0, + marginLeft: -16, + }, + collapseButton: [ + classNames.collapseButton, + { + transformOrigin: '50% 50%', + transition: 'transform .1s linear', + }, + isAllCollapsed + ? [ + classNames.isCollapsed, + { + transform: 'rotate(0deg)', + }, + ] + : { + transform: (0, Utilities_1.getRTL)(theme) ? 'rotate(-90deg)' : 'rotate(90deg)', + }, + ], + checkTooltip: classNames.checkTooltip, + sizingOverlay: isSizing && { + position: 'absolute', + left: 0, + top: 0, + right: 0, + bottom: 0, + cursor: 'ew-resize', + background: 'rgba(255, 255, 255, 0)', + selectors: (_d = {}, + _d[Styling_1.HighContrastSelector] = tslib_1.__assign({ background: 'transparent' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _d), + }, + accessibleLabel: Styling_1.hiddenContentStyle, + dropHintCircleStyle: [ + classNames.dropHintCircleStyle, + { + display: 'inline-block', + visibility: 'hidden', + position: 'absolute', + bottom: 0, + height: 9, + width: 9, + borderRadius: '50%', + marginLeft: -5, + top: 34, + overflow: 'visible', + zIndex: 10, + border: "1px solid ".concat(palette.themePrimary), + background: palette.white, + }, + ], + dropHintCaretStyle: [ + classNames.dropHintCaretStyle, + { + display: 'none', + position: 'absolute', + top: -28, + left: -6.5, + fontSize: fonts.medium.fontSize, + color: palette.themePrimary, + overflow: 'visible', + zIndex: 10, + }, + ], + dropHintLineStyle: [ + classNames.dropHintLineStyle, + { + display: 'none', + position: 'absolute', + bottom: 0, + top: 0, + overflow: 'hidden', + height: 42, + width: 1, + background: palette.themePrimary, + zIndex: 10, + }, + ], + dropHintStyle: { + display: 'inline-block', + position: 'absolute', + }, + }; +}; +exports.getDetailsHeaderStyles = getDetailsHeaderStyles; +//# sourceMappingURL=DetailsHeader.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.types.js": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.types.js ***! + \*************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SelectAllVisibility = void 0; +/** + * {@docCategory DetailsList} + */ +var SelectAllVisibility; +(function (SelectAllVisibility) { + SelectAllVisibility[SelectAllVisibility["none"] = 0] = "none"; + SelectAllVisibility[SelectAllVisibility["hidden"] = 1] = "hidden"; + SelectAllVisibility[SelectAllVisibility["visible"] = 2] = "visible"; +})(SelectAllVisibility = exports.SelectAllVisibility || (exports.SelectAllVisibility = {})); +//# sourceMappingURL=DetailsHeader.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.base.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.base.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.buildColumns = exports.DetailsListBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DetailsList_types_1 = __webpack_require__(/*! ../DetailsList/DetailsList.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.types.js"); +var DetailsHeader_1 = __webpack_require__(/*! ../DetailsList/DetailsHeader */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.js"); +var DetailsHeader_types_1 = __webpack_require__(/*! ../DetailsList/DetailsHeader.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.types.js"); +var DetailsRow_1 = __webpack_require__(/*! ../DetailsList/DetailsRow */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.js"); +var FocusZone_1 = __webpack_require__(/*! ../../FocusZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js"); +var Selection_1 = __webpack_require__(/*! ../../Selection */ "./node_modules/@fluentui/react/lib-commonjs/Selection.js"); +var DragDrop_1 = __webpack_require__(/*! ../../DragDrop */ "./node_modules/@fluentui/react/lib-commonjs/DragDrop.js"); +var GroupedList_1 = __webpack_require__(/*! ../../GroupedList */ "./node_modules/@fluentui/react/lib-commonjs/GroupedList.js"); +var List_1 = __webpack_require__(/*! ../../List */ "./node_modules/@fluentui/react/lib-commonjs/List.js"); +var withViewport_1 = __webpack_require__(/*! ../../utilities/decorators/withViewport */ "./node_modules/@fluentui/react/lib-commonjs/utilities/decorators/withViewport.js"); +var GroupedListUtility_1 = __webpack_require__(/*! ../../utilities/groupedList/GroupedListUtility */ "./node_modules/@fluentui/react/lib-commonjs/utilities/groupedList/GroupedListUtility.js"); +var DetailsRow_styles_1 = __webpack_require__(/*! ./DetailsRow.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js"); +var DetailsRowCheck_styles_1 = __webpack_require__(/*! ./DetailsRowCheck.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.styles.js"); +// For every group level there is a GroupSpacer added. Importing this const to have the source value in one place. +var GroupSpacer_1 = __webpack_require__(/*! ../GroupedList/GroupSpacer */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupSpacer.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var COMPONENT_NAME = 'DetailsList'; +var MIN_COLUMN_WIDTH = 100; // this is the global min width +var DEFAULT_RENDERED_WINDOWS_AHEAD = 2; +var DEFAULT_RENDERED_WINDOWS_BEHIND = 2; +var rowFocusZoneAddTabIndexProps = { tabIndex: 0 }; +var rowFocusZoneNoTabIndexProps = {}; +/** + * Hooks-based implementation of DetailsList. + * Since many existing consumers of DetailsList expect `ref` to return a `DetailsList`, + * this inner component handles rendering while the outer maintains compatibility. + */ +var DetailsListInner = function (props) { + var selection = props.selection; + var ariaLabelForListHeader = props.ariaLabelForListHeader, ariaLabelForSelectAllCheckbox = props.ariaLabelForSelectAllCheckbox, ariaLabelForSelectionColumn = props.ariaLabelForSelectionColumn, className = props.className, checkboxVisibility = props.checkboxVisibility, compact = props.compact, constrainMode = props.constrainMode, dragDropEvents = props.dragDropEvents, groups = props.groups, groupProps = props.groupProps, indentWidth = props.indentWidth, items = props.items, isPlaceholderData = props.isPlaceholderData, isHeaderVisible = props.isHeaderVisible, layoutMode = props.layoutMode, onItemInvoked = props.onItemInvoked, onItemContextMenu = props.onItemContextMenu, onColumnHeaderClick = props.onColumnHeaderClick, onColumnHeaderContextMenu = props.onColumnHeaderContextMenu, _a = props.selectionMode, selectionMode = _a === void 0 ? selection.mode : _a, selectionPreservedOnEmptyClick = props.selectionPreservedOnEmptyClick, selectionZoneProps = props.selectionZoneProps, + // eslint-disable-next-line deprecation/deprecation + ariaLabel = props.ariaLabel, ariaLabelForGrid = props.ariaLabelForGrid, rowElementEventMap = props.rowElementEventMap, + // eslint-disable-next-line deprecation/deprecation + _b = props.shouldApplyApplicationRole, + // eslint-disable-next-line deprecation/deprecation + shouldApplyApplicationRole = _b === void 0 ? false : _b, getKey = props.getKey, listProps = props.listProps, usePageCache = props.usePageCache, onShouldVirtualize = props.onShouldVirtualize, viewport = props.viewport, minimumPixelsForDrag = props.minimumPixelsForDrag, getGroupHeight = props.getGroupHeight, styles = props.styles, theme = props.theme, _c = props.cellStyleProps, cellStyleProps = _c === void 0 ? DetailsRow_styles_1.DEFAULT_CELL_STYLE_PROPS : _c, onRenderCheckbox = props.onRenderCheckbox, useFastIcons = props.useFastIcons, dragDropHelper = props.dragDropHelper, adjustedColumns = props.adjustedColumns, isCollapsed = props.isCollapsed, isSizing = props.isSizing, isSomeGroupExpanded = props.isSomeGroupExpanded, version = props.version, rootRef = props.rootRef, listRef = props.listRef, focusZoneRef = props.focusZoneRef, columnReorderOptions = props.columnReorderOptions, groupedListRef = props.groupedListRef, headerRef = props.headerRef, onGroupExpandStateChanged = props.onGroupExpandStateChanged, onColumnIsSizingChanged = props.onColumnIsSizingChanged, onRowDidMount = props.onRowDidMount, onRowWillUnmount = props.onRowWillUnmount, disableSelectionZone = props.disableSelectionZone, _d = props.isSelectedOnFocus, isSelectedOnFocus = _d === void 0 ? true : _d, onColumnResized = props.onColumnResized, onColumnAutoResized = props.onColumnAutoResized, onToggleCollapse = props.onToggleCollapse, onActiveRowChanged = props.onActiveRowChanged, onBlur = props.onBlur, eventsToRegister = props.rowElementEventMap, onRenderMissingItem = props.onRenderMissingItem, onRenderItemColumn = props.onRenderItemColumn, onRenderField = props.onRenderField, getCellValueKey = props.getCellValueKey, getRowAriaLabel = props.getRowAriaLabel, getRowAriaDescribedBy = props.getRowAriaDescribedBy, checkButtonAriaLabel = props.checkButtonAriaLabel, checkButtonGroupAriaLabel = props.checkButtonGroupAriaLabel, checkboxCellClassName = props.checkboxCellClassName, useReducedRowRenderer = props.useReducedRowRenderer, enableUpdateAnimations = props.enableUpdateAnimations, enterModalSelectionOnTouch = props.enterModalSelectionOnTouch, onRenderDefaultRow = props.onRenderDefaultRow, selectionZoneRef = props.selectionZoneRef, focusZoneProps = props.focusZoneProps; + var defaultRole = 'grid'; + var role = props.role ? props.role : defaultRole; + var rowId = (0, utilities_1.getId)('row'); + var groupNestingDepth = getGroupNestingDepth(groups); + var groupedDetailsListIndexMap = useGroupedDetailsListIndexMap(groups); + var additionalListProps = React.useMemo(function () { + return tslib_1.__assign({ renderedWindowsAhead: isSizing ? 0 : DEFAULT_RENDERED_WINDOWS_AHEAD, renderedWindowsBehind: isSizing ? 0 : DEFAULT_RENDERED_WINDOWS_BEHIND, getKey: getKey, version: version }, listProps); + }, [isSizing, getKey, version, listProps]); + var selectAllVisibility = DetailsHeader_types_1.SelectAllVisibility.none; // for SelectionMode.none + if (selectionMode === Selection_1.SelectionMode.single) { + selectAllVisibility = DetailsHeader_types_1.SelectAllVisibility.hidden; + } + if (selectionMode === Selection_1.SelectionMode.multiple) { + // if isCollapsedGroupSelectVisible is false, disable select all when the list has all collapsed groups + var isCollapsedGroupSelectVisible = groupProps && groupProps.headerProps && groupProps.headerProps.isCollapsedGroupSelectVisible; + if (isCollapsedGroupSelectVisible === undefined) { + isCollapsedGroupSelectVisible = true; + } + var isSelectAllVisible = isCollapsedGroupSelectVisible || !groups || isSomeGroupExpanded; + selectAllVisibility = isSelectAllVisible ? DetailsHeader_types_1.SelectAllVisibility.visible : DetailsHeader_types_1.SelectAllVisibility.hidden; + } + if (checkboxVisibility === DetailsList_types_1.CheckboxVisibility.hidden) { + selectAllVisibility = DetailsHeader_types_1.SelectAllVisibility.none; + } + var defaultOnRenderDetailsHeader = React.useCallback(function (detailsHeaderProps) { + return React.createElement(DetailsHeader_1.DetailsHeader, tslib_1.__assign({}, detailsHeaderProps)); + }, []); + var defaultOnRenderDetailsFooter = React.useCallback(function () { + return null; + }, []); + var propsOnRenderDetailsHeader = props.onRenderDetailsHeader; + var onRenderDetailsHeader = React.useMemo(function () { + return propsOnRenderDetailsHeader + ? (0, utilities_1.composeRenderFunction)(propsOnRenderDetailsHeader, defaultOnRenderDetailsHeader) + : defaultOnRenderDetailsHeader; + }, [propsOnRenderDetailsHeader, defaultOnRenderDetailsHeader]); + var propsOnRenderDetailsFooter = props.onRenderDetailsFooter; + var onRenderDetailsFooter = React.useMemo(function () { + return propsOnRenderDetailsFooter + ? (0, utilities_1.composeRenderFunction)(propsOnRenderDetailsFooter, defaultOnRenderDetailsFooter) + : defaultOnRenderDetailsFooter; + }, [propsOnRenderDetailsFooter, defaultOnRenderDetailsFooter]); + var detailsFooterProps = React.useMemo(function () { + return { + columns: adjustedColumns, + groupNestingDepth: groupNestingDepth, + selection: selection, + selectionMode: selectionMode, + viewport: viewport, + checkboxVisibility: checkboxVisibility, + indentWidth: indentWidth, + cellStyleProps: cellStyleProps, + }; + }, [ + adjustedColumns, + groupNestingDepth, + selection, + selectionMode, + viewport, + checkboxVisibility, + indentWidth, + cellStyleProps, + ]); + var columnReorderOnDragEnd = columnReorderOptions && columnReorderOptions.onDragEnd; + var onColumnDragEnd = React.useCallback(function (_a, event) { + var dropLocation = _a.dropLocation; + var finalDropLocation = DetailsList_types_1.ColumnDragEndLocation.outside; + if (columnReorderOnDragEnd) { + if (dropLocation && dropLocation !== DetailsList_types_1.ColumnDragEndLocation.header) { + finalDropLocation = dropLocation; + } + else if (rootRef.current) { + var clientRect = rootRef.current.getBoundingClientRect(); + if (event.clientX > clientRect.left && + event.clientX < clientRect.right && + event.clientY > clientRect.top && + event.clientY < clientRect.bottom) { + finalDropLocation = DetailsList_types_1.ColumnDragEndLocation.surface; + } + } + columnReorderOnDragEnd(finalDropLocation); + } + }, [columnReorderOnDragEnd, rootRef]); + var columnReorderProps = React.useMemo(function () { + if (columnReorderOptions) { + return tslib_1.__assign(tslib_1.__assign({}, columnReorderOptions), { onColumnDragEnd: onColumnDragEnd }); + } + }, [columnReorderOptions, onColumnDragEnd]); + var rowCount = (isHeaderVisible ? 1 : 0) + + (props.onRenderDetailsFooter ? 1 : 0) + + (0, GroupedListUtility_1.GetGroupCount)(groups) + + (items ? items.length : 0); + var colCount = (selectAllVisibility !== DetailsHeader_types_1.SelectAllVisibility.none ? 1 : 0) + + (adjustedColumns ? adjustedColumns.length : 0) + + (groups ? 1 : 0); + var classNames = React.useMemo(function () { + return getClassNames(styles, { + theme: theme, + compact: compact, + isFixed: layoutMode === DetailsList_types_1.DetailsListLayoutMode.fixedColumns, + isHorizontalConstrained: constrainMode === DetailsList_types_1.ConstrainMode.horizontalConstrained, + className: className, + }); + }, [styles, theme, compact, layoutMode, constrainMode, className]); + var onRenderDetailsGroupFooter = groupProps && groupProps.onRenderFooter; + var finalOnRenderDetailsGroupFooter = React.useMemo(function () { + return onRenderDetailsGroupFooter + ? function (groupFooterProps, defaultRender) { + return onRenderDetailsGroupFooter(tslib_1.__assign(tslib_1.__assign({}, groupFooterProps), { columns: adjustedColumns, groupNestingDepth: groupNestingDepth, indentWidth: indentWidth, selection: selection, selectionMode: selectionMode, viewport: viewport, checkboxVisibility: checkboxVisibility, cellStyleProps: cellStyleProps }), defaultRender); + } + : undefined; + }, [ + onRenderDetailsGroupFooter, + adjustedColumns, + groupNestingDepth, + indentWidth, + selection, + selectionMode, + viewport, + checkboxVisibility, + cellStyleProps, + ]); + var onRenderDetailsGroupHeader = groupProps && groupProps.onRenderHeader; + var finalOnRenderDetailsGroupHeader = React.useMemo(function () { + return onRenderDetailsGroupHeader + ? function (groupHeaderProps, defaultRender) { + var _a, _b; + var groupIndex = groupHeaderProps.groupIndex; + var groupKey = groupIndex !== undefined ? (_b = (_a = groupHeaderProps.groups) === null || _a === void 0 ? void 0 : _a[groupIndex]) === null || _b === void 0 ? void 0 : _b.key : undefined; + var totalRowCount = groupKey !== undefined && groupedDetailsListIndexMap[groupKey] + ? groupedDetailsListIndexMap[groupKey].totalRowCount + : 0; + return onRenderDetailsGroupHeader(tslib_1.__assign(tslib_1.__assign({}, groupHeaderProps), { columns: adjustedColumns, groupNestingDepth: groupNestingDepth, indentWidth: indentWidth, selection: selection, selectionMode: checkboxVisibility !== DetailsList_types_1.CheckboxVisibility.hidden ? selectionMode : Selection_1.SelectionMode.none, viewport: viewport, checkboxVisibility: checkboxVisibility, cellStyleProps: cellStyleProps, ariaColSpan: adjustedColumns.length, ariaLevel: undefined, ariaPosInSet: undefined, ariaSetSize: undefined, ariaRowCount: undefined, ariaRowIndex: groupIndex !== undefined ? totalRowCount + (isHeaderVisible ? 1 : 0) : undefined }), defaultRender); + } + : function (groupHeaderProps, defaultRender) { + var _a, _b; + var groupIndex = groupHeaderProps.groupIndex; + var groupKey = groupIndex !== undefined ? (_b = (_a = groupHeaderProps.groups) === null || _a === void 0 ? void 0 : _a[groupIndex]) === null || _b === void 0 ? void 0 : _b.key : undefined; + var totalRowCount = groupKey !== undefined && groupedDetailsListIndexMap[groupKey] + ? groupedDetailsListIndexMap[groupKey].totalRowCount + : 0; + return defaultRender(tslib_1.__assign(tslib_1.__assign({}, groupHeaderProps), { ariaColSpan: adjustedColumns.length, ariaLevel: undefined, ariaPosInSet: undefined, ariaSetSize: undefined, ariaRowCount: undefined, ariaRowIndex: groupIndex !== undefined ? totalRowCount + (isHeaderVisible ? 1 : 0) : undefined })); + }; + }, [ + onRenderDetailsGroupHeader, + adjustedColumns, + groupNestingDepth, + indentWidth, + isHeaderVisible, + selection, + selectionMode, + viewport, + checkboxVisibility, + cellStyleProps, + groupedDetailsListIndexMap, + ]); + var finalGroupProps = React.useMemo(function () { + var _a; + return tslib_1.__assign(tslib_1.__assign({}, groupProps), { role: role === defaultRole ? 'rowgroup' : 'presentation', onRenderFooter: finalOnRenderDetailsGroupFooter, onRenderHeader: finalOnRenderDetailsGroupHeader, + // pass through custom group header checkbox label + headerProps: tslib_1.__assign(tslib_1.__assign({}, groupProps === null || groupProps === void 0 ? void 0 : groupProps.headerProps), { selectAllButtonProps: tslib_1.__assign({ 'aria-label': checkButtonGroupAriaLabel }, (_a = groupProps === null || groupProps === void 0 ? void 0 : groupProps.headerProps) === null || _a === void 0 ? void 0 : _a.selectAllButtonProps) }) }); + }, [groupProps, finalOnRenderDetailsGroupFooter, finalOnRenderDetailsGroupHeader, checkButtonGroupAriaLabel, role]); + var sumColumnWidths = (0, react_hooks_1.useConst)(function () { + return (0, Utilities_1.memoizeFunction)(function (columns) { + var totalWidth = 0; + columns.forEach(function (column) { return (totalWidth += column.calculatedWidth || column.minWidth); }); + return totalWidth; + }); + }); + var collapseAllVisibility = groupProps && groupProps.collapseAllVisibility; + var rowWidth = React.useMemo(function () { + return sumColumnWidths(adjustedColumns); + }, [adjustedColumns, sumColumnWidths]); + var onRenderCell = React.useCallback(function (nestingDepth, item, index, group) { + var finalOnRenderRow = props.onRenderRow + ? (0, utilities_1.composeRenderFunction)(props.onRenderRow, onRenderDefaultRow) + : onRenderDefaultRow; + var groupKey = group ? group.key : undefined; + var numOfGroupHeadersBeforeItem = groupKey && groupedDetailsListIndexMap[groupKey] + ? groupedDetailsListIndexMap[groupKey].numOfGroupHeadersBeforeItem + : 0; + var rowRole = role === defaultRole ? undefined : 'presentation'; + // add tabindex="0" to first row if no header exists, to ensure the focuszone is in the tab order + var rowFocusZoneProps = isHeaderVisible || index > 0 ? rowFocusZoneNoTabIndexProps : rowFocusZoneAddTabIndexProps; + var rowProps = { + item: item, + itemIndex: index, + flatIndexOffset: (isHeaderVisible ? 2 : 1) + numOfGroupHeadersBeforeItem, + compact: compact, + columns: adjustedColumns, + groupNestingDepth: nestingDepth, + id: "".concat(rowId, "-").concat(index), + selectionMode: selectionMode, + selection: selection, + onDidMount: onRowDidMount, + onWillUnmount: onRowWillUnmount, + onRenderItemColumn: onRenderItemColumn, + onRenderField: onRenderField, + getCellValueKey: getCellValueKey, + eventsToRegister: eventsToRegister, + dragDropEvents: dragDropEvents, + dragDropHelper: dragDropHelper, + viewport: viewport, + checkboxVisibility: checkboxVisibility, + collapseAllVisibility: collapseAllVisibility, + getRowAriaLabel: getRowAriaLabel, + getRowAriaDescribedBy: getRowAriaDescribedBy, + checkButtonAriaLabel: checkButtonAriaLabel, + checkboxCellClassName: checkboxCellClassName, + useReducedRowRenderer: useReducedRowRenderer, + indentWidth: indentWidth, + cellStyleProps: cellStyleProps, + onRenderDetailsCheckbox: onRenderCheckbox, + enableUpdateAnimations: enableUpdateAnimations, + rowWidth: rowWidth, + useFastIcons: useFastIcons, + role: rowRole, + isGridRow: true, + focusZoneProps: rowFocusZoneProps, + }; + if (!item) { + if (onRenderMissingItem) { + return onRenderMissingItem(index, rowProps); + } + return null; + } + return finalOnRenderRow(rowProps); + }, [ + compact, + adjustedColumns, + selectionMode, + selection, + rowId, + onRowDidMount, + onRowWillUnmount, + onRenderItemColumn, + onRenderField, + getCellValueKey, + eventsToRegister, + dragDropEvents, + dragDropHelper, + viewport, + checkboxVisibility, + collapseAllVisibility, + getRowAriaLabel, + getRowAriaDescribedBy, + isHeaderVisible, + checkButtonAriaLabel, + checkboxCellClassName, + useReducedRowRenderer, + indentWidth, + cellStyleProps, + onRenderCheckbox, + enableUpdateAnimations, + useFastIcons, + onRenderDefaultRow, + onRenderMissingItem, + props.onRenderRow, + rowWidth, + role, + groupedDetailsListIndexMap, + ]); + var onRenderListCell = React.useCallback(function (nestingDepth) { + return function (item, itemIndex) { + return onRenderCell(nestingDepth, item, itemIndex); + }; + }, [onRenderCell]); + var isRightArrow = React.useCallback(function (event) { + // eslint-disable-next-line deprecation/deprecation + return event.which === (0, Utilities_1.getRTLSafeKeyCode)(Utilities_1.KeyCodes.right, theme); + }, [theme]); + var focusZoneInnerProps = tslib_1.__assign(tslib_1.__assign({}, focusZoneProps), { componentRef: focusZoneProps && focusZoneProps.componentRef ? focusZoneProps.componentRef : focusZoneRef, className: focusZoneProps && focusZoneProps.className + ? (0, Utilities_1.css)(classNames.focusZone, focusZoneProps.className) + : classNames.focusZone, direction: focusZoneProps ? focusZoneProps.direction : FocusZone_1.FocusZoneDirection.vertical, shouldEnterInnerZone: focusZoneProps && focusZoneProps.shouldEnterInnerZone ? focusZoneProps.shouldEnterInnerZone : isRightArrow, onActiveElementChanged: focusZoneProps && focusZoneProps.onActiveElementChanged + ? focusZoneProps.onActiveElementChanged + : onActiveRowChanged, shouldRaiseClicksOnEnter: false, onBlur: focusZoneProps && focusZoneProps.onBlur ? focusZoneProps.onBlur : onBlur }); + var FinalGroupedList = groups && (groupProps === null || groupProps === void 0 ? void 0 : groupProps.groupedListAs) ? (0, utilities_1.composeComponentAs)(groupProps.groupedListAs, GroupedList_1.GroupedList) : GroupedList_1.GroupedList; + var list = groups ? (React.createElement(FinalGroupedList, { focusZoneProps: focusZoneInnerProps, componentRef: groupedListRef, groups: groups, groupProps: finalGroupProps, items: items, onRenderCell: onRenderCell, role: "presentation", selection: selection, selectionMode: checkboxVisibility !== DetailsList_types_1.CheckboxVisibility.hidden ? selectionMode : Selection_1.SelectionMode.none, dragDropEvents: dragDropEvents, dragDropHelper: dragDropHelper, eventsToRegister: rowElementEventMap, listProps: additionalListProps, onGroupExpandStateChanged: onGroupExpandStateChanged, usePageCache: usePageCache, onShouldVirtualize: onShouldVirtualize, getGroupHeight: getGroupHeight, compact: compact })) : (React.createElement(FocusZone_1.FocusZone, tslib_1.__assign({}, focusZoneInnerProps), + React.createElement(List_1.List, tslib_1.__assign({ ref: listRef, role: "presentation", items: items, onRenderCell: onRenderListCell(0), usePageCache: usePageCache, onShouldVirtualize: onShouldVirtualize }, additionalListProps)))); + var onHeaderKeyDown = React.useCallback(function (ev) { + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.down) { + if (focusZoneRef.current && focusZoneRef.current.focus()) { + // select the first item in list after down arrow key event + // only if nothing was selected; otherwise start with the already-selected item + if (isSelectedOnFocus && selection.getSelectedIndices().length === 0) { + selection.setIndexSelected(0, true, false); + } + ev.preventDefault(); + ev.stopPropagation(); + } + } + }, [selection, focusZoneRef, isSelectedOnFocus]); + var onContentKeyDown = React.useCallback(function (ev) { + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.up && !ev.altKey) { + if (headerRef.current && headerRef.current.focus()) { + ev.preventDefault(); + ev.stopPropagation(); + } + } + }, [headerRef]); + return (React.createElement("div", tslib_1.__assign({ ref: rootRef, className: classNames.root, "data-automationid": "DetailsList", "data-is-scrollable": "false" }, (shouldApplyApplicationRole ? { role: 'application' } : {})), + React.createElement(Utilities_1.FocusRects, null), + React.createElement("div", { role: role, "aria-label": ariaLabelForGrid || ariaLabel, "aria-rowcount": isPlaceholderData ? 0 : rowCount, "aria-colcount": colCount, "aria-busy": isPlaceholderData }, + React.createElement("div", { onKeyDown: onHeaderKeyDown, role: "presentation", className: classNames.headerWrapper }, isHeaderVisible && + onRenderDetailsHeader({ + componentRef: headerRef, + selectionMode: selectionMode, + layoutMode: layoutMode, + selection: selection, + columns: adjustedColumns, + onColumnClick: onColumnHeaderClick, + onColumnContextMenu: onColumnHeaderContextMenu, + onColumnResized: onColumnResized, + onColumnIsSizingChanged: onColumnIsSizingChanged, + onColumnAutoResized: onColumnAutoResized, + groupNestingDepth: groupNestingDepth, + isAllCollapsed: isCollapsed, + onToggleCollapseAll: onToggleCollapse, + ariaLabel: ariaLabelForListHeader, + ariaLabelForSelectAllCheckbox: ariaLabelForSelectAllCheckbox, + ariaLabelForSelectionColumn: ariaLabelForSelectionColumn, + selectAllVisibility: selectAllVisibility, + collapseAllVisibility: groupProps && groupProps.collapseAllVisibility, + viewport: viewport, + columnReorderProps: columnReorderProps, + minimumPixelsForDrag: minimumPixelsForDrag, + cellStyleProps: cellStyleProps, + checkboxVisibility: checkboxVisibility, + indentWidth: indentWidth, + onRenderDetailsCheckbox: onRenderCheckbox, + rowWidth: sumColumnWidths(adjustedColumns), + useFastIcons: useFastIcons, + }, onRenderDetailsHeader)), + React.createElement("div", { onKeyDown: onContentKeyDown, role: "presentation", className: classNames.contentWrapper }, !disableSelectionZone ? (React.createElement(Selection_1.SelectionZone, tslib_1.__assign({ ref: selectionZoneRef, selection: selection, selectionPreservedOnEmptyClick: selectionPreservedOnEmptyClick, selectionMode: selectionMode, isSelectedOnFocus: isSelectedOnFocus, selectionClearedOnEscapePress: isSelectedOnFocus, toggleWithoutModifierPressed: !isSelectedOnFocus, onItemInvoked: onItemInvoked, onItemContextMenu: onItemContextMenu, enterModalOnTouch: enterModalSelectionOnTouch }, (selectionZoneProps || {})), list)) : (list)), + onRenderDetailsFooter(tslib_1.__assign({}, detailsFooterProps))))); +}; +var DetailsListBase = /** @class */ (function (_super) { + tslib_1.__extends(DetailsListBase, _super); + function DetailsListBase(props) { + var _this = _super.call(this, props) || this; + _this._root = React.createRef(); + _this._header = React.createRef(); + _this._groupedList = React.createRef(); + _this._list = React.createRef(); + _this._focusZone = React.createRef(); + _this._selectionZone = React.createRef(); + _this._onRenderRow = function (props, defaultRender) { + return React.createElement(DetailsRow_1.DetailsRow, tslib_1.__assign({}, props)); + }; + _this._getDerivedStateFromProps = function (nextProps, previousState) { + var _a = _this.props, checkboxVisibility = _a.checkboxVisibility, items = _a.items, setKey = _a.setKey, _b = _a.selectionMode, selectionMode = _b === void 0 ? _this._selection.mode : _b, columns = _a.columns, viewport = _a.viewport, compact = _a.compact, dragDropEvents = _a.dragDropEvents; + var _c = (_this.props.groupProps || {}).isAllGroupsCollapsed, isAllGroupsCollapsed = _c === void 0 ? undefined : _c; + var newViewportWidth = (nextProps.viewport && nextProps.viewport.width) || 0; + var oldViewportWidth = (viewport && viewport.width) || 0; + var shouldResetSelection = nextProps.setKey !== setKey || nextProps.setKey === undefined; + var shouldForceUpdates = false; + if (nextProps.layoutMode !== _this.props.layoutMode) { + shouldForceUpdates = true; + } + var nextState = previousState; + if (shouldResetSelection) { + _this._initialFocusedIndex = nextProps.initialFocusedIndex; + // reset focusedItemIndex when setKey changes + nextState = tslib_1.__assign(tslib_1.__assign({}, nextState), { focusedItemIndex: _this._initialFocusedIndex !== undefined ? _this._initialFocusedIndex : -1 }); + } + if (!_this.props.disableSelectionZone && nextProps.items !== items) { + _this._selection.setItems(nextProps.items, shouldResetSelection); + } + if (nextProps.checkboxVisibility !== checkboxVisibility || + nextProps.columns !== columns || + newViewportWidth !== oldViewportWidth || + nextProps.compact !== compact) { + shouldForceUpdates = true; + } + nextState = tslib_1.__assign(tslib_1.__assign({}, nextState), _this._adjustColumns(nextProps, nextState, true)); + if (nextProps.selectionMode !== selectionMode) { + shouldForceUpdates = true; + } + if (isAllGroupsCollapsed === undefined && + nextProps.groupProps && + nextProps.groupProps.isAllGroupsCollapsed !== undefined) { + nextState = tslib_1.__assign(tslib_1.__assign({}, nextState), { isCollapsed: nextProps.groupProps.isAllGroupsCollapsed, isSomeGroupExpanded: !nextProps.groupProps.isAllGroupsCollapsed }); + } + if (nextProps.dragDropEvents !== dragDropEvents) { + _this._dragDropHelper && _this._dragDropHelper.dispose(); + _this._dragDropHelper = nextProps.dragDropEvents + ? new DragDrop_1.DragDropHelper({ + selection: _this._selection, + minimumPixelsForDrag: nextProps.minimumPixelsForDrag, + }) + : undefined; + shouldForceUpdates = true; + } + if (shouldForceUpdates) { + nextState = tslib_1.__assign(tslib_1.__assign({}, nextState), { version: {} }); + } + return nextState; + }; + _this._onGroupExpandStateChanged = function (isSomeGroupExpanded) { + _this.setState({ isSomeGroupExpanded: isSomeGroupExpanded }); + }; + _this._onColumnIsSizingChanged = function (column, isSizing) { + _this.setState({ isSizing: isSizing }); + }; + _this._onRowDidMount = function (row) { + var _a = row.props, item = _a.item, itemIndex = _a.itemIndex; + var itemKey = _this._getItemKey(item, itemIndex); + _this._activeRows[itemKey] = row; // this is used for column auto resize + _this._setFocusToRowIfPending(row); + var onRowDidMount = _this.props.onRowDidMount; + if (onRowDidMount) { + onRowDidMount(item, itemIndex); + } + }; + _this._onRowWillUnmount = function (row) { + var onRowWillUnmount = _this.props.onRowWillUnmount; + var _a = row.props, item = _a.item, itemIndex = _a.itemIndex; + var itemKey = _this._getItemKey(item, itemIndex); + delete _this._activeRows[itemKey]; + if (onRowWillUnmount) { + onRowWillUnmount(item, itemIndex); + } + }; + _this._onToggleCollapse = function (collapsed) { + _this.setState({ + isCollapsed: collapsed, + }); + if (_this._groupedList.current) { + _this._groupedList.current.toggleCollapseAll(collapsed); + } + }; + _this._onColumnResized = function (resizingColumn, newWidth, resizingColumnIndex) { + var newCalculatedWidth = Math.max(resizingColumn.minWidth || MIN_COLUMN_WIDTH, newWidth); + if (_this.props.onColumnResize) { + _this.props.onColumnResize(resizingColumn, newCalculatedWidth, resizingColumnIndex); + } + _this._rememberCalculatedWidth(resizingColumn, newCalculatedWidth); + _this.setState(tslib_1.__assign(tslib_1.__assign({}, _this._adjustColumns(_this.props, _this.state, true, resizingColumnIndex)), { version: {} })); + }; + /** + * Callback function when double clicked on the details header column resizer + * which will measure the column cells of all the active rows and resize the + * column to the max cell width. + * + * @param column - double clicked column definition + * @param columnIndex - double clicked column index + * TODO: min width 100 should be changed to const value and should be consistent with the + * value used on _onSizerMove method in DetailsHeader + */ + _this._onColumnAutoResized = function (column, columnIndex) { + var max = 0; + var count = 0; + var totalCount = Object.keys(_this._activeRows).length; + for (var key in _this._activeRows) { + if (_this._activeRows.hasOwnProperty(key)) { + var currentRow = _this._activeRows[key]; + currentRow.measureCell(columnIndex, function (width) { + max = Math.max(max, width); + count++; + if (count === totalCount) { + _this._onColumnResized(column, max, columnIndex); + } + }); + } + } + }; + /** + * Call back function when an element in FocusZone becomes active. It will translate it into item + * and call onActiveItemChanged callback if specified. + * + * @param row - element that became active in Focus Zone + * @param focus - event from Focus Zone + */ + _this._onActiveRowChanged = function (el, ev) { + var _a = _this.props, items = _a.items, onActiveItemChanged = _a.onActiveItemChanged; + if (!el) { + return; + } + // Check and assign index only if the event was raised from any DetailsRow element + if (el.getAttribute('data-item-index')) { + var index = Number(el.getAttribute('data-item-index')); + if (index >= 0) { + if (onActiveItemChanged) { + onActiveItemChanged(items[index], index, ev); + } + _this.setState({ + focusedItemIndex: index, + }); + } + } + }; + _this._onBlur = function (event) { + _this.setState({ + focusedItemIndex: -1, + }); + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this._async = new Utilities_1.Async(_this); + _this._activeRows = {}; + _this._columnOverrides = {}; + _this.state = { + focusedItemIndex: -1, + lastWidth: 0, + adjustedColumns: _this._getAdjustedColumns(props, undefined), + isSizing: false, + isCollapsed: props.groupProps && props.groupProps.isAllGroupsCollapsed, + isSomeGroupExpanded: props.groupProps && !props.groupProps.isAllGroupsCollapsed, + version: {}, + getDerivedStateFromProps: _this._getDerivedStateFromProps, + }; + (0, Utilities_1.warnMutuallyExclusive)(COMPONENT_NAME, props, { + selection: 'getKey', + }); + _this._selection = + props.selection || + new Selection_1.Selection({ + onSelectionChanged: undefined, + getKey: props.getKey, + selectionMode: props.selectionMode, + }); + if (!_this.props.disableSelectionZone) { + _this._selection.setItems(props.items, false); + } + _this._dragDropHelper = props.dragDropEvents + ? new DragDrop_1.DragDropHelper({ + selection: _this._selection, + minimumPixelsForDrag: props.minimumPixelsForDrag, + }) + : undefined; + _this._initialFocusedIndex = props.initialFocusedIndex; + return _this; + } + DetailsListBase.getDerivedStateFromProps = function (nextProps, previousState) { + return previousState.getDerivedStateFromProps(nextProps, previousState); + }; + DetailsListBase.prototype.scrollToIndex = function (index, measureItem, scrollToMode) { + this._list.current && this._list.current.scrollToIndex(index, measureItem, scrollToMode); + this._groupedList.current && this._groupedList.current.scrollToIndex(index, measureItem, scrollToMode); + }; + DetailsListBase.prototype.focusIndex = function (index, forceIntoFirstElement, measureItem, scrollToMode) { + if (forceIntoFirstElement === void 0) { forceIntoFirstElement = false; } + var item = this.props.items[index]; + if (item) { + this.scrollToIndex(index, measureItem, scrollToMode); + var itemKey = this._getItemKey(item, index); + var row = this._activeRows[itemKey]; + if (row) { + this._setFocusToRow(row, forceIntoFirstElement); + } + } + }; + DetailsListBase.prototype.getStartItemIndexInView = function () { + if (this._list && this._list.current) { + return this._list.current.getStartItemIndexInView(); + } + else if (this._groupedList && this._groupedList.current) { + return this._groupedList.current.getStartItemIndexInView(); + } + return 0; + }; + DetailsListBase.prototype.updateColumn = function (column, options) { + var _a, _b; + var NO_COLUMNS = []; + var _c = this.props, _d = _c.columns, columns = _d === void 0 ? NO_COLUMNS : _d, selectionMode = _c.selectionMode, checkboxVisibility = _c.checkboxVisibility, columnReorderOptions = _c.columnReorderOptions; + var width = options.width, newColumnIndex = options.newColumnIndex; + var index = columns.findIndex(function (col) { return col.key === column.key; }); + if (width) { + this._onColumnResized(column, width, index); + } + if (newColumnIndex !== undefined && columnReorderOptions) { + var isCheckboxColumnHidden = selectionMode === Selection_1.SelectionMode.none || checkboxVisibility === DetailsList_types_1.CheckboxVisibility.hidden; + var showCheckbox = checkboxVisibility !== DetailsList_types_1.CheckboxVisibility.hidden; + var columnIndex = (showCheckbox ? 2 : 1) + index; + var draggedIndex = isCheckboxColumnHidden ? columnIndex - 1 : columnIndex - 2; + var targetIndex = isCheckboxColumnHidden ? newColumnIndex - 1 : newColumnIndex - 2; + var frozenColumnCountFromStart = (_a = columnReorderOptions.frozenColumnCountFromStart) !== null && _a !== void 0 ? _a : 0; + var frozenColumnCountFromEnd = (_b = columnReorderOptions.frozenColumnCountFromEnd) !== null && _b !== void 0 ? _b : 0; + var isValidTargetIndex = targetIndex >= frozenColumnCountFromStart && targetIndex < columns.length - frozenColumnCountFromEnd; + if (isValidTargetIndex) { + if (columnReorderOptions.onColumnDrop) { + var dragDropDetails = { + draggedIndex: draggedIndex, + targetIndex: targetIndex, + }; + columnReorderOptions.onColumnDrop(dragDropDetails); + /* eslint-disable deprecation/deprecation */ + } + else if (columnReorderOptions.handleColumnReorder) { + columnReorderOptions.handleColumnReorder(draggedIndex, targetIndex); + /* eslint-enable deprecation/deprecation */ + } + } + } + }; + DetailsListBase.prototype.componentWillUnmount = function () { + if (this._dragDropHelper) { + // TODO If the DragDropHelper was passed via props, this will dispose it, which is incorrect behavior. + this._dragDropHelper.dispose(); + } + this._async.dispose(); + }; + DetailsListBase.prototype.componentDidUpdate = function (prevProps, prevState) { + this._notifyColumnsResized(); + if (this._initialFocusedIndex !== undefined) { + var item = this.props.items[this._initialFocusedIndex]; + if (item) { + var itemKey = this._getItemKey(item, this._initialFocusedIndex); + var row = this._activeRows[itemKey]; + if (row) { + this._setFocusToRowIfPending(row); + } + } + } + if (this.props.items !== prevProps.items && + this.props.items.length > 0 && + this.state.focusedItemIndex !== -1 && + !(0, Utilities_1.elementContains)(this._root.current, document.activeElement, false)) { + // Item set has changed and previously-focused item is gone. + // Set focus to item at index of previously-focused item if it is in range, + // else set focus to the last item. + var index = this.state.focusedItemIndex < this.props.items.length + ? this.state.focusedItemIndex + : this.props.items.length - 1; + var item = this.props.items[index]; + var itemKey = this._getItemKey(item, this.state.focusedItemIndex); + var row = this._activeRows[itemKey]; + if (row) { + this._setFocusToRow(row); + } + else { + this._initialFocusedIndex = index; + } + } + if (this.props.onDidUpdate) { + this.props.onDidUpdate(this); + } + }; + DetailsListBase.prototype.render = function () { + return (React.createElement(DetailsListInner, tslib_1.__assign({}, this.props, this.state, { selection: this._selection, dragDropHelper: this._dragDropHelper, rootRef: this._root, listRef: this._list, groupedListRef: this._groupedList, focusZoneRef: this._focusZone, headerRef: this._header, selectionZoneRef: this._selectionZone, onGroupExpandStateChanged: this._onGroupExpandStateChanged, onColumnIsSizingChanged: this._onColumnIsSizingChanged, onRowDidMount: this._onRowDidMount, onRowWillUnmount: this._onRowWillUnmount, onColumnResized: this._onColumnResized, onColumnAutoResized: this._onColumnAutoResized, onToggleCollapse: this._onToggleCollapse, onActiveRowChanged: this._onActiveRowChanged, onBlur: this._onBlur, onRenderDefaultRow: this._onRenderRow }))); + }; + DetailsListBase.prototype.forceUpdate = function () { + _super.prototype.forceUpdate.call(this); + this._forceListUpdates(); + }; + DetailsListBase.prototype._getGroupNestingDepth = function () { + var groups = this.props.groups; + var level = 0; + var groupsInLevel = groups; + while (groupsInLevel && groupsInLevel.length > 0) { + level++; + groupsInLevel = groupsInLevel[0].children; + } + return level; + }; + DetailsListBase.prototype._setFocusToRowIfPending = function (row) { + var itemIndex = row.props.itemIndex; + if (this._initialFocusedIndex !== undefined && itemIndex === this._initialFocusedIndex) { + this._setFocusToRow(row); + delete this._initialFocusedIndex; + } + }; + DetailsListBase.prototype._setFocusToRow = function (row, forceIntoFirstElement) { + if (forceIntoFirstElement === void 0) { forceIntoFirstElement = false; } + if (this._selectionZone.current) { + this._selectionZone.current.ignoreNextFocus(); + } + this._async.setTimeout(function () { + row.focus(forceIntoFirstElement); + }, 0); + }; + DetailsListBase.prototype._forceListUpdates = function () { + if (this._groupedList.current) { + this._groupedList.current.forceUpdate(); + } + if (this._list.current) { + this._list.current.forceUpdate(); + } + }; + DetailsListBase.prototype._notifyColumnsResized = function () { + this.state.adjustedColumns.forEach(function (column) { + if (column.onColumnResize) { + column.onColumnResize(column.currentWidth); + } + }); + }; + DetailsListBase.prototype._adjustColumns = function (newProps, previousState, forceUpdate, resizingColumnIndex) { + var adjustedColumns = this._getAdjustedColumns(newProps, previousState, forceUpdate, resizingColumnIndex); + var viewport = this.props.viewport; + var viewportWidth = viewport && viewport.width ? viewport.width : 0; + return tslib_1.__assign(tslib_1.__assign({}, previousState), { adjustedColumns: adjustedColumns, lastWidth: viewportWidth }); + }; + /** Returns adjusted columns, given the viewport size and layout mode. */ + DetailsListBase.prototype._getAdjustedColumns = function (newProps, previousState, forceUpdate, resizingColumnIndex) { + var _this = this; + var newItems = newProps.items, layoutMode = newProps.layoutMode, selectionMode = newProps.selectionMode, viewport = newProps.viewport; + var viewportWidth = viewport && viewport.width ? viewport.width : 0; + var newColumns = newProps.columns; + var columns = this.props ? this.props.columns : []; + var lastWidth = previousState ? previousState.lastWidth : -1; + var lastSelectionMode = previousState ? previousState.lastSelectionMode : undefined; + if (!forceUpdate && + lastWidth === viewportWidth && + lastSelectionMode === selectionMode && + (!columns || newColumns === columns)) { + return newColumns || []; + } + newColumns = newColumns || buildColumns(newItems, true); + var adjustedColumns; + if (layoutMode === DetailsList_types_1.DetailsListLayoutMode.fixedColumns) { + adjustedColumns = this._getFixedColumns(newColumns, viewportWidth, newProps); + // Preserve adjusted column calculated widths. + adjustedColumns.forEach(function (column) { + _this._rememberCalculatedWidth(column, column.calculatedWidth); + }); + } + else { + adjustedColumns = this._getJustifiedColumns(newColumns, viewportWidth, newProps); + adjustedColumns.forEach(function (column) { + _this._getColumnOverride(column.key).currentWidth = column.calculatedWidth; + }); + } + return adjustedColumns; + }; + /** Builds a set of columns based on the given columns mixed with the current overrides. */ + DetailsListBase.prototype._getFixedColumns = function (newColumns, viewportWidth, props) { + var _this = this; + var _a = this.props, _b = _a.selectionMode, selectionMode = _b === void 0 ? this._selection.mode : _b, checkboxVisibility = _a.checkboxVisibility, flexMargin = _a.flexMargin, skipViewportMeasures = _a.skipViewportMeasures; + var remainingWidth = viewportWidth - (flexMargin || 0); + var sumProportionalWidth = 0; + newColumns.forEach(function (col) { + if (skipViewportMeasures || !col.flexGrow) { + remainingWidth -= col.maxWidth || col.minWidth || MIN_COLUMN_WIDTH; + } + else { + remainingWidth -= col.minWidth || MIN_COLUMN_WIDTH; + sumProportionalWidth += col.flexGrow; + } + remainingWidth -= getPaddedWidth(col, props, true); + }); + var rowCheckWidth = selectionMode !== Selection_1.SelectionMode.none && checkboxVisibility !== DetailsList_types_1.CheckboxVisibility.hidden ? DetailsRowCheck_styles_1.CHECK_CELL_WIDTH : 0; + var groupExpandWidth = this._getGroupNestingDepth() * GroupSpacer_1.SPACER_WIDTH; + remainingWidth -= rowCheckWidth + groupExpandWidth; + var widthFraction = remainingWidth / sumProportionalWidth; + // Shrinks proportional columns to their max width and adds the remaining width to distribute to other columns. + if (!skipViewportMeasures) { + newColumns.forEach(function (column) { + var newColumn = tslib_1.__assign(tslib_1.__assign({}, column), _this._columnOverrides[column.key]); + if (newColumn.flexGrow && newColumn.maxWidth) { + var fullWidth = newColumn.flexGrow * widthFraction + newColumn.minWidth; + var shrinkWidth = fullWidth - newColumn.maxWidth; + if (shrinkWidth > 0) { + remainingWidth += shrinkWidth; + sumProportionalWidth -= (shrinkWidth / (fullWidth - newColumn.minWidth)) * newColumn.flexGrow; + } + } + }); + } + widthFraction = remainingWidth > 0 ? remainingWidth / sumProportionalWidth : 0; + return newColumns.map(function (column) { + var newColumn = tslib_1.__assign(tslib_1.__assign({}, column), _this._columnOverrides[column.key]); + // Delay computation until viewport width is available. + if (!skipViewportMeasures && newColumn.flexGrow && remainingWidth <= 0) { + return newColumn; + } + if (!newColumn.calculatedWidth) { + if (!skipViewportMeasures && newColumn.flexGrow) { + // Assigns the proportion of the remaining extra width after all columns have met minimum widths. + newColumn.calculatedWidth = newColumn.minWidth + newColumn.flexGrow * widthFraction; + newColumn.calculatedWidth = Math.min(newColumn.calculatedWidth, newColumn.maxWidth || Number.MAX_VALUE); + } + else { + newColumn.calculatedWidth = newColumn.maxWidth || newColumn.minWidth || MIN_COLUMN_WIDTH; + } + } + return newColumn; + }); + }; + /** Builds a set of columns to fix within the viewport width. */ + DetailsListBase.prototype._getJustifiedColumns = function (newColumns, viewportWidth, props) { + var _this = this; + var _a = props.selectionMode, selectionMode = _a === void 0 ? this._selection.mode : _a, checkboxVisibility = props.checkboxVisibility, skipViewportMeasures = props.skipViewportMeasures; + var rowCheckWidth = selectionMode !== Selection_1.SelectionMode.none && checkboxVisibility !== DetailsList_types_1.CheckboxVisibility.hidden ? DetailsRowCheck_styles_1.CHECK_CELL_WIDTH : 0; + var groupExpandWidth = this._getGroupNestingDepth() * GroupSpacer_1.SPACER_WIDTH; + var totalWidth = 0; // offset because we have one less inner padding. + var minimumWidth = 0; + var availableWidth = viewportWidth - (rowCheckWidth + groupExpandWidth); + var adjustedColumns = newColumns.map(function (column, i) { + var baseColumn = tslib_1.__assign(tslib_1.__assign({}, column), { calculatedWidth: column.minWidth || MIN_COLUMN_WIDTH }); + var newColumn = tslib_1.__assign(tslib_1.__assign({}, baseColumn), _this._columnOverrides[column.key]); + // eslint-disable-next-line deprecation/deprecation + if (!(baseColumn.isCollapsible || baseColumn.isCollapsable)) { + minimumWidth += getPaddedWidth(baseColumn, props); + } + totalWidth += getPaddedWidth(newColumn, props); + return newColumn; + }); + if (skipViewportMeasures) { + return adjustedColumns; + } + var lastIndex = adjustedColumns.length - 1; + // Shrink or remove collapsable columns. + while (lastIndex >= 0 && totalWidth > availableWidth) { + var column = adjustedColumns[lastIndex]; + var minWidth = column.minWidth || MIN_COLUMN_WIDTH; + var overflowWidth = totalWidth - availableWidth; + // eslint-disable-next-line deprecation/deprecation + if (column.calculatedWidth - minWidth >= overflowWidth || !(column.isCollapsible || column.isCollapsable)) { + var originalWidth = column.calculatedWidth; + if (minimumWidth < availableWidth) { + // Only adjust in cases where all the columns fit within the viewport + column.calculatedWidth = Math.max(column.calculatedWidth - overflowWidth, minWidth); + } + totalWidth -= originalWidth - column.calculatedWidth; + } + else { + totalWidth -= getPaddedWidth(column, props); + adjustedColumns.splice(lastIndex, 1); + } + lastIndex--; + } + // Then expand columns starting at the beginning, until we've filled the width. + for (var i = 0; i < adjustedColumns.length && totalWidth < availableWidth; i++) { + var column = adjustedColumns[i]; + var isLast = i === adjustedColumns.length - 1; + var overrides = this._columnOverrides[column.key]; + if (overrides && overrides.calculatedWidth && !isLast) { + continue; + } + var spaceLeft = availableWidth - totalWidth; + var increment = void 0; + if (isLast) { + increment = spaceLeft; + } + else { + var maxWidth = column.maxWidth; + var minWidth = column.minWidth || maxWidth || MIN_COLUMN_WIDTH; + increment = maxWidth ? Math.min(spaceLeft, maxWidth - minWidth) : spaceLeft; + } + column.calculatedWidth = column.calculatedWidth + increment; + totalWidth += increment; + } + return adjustedColumns; + }; + DetailsListBase.prototype._rememberCalculatedWidth = function (column, newCalculatedWidth) { + var overrides = this._getColumnOverride(column.key); + overrides.calculatedWidth = newCalculatedWidth; + overrides.currentWidth = newCalculatedWidth; + }; + DetailsListBase.prototype._getColumnOverride = function (key) { + return (this._columnOverrides[key] = this._columnOverrides[key] || {}); + }; + DetailsListBase.prototype._getItemKey = function (item, itemIndex) { + var getKey = this.props.getKey; + var itemKey = undefined; + if (item) { + itemKey = item.key; + } + if (getKey) { + itemKey = getKey(item, itemIndex); + } + if (!itemKey) { + itemKey = itemIndex; + } + return itemKey; + }; + DetailsListBase.defaultProps = { + layoutMode: DetailsList_types_1.DetailsListLayoutMode.justified, + selectionMode: Selection_1.SelectionMode.multiple, + constrainMode: DetailsList_types_1.ConstrainMode.horizontalConstrained, + checkboxVisibility: DetailsList_types_1.CheckboxVisibility.onHover, + isHeaderVisible: true, + compact: false, + useFastIcons: true, + }; + DetailsListBase = tslib_1.__decorate([ + withViewport_1.withViewport + ], DetailsListBase); + return DetailsListBase; +}(React.Component)); +exports.DetailsListBase = DetailsListBase; +function buildColumns(items, canResizeColumns, onColumnClick, sortedColumnKey, isSortedDescending, groupedColumnKey, isMultiline, columnActionsMode) { + var columns = []; + if (items && items.length) { + var firstItem = items[0]; + for (var propName in firstItem) { + if (firstItem.hasOwnProperty(propName)) { + columns.push({ + key: propName, + name: propName, + fieldName: propName, + minWidth: MIN_COLUMN_WIDTH, + maxWidth: 300, + isCollapsible: !!columns.length, + isMultiline: isMultiline === undefined ? false : isMultiline, + isSorted: sortedColumnKey === propName, + isSortedDescending: !!isSortedDescending, + isRowHeader: false, + columnActionsMode: columnActionsMode !== null && columnActionsMode !== void 0 ? columnActionsMode : DetailsList_types_1.ColumnActionsMode.clickable, + isResizable: canResizeColumns, + onColumnClick: onColumnClick, + isGrouped: groupedColumnKey === propName, + }); + } + } + } + return columns; +} +exports.buildColumns = buildColumns; +function getPaddedWidth(column, props, paddingOnly) { + var _a = props.cellStyleProps, cellStyleProps = _a === void 0 ? DetailsRow_styles_1.DEFAULT_CELL_STYLE_PROPS : _a; + return ((paddingOnly ? 0 : column.calculatedWidth) + + cellStyleProps.cellLeftPadding + + cellStyleProps.cellRightPadding + + (column.isPadded ? cellStyleProps.cellExtraRightPadding : 0)); +} +function getGroupNestingDepth(groups) { + var level = 0; + var groupsInLevel = groups; + while (groupsInLevel && groupsInLevel.length > 0) { + level++; + groupsInLevel = groupsInLevel[0].children; + } + return level; +} +function useGroupedDetailsListIndexMap(groups) { + return React.useMemo(function () { + var indexMap = {}; + if (groups) { + var rowCount = 1; + var numGroupHeaders = 1; + for (var _i = 0, groups_1 = groups; _i < groups_1.length; _i++) { + var group = groups_1[_i]; + var key = group.key; + indexMap[key] = { numOfGroupHeadersBeforeItem: numGroupHeaders, totalRowCount: rowCount }; + numGroupHeaders++; + rowCount += group.count + 1; + } + } + return indexMap; + }, [groups]); +} +//# sourceMappingURL=DetailsList.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DetailsList = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DetailsList_base_1 = __webpack_require__(/*! ./DetailsList.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.base.js"); +var DetailsList_styles_1 = __webpack_require__(/*! ./DetailsList.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.styles.js"); +exports.DetailsList = (0, Utilities_1.styled)(DetailsList_base_1.DetailsListBase, DetailsList_styles_1.getDetailsListStyles, undefined, { + scope: 'DetailsList', +}); +//# sourceMappingURL=DetailsList.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.styles.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.styles.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getDetailsListStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var GlobalClassNames = { + root: 'ms-DetailsList', + compact: 'ms-DetailsList--Compact', + contentWrapper: 'ms-DetailsList-contentWrapper', + headerWrapper: 'ms-DetailsList-headerWrapper', + isFixed: 'is-fixed', + isHorizontalConstrained: 'is-horizontalConstrained', + listCell: 'ms-List-cell', +}; +var getDetailsListStyles = function (props) { + var _a, _b; + var theme = props.theme, className = props.className, isHorizontalConstrained = props.isHorizontalConstrained, compact = props.compact, isFixed = props.isFixed; + var semanticColors = theme.semanticColors; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + root: [ + classNames.root, + theme.fonts.small, + { + position: 'relative', + color: semanticColors.listText, + selectors: (_a = {}, + _a["& .".concat(classNames.listCell)] = { + minHeight: 38, + wordBreak: 'break-word', + }, + _a), + }, + isFixed && classNames.isFixed, + compact && [ + classNames.compact, + { + selectors: (_b = {}, + _b[".".concat(classNames.listCell)] = { + minHeight: 32, + }, + _b), + }, + ], + isHorizontalConstrained && [ + classNames.isHorizontalConstrained, + { + overflowX: 'auto', + overflowY: 'visible', + WebkitOverflowScrolling: 'touch', + }, + ], + className, + ], + focusZone: [ + { + display: 'inline-block', + minWidth: '100%', + minHeight: 1, + }, + ], + headerWrapper: classNames.headerWrapper, + contentWrapper: classNames.contentWrapper, + }; +}; +exports.getDetailsListStyles = getDetailsListStyles; +//# sourceMappingURL=DetailsList.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.types.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.types.js ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CheckboxVisibility = exports.DetailsListLayoutMode = exports.ColumnDragEndLocation = exports.ConstrainMode = exports.ColumnActionsMode = void 0; +/** + * Enum to describe how a particular column header behaves. + * This is used to to specify the property `IColumn.columnActionsMode`. + * If `IColumn.columnActionsMode` is undefined, it's equivalent to `ColumnActionsMode.clickable`. + * {@docCategory DetailsList} + */ +var ColumnActionsMode; +(function (ColumnActionsMode) { + /** Renders the column header as disabled. */ + ColumnActionsMode[ColumnActionsMode["disabled"] = 0] = "disabled"; + /** Renders the column header as clickable. Default value. */ + ColumnActionsMode[ColumnActionsMode["clickable"] = 1] = "clickable"; + /** Renders the column header as clickable and displays the dropdown chevron. */ + ColumnActionsMode[ColumnActionsMode["hasDropdown"] = 2] = "hasDropdown"; +})(ColumnActionsMode = exports.ColumnActionsMode || (exports.ColumnActionsMode = {})); +/** + * {@docCategory DetailsList} + */ +var ConstrainMode; +(function (ConstrainMode) { + /** Lets the content grow which allows the page to manage scrolling. */ + ConstrainMode[ConstrainMode["unconstrained"] = 0] = "unconstrained"; + /** Constrains the list to the given layout space. */ + ConstrainMode[ConstrainMode["horizontalConstrained"] = 1] = "horizontalConstrained"; +})(ConstrainMode = exports.ConstrainMode || (exports.ConstrainMode = {})); +/** + * Enum to describe where the column has been dropped, after starting the drag + * {@docCategory DetailsList} + */ +var ColumnDragEndLocation; +(function (ColumnDragEndLocation) { + /** Drag ended outside of current list */ + ColumnDragEndLocation[ColumnDragEndLocation["outside"] = 0] = "outside"; + /** Drag ended within current list */ + ColumnDragEndLocation[ColumnDragEndLocation["surface"] = 1] = "surface"; + /** Drag ended on header */ + ColumnDragEndLocation[ColumnDragEndLocation["header"] = 2] = "header"; +})(ColumnDragEndLocation = exports.ColumnDragEndLocation || (exports.ColumnDragEndLocation = {})); +/** + * {@docCategory DetailsList} + */ +var DetailsListLayoutMode; +(function (DetailsListLayoutMode) { + /** + * Lets the user resize columns and makes not attempt to fit them. + */ + DetailsListLayoutMode[DetailsListLayoutMode["fixedColumns"] = 0] = "fixedColumns"; + /** + * Manages which columns are visible, tries to size them according to their min/max rules and drops + * off columns that can't fit and have isCollapsible set. + */ + DetailsListLayoutMode[DetailsListLayoutMode["justified"] = 1] = "justified"; +})(DetailsListLayoutMode = exports.DetailsListLayoutMode || (exports.DetailsListLayoutMode = {})); +/** + * {@docCategory DetailsList} + */ +var CheckboxVisibility; +(function (CheckboxVisibility) { + /** Visible on hover. */ + CheckboxVisibility[CheckboxVisibility["onHover"] = 0] = "onHover"; + /** Visible always. */ + CheckboxVisibility[CheckboxVisibility["always"] = 1] = "always"; + /** Hide checkboxes. */ + CheckboxVisibility[CheckboxVisibility["hidden"] = 2] = "hidden"; +})(CheckboxVisibility = exports.CheckboxVisibility || (exports.CheckboxVisibility = {})); +//# sourceMappingURL=DetailsList.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.base.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.base.js ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DetailsRowBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DetailsList_types_1 = __webpack_require__(/*! ./DetailsList.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.types.js"); +var DetailsRowCheck_1 = __webpack_require__(/*! ./DetailsRowCheck */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.js"); +var GroupSpacer_1 = __webpack_require__(/*! ../GroupedList/GroupSpacer */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupSpacer.js"); +var DetailsRowFields_1 = __webpack_require__(/*! ./DetailsRowFields */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowFields.js"); +var FocusZone_1 = __webpack_require__(/*! ../../FocusZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js"); +var Selection_1 = __webpack_require__(/*! ../../Selection */ "./node_modules/@fluentui/react/lib-commonjs/Selection.js"); +var Utilities_2 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Utilities_3 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var getClassNames = (0, Utilities_2.classNamesFunction)(); +var DEFAULT_DROPPING_CSS_CLASS = 'is-dropping'; +var NO_COLUMNS = []; +var DetailsRowBase = /** @class */ (function (_super) { + tslib_1.__extends(DetailsRowBase, _super); + function DetailsRowBase(props) { + var _this = _super.call(this, props) || this; + _this._root = React.createRef(); + _this._cellMeasurer = React.createRef(); + _this._focusZone = React.createRef(); + _this._onSelectionChanged = function () { + var selectionState = getSelectionState(_this.props); + if (!(0, Utilities_1.shallowCompare)(selectionState, _this.state.selectionState)) { + _this.setState({ selectionState: selectionState }); + } + }; + /** + * update isDropping state based on the input value, which is used to change style during drag and drop + * + * when change to true, that means drag enter. we will add default dropping class name + * or the custom dropping class name (return result from onDragEnter) to the root elemet. + * + * when change to false, that means drag leave. we will remove the dropping class name from root element. + * + * @param newValue - New isDropping state value + * @param event - The event trigger dropping state change which can be dragenter, dragleave etc + */ + _this._updateDroppingState = function (newValue, event) { + var isDropping = _this.state.isDropping; + var _a = _this.props, dragDropEvents = _a.dragDropEvents, item = _a.item; + if (!newValue) { + if (dragDropEvents.onDragLeave) { + dragDropEvents.onDragLeave(item, event); + } + } + else if (dragDropEvents.onDragEnter) { + _this._droppingClassNames = dragDropEvents.onDragEnter(item, event); + } + if (isDropping !== newValue) { + _this.setState({ isDropping: newValue }); + } + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this._events = new Utilities_1.EventGroup(_this); + _this.state = { + selectionState: getSelectionState(props), + columnMeasureInfo: undefined, + isDropping: false, + }; + _this._droppingClassNames = ''; + return _this; + } + DetailsRowBase.getDerivedStateFromProps = function (nextProps, previousState) { + return tslib_1.__assign(tslib_1.__assign({}, previousState), { selectionState: getSelectionState(nextProps) }); + }; + DetailsRowBase.prototype.componentDidMount = function () { + var _a = this.props, dragDropHelper = _a.dragDropHelper, selection = _a.selection, item = _a.item, onDidMount = _a.onDidMount; + if (dragDropHelper && this._root.current) { + this._dragDropSubscription = dragDropHelper.subscribe(this._root.current, this._events, this._getRowDragDropOptions()); + } + if (selection) { + this._events.on(selection, Selection_1.SELECTION_CHANGE, this._onSelectionChanged); + } + if (onDidMount && item) { + // If the item appears later, we should wait for it before calling this method. + this._onDidMountCalled = true; + onDidMount(this); + } + }; + DetailsRowBase.prototype.componentDidUpdate = function (previousProps) { + var state = this.state; + var _a = this.props, item = _a.item, onDidMount = _a.onDidMount; + var columnMeasureInfo = state.columnMeasureInfo; + if (this.props.itemIndex !== previousProps.itemIndex || + this.props.item !== previousProps.item || + this.props.dragDropHelper !== previousProps.dragDropHelper) { + if (this._dragDropSubscription) { + this._dragDropSubscription.dispose(); + delete this._dragDropSubscription; + } + if (this.props.dragDropHelper && this._root.current) { + this._dragDropSubscription = this.props.dragDropHelper.subscribe(this._root.current, this._events, this._getRowDragDropOptions()); + } + } + if (columnMeasureInfo && columnMeasureInfo.index >= 0 && this._cellMeasurer.current) { + var newWidth = this._cellMeasurer.current.getBoundingClientRect().width; + columnMeasureInfo.onMeasureDone(newWidth); + this.setState({ + columnMeasureInfo: undefined, + }); + } + if (item && onDidMount && !this._onDidMountCalled) { + this._onDidMountCalled = true; + onDidMount(this); + } + }; + DetailsRowBase.prototype.componentWillUnmount = function () { + var _a = this.props, item = _a.item, onWillUnmount = _a.onWillUnmount; + // Only call the onWillUnmount callback if we have an item. + if (onWillUnmount && item) { + onWillUnmount(this); + } + if (this._dragDropSubscription) { + this._dragDropSubscription.dispose(); + delete this._dragDropSubscription; + } + this._events.dispose(); + }; + DetailsRowBase.prototype.shouldComponentUpdate = function (nextProps, nextState) { + if (this.props.useReducedRowRenderer) { + var newSelectionState = getSelectionState(nextProps); + if (this.state.selectionState.isSelected !== newSelectionState.isSelected) { + return true; + } + return !(0, Utilities_1.shallowCompare)(this.props, nextProps); + } + else { + return true; + } + }; + DetailsRowBase.prototype.render = function () { + var _a; + var _b = this.props, className = _b.className, _c = _b.columns, columns = _c === void 0 ? NO_COLUMNS : _c, dragDropEvents = _b.dragDropEvents, item = _b.item, itemIndex = _b.itemIndex, id = _b.id, _d = _b.flatIndexOffset, flatIndexOffset = _d === void 0 ? 2 : _d, _e = _b.onRenderCheck, onRenderCheck = _e === void 0 ? this._onRenderCheck : _e, onRenderDetailsCheckbox = _b.onRenderDetailsCheckbox, onRenderItemColumn = _b.onRenderItemColumn, onRenderField = _b.onRenderField, getCellValueKey = _b.getCellValueKey, selectionMode = _b.selectionMode, checkboxVisibility = _b.checkboxVisibility, getRowAriaLabel = _b.getRowAriaLabel, getRowAriaDescription = _b.getRowAriaDescription, getRowAriaDescribedBy = _b.getRowAriaDescribedBy, isGridRow = _b.isGridRow, checkButtonAriaLabel = _b.checkButtonAriaLabel, checkboxCellClassName = _b.checkboxCellClassName, + /** Alias rowFieldsAs as RowFields and default to DetailsRowFields if rowFieldsAs does not exist */ + rowFieldsAs = _b.rowFieldsAs, selection = _b.selection, indentWidth = _b.indentWidth, enableUpdateAnimations = _b.enableUpdateAnimations, compact = _b.compact, theme = _b.theme, styles = _b.styles, cellsByColumn = _b.cellsByColumn, groupNestingDepth = _b.groupNestingDepth, _f = _b.useFastIcons, useFastIcons = _f === void 0 ? true : _f, cellStyleProps = _b.cellStyleProps, group = _b.group, focusZoneProps = _b.focusZoneProps, _g = _b.disabled, disabled = _g === void 0 ? false : _g; + var _h = this.state, columnMeasureInfo = _h.columnMeasureInfo, isDropping = _h.isDropping; + var _j = this.state.selectionState, _k = _j.isSelected, isSelected = _k === void 0 ? false : _k, _l = _j.isSelectionModal, isSelectionModal = _l === void 0 ? false : _l; + var isDraggable = dragDropEvents ? !!(dragDropEvents.canDrag && dragDropEvents.canDrag(item)) : undefined; + var droppingClassName = isDropping ? this._droppingClassNames || DEFAULT_DROPPING_CSS_CLASS : ''; + var ariaLabel = getRowAriaLabel ? getRowAriaLabel(item) : undefined; + var ariaRowDescription = getRowAriaDescription ? getRowAriaDescription(item) : undefined; + var ariaDescribedBy = getRowAriaDescribedBy ? getRowAriaDescribedBy(item) : undefined; + var canSelect = !!selection && selection.canSelectItem(item, itemIndex) && !disabled; + var isContentUnselectable = selectionMode === Selection_1.SelectionMode.multiple; + var showCheckbox = selectionMode !== Selection_1.SelectionMode.none && checkboxVisibility !== DetailsList_types_1.CheckboxVisibility.hidden; + var ariaSelected = selectionMode === Selection_1.SelectionMode.none ? undefined : isSelected; + var ariaPositionInSet = group ? itemIndex - group.startIndex + 1 : undefined; + var ariaSetSize = group ? group.count : undefined; + var focusZoneDirection = focusZoneProps ? focusZoneProps.direction : FocusZone_1.FocusZoneDirection.horizontal; + this._classNames = tslib_1.__assign(tslib_1.__assign({}, this._classNames), getClassNames(styles, { + theme: theme, + isSelected: isSelected, + canSelect: !isContentUnselectable, + anySelected: isSelectionModal, + checkboxCellClassName: checkboxCellClassName, + droppingClassName: droppingClassName, + className: className, + compact: compact, + enableUpdateAnimations: enableUpdateAnimations, + cellStyleProps: cellStyleProps, + disabled: disabled, + })); + var rowClassNames = { + isMultiline: this._classNames.isMultiline, + isRowHeader: this._classNames.isRowHeader, + cell: this._classNames.cell, + cellAnimation: this._classNames.cellAnimation, + cellPadded: this._classNames.cellPadded, + cellUnpadded: this._classNames.cellUnpadded, + fields: this._classNames.fields, + }; + // Only re-assign rowClassNames when classNames have changed. + // Otherwise, they will cause DetailsRowFields to unnecessarily + // re-render, see https://github.com/microsoft/fluentui/pull/8799. + // Refactor DetailsRowFields to generate own styles to remove need for this. + if (!(0, Utilities_1.shallowCompare)(this._rowClassNames || {}, rowClassNames)) { + this._rowClassNames = rowClassNames; + } + var RowFields = rowFieldsAs ? (0, Utilities_1.composeComponentAs)(rowFieldsAs, DetailsRowFields_1.DetailsRowFields) : DetailsRowFields_1.DetailsRowFields; + var rowFields = (React.createElement(RowFields, { rowClassNames: this._rowClassNames, rowHeaderId: "".concat(id, "-header"), cellsByColumn: cellsByColumn, columns: columns, item: item, itemIndex: itemIndex, isSelected: isSelected, columnStartIndex: (showCheckbox ? 1 : 0) + (groupNestingDepth ? 1 : 0), onRenderItemColumn: onRenderItemColumn, onRenderField: onRenderField, getCellValueKey: getCellValueKey, enableUpdateAnimations: enableUpdateAnimations, cellStyleProps: cellStyleProps })); + var defaultRole = 'row'; + var role = this.props.role ? this.props.role : defaultRole; + this._ariaRowDescriptionId = (0, Utilities_3.getId)('DetailsRow-description'); + // When the user does not specify any column is a row-header in the columns props, + // The aria-labelledby of the checkbox does not specify {id}-header. + var hasRowHeader = columns.some(function (column) { + return !!column.isRowHeader; + }); + var ariaLabelledby = "".concat(id, "-checkbox") + (hasRowHeader ? " ".concat(id, "-header") : ''); + // additional props for rows within a GroupedList + // these are needed for treegrid row semantics, but not grid row semantics + var groupedListRowProps = isGridRow + ? {} + : { + 'aria-level': (groupNestingDepth && groupNestingDepth + 1) || undefined, + 'aria-posinset': ariaPositionInSet, + 'aria-setsize': ariaSetSize, + }; + return (React.createElement(FocusZone_1.FocusZone, tslib_1.__assign({ "data-is-focusable": true }, (0, Utilities_1.getNativeProps)(this.props, Utilities_1.divProperties), (typeof isDraggable === 'boolean' + ? { + 'data-is-draggable': isDraggable, + draggable: isDraggable, + } + : {}), focusZoneProps, groupedListRowProps, { direction: focusZoneDirection, elementRef: this._root, componentRef: this._focusZone, role: role, "aria-label": ariaLabel, "aria-disabled": disabled || undefined, "aria-describedby": ariaRowDescription ? this._ariaRowDescriptionId : ariaDescribedBy, className: this._classNames.root, "data-selection-index": itemIndex, "data-selection-touch-invoke": true, "data-selection-disabled": (_a = this.props['data-selection-disabled']) !== null && _a !== void 0 ? _a : (disabled || undefined), "data-item-index": itemIndex, "aria-rowindex": ariaPositionInSet === undefined ? itemIndex + flatIndexOffset : undefined, "data-automationid": "DetailsRow", "aria-selected": ariaSelected, allowFocusRoot: true }), + ariaRowDescription ? (React.createElement("span", { key: "description", role: "presentation", hidden: true, id: this._ariaRowDescriptionId }, ariaRowDescription)) : null, + showCheckbox && (React.createElement("div", { role: "gridcell", "data-selection-toggle": true, className: this._classNames.checkCell }, onRenderCheck({ + id: id ? "".concat(id, "-checkbox") : undefined, + selected: isSelected, + selectionMode: selectionMode, + anySelected: isSelectionModal, + 'aria-label': checkButtonAriaLabel, + 'aria-labelledby': id ? ariaLabelledby : undefined, + canSelect: canSelect, + compact: compact, + className: this._classNames.check, + theme: theme, + isVisible: checkboxVisibility === DetailsList_types_1.CheckboxVisibility.always, + onRenderDetailsCheckbox: onRenderDetailsCheckbox, + useFastIcons: useFastIcons, + }))), + React.createElement(GroupSpacer_1.GroupSpacer, { indentWidth: indentWidth, role: "gridcell", count: groupNestingDepth === 0 ? -1 : groupNestingDepth }), + item && rowFields, + columnMeasureInfo && (React.createElement("span", { role: "presentation", className: (0, Utilities_1.css)(this._classNames.cellMeasurer, this._classNames.cell), ref: this._cellMeasurer }, + React.createElement(RowFields, { rowClassNames: this._rowClassNames, rowHeaderId: "".concat(id, "-header"), columns: [columnMeasureInfo.column], item: item, itemIndex: itemIndex, columnStartIndex: (showCheckbox ? 1 : 0) + (groupNestingDepth ? 1 : 0) + columns.length, onRenderItemColumn: onRenderItemColumn, getCellValueKey: getCellValueKey }))))); + }; + /** + * measure cell at index. and call the call back with the measured cell width when finish measure + * + * @param index - The cell index + * @param onMeasureDone - The call back function when finish measure + */ + DetailsRowBase.prototype.measureCell = function (index, onMeasureDone) { + var _a = this.props.columns, columns = _a === void 0 ? NO_COLUMNS : _a; + var column = tslib_1.__assign({}, columns[index]); + column.minWidth = 0; + column.maxWidth = 999999; + delete column.calculatedWidth; + this.setState({ + columnMeasureInfo: { + index: index, + column: column, + onMeasureDone: onMeasureDone, + }, + }); + }; + DetailsRowBase.prototype.focus = function (forceIntoFirstElement) { + var _a; + if (forceIntoFirstElement === void 0) { forceIntoFirstElement = false; } + return !!((_a = this._focusZone.current) === null || _a === void 0 ? void 0 : _a.focus(forceIntoFirstElement)); + }; + DetailsRowBase.prototype._onRenderCheck = function (props) { + return React.createElement(DetailsRowCheck_1.DetailsRowCheck, tslib_1.__assign({}, props)); + }; + DetailsRowBase.prototype._getRowDragDropOptions = function () { + var _a = this.props, item = _a.item, itemIndex = _a.itemIndex, dragDropEvents = _a.dragDropEvents, eventsToRegister = _a.eventsToRegister; + var options = { + eventMap: eventsToRegister, + selectionIndex: itemIndex, + context: { data: item, index: itemIndex }, + canDrag: dragDropEvents.canDrag, + canDrop: dragDropEvents.canDrop, + onDragStart: dragDropEvents.onDragStart, + updateDropState: this._updateDroppingState, + onDrop: dragDropEvents.onDrop, + onDragEnd: dragDropEvents.onDragEnd, + onDragOver: dragDropEvents.onDragOver, + }; + return options; + }; + return DetailsRowBase; +}(React.Component)); +exports.DetailsRowBase = DetailsRowBase; +function getSelectionState(props) { + var _a; + var itemIndex = props.itemIndex, selection = props.selection; + return { + isSelected: !!(selection === null || selection === void 0 ? void 0 : selection.isIndexSelected(itemIndex)), + isSelectionModal: !!((_a = selection === null || selection === void 0 ? void 0 : selection.isModal) === null || _a === void 0 ? void 0 : _a.call(selection)), + }; +} +//# sourceMappingURL=DetailsRow.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.js": +/*!****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.js ***! + \****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DetailsRow = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DetailsRow_base_1 = __webpack_require__(/*! ./DetailsRow.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.base.js"); +var DetailsRow_styles_1 = __webpack_require__(/*! ./DetailsRow.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js"); +exports.DetailsRow = (0, Utilities_1.styled)(DetailsRow_base_1.DetailsRowBase, DetailsRow_styles_1.getDetailsRowStyles, undefined, { + scope: 'DetailsRow', +}); +//# sourceMappingURL=DetailsRow.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getDetailsRowStyles = exports.DEFAULT_ROW_HEIGHTS = exports.DEFAULT_CELL_STYLE_PROPS = exports.DetailsRowGlobalClassNames = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Link_styles_1 = __webpack_require__(/*! ../../components/Link/Link.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Link/Link.styles.js"); +exports.DetailsRowGlobalClassNames = { + root: 'ms-DetailsRow', + // TODO: in Fabric 7.0 lowercase the 'Compact' for consistency across other components. + compact: 'ms-DetailsList--Compact', + cell: 'ms-DetailsRow-cell', + cellAnimation: 'ms-DetailsRow-cellAnimation', + cellCheck: 'ms-DetailsRow-cellCheck', + check: 'ms-DetailsRow-check', + cellMeasurer: 'ms-DetailsRow-cellMeasurer', + listCellFirstChild: 'ms-List-cell:first-child', + isContentUnselectable: 'is-contentUnselectable', + isSelected: 'is-selected', + isCheckVisible: 'is-check-visible', + isRowHeader: 'is-row-header', + fields: 'ms-DetailsRow-fields', +}; +var IsFocusableSelector = "[data-is-focusable='true']"; +exports.DEFAULT_CELL_STYLE_PROPS = { + cellLeftPadding: 12, + cellRightPadding: 8, + cellExtraRightPadding: 24, +}; +// Source of default row heights to share. +exports.DEFAULT_ROW_HEIGHTS = { + rowHeight: 42, + compactRowHeight: 32, +}; +// Constant values +var values = tslib_1.__assign(tslib_1.__assign({}, exports.DEFAULT_ROW_HEIGHTS), { rowVerticalPadding: 11, compactRowVerticalPadding: 6 }); +var getDetailsRowStyles = function (props) { + var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p; + var theme = props.theme, isSelected = props.isSelected, canSelect = props.canSelect, droppingClassName = props.droppingClassName, isCheckVisible = props.isCheckVisible, checkboxCellClassName = props.checkboxCellClassName, compact = props.compact, className = props.className, _q = props.cellStyleProps, cellStyleProps = _q === void 0 ? exports.DEFAULT_CELL_STYLE_PROPS : _q, enableUpdateAnimations = props.enableUpdateAnimations, disabled = props.disabled; + var palette = theme.palette, fonts = theme.fonts; + var neutralPrimary = palette.neutralPrimary, white = palette.white, neutralSecondary = palette.neutralSecondary, neutralLighter = palette.neutralLighter, neutralLight = palette.neutralLight, neutralDark = palette.neutralDark, neutralQuaternaryAlt = palette.neutralQuaternaryAlt; + var _r = theme.semanticColors, focusBorder = _r.focusBorder, focusedLinkColor = _r.linkHovered; + var classNames = (0, Styling_1.getGlobalClassNames)(exports.DetailsRowGlobalClassNames, theme); + var colors = { + // Default + defaultHeaderText: neutralPrimary, + defaultMetaText: neutralSecondary, + defaultBackground: white, + // Default Hover + defaultHoverHeaderText: neutralDark, + defaultHoverMetaText: neutralPrimary, + defaultHoverBackground: neutralLighter, + // Selected + selectedHeaderText: neutralDark, + selectedMetaText: neutralPrimary, + selectedBackground: neutralLight, + // Selected Hover + selectedHoverHeaderText: neutralDark, + selectedHoverMetaText: neutralPrimary, + selectedHoverBackground: neutralQuaternaryAlt, + // Focus + focusHeaderText: neutralDark, + focusMetaText: neutralPrimary, + focusBackground: neutralLight, + focusHoverBackground: neutralQuaternaryAlt, + }; + var rowHighContrastFocus = { + top: 2, + right: 2, + bottom: 2, + left: 2, + }; + // Selected row styles + var selectedStyles = [ + (0, Styling_1.getFocusStyle)(theme, { + inset: -1, + borderColor: focusBorder, + outlineColor: white, + highContrastStyle: rowHighContrastFocus, + pointerEvents: 'none', + }), + classNames.isSelected, + { + color: colors.selectedMetaText, + background: colors.selectedBackground, + borderBottom: "1px solid ".concat(white), + selectors: (_a = { + '&:before': { + position: 'absolute', + display: 'block', + top: -1, + height: 1, + bottom: 0, + left: 0, + right: 0, + content: '', + borderTop: "1px solid ".concat(white), + } + }, + _a[".".concat(classNames.cell, " > .").concat(Link_styles_1.GlobalClassNames.root)] = { + color: focusedLinkColor, + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + color: 'HighlightText', + }, + _b), + }, + // Selected State hover + _a['&:hover'] = { + background: colors.selectedHoverBackground, + color: colors.selectedHoverMetaText, + selectors: (_c = {}, + // Selected State hover meta cell + _c[Styling_1.HighContrastSelector] = { + background: 'Highlight', + selectors: (_d = {}, + _d[".".concat(classNames.cell)] = { + color: 'HighlightText', + }, + _d[".".concat(classNames.cell, " > .").concat(Link_styles_1.GlobalClassNames.root)] = { + forcedColorAdjust: 'none', + color: 'HighlightText', + }, + _d), + }, + // Selected State hover Header cell + _c[".".concat(classNames.isRowHeader)] = { + color: colors.selectedHoverHeaderText, + selectors: (_e = {}, + _e[Styling_1.HighContrastSelector] = { + color: 'HighlightText', + }, + _e), + }, + _c), + }, + // Focus state + _a['&:focus'] = { + background: colors.focusBackground, + selectors: (_f = {}, + // Selected State hover meta cell + _f[".".concat(classNames.cell)] = { + color: colors.focusMetaText, + selectors: (_g = {}, + _g[Styling_1.HighContrastSelector] = { + color: 'HighlightText', + selectors: { + '> a': { + color: 'HighlightText', + }, + }, + }, + _g), + }, + // Row header cell + _f[".".concat(classNames.isRowHeader)] = { + color: colors.focusHeaderText, + selectors: (_h = {}, + _h[Styling_1.HighContrastSelector] = { + color: 'HighlightText', + }, + _h), + }, + // Ensure high-contrast mode overrides default focus background + _f[Styling_1.HighContrastSelector] = { + background: 'Highlight', + }, + _f), + }, + _a[Styling_1.HighContrastSelector] = tslib_1.__assign(tslib_1.__assign({ background: 'Highlight', color: 'HighlightText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), { selectors: { + a: { + color: 'HighlightText', + }, + } }), + // Focus and hover state + _a['&:focus:hover'] = { + background: colors.focusHoverBackground, + }, + _a), + }, + ]; + var cannotSelectStyles = [ + classNames.isContentUnselectable, + { + userSelect: 'none', + cursor: 'default', + }, + ]; + var rootCompactStyles = { + minHeight: values.compactRowHeight, + border: 0, + }; + var cellCompactStyles = { + minHeight: values.compactRowHeight, + paddingTop: values.compactRowVerticalPadding, + paddingBottom: values.compactRowVerticalPadding, + paddingLeft: "".concat(cellStyleProps.cellLeftPadding, "px"), + }; + var defaultCellStyles = [ + (0, Styling_1.getFocusStyle)(theme, { inset: -1 }), + classNames.cell, + { + display: 'inline-block', + position: 'relative', + boxSizing: 'border-box', + minHeight: values.rowHeight, + verticalAlign: 'top', + whiteSpace: 'nowrap', + overflow: 'hidden', + textOverflow: 'ellipsis', + paddingTop: values.rowVerticalPadding, + paddingBottom: values.rowVerticalPadding, + paddingLeft: "".concat(cellStyleProps.cellLeftPadding, "px"), + selectors: (_j = { + '& > button': { + maxWidth: '100%', + } + }, + _j[IsFocusableSelector] = (0, Styling_1.getFocusStyle)(theme, { inset: -1, borderColor: neutralSecondary, outlineColor: white }), + _j), + }, + isSelected && { + selectors: (_k = {}, + _k[Styling_1.HighContrastSelector] = tslib_1.__assign({ background: 'Highlight', color: 'HighlightText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _k), + }, + compact && cellCompactStyles, + disabled && { opacity: 0.5 }, + ]; + return { + root: [ + classNames.root, + Styling_1.AnimationClassNames.fadeIn400, + droppingClassName, + theme.fonts.small, + isCheckVisible && classNames.isCheckVisible, + (0, Styling_1.getFocusStyle)(theme, { borderColor: focusBorder, outlineColor: white }), + { + borderBottom: "1px solid ".concat(neutralLighter), + background: colors.defaultBackground, + color: colors.defaultMetaText, + // This ensures that the row always tries to consume is minimum width and does not compress. + display: 'inline-flex', + minWidth: '100%', + minHeight: values.rowHeight, + whiteSpace: 'nowrap', + padding: 0, + boxSizing: 'border-box', + verticalAlign: 'top', + textAlign: 'left', + selectors: (_l = {}, + _l[".".concat(classNames.listCellFirstChild, " &:before")] = { + display: 'none', + }, + _l['&:hover'] = { + background: colors.defaultHoverBackground, + color: colors.defaultHoverMetaText, + selectors: (_m = {}, + _m[".".concat(classNames.isRowHeader)] = { + color: colors.defaultHoverHeaderText, + }, + _m[".".concat(classNames.cell, " > .").concat(Link_styles_1.GlobalClassNames.root)] = { + color: focusedLinkColor, + }, + _m), + }, + _l["&:hover .".concat(classNames.check)] = { + opacity: 1, + }, + _l[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus .").concat(classNames.check)] = { + opacity: 1, + }, + _l['.ms-GroupSpacer'] = { + flexShrink: 0, + flexGrow: 0, + }, + _l), + }, + isSelected && selectedStyles, + !canSelect && cannotSelectStyles, + compact && rootCompactStyles, + className, + ], + cellUnpadded: { + paddingRight: "".concat(cellStyleProps.cellRightPadding, "px"), + }, + cellPadded: { + paddingRight: "".concat(cellStyleProps.cellExtraRightPadding + cellStyleProps.cellRightPadding, "px"), + selectors: (_o = {}, + _o["&.".concat(classNames.cellCheck)] = { + paddingRight: 0, + }, + _o), + }, + cell: defaultCellStyles, + cellAnimation: enableUpdateAnimations && Styling_1.AnimationStyles.slideLeftIn40, + cellMeasurer: [ + classNames.cellMeasurer, + { + overflow: 'visible', + whiteSpace: 'nowrap', + }, + ], + checkCell: [ + defaultCellStyles, + classNames.cellCheck, + checkboxCellClassName, + { + padding: 0, + // Ensure that the check cell covers the top border of the cell. + // This ensures the click target does not leave a spot which would + // cause other items to be deselected. + paddingTop: 1, + marginTop: -1, + flexShrink: 0, + }, + ], + fields: [ + classNames.fields, + { + display: 'flex', + alignItems: 'stretch', + }, + ], + isRowHeader: [ + classNames.isRowHeader, + { + color: colors.defaultHeaderText, + fontSize: fonts.medium.fontSize, + }, + isSelected && { + color: colors.selectedHeaderText, + fontWeight: Styling_1.FontWeights.semibold, + selectors: (_p = {}, + _p[Styling_1.HighContrastSelector] = { + color: 'HighlightText', + }, + _p), + }, + ], + isMultiline: [ + defaultCellStyles, + { + whiteSpace: 'normal', + wordBreak: 'break-word', + textOverflow: 'clip', + }, + ], + check: [classNames.check], + }; +}; +exports.getDetailsRowStyles = getDetailsRowStyles; +//# sourceMappingURL=DetailsRow.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.types.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.types.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DetailsRow.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.js ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DetailsRowCheck = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Check_1 = __webpack_require__(/*! ../../Check */ "./node_modules/@fluentui/react/lib-commonjs/Check.js"); +var DetailsRowCheck_styles_1 = __webpack_require__(/*! ./DetailsRowCheck.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.styles.js"); +var Selection_1 = __webpack_require__(/*! ../../Selection */ "./node_modules/@fluentui/react/lib-commonjs/Selection.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var DetailsRowCheckBase = function (props) { + var _a = props.isVisible, isVisible = _a === void 0 ? false : _a, _b = props.canSelect, canSelect = _b === void 0 ? false : _b, _c = props.anySelected, anySelected = _c === void 0 ? false : _c, _d = props.selected, selected = _d === void 0 ? false : _d, selectionMode = props.selectionMode, _e = props.isHeader, isHeader = _e === void 0 ? false : _e, className = props.className, checkClassName = props.checkClassName, styles = props.styles, theme = props.theme, compact = props.compact, onRenderDetailsCheckbox = props.onRenderDetailsCheckbox, _f = props.useFastIcons, useFastIcons = _f === void 0 ? true : _f, // must be removed from buttonProps + buttonProps = tslib_1.__rest(props, ["isVisible", "canSelect", "anySelected", "selected", "selectionMode", "isHeader", "className", "checkClassName", "styles", "theme", "compact", "onRenderDetailsCheckbox", "useFastIcons"]); + var defaultCheckboxRender = useFastIcons ? _fastDefaultCheckboxRender : _defaultCheckboxRender; + var onRenderCheckbox = onRenderDetailsCheckbox + ? (0, Utilities_1.composeRenderFunction)(onRenderDetailsCheckbox, defaultCheckboxRender) + : defaultCheckboxRender; + var classNames = getClassNames(styles, { + theme: theme, + canSelect: canSelect, + selected: selected, + anySelected: anySelected, + className: className, + isHeader: isHeader, + isVisible: isVisible, + compact: compact, + }); + var detailsCheckboxProps = { + checked: selected, + theme: theme, + }; + var divProps = (0, Utilities_1.getNativeElementProps)('div', buttonProps, ['aria-label', 'aria-labelledby', 'aria-describedby']); + var checkRole = selectionMode === Selection_1.SelectionMode.single ? 'radio' : 'checkbox'; + return canSelect ? (React.createElement("div", tslib_1.__assign({}, buttonProps, { role: checkRole, + // eslint-disable-next-line deprecation/deprecation + className: (0, Utilities_1.css)(classNames.root, classNames.check), "aria-checked": selected, "data-selection-toggle": true, "data-automationid": "DetailsRowCheck", tabIndex: -1 }), onRenderCheckbox(detailsCheckboxProps))) : ( + // eslint-disable-next-line deprecation/deprecation + React.createElement("div", tslib_1.__assign({}, divProps, { className: (0, Utilities_1.css)(classNames.root, classNames.check) }))); +}; +var FastCheck = React.memo(function (props) { + return React.createElement(Check_1.Check, { theme: props.theme, checked: props.checked, className: props.className, useFastIcons: true }); +}); +function _defaultCheckboxRender(checkboxProps) { + return React.createElement(Check_1.Check, { checked: checkboxProps.checked }); +} +function _fastDefaultCheckboxRender(checkboxProps) { + return React.createElement(FastCheck, { theme: checkboxProps.theme, checked: checkboxProps.checked }); +} +exports.DetailsRowCheck = (0, Utilities_1.styled)(DetailsRowCheckBase, DetailsRowCheck_styles_1.getDetailsRowCheckStyles, undefined, { scope: 'DetailsRowCheck' }, true); +//# sourceMappingURL=DetailsRowCheck.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.styles.js": +/*!****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.styles.js ***! + \****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getDetailsRowCheckStyles = exports.CHECK_CELL_WIDTH = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var DetailsRow_styles_1 = __webpack_require__(/*! ./DetailsRow.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js"); +var DetailsHeader_styles_1 = __webpack_require__(/*! ./DetailsHeader.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.styles.js"); +var Check_styles_1 = __webpack_require__(/*! ../../components/Check/Check.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Check/Check.styles.js"); +var GlobalClassNames = { + root: 'ms-DetailsRow-check', + isDisabled: 'ms-DetailsRow-check--isDisabled', + isHeader: 'ms-DetailsRow-check--isHeader', +}; +exports.CHECK_CELL_WIDTH = 48; +var getDetailsRowCheckStyles = function (props) { + var theme = props.theme, className = props.className, isHeader = props.isHeader, selected = props.selected, anySelected = props.anySelected, canSelect = props.canSelect, compact = props.compact, isVisible = props.isVisible; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + var rowHeight = DetailsRow_styles_1.DEFAULT_ROW_HEIGHTS.rowHeight, compactRowHeight = DetailsRow_styles_1.DEFAULT_ROW_HEIGHTS.compactRowHeight; + var height = isHeader ? DetailsHeader_styles_1.HEADER_HEIGHT : compact ? compactRowHeight : rowHeight; + var isCheckVisible = isVisible || selected || anySelected; + return { + root: [classNames.root, className], + check: [ + !canSelect && classNames.isDisabled, + isHeader && classNames.isHeader, + (0, Styling_1.getFocusStyle)(theme), + theme.fonts.small, + Check_styles_1.CheckGlobalClassNames.checkHost, + { + display: 'flex', + alignItems: 'center', + justifyContent: 'center', + cursor: 'default', + boxSizing: 'border-box', + verticalAlign: 'top', + background: 'none', + backgroundColor: 'transparent', + border: 'none', + opacity: isCheckVisible ? 1 : 0, + height: height, + width: exports.CHECK_CELL_WIDTH, + padding: 0, + margin: 0, + }, + ], + isDisabled: [], + }; +}; +exports.getDetailsRowCheckStyles = getDetailsRowCheckStyles; +//# sourceMappingURL=DetailsRowCheck.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.types.js": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.types.js ***! + \***************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DetailsRowCheck.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowFields.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowFields.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DetailsRowFields = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DetailsRow_styles_1 = __webpack_require__(/*! ./DetailsRow.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js"); +var getCellText = function (item, column) { + var value = item && column && column.fieldName ? item[column.fieldName] : ''; + if (value === null || value === undefined) { + value = ''; + } + if (typeof value === 'boolean') { + return value.toString(); + } + return value; +}; +/** + * Component for rendering a row's cells in a `DetailsList`. + * + * {@docCategory DetailsList} + */ +var DetailsRowFields = function (props) { + var columns = props.columns, rowClassNames = props.rowClassNames, _a = props.cellStyleProps, cellStyleProps = _a === void 0 ? DetailsRow_styles_1.DEFAULT_CELL_STYLE_PROPS : _a, item = props.item, itemIndex = props.itemIndex, isSelected = props.isSelected, onRenderItemColumn = props.onRenderItemColumn, getCellValueKey = props.getCellValueKey, propsOnRenderField = props.onRenderField, cellsByColumn = props.cellsByColumn, enableUpdateAnimations = props.enableUpdateAnimations, rowHeaderId = props.rowHeaderId; + var cellValueKeysRef = React.useRef(); + var cellValueKeys = cellValueKeysRef.current || (cellValueKeysRef.current = {}); + var defaultOnRenderField = React.useCallback(function (fieldProps) { + var column = fieldProps.column, cellValueKey = fieldProps.cellValueKey, className = fieldProps.className, onRender = fieldProps.onRender, fieldItem = fieldProps.item, fieldItemIndex = fieldProps.itemIndex; + var width = typeof column.calculatedWidth === 'undefined' + ? 'auto' + : column.calculatedWidth + + cellStyleProps.cellLeftPadding + + cellStyleProps.cellRightPadding + + (column.isPadded ? cellStyleProps.cellExtraRightPadding : 0); + var key = "".concat(column.key).concat(cellValueKey !== undefined ? "-".concat(cellValueKey) : ''); + return (React.createElement("div", { key: key, id: column.isRowHeader ? rowHeaderId : undefined, role: column.isRowHeader ? 'rowheader' : 'gridcell', className: (0, Utilities_1.css)(column.className, column.isMultiline && rowClassNames.isMultiline, column.isRowHeader && rowClassNames.isRowHeader, rowClassNames.cell, column.isPadded ? rowClassNames.cellPadded : rowClassNames.cellUnpadded, className), style: { width: width }, "data-automationid": "DetailsRowCell", "data-automation-key": column.key }, onRender(fieldItem, fieldItemIndex, column))); + }, [rowClassNames, cellStyleProps, rowHeaderId]); + return (React.createElement("div", { className: rowClassNames.fields, "data-automationid": "DetailsRowFields", role: "presentation" }, columns.map(function (column) { + var _a = column.getValueKey, getValueKey = _a === void 0 ? getCellValueKey : _a; + var onRender = (cellsByColumn && column.key in cellsByColumn && (function () { return cellsByColumn[column.key]; })) || + column.onRender || + onRenderItemColumn || + defaultOnRender; + var onRenderField = defaultOnRenderField; + if (column.onRenderField) { + onRenderField = (0, Utilities_1.composeRenderFunction)(column.onRenderField, onRenderField); + } + if (propsOnRenderField) { + onRenderField = (0, Utilities_1.composeRenderFunction)(propsOnRenderField, onRenderField); + } + var previousValueKey = cellValueKeys[column.key]; + var cellValueKey = enableUpdateAnimations && getValueKey ? getValueKey(item, itemIndex, column) : undefined; + var showAnimation = false; + if (cellValueKey !== undefined && previousValueKey !== undefined && cellValueKey !== previousValueKey) { + showAnimation = true; + } + cellValueKeys[column.key] = cellValueKey; + return onRenderField({ + item: item, + itemIndex: itemIndex, + isSelected: isSelected, + column: column, + cellValueKey: cellValueKey, + className: showAnimation ? rowClassNames.cellAnimation : undefined, + onRender: onRender, + }); + }))); +}; +exports.DetailsRowFields = DetailsRowFields; +function defaultOnRender(item, index, column) { + if (!item || !column) { + return null; + } + return getCellText(item, column); +} +//# sourceMappingURL=DetailsRowFields.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowFields.types.js": +/*!****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowFields.types.js ***! + \****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DetailsRowFields.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.base.js": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.base.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ShimmeredDetailsListBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Selection_1 = __webpack_require__(/*! ../../Selection */ "./node_modules/@fluentui/react/lib-commonjs/Selection.js"); +var DetailsList_1 = __webpack_require__(/*! ./DetailsList */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.js"); +var Shimmer_1 = __webpack_require__(/*! ../../Shimmer */ "./node_modules/@fluentui/react/lib-commonjs/Shimmer.js"); +var DetailsList_types_1 = __webpack_require__(/*! ./DetailsList.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.types.js"); +var DetailsRow_styles_1 = __webpack_require__(/*! ./DetailsRow.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var SHIMMER_INITIAL_ITEMS = 10; +var DEFAULT_SHIMMER_HEIGHT = 7; +var SHIMMER_LINE_VS_CELL_WIDTH_RATIO = 0.95; +var ShimmeredDetailsListBase = /** @class */ (function (_super) { + tslib_1.__extends(ShimmeredDetailsListBase, _super); + function ShimmeredDetailsListBase(props) { + var _this = _super.call(this, props) || this; + _this._onRenderShimmerPlaceholder = function (index, rowProps) { + var onRenderCustomPlaceholder = _this.props.onRenderCustomPlaceholder; + var placeholderElements = onRenderCustomPlaceholder + ? onRenderCustomPlaceholder(rowProps, index, _this._renderDefaultShimmerPlaceholder) + : _this._renderDefaultShimmerPlaceholder(rowProps); + return React.createElement(Shimmer_1.Shimmer, { customElementsGroup: placeholderElements }); + }; + _this._renderDefaultShimmerPlaceholder = function (rowProps) { + var columns = rowProps.columns, compact = rowProps.compact, selectionMode = rowProps.selectionMode, checkboxVisibility = rowProps.checkboxVisibility, _a = rowProps.cellStyleProps, cellStyleProps = _a === void 0 ? DetailsRow_styles_1.DEFAULT_CELL_STYLE_PROPS : _a; + var rowHeight = DetailsRow_styles_1.DEFAULT_ROW_HEIGHTS.rowHeight, compactRowHeight = DetailsRow_styles_1.DEFAULT_ROW_HEIGHTS.compactRowHeight; + // 1px to take into account the border-bottom of DetailsRow. + var gapHeight = compact ? compactRowHeight : rowHeight + 1; + var shimmerElementsRow = []; + var showCheckbox = selectionMode !== Selection_1.SelectionMode.none && checkboxVisibility !== DetailsList_types_1.CheckboxVisibility.hidden; + if (showCheckbox) { + shimmerElementsRow.push(React.createElement(Shimmer_1.ShimmerElementsGroup, { key: 'checkboxGap', shimmerElements: [{ type: Shimmer_1.ShimmerElementType.gap, width: '40px', height: gapHeight }] })); + } + columns.forEach(function (column, columnIdx) { + var shimmerElements = []; + var groupWidth = cellStyleProps.cellLeftPadding + + cellStyleProps.cellRightPadding + + column.calculatedWidth + + (column.isPadded ? cellStyleProps.cellExtraRightPadding : 0); + shimmerElements.push({ + type: Shimmer_1.ShimmerElementType.gap, + width: cellStyleProps.cellLeftPadding, + height: gapHeight, + }); + if (column.isIconOnly) { + shimmerElements.push({ + type: Shimmer_1.ShimmerElementType.line, + width: column.calculatedWidth, + height: column.calculatedWidth, + }); + shimmerElements.push({ + type: Shimmer_1.ShimmerElementType.gap, + width: cellStyleProps.cellRightPadding, + height: gapHeight, + }); + } + else { + shimmerElements.push({ + type: Shimmer_1.ShimmerElementType.line, + width: column.calculatedWidth * SHIMMER_LINE_VS_CELL_WIDTH_RATIO, + height: DEFAULT_SHIMMER_HEIGHT, + }); + shimmerElements.push({ + type: Shimmer_1.ShimmerElementType.gap, + width: cellStyleProps.cellRightPadding + + (column.calculatedWidth - column.calculatedWidth * SHIMMER_LINE_VS_CELL_WIDTH_RATIO) + + (column.isPadded ? cellStyleProps.cellExtraRightPadding : 0), + height: gapHeight, + }); + } + shimmerElementsRow.push(React.createElement(Shimmer_1.ShimmerElementsGroup, { key: columnIdx, width: "".concat(groupWidth, "px"), shimmerElements: shimmerElements })); + }); + // When resizing the window from narrow to wider, we need to cover the exposed Shimmer wave + // until the column resizing logic is done. + shimmerElementsRow.push(React.createElement(Shimmer_1.ShimmerElementsGroup, { key: 'endGap', width: '100%', shimmerElements: [{ type: Shimmer_1.ShimmerElementType.gap, width: '100%', height: gapHeight }] })); + return React.createElement("div", { style: { display: 'flex' } }, shimmerElementsRow); + }; + _this._shimmerItems = props.shimmerLines ? new Array(props.shimmerLines) : new Array(SHIMMER_INITIAL_ITEMS); + return _this; + } + ShimmeredDetailsListBase.prototype.render = function () { + var _a = this.props, detailsListStyles = _a.detailsListStyles, enableShimmer = _a.enableShimmer, items = _a.items, listProps = _a.listProps, onRenderCustomPlaceholder = _a.onRenderCustomPlaceholder, removeFadingOverlay = _a.removeFadingOverlay, shimmerLines = _a.shimmerLines, styles = _a.styles, theme = _a.theme, ariaLabelForGrid = _a.ariaLabelForGrid, ariaLabelForShimmer = _a.ariaLabelForShimmer, restProps = tslib_1.__rest(_a, ["detailsListStyles", "enableShimmer", "items", "listProps", "onRenderCustomPlaceholder", "removeFadingOverlay", "shimmerLines", "styles", "theme", "ariaLabelForGrid", "ariaLabelForShimmer"]); + var listClassName = listProps && listProps.className; + this._classNames = getClassNames(styles, { + theme: theme, + }); + var newListProps = tslib_1.__assign(tslib_1.__assign({}, listProps), { + // Adds to the optional listProp className a fading out overlay className only when `enableShimmer` toggled on + // and the overlay is not disabled by `removeFadingOverlay` prop. + className: enableShimmer && !removeFadingOverlay ? (0, Utilities_1.css)(this._classNames.root, listClassName) : listClassName }); + return (React.createElement(DetailsList_1.DetailsList, tslib_1.__assign({}, restProps, { styles: detailsListStyles, items: enableShimmer ? this._shimmerItems : items, isPlaceholderData: enableShimmer, ariaLabelForGrid: (enableShimmer && ariaLabelForShimmer) || ariaLabelForGrid, onRenderMissingItem: this._onRenderShimmerPlaceholder, listProps: newListProps }))); + }; + return ShimmeredDetailsListBase; +}(React.Component)); +exports.ShimmeredDetailsListBase = ShimmeredDetailsListBase; +//# sourceMappingURL=ShimmeredDetailsList.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.js": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.js ***! + \**************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ShimmeredDetailsList = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var ShimmeredDetailsList_base_1 = __webpack_require__(/*! ./ShimmeredDetailsList.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.base.js"); +var ShimmeredDetailsList_styles_1 = __webpack_require__(/*! ./ShimmeredDetailsList.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.styles.js"); +exports.ShimmeredDetailsList = (0, Utilities_1.styled)(ShimmeredDetailsList_base_1.ShimmeredDetailsListBase, ShimmeredDetailsList_styles_1.getShimmeredDetailsListStyles, undefined, { scope: 'ShimmeredDetailsList' }); +//# sourceMappingURL=ShimmeredDetailsList.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.styles.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.styles.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getShimmeredDetailsListStyles = void 0; +var getShimmeredDetailsListStyles = function (props) { + var theme = props.theme; + var palette = theme.palette; + return { + root: { + position: 'relative', + selectors: { + ':after': { + content: '""', + position: 'absolute', + top: 0, + right: 0, + bottom: 0, + left: 0, + // eslint-disable-next-line @fluentui/max-len + backgroundImage: "linear-gradient(to bottom, transparent 30%, ".concat(palette.whiteTranslucent40, " 65%,").concat(palette.white, " 100%)"), + }, + }, + }, + }; +}; +exports.getShimmeredDetailsListStyles = getShimmeredDetailsListStyles; +//# sourceMappingURL=ShimmeredDetailsList.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.types.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/ShimmeredDetailsList.types.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=ShimmeredDetailsList.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/index.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/index.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ../../Selection */ "./node_modules/@fluentui/react/lib-commonjs/Selection.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ../GroupedList/GroupedList.types */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupedList.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsHeader */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsHeader.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsHeader.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.styles.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsHeader.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsHeader.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsList */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsList.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsList.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.styles.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsList.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsList.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsRow */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsRow.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsRow.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsRow.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsRowCheck */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsRowCheck.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.styles.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsRowCheck.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsRowFields */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowFields.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsRowFields.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowFields.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsFooter.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsFooter.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsColumn */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsColumn.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsColumn.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.styles.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DetailsColumn.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsColumn.types.js"), exports); +// ShimmeredDetailsList is not exported here as it is exported from ../ShimmeredDetailsList.ts +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.base.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.base.js ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DialogBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DialogContent_types_1 = __webpack_require__(/*! ./DialogContent.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.types.js"); +var Modal_1 = __webpack_require__(/*! ../../Modal */ "./node_modules/@fluentui/react/lib-commonjs/Modal.js"); +var ResponsiveMode_1 = __webpack_require__(/*! ../../ResponsiveMode */ "./node_modules/@fluentui/react/lib-commonjs/ResponsiveMode.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var DialogContent_1 = __webpack_require__(/*! ./DialogContent */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.js"); +var DefaultModalProps = { + isDarkOverlay: false, + isBlocking: false, + className: '', + containerClassName: '', + topOffsetFixed: false, + enableAriaHiddenSiblings: true, +}; +var DefaultDialogContentProps = { + type: DialogContent_types_1.DialogType.normal, + className: '', + topButtonsProps: [], +}; +// eslint-disable-next-line deprecation/deprecation +var DialogBase = /** @class */ (function (_super) { + tslib_1.__extends(DialogBase, _super); + function DialogBase(props) { + var _this = _super.call(this, props) || this; + _this._getSubTextId = function () { + // eslint-disable-next-line deprecation/deprecation + var _a = _this.props, ariaDescribedById = _a.ariaDescribedById, modalProps = _a.modalProps, dialogContentProps = _a.dialogContentProps, subText = _a.subText; + var id = (modalProps && modalProps.subtitleAriaId) || ariaDescribedById; + if (!id) { + id = ((dialogContentProps && dialogContentProps.subText) || subText) && _this._defaultSubTextId; + } + return id; + }; + _this._getTitleTextId = function () { + // eslint-disable-next-line deprecation/deprecation + var _a = _this.props, ariaLabelledById = _a.ariaLabelledById, modalProps = _a.modalProps, dialogContentProps = _a.dialogContentProps, title = _a.title; + var id = (modalProps && modalProps.titleAriaId) || ariaLabelledById; + if (!id) { + id = ((dialogContentProps && dialogContentProps.title) || title) && _this._defaultTitleTextId; + } + return id; + }; + _this._id = (0, Utilities_1.getId)('Dialog'); + _this._defaultTitleTextId = _this._id + '-title'; + _this._defaultSubTextId = _this._id + '-subText'; + if (true) { + (0, Utilities_1.warnDeprecations)('Dialog', props, { + isOpen: 'hidden', + type: 'dialogContentProps.type', + subText: 'dialogContentProps.subText', + contentClassName: 'dialogContentProps.className', + topButtonsProps: 'dialogContentProps.topButtonsProps', + className: 'modalProps.className', + isDarkOverlay: 'modalProps.isDarkOverlay', + isBlocking: 'modalProps.isBlocking', + containerClassName: 'modalProps.containerClassName', + onDismissed: 'modalProps.onDismissed', + onLayerDidMount: 'modalProps.layerProps.onLayerDidMount', + ariaDescribedById: 'modalProps.subtitleAriaId', + ariaLabelledById: 'modalProps.titleAriaId', + }); + } + return _this; + } + DialogBase.prototype.render = function () { + var _a, _b, _c; + var props = this.props; + var + /* eslint-disable deprecation/deprecation */ + className = props.className, containerClassName = props.containerClassName, contentClassName = props.contentClassName, elementToFocusOnDismiss = props.elementToFocusOnDismiss, firstFocusableSelector = props.firstFocusableSelector, forceFocusInsideTrap = props.forceFocusInsideTrap, styles = props.styles, hidden = props.hidden, _d = props.disableRestoreFocus, disableRestoreFocus = _d === void 0 ? props.ignoreExternalFocusing : _d, isBlocking = props.isBlocking, isClickableOutsideFocusTrap = props.isClickableOutsideFocusTrap, isDarkOverlay = props.isDarkOverlay, _e = props.isOpen, isOpen = _e === void 0 ? !hidden : _e, onDismiss = props.onDismiss, onDismissed = props.onDismissed, onLayerDidMount = props.onLayerDidMount, responsiveMode = props.responsiveMode, subText = props.subText, theme = props.theme, title = props.title, topButtonsProps = props.topButtonsProps, type = props.type, + /* eslint-enable deprecation/deprecation */ + minWidth = props.minWidth, maxWidth = props.maxWidth, modalProps = props.modalProps; + var mergedLayerProps = tslib_1.__assign({ onLayerDidMount: onLayerDidMount }, modalProps === null || modalProps === void 0 ? void 0 : modalProps.layerProps); + var dialogDraggableClassName; + var dragOptions; + // If dragOptions are provided, but no drag handle is specified, we supply a drag handle, + // and inform dialog contents to add class to draggable class to the header + if ((modalProps === null || modalProps === void 0 ? void 0 : modalProps.dragOptions) && !((_a = modalProps.dragOptions) === null || _a === void 0 ? void 0 : _a.dragHandleSelector)) { + // spread options to avoid mutating props + dragOptions = tslib_1.__assign({}, modalProps.dragOptions); + dialogDraggableClassName = 'ms-Dialog-draggable-header'; + dragOptions.dragHandleSelector = ".".concat(dialogDraggableClassName); + } + var mergedModalProps = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, DefaultModalProps), { elementToFocusOnDismiss: elementToFocusOnDismiss, firstFocusableSelector: firstFocusableSelector, forceFocusInsideTrap: forceFocusInsideTrap, disableRestoreFocus: disableRestoreFocus, isClickableOutsideFocusTrap: isClickableOutsideFocusTrap, responsiveMode: responsiveMode, className: className, containerClassName: containerClassName, isBlocking: isBlocking, isDarkOverlay: isDarkOverlay, onDismissed: onDismissed }), modalProps), { dragOptions: dragOptions, layerProps: mergedLayerProps, isOpen: isOpen }); + var dialogContentProps = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({ className: contentClassName, subText: subText, title: title, topButtonsProps: topButtonsProps, type: type }, DefaultDialogContentProps), props.dialogContentProps), { draggableHeaderClassName: dialogDraggableClassName, titleProps: tslib_1.__assign({ + // eslint-disable-next-line deprecation/deprecation + id: ((_b = props.dialogContentProps) === null || _b === void 0 ? void 0 : _b.titleId) || this._defaultTitleTextId }, (_c = props.dialogContentProps) === null || _c === void 0 ? void 0 : _c.titleProps) }); + var classNames = getClassNames(styles, { + theme: theme, + className: mergedModalProps.className, + containerClassName: mergedModalProps.containerClassName, + hidden: hidden, + dialogDefaultMinWidth: minWidth, + dialogDefaultMaxWidth: maxWidth, + }); + return (React.createElement(Modal_1.Modal, tslib_1.__assign({}, mergedModalProps, { className: classNames.root, containerClassName: classNames.main, onDismiss: onDismiss || mergedModalProps.onDismiss, subtitleAriaId: this._getSubTextId(), titleAriaId: this._getTitleTextId() }), + React.createElement(DialogContent_1.DialogContent, tslib_1.__assign({ subTextId: this._defaultSubTextId, showCloseButton: mergedModalProps.isBlocking, onDismiss: onDismiss }, dialogContentProps), props.children))); + }; + DialogBase.defaultProps = { + hidden: true, + }; + DialogBase = tslib_1.__decorate([ + ResponsiveMode_1.withResponsiveMode + ], DialogBase); + return DialogBase; +}(React.Component)); +exports.DialogBase = DialogBase; +//# sourceMappingURL=Dialog.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Dialog = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Dialog_base_1 = __webpack_require__(/*! ./Dialog.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.base.js"); +var Dialog_styles_1 = __webpack_require__(/*! ./Dialog.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.styles.js"); +exports.Dialog = (0, Utilities_1.styled)(Dialog_base_1.DialogBase, Dialog_styles_1.getStyles, undefined, { scope: 'Dialog' }); +exports.Dialog.displayName = 'Dialog'; +//# sourceMappingURL=Dialog.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.styles.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.styles.js ***! + \**************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var GlobalClassNames = { + root: 'ms-Dialog', +}; +var getStyles = function (props) { + var _a; + var className = props.className, containerClassName = props.containerClassName, // eslint-disable-line deprecation/deprecation + _b = props.dialogDefaultMinWidth, // eslint-disable-line deprecation/deprecation + dialogDefaultMinWidth = _b === void 0 ? '288px' : _b, _c = props.dialogDefaultMaxWidth, dialogDefaultMaxWidth = _c === void 0 ? '340px' : _c, hidden = props.hidden, theme = props.theme; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + root: [classNames.root, theme.fonts.medium, className], + main: [ + { + width: dialogDefaultMinWidth, + outline: '3px solid transparent', + selectors: (_a = {}, + _a["@media (min-width: ".concat(Styling_1.ScreenWidthMinMedium, "px)")] = { + width: 'auto', + maxWidth: dialogDefaultMaxWidth, + minWidth: dialogDefaultMinWidth, + }, + _a), + }, + !hidden && { display: 'flex' }, + containerClassName, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=Dialog.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.types.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.types.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=Dialog.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.base.js": +/*!*******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.base.js ***! + \*******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DialogContentBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DialogContent_types_1 = __webpack_require__(/*! ./DialogContent.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.types.js"); +var Button_1 = __webpack_require__(/*! ../../Button */ "./node_modules/@fluentui/react/lib-commonjs/Button.js"); +var DialogFooter_1 = __webpack_require__(/*! ./DialogFooter */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.js"); +var ResponsiveMode_1 = __webpack_require__(/*! ../../ResponsiveMode */ "./node_modules/@fluentui/react/lib-commonjs/ResponsiveMode.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var DialogFooterType = (React.createElement(DialogFooter_1.DialogFooter, null)).type; +var COMPONENT_NAME = 'DialogContent'; +// eslint-disable-next-line deprecation/deprecation +var DialogContentBase = /** @class */ (function (_super) { + tslib_1.__extends(DialogContentBase, _super); + function DialogContentBase(props) { + var _this = _super.call(this, props) || this; + (0, Utilities_1.initializeComponentRef)(_this); + (0, Utilities_1.warnDeprecations)(COMPONENT_NAME, props, { + titleId: 'titleProps.id', + }); + return _this; + } + DialogContentBase.prototype.render = function () { + var _a = this.props, showCloseButton = _a.showCloseButton, className = _a.className, closeButtonAriaLabel = _a.closeButtonAriaLabel, onDismiss = _a.onDismiss, subTextId = _a.subTextId, subText = _a.subText, _b = _a.titleProps, titleProps = _b === void 0 ? {} : _b, + // eslint-disable-next-line deprecation/deprecation + titleId = _a.titleId, title = _a.title, type = _a.type, styles = _a.styles, theme = _a.theme, draggableHeaderClassName = _a.draggableHeaderClassName; + var classNames = getClassNames(styles, { + theme: theme, + className: className, + isLargeHeader: type === DialogContent_types_1.DialogType.largeHeader, + isClose: type === DialogContent_types_1.DialogType.close, + draggableHeaderClassName: draggableHeaderClassName, + }); + var groupings = this._groupChildren(); + var subTextContent; + if (subText) { + subTextContent = (React.createElement("p", { className: classNames.subText, id: subTextId }, subText)); + } + return (React.createElement("div", { className: classNames.content }, + React.createElement("div", { className: classNames.header }, + React.createElement("div", tslib_1.__assign({ id: titleId, role: "heading", "aria-level": 1 }, titleProps, { className: (0, Utilities_1.css)(classNames.title, titleProps.className) }), title), + React.createElement("div", { className: classNames.topButton }, + this.props.topButtonsProps.map(function (props, index) { return (React.createElement(Button_1.IconButton, tslib_1.__assign({ key: props.uniqueId || index }, props))); }), + (type === DialogContent_types_1.DialogType.close || (showCloseButton && type !== DialogContent_types_1.DialogType.largeHeader)) && (React.createElement(Button_1.IconButton, { className: classNames.button, iconProps: { iconName: 'Cancel' }, ariaLabel: closeButtonAriaLabel, onClick: onDismiss })))), + React.createElement("div", { className: classNames.inner }, + React.createElement("div", { className: classNames.innerContent }, + subTextContent, + groupings.contents), + groupings.footers))); + }; + // @TODO - typing the footers as an array of DialogFooter is difficult because + // casing "child as DialogFooter" causes a problem because + // "Neither type 'ReactElement' nor type 'DialogFooter' is assignable to the other." + DialogContentBase.prototype._groupChildren = function () { + var groupings = { + footers: [], + contents: [], + }; + React.Children.map(this.props.children, function (child) { + if (typeof child === 'object' && child !== null && child.type === DialogFooterType) { + groupings.footers.push(child); + } + else { + groupings.contents.push(child); + } + }); + return groupings; + }; + DialogContentBase.defaultProps = { + showCloseButton: false, + className: '', + topButtonsProps: [], + closeButtonAriaLabel: 'Close', + }; + DialogContentBase = tslib_1.__decorate([ + ResponsiveMode_1.withResponsiveMode + ], DialogContentBase); + return DialogContentBase; +}(React.Component)); +exports.DialogContentBase = DialogContentBase; +//# sourceMappingURL=DialogContent.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.js ***! + \**************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DialogContent = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DialogContent_base_1 = __webpack_require__(/*! ./DialogContent.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.base.js"); +var DialogContent_styles_1 = __webpack_require__(/*! ./DialogContent.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.styles.js"); +exports.DialogContent = (0, Utilities_1.styled)(DialogContent_base_1.DialogContentBase, DialogContent_styles_1.getStyles, undefined, { scope: 'DialogContent' }); +exports.DialogContent.displayName = 'DialogContent'; +//# sourceMappingURL=DialogContent.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.styles.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.styles.js ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var GlobalClassNames = { + contentLgHeader: 'ms-Dialog-lgHeader', + close: 'ms-Dialog--close', + subText: 'ms-Dialog-subText', + header: 'ms-Dialog-header', + headerLg: 'ms-Dialog--lgHeader', + button: 'ms-Dialog-button ms-Dialog-button--close', + inner: 'ms-Dialog-inner', + content: 'ms-Dialog-content', + title: 'ms-Dialog-title', +}; +var getStyles = function (props) { + var _a, _b, _c; + var className = props.className, theme = props.theme, isLargeHeader = props.isLargeHeader, isClose = props.isClose, hidden = props.hidden, isMultiline = props.isMultiline, draggableHeaderClassName = props.draggableHeaderClassName; + var palette = theme.palette, fonts = theme.fonts, effects = theme.effects, semanticColors = theme.semanticColors; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + content: [ + isLargeHeader && [ + classNames.contentLgHeader, + { + borderTop: "4px solid ".concat(palette.themePrimary), + }, + ], + isClose && classNames.close, + { + flexGrow: 1, + overflowY: 'hidden', // required for allowScrollOnElement + }, + className, + ], + subText: [ + classNames.subText, + fonts.medium, + { + margin: '0 0 24px 0', + color: semanticColors.bodySubtext, + lineHeight: '1.5', + wordWrap: 'break-word', + fontWeight: Styling_1.FontWeights.regular, + }, + ], + header: [ + classNames.header, + { + position: 'relative', + width: '100%', + boxSizing: 'border-box', + }, + isClose && classNames.close, + draggableHeaderClassName && [ + draggableHeaderClassName, + { + cursor: 'move', + }, + ], + ], + button: [ + classNames.button, + hidden && { + selectors: { + '.ms-Icon.ms-Icon--Cancel': { + color: semanticColors.buttonText, + fontSize: Styling_1.IconFontSizes.medium, + }, + }, + }, + ], + inner: [ + classNames.inner, + { + padding: '0 24px 24px', + selectors: (_a = {}, + _a["@media (min-width: ".concat(Styling_1.ScreenWidthMinSmall, "px) and (max-width: ").concat(Styling_1.ScreenWidthMaxSmall, "px)")] = { + padding: '0 16px 16px', + }, + _a), + }, + ], + innerContent: [ + classNames.content, + { + position: 'relative', + width: '100%', + }, + ], + title: [ + classNames.title, + fonts.xLarge, + { + color: semanticColors.bodyText, + margin: '0', + minHeight: fonts.xLarge.fontSize, + padding: '16px 46px 20px 24px', + lineHeight: 'normal', + selectors: (_b = {}, + _b["@media (min-width: ".concat(Styling_1.ScreenWidthMinSmall, "px) and (max-width: ").concat(Styling_1.ScreenWidthMaxSmall, "px)")] = { + padding: '16px 46px 16px 16px', + }, + _b), + }, + isLargeHeader && { + color: semanticColors.menuHeader, + }, + isMultiline && { fontSize: fonts.xxLarge.fontSize }, + ], + topButton: [ + { + display: 'flex', + flexDirection: 'row', + flexWrap: 'nowrap', + position: 'absolute', + top: '0', + right: '0', + padding: '15px 15px 0 0', + selectors: (_c = { + '> *': { + flex: '0 0 auto', + }, + '.ms-Dialog-button': { + color: semanticColors.buttonText, + }, + '.ms-Dialog-button:hover': { + color: semanticColors.buttonTextHovered, + borderRadius: effects.roundedCorner2, + } + }, + _c["@media (min-width: ".concat(Styling_1.ScreenWidthMinSmall, "px) and (max-width: ").concat(Styling_1.ScreenWidthMaxSmall, "px)")] = { + padding: '15px 8px 0 0', + }, + _c), + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DialogContent.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.types.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.types.js ***! + \********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DialogType = void 0; +/** + * {@docCategory Dialog} + */ +var DialogType; +(function (DialogType) { + /** Standard dialog */ + DialogType[DialogType["normal"] = 0] = "normal"; + /** Dialog with large header banner */ + DialogType[DialogType["largeHeader"] = 1] = "largeHeader"; + /** Dialog with an 'x' close button in the upper-right corner */ + DialogType[DialogType["close"] = 2] = "close"; +})(DialogType = exports.DialogType || (exports.DialogType = {})); +//# sourceMappingURL=DialogContent.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.base.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.base.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DialogFooterBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var DialogFooterBase = /** @class */ (function (_super) { + tslib_1.__extends(DialogFooterBase, _super); + function DialogFooterBase(props) { + var _this = _super.call(this, props) || this; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + DialogFooterBase.prototype.render = function () { + var _a = this.props, className = _a.className, styles = _a.styles, theme = _a.theme; + this._classNames = getClassNames(styles, { + theme: theme, + className: className, + }); + return (React.createElement("div", { className: this._classNames.actions }, + React.createElement("div", { className: this._classNames.actionsRight }, this._renderChildrenAsActions()))); + }; + DialogFooterBase.prototype._renderChildrenAsActions = function () { + var _this = this; + return React.Children.map(this.props.children, function (child) { + return child ? React.createElement("span", { className: _this._classNames.action }, child) : null; + }); + }; + return DialogFooterBase; +}(React.Component)); +exports.DialogFooterBase = DialogFooterBase; +//# sourceMappingURL=DialogFooter.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DialogFooter = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DialogFooter_base_1 = __webpack_require__(/*! ./DialogFooter.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.base.js"); +var DialogFooter_styles_1 = __webpack_require__(/*! ./DialogFooter.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.styles.js"); +exports.DialogFooter = (0, Utilities_1.styled)(DialogFooter_base_1.DialogFooterBase, DialogFooter_styles_1.getStyles, undefined, { scope: 'DialogFooter' }); +exports.DialogFooter.displayName = 'DialogFooter'; +//# sourceMappingURL=DialogFooter.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.styles.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.styles.js ***! + \********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var GlobalClassNames = { + actions: 'ms-Dialog-actions', + action: 'ms-Dialog-action', + actionsRight: 'ms-Dialog-actionsRight', +}; +var getStyles = function (props) { + var className = props.className, theme = props.theme; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + actions: [ + classNames.actions, + { + position: 'relative', + width: '100%', + minHeight: '24px', + lineHeight: '24px', + margin: '16px 0 0', + fontSize: '0', + selectors: { + '.ms-Button': { + lineHeight: 'normal', + verticalAlign: 'middle', + }, + }, + }, + className, + ], + action: [ + classNames.action, + { + margin: '0 4px', + }, + ], + actionsRight: [ + classNames.actionsRight, + { + alignItems: 'center', + display: 'flex', + fontSize: '0', + justifyContent: 'flex-end', + marginRight: '-4px', + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DialogFooter.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.types.js": +/*!*******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.types.js ***! + \*******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DialogFooter.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/index.js": +/*!******************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dialog/index.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Dialog */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Dialog.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DialogContent */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DialogContent.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DialogFooter */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DialogFooter.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Dialog.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/Dialog.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DialogContent.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogContent.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DialogFooter.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Dialog/DialogFooter.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.base.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.base.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.VerticalDividerBase = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +exports.VerticalDividerBase = React.forwardRef(function (props, ref) { + // eslint-disable-next-line deprecation/deprecation + var styles = props.styles, theme = props.theme, deprecatedGetClassNames = props.getClassNames, className = props.className; + var classNames = getClassNames(styles, { theme: theme, getClassNames: deprecatedGetClassNames, className: className }); + return (React.createElement("span", { className: classNames.wrapper, ref: ref }, + React.createElement("span", { className: classNames.divider }))); +}); +exports.VerticalDividerBase.displayName = 'VerticalDividerBase'; +//# sourceMappingURL=VerticalDivider.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.classNames.js": +/*!****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.classNames.js ***! + \****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getDividerClassNames = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +/** + * @deprecated use getStyles exported from VerticalDivider.styles.ts + */ +exports.getDividerClassNames = (0, Utilities_1.memoizeFunction)( +// eslint-disable-next-line deprecation/deprecation +function (theme) { + return (0, Styling_1.mergeStyleSets)({ + wrapper: { + display: 'inline-flex', + height: '100%', + alignItems: 'center', + }, + divider: { + width: 1, + height: '100%', + backgroundColor: theme.palette.neutralTertiaryAlt, + }, + }); +}); +//# sourceMappingURL=VerticalDivider.classNames.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.VerticalDivider = void 0; +var VerticalDivider_styles_1 = __webpack_require__(/*! ./VerticalDivider.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.styles.js"); +var VerticalDivider_base_1 = __webpack_require__(/*! ./VerticalDivider.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.base.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.VerticalDivider = (0, Utilities_1.styled)(VerticalDivider_base_1.VerticalDividerBase, VerticalDivider_styles_1.getStyles, undefined, { + scope: 'VerticalDivider', +}); +//# sourceMappingURL=VerticalDivider.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.styles.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.styles.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var getStyles = function (props) { + // eslint-disable-next-line deprecation/deprecation + var theme = props.theme, getClassNames = props.getClassNames, className = props.className; + if (!theme) { + throw new Error('Theme is undefined or null.'); + } + if (getClassNames) { + var names = getClassNames(theme); + return { + wrapper: [names.wrapper], + divider: [names.divider], + }; + } + return { + wrapper: [ + { + display: 'inline-flex', + height: '100%', + alignItems: 'center', + }, + className, + ], + divider: [ + { + width: 1, + height: '100%', + backgroundColor: theme.palette.neutralTertiaryAlt, + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=VerticalDivider.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.types.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.types.js ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=VerticalDivider.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/index.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Divider/index.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./VerticalDivider */ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./VerticalDivider.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Divider/VerticalDivider.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.base.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.base.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardBase = exports.DocumentCardContext = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCard_types_1 = __webpack_require__(/*! ./DocumentCard.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.types.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var COMPONENT_NAME = 'DocumentCard'; +exports.DocumentCardContext = React.createContext({}); +/** + * {@docCategory DocumentCard} + */ +var DocumentCardBase = /** @class */ (function (_super) { + tslib_1.__extends(DocumentCardBase, _super); + function DocumentCardBase(props) { + var _this = _super.call(this, props) || this; + _this._rootElement = React.createRef(); + _this._onClick = function (ev) { + _this._onAction(ev); + }; + _this._onKeyDown = function (ev) { + // eslint-disable-next-line deprecation/deprecation + if (ev.which === Utilities_1.KeyCodes.enter || ev.which === Utilities_1.KeyCodes.space) { + _this._onAction(ev); + } + }; + _this._onAction = function (ev) { + var _a = _this.props, onClick = _a.onClick, onClickHref = _a.onClickHref, onClickTarget = _a.onClickTarget; + if (onClick) { + onClick(ev); + } + else if (!onClick && onClickHref) { + // If no onClick Function was provided and we do have an onClickHref, redirect to the onClickHref + if (onClickTarget) { + window.open(onClickHref, onClickTarget, 'noreferrer noopener nofollow'); + } + else { + window.location.href = onClickHref; + } + ev.preventDefault(); + ev.stopPropagation(); + } + }; + (0, Utilities_1.initializeComponentRef)(_this); + (0, Utilities_1.warnDeprecations)(COMPONENT_NAME, props, { + accentColor: undefined, + }); + return _this; + } + DocumentCardBase.prototype.render = function () { + // eslint-disable-next-line deprecation/deprecation + var _a = this.props, onClick = _a.onClick, onClickHref = _a.onClickHref, children = _a.children, type = _a.type, accentColor = _a.accentColor, styles = _a.styles, theme = _a.theme, className = _a.className; + var nativeProps = (0, Utilities_1.getNativeProps)(this.props, Utilities_1.divProperties, [ + 'className', + 'onClick', + 'type', + 'role', + ]); + var actionable = onClick || onClickHref ? true : false; + this._classNames = getClassNames(styles, { + theme: theme, + className: className, + actionable: actionable, + compact: type === DocumentCard_types_1.DocumentCardType.compact ? true : false, + }); + // Override the border color if an accent color was provided (compact card only) + var style; + if (type === DocumentCard_types_1.DocumentCardType.compact && accentColor) { + style = { + borderBottomColor: accentColor, + }; + } + // if this element is actionable it should have an aria role + var role = this.props.role || (actionable ? (onClick ? 'button' : 'link') : undefined); + var tabIndex = actionable ? 0 : undefined; + var documentCardContextValue = { role: role, tabIndex: tabIndex }; + return (React.createElement("div", tslib_1.__assign({ ref: this._rootElement, role: 'group', className: this._classNames.root, onKeyDown: actionable ? this._onKeyDown : undefined, onClick: actionable ? this._onClick : undefined, style: style }, nativeProps), + React.createElement(exports.DocumentCardContext.Provider, { value: documentCardContextValue }, children))); + }; + DocumentCardBase.prototype.focus = function () { + if (this._rootElement.current) { + this._rootElement.current.focus(); + } + }; + DocumentCardBase.defaultProps = { + type: DocumentCard_types_1.DocumentCardType.normal, + }; + return DocumentCardBase; +}(React.Component)); +exports.DocumentCardBase = DocumentCardBase; +//# sourceMappingURL=DocumentCard.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.js": +/*!*******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.js ***! + \*******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCard = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCard_base_1 = __webpack_require__(/*! ./DocumentCard.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.base.js"); +var DocumentCard_styles_1 = __webpack_require__(/*! ./DocumentCard.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.styles.js"); +exports.DocumentCard = (0, Utilities_1.styled)(DocumentCard_base_1.DocumentCardBase, DocumentCard_styles_1.getStyles, undefined, { scope: 'DocumentCard' }); +//# sourceMappingURL=DocumentCard.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.styles.js": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.styles.js ***! + \**************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCardPreview_styles_1 = __webpack_require__(/*! ./DocumentCardPreview.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.styles.js"); +var DocumentCardActivity_styles_1 = __webpack_require__(/*! ./DocumentCardActivity.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.styles.js"); +var DocumentCardTitle_styles_1 = __webpack_require__(/*! ./DocumentCardTitle.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.styles.js"); +var DocumentCardLocation_styles_1 = __webpack_require__(/*! ./DocumentCardLocation.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.styles.js"); +var GlobalClassNames = { + root: 'ms-DocumentCard', + rootActionable: 'ms-DocumentCard--actionable', + rootCompact: 'ms-DocumentCard--compact', +}; +var getStyles = function (props) { + var _a, _b; + var className = props.className, theme = props.theme, actionable = props.actionable, compact = props.compact; + var palette = theme.palette, fonts = theme.fonts, effects = theme.effects; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + root: [ + classNames.root, + { + WebkitFontSmoothing: 'antialiased', + backgroundColor: palette.white, + border: "1px solid ".concat(palette.neutralLight), + maxWidth: '320px', + minWidth: '206px', + userSelect: 'none', + position: 'relative', + selectors: (_a = { + ':focus': { + outline: '0px solid', + } + }, + _a[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus")] = (0, Styling_1.getInputFocusStyle)(palette.neutralSecondary, effects.roundedCorner2), + _a[".".concat(DocumentCardLocation_styles_1.DocumentCardLocationGlobalClassNames.root, " + .").concat(DocumentCardTitle_styles_1.DocumentCardTitleGlobalClassNames.root)] = { + paddingTop: '4px', + }, + _a), + }, + actionable && [ + classNames.rootActionable, + { + selectors: { + ':hover': { + cursor: 'pointer', + borderColor: palette.neutralTertiaryAlt, + }, + ':hover:after': { + content: '" "', + position: 'absolute', + top: 0, + right: 0, + bottom: 0, + left: 0, + border: "1px solid ".concat(palette.neutralTertiaryAlt), + pointerEvents: 'none', + }, + }, + }, + ], + compact && [ + classNames.rootCompact, + { + display: 'flex', + maxWidth: '480px', + height: '108px', + selectors: (_b = {}, + _b[".".concat(DocumentCardPreview_styles_1.DocumentCardPreviewGlobalClassNames.root)] = { + borderRight: "1px solid ".concat(palette.neutralLight), + borderBottom: 0, + maxHeight: '106px', + maxWidth: '144px', + }, + _b[".".concat(DocumentCardPreview_styles_1.DocumentCardPreviewGlobalClassNames.icon)] = { + maxHeight: '32px', + maxWidth: '32px', + }, + _b[".".concat(DocumentCardActivity_styles_1.DocumentCardActivityGlobalClassNames.root)] = { + paddingBottom: '12px', + }, + _b[".".concat(DocumentCardTitle_styles_1.DocumentCardTitleGlobalClassNames.root)] = { + paddingBottom: '12px 16px 8px 16px', + fontSize: fonts.mediumPlus.fontSize, + lineHeight: '16px', + }, + _b), + }, + ], + className, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DocumentCard.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.types.js": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.types.js ***! + \*************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardType = void 0; +/** + * {@docCategory DocumentCard} + */ +var DocumentCardType; +(function (DocumentCardType) { + /** + * Standard DocumentCard. + */ + DocumentCardType[DocumentCardType["normal"] = 0] = "normal"; + /** + * Compact layout. Displays the preview beside the details, rather than above. + */ + DocumentCardType[DocumentCardType["compact"] = 1] = "compact"; +})(DocumentCardType = exports.DocumentCardType || (exports.DocumentCardType = {})); +//# sourceMappingURL=DocumentCard.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.base.js": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.base.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardActionsBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var Button_1 = __webpack_require__(/*! ../../Button */ "./node_modules/@fluentui/react/lib-commonjs/Button.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * {@docCategory DocumentCard} + */ +var DocumentCardActionsBase = /** @class */ (function (_super) { + tslib_1.__extends(DocumentCardActionsBase, _super); + function DocumentCardActionsBase(props) { + var _this = _super.call(this, props) || this; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + DocumentCardActionsBase.prototype.render = function () { + var _this = this; + var _a = this.props, actions = _a.actions, views = _a.views, styles = _a.styles, theme = _a.theme, className = _a.className; + this._classNames = getClassNames(styles, { + theme: theme, + className: className, + }); + return (React.createElement("div", { className: this._classNames.root }, + actions && + actions.map(function (action, index) { + return (React.createElement("div", { className: _this._classNames.action, key: index }, + React.createElement(Button_1.IconButton, tslib_1.__assign({}, action)))); + }), + views > 0 && (React.createElement("div", { className: this._classNames.views }, + React.createElement(Icon_1.Icon, { iconName: "View", className: this._classNames.viewsIcon }), + views)))); + }; + return DocumentCardActionsBase; +}(React.Component)); +exports.DocumentCardActionsBase = DocumentCardActionsBase; +//# sourceMappingURL=DocumentCardActions.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.js": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.js ***! + \**************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardActions = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCardActions_base_1 = __webpack_require__(/*! ./DocumentCardActions.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.base.js"); +var DocumentCardActions_styles_1 = __webpack_require__(/*! ./DocumentCardActions.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.styles.js"); +exports.DocumentCardActions = (0, Utilities_1.styled)(DocumentCardActions_base_1.DocumentCardActionsBase, DocumentCardActions_styles_1.getStyles, undefined, { scope: 'DocumentCardActions' }); +//# sourceMappingURL=DocumentCardActions.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.styles.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.styles.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var ACTION_SIZE = 34; +var HORIZONTAL_PADDING = 12; +var VERTICAL_PADDING = 4; +var GlobalClassNames = { + root: 'ms-DocumentCardActions', + action: 'ms-DocumentCardActions-action', + views: 'ms-DocumentCardActions-views', +}; +var getStyles = function (props) { + var className = props.className, theme = props.theme; + var palette = theme.palette, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + root: [ + classNames.root, + { + height: "".concat(ACTION_SIZE, "px"), + padding: "".concat(VERTICAL_PADDING, "px ").concat(HORIZONTAL_PADDING, "px"), + position: 'relative', + }, + className, + ], + action: [ + classNames.action, + { + float: 'left', + marginRight: '4px', + color: palette.neutralSecondary, + cursor: 'pointer', + selectors: { + '.ms-Button': { + fontSize: fonts.mediumPlus.fontSize, + height: ACTION_SIZE, + width: ACTION_SIZE, + }, + '.ms-Button:hover .ms-Button-icon': { + color: theme.semanticColors.buttonText, + cursor: 'pointer', + }, + }, + }, + ], + views: [ + classNames.views, + { + textAlign: 'right', + lineHeight: ACTION_SIZE, + }, + ], + viewsIcon: { + marginRight: '8px', + fontSize: fonts.medium.fontSize, + verticalAlign: 'top', + }, + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DocumentCardActions.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.types.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.types.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DocumentCardActions.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.base.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.base.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardActivityBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Persona_1 = __webpack_require__(/*! ../../Persona */ "./node_modules/@fluentui/react/lib-commonjs/Persona.js"); +var PersonaCoin_1 = __webpack_require__(/*! ../../PersonaCoin */ "./node_modules/@fluentui/react/lib-commonjs/PersonaCoin.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * {@docCategory DocumentCard} + */ +var DocumentCardActivityBase = /** @class */ (function (_super) { + tslib_1.__extends(DocumentCardActivityBase, _super); + function DocumentCardActivityBase(props) { + var _this = _super.call(this, props) || this; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + DocumentCardActivityBase.prototype.render = function () { + var _a = this.props, activity = _a.activity, people = _a.people, styles = _a.styles, theme = _a.theme, className = _a.className; + this._classNames = getClassNames(styles, { + theme: theme, + className: className, + multiplePeople: people.length > 1, + }); + if (!people || people.length === 0) { + return null; + } + return (React.createElement("div", { className: this._classNames.root }, + this._renderAvatars(people), + React.createElement("div", { className: this._classNames.details }, + React.createElement("span", { className: this._classNames.name }, this._getNameString(people)), + React.createElement("span", { className: this._classNames.activity }, activity)))); + }; + DocumentCardActivityBase.prototype._renderAvatars = function (people) { + return (React.createElement("div", { className: this._classNames.avatars }, + people.length > 1 ? this._renderAvatar(people[1]) : null, + this._renderAvatar(people[0]))); + }; + DocumentCardActivityBase.prototype._renderAvatar = function (person) { + return (React.createElement("div", { className: this._classNames.avatar }, + React.createElement(PersonaCoin_1.PersonaCoin, { imageInitials: person.initials, text: person.name, imageUrl: person.profileImageSrc, initialsColor: person.initialsColor, allowPhoneInitials: person.allowPhoneInitials, role: "presentation", size: Persona_1.PersonaSize.size32 }))); + }; + DocumentCardActivityBase.prototype._getNameString = function (people) { + var nameString = people[0].name; + if (people.length >= 2) { + nameString += ' +' + (people.length - 1); + } + return nameString; + }; + return DocumentCardActivityBase; +}(React.Component)); +exports.DocumentCardActivityBase = DocumentCardActivityBase; +//# sourceMappingURL=DocumentCardActivity.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.js": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.js ***! + \***************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardActivity = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCardActivity_base_1 = __webpack_require__(/*! ./DocumentCardActivity.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.base.js"); +var DocumentCardActivity_styles_1 = __webpack_require__(/*! ./DocumentCardActivity.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.styles.js"); +exports.DocumentCardActivity = (0, Utilities_1.styled)(DocumentCardActivity_base_1.DocumentCardActivityBase, DocumentCardActivity_styles_1.getStyles, undefined, { scope: 'DocumentCardActivity' }); +//# sourceMappingURL=DocumentCardActivity.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.styles.js": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.styles.js ***! + \**********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = exports.DocumentCardActivityGlobalClassNames = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var VERTICAL_PADDING = 8; +var HORIZONTAL_PADDING = 16; +var IMAGE_SIZE = 32; +var PERSONA_TEXT_GUTTER = 8; +exports.DocumentCardActivityGlobalClassNames = { + root: 'ms-DocumentCardActivity', + multiplePeople: 'ms-DocumentCardActivity--multiplePeople', + details: 'ms-DocumentCardActivity-details', + name: 'ms-DocumentCardActivity-name', + activity: 'ms-DocumentCardActivity-activity', + avatars: 'ms-DocumentCardActivity-avatars', + avatar: 'ms-DocumentCardActivity-avatar', +}; +var getStyles = function (props) { + var theme = props.theme, className = props.className, multiplePeople = props.multiplePeople; + var palette = theme.palette, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(exports.DocumentCardActivityGlobalClassNames, theme); + return { + root: [ + classNames.root, + multiplePeople && classNames.multiplePeople, + { + padding: "".concat(VERTICAL_PADDING, "px ").concat(HORIZONTAL_PADDING, "px"), + position: 'relative', + }, + className, + ], + avatars: [ + classNames.avatars, + { + marginLeft: '-2px', + height: '32px', + }, + ], + avatar: [ + classNames.avatar, + { + display: 'inline-block', + verticalAlign: 'top', + position: 'relative', + textAlign: 'center', + width: IMAGE_SIZE, + height: IMAGE_SIZE, + selectors: { + '&:after': { + content: '" "', + position: 'absolute', + left: '-1px', + top: '-1px', + right: '-1px', + bottom: '-1px', + border: "2px solid ".concat(palette.white), + borderRadius: '50%', + }, + ':nth-of-type(2)': multiplePeople && { + marginLeft: '-16px', + }, + }, + }, + ], + details: [ + classNames.details, + { + left: multiplePeople + ? "".concat(HORIZONTAL_PADDING + IMAGE_SIZE * 1.5 + PERSONA_TEXT_GUTTER, "px") + : "".concat(HORIZONTAL_PADDING + IMAGE_SIZE + PERSONA_TEXT_GUTTER, "px"), + height: IMAGE_SIZE, + position: 'absolute', + top: VERTICAL_PADDING, + width: "calc(100% - ".concat(HORIZONTAL_PADDING + IMAGE_SIZE + PERSONA_TEXT_GUTTER + HORIZONTAL_PADDING, "px)"), + }, + ], + name: [ + classNames.name, + { + display: 'block', + fontSize: fonts.small.fontSize, + lineHeight: '15px', + height: '15px', + overflow: 'hidden', + textOverflow: 'ellipsis', + whiteSpace: 'nowrap', + color: palette.neutralPrimary, + fontWeight: Styling_1.FontWeights.semibold, + }, + ], + activity: [ + classNames.activity, + { + display: 'block', + fontSize: fonts.small.fontSize, + lineHeight: '15px', + height: '15px', + overflow: 'hidden', + textOverflow: 'ellipsis', + whiteSpace: 'nowrap', + color: palette.neutralSecondary, + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DocumentCardActivity.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.types.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.types.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DocumentCardActivity.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.base.js": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.base.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardDetailsBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * {@docCategory DocumentCard} + */ +var DocumentCardDetailsBase = /** @class */ (function (_super) { + tslib_1.__extends(DocumentCardDetailsBase, _super); + function DocumentCardDetailsBase(props) { + var _this = _super.call(this, props) || this; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + DocumentCardDetailsBase.prototype.render = function () { + var _a = this.props, children = _a.children, styles = _a.styles, theme = _a.theme, className = _a.className; + this._classNames = getClassNames(styles, { + theme: theme, + className: className, + }); + return React.createElement("div", { className: this._classNames.root }, children); + }; + return DocumentCardDetailsBase; +}(React.Component)); +exports.DocumentCardDetailsBase = DocumentCardDetailsBase; +//# sourceMappingURL=DocumentCardDetails.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.js": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.js ***! + \**************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardDetails = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCardDetails_base_1 = __webpack_require__(/*! ./DocumentCardDetails.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.base.js"); +var DocumentCardDetails_styles_1 = __webpack_require__(/*! ./DocumentCardDetails.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.styles.js"); +exports.DocumentCardDetails = (0, Utilities_1.styled)(DocumentCardDetails_base_1.DocumentCardDetailsBase, DocumentCardDetails_styles_1.getStyles, undefined, { scope: 'DocumentCardDetails' }); +//# sourceMappingURL=DocumentCardDetails.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.styles.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.styles.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var GlobalClassNames = { + root: 'ms-DocumentCardDetails', +}; +var getStyles = function (props) { + var className = props.className, theme = props.theme; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + root: [ + classNames.root, + { + display: 'flex', + flexDirection: 'column', + flex: 1, + justifyContent: 'space-between', + overflow: 'hidden', + }, + className, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DocumentCardDetails.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.types.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.types.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DocumentCardDetails.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.base.js": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.base.js ***! + \*****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardImageBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var Image_1 = __webpack_require__(/*! ../../Image */ "./node_modules/@fluentui/react/lib-commonjs/Image.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * {@docCategory DocumentCard} + */ +var DocumentCardImageBase = /** @class */ (function (_super) { + tslib_1.__extends(DocumentCardImageBase, _super); + function DocumentCardImageBase(props) { + var _this = _super.call(this, props) || this; + _this._onImageLoad = function () { + _this.setState({ imageHasLoaded: true }); + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this.state = { imageHasLoaded: false }; + return _this; + } + DocumentCardImageBase.prototype.render = function () { + var _a = this.props, styles = _a.styles, width = _a.width, height = _a.height, imageFit = _a.imageFit, imageSrc = _a.imageSrc; + this._classNames = getClassNames(styles, this.props); + return (React.createElement("div", { className: this._classNames.root }, + imageSrc && (React.createElement(Image_1.Image, { width: width, height: height, imageFit: imageFit, src: imageSrc, role: "presentation", alt: "", onLoad: this._onImageLoad })), + this.state.imageHasLoaded ? this._renderCornerIcon() : this._renderCenterIcon())); + }; + DocumentCardImageBase.prototype._renderCenterIcon = function () { + var iconProps = this.props.iconProps; + return (React.createElement("div", { className: this._classNames.centeredIconWrapper }, + React.createElement(Icon_1.Icon, tslib_1.__assign({ className: this._classNames.centeredIcon }, iconProps)))); + }; + DocumentCardImageBase.prototype._renderCornerIcon = function () { + var iconProps = this.props.iconProps; + return React.createElement(Icon_1.Icon, tslib_1.__assign({ className: this._classNames.cornerIcon }, iconProps)); + }; + return DocumentCardImageBase; +}(React.Component)); +exports.DocumentCardImageBase = DocumentCardImageBase; +//# sourceMappingURL=DocumentCardImage.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardImage = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCardImage_base_1 = __webpack_require__(/*! ./DocumentCardImage.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.base.js"); +var DocumentCardImage_styles_1 = __webpack_require__(/*! ./DocumentCardImage.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.styles.js"); +exports.DocumentCardImage = (0, Utilities_1.styled)(DocumentCardImage_base_1.DocumentCardImageBase, DocumentCardImage_styles_1.getStyles, undefined, { scope: 'DocumentCardImage' }); +//# sourceMappingURL=DocumentCardImage.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.styles.js": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.styles.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var centeredIconSize = '42px'; +var cornerIconSize = '32px'; +var getStyles = function (props) { + var theme = props.theme, className = props.className, height = props.height, width = props.width; + var palette = theme.palette; + return { + root: [ + { + borderBottom: "1px solid ".concat(palette.neutralLight), + position: 'relative', + backgroundColor: palette.neutralLighterAlt, + overflow: "hidden", + height: height && "".concat(height, "px"), + width: width && "".concat(width, "px"), + }, + className, + ], + centeredIcon: [ + { + height: centeredIconSize, + width: centeredIconSize, + fontSize: centeredIconSize, + }, + ], + centeredIconWrapper: [ + { + display: 'flex', + alignItems: 'center', + justifyContent: 'center', + height: '100%', + width: '100%', + position: 'absolute', + top: 0, + left: 0, + }, + ], + cornerIcon: [ + { + left: '10px', + bottom: '10px', + height: cornerIconSize, + width: cornerIconSize, + fontSize: cornerIconSize, + position: 'absolute', + overflow: 'visible', + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DocumentCardImage.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.types.js": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.types.js ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DocumentCardImage.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.base.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.base.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardLocationBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * {@docCategory DocumentCard} + */ +var DocumentCardLocationBase = /** @class */ (function (_super) { + tslib_1.__extends(DocumentCardLocationBase, _super); + function DocumentCardLocationBase(props) { + var _this = _super.call(this, props) || this; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + DocumentCardLocationBase.prototype.render = function () { + var _a = this.props, location = _a.location, locationHref = _a.locationHref, ariaLabel = _a.ariaLabel, onClick = _a.onClick, styles = _a.styles, theme = _a.theme, className = _a.className; + this._classNames = getClassNames(styles, { + theme: theme, + className: className, + }); + return (React.createElement("a", { className: this._classNames.root, href: locationHref, onClick: onClick, "aria-label": ariaLabel }, location)); + }; + return DocumentCardLocationBase; +}(React.Component)); +exports.DocumentCardLocationBase = DocumentCardLocationBase; +//# sourceMappingURL=DocumentCardLocation.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.js": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.js ***! + \***************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardLocation = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCardLocation_base_1 = __webpack_require__(/*! ./DocumentCardLocation.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.base.js"); +var DocumentCardLocation_styles_1 = __webpack_require__(/*! ./DocumentCardLocation.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.styles.js"); +exports.DocumentCardLocation = (0, Utilities_1.styled)(DocumentCardLocation_base_1.DocumentCardLocationBase, DocumentCardLocation_styles_1.getStyles, undefined, { scope: 'DocumentCardLocation' }); +//# sourceMappingURL=DocumentCardLocation.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.styles.js": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.styles.js ***! + \**********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = exports.DocumentCardLocationGlobalClassNames = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +exports.DocumentCardLocationGlobalClassNames = { + root: 'ms-DocumentCardLocation', +}; +var getStyles = function (props) { + var theme = props.theme, className = props.className; + var palette = theme.palette, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(exports.DocumentCardLocationGlobalClassNames, theme); + return { + root: [ + classNames.root, + fonts.small, + { + color: palette.themePrimary, + display: 'block', + fontWeight: Styling_1.FontWeights.semibold, + overflow: 'hidden', + padding: '8px 16px', + position: 'relative', + textDecoration: 'none', + textOverflow: 'ellipsis', + whiteSpace: 'nowrap', + selectors: { + ':hover': { + color: palette.themePrimary, + cursor: 'pointer', + }, + }, + }, + className, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DocumentCardLocation.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.types.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.types.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DocumentCardLocation.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.base.js": +/*!****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.base.js ***! + \****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardLogoBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * {@docCategory DocumentCard} + */ +var DocumentCardLogoBase = /** @class */ (function (_super) { + tslib_1.__extends(DocumentCardLogoBase, _super); + function DocumentCardLogoBase(props) { + var _this = _super.call(this, props) || this; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + DocumentCardLogoBase.prototype.render = function () { + var _a = this.props, logoIcon = _a.logoIcon, styles = _a.styles, theme = _a.theme, className = _a.className; + this._classNames = getClassNames(styles, { + theme: theme, + className: className, + }); + return (React.createElement("div", { className: this._classNames.root }, + React.createElement(Icon_1.Icon, { iconName: logoIcon }))); + }; + return DocumentCardLogoBase; +}(React.Component)); +exports.DocumentCardLogoBase = DocumentCardLogoBase; +//# sourceMappingURL=DocumentCardLogo.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.js ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardLogo = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCardLogo_base_1 = __webpack_require__(/*! ./DocumentCardLogo.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.base.js"); +var DocumentCardLogo_styles_1 = __webpack_require__(/*! ./DocumentCardLogo.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.styles.js"); +exports.DocumentCardLogo = (0, Utilities_1.styled)(DocumentCardLogo_base_1.DocumentCardLogoBase, DocumentCardLogo_styles_1.getStyles, undefined, { scope: 'DocumentCardLogo' }); +//# sourceMappingURL=DocumentCardLogo.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.styles.js": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.styles.js ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var GlobalClassNames = { + root: 'ms-DocumentCardLogo', +}; +var getStyles = function (props) { + var theme = props.theme, className = props.className; + var palette = theme.palette, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + root: [ + classNames.root, + { + // eslint-disable-next-line deprecation/deprecation + fontSize: fonts.xxLargePlus.fontSize, + color: palette.themePrimary, + display: 'block', + padding: '16px 16px 0 16px', + }, + className, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DocumentCardLogo.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.types.js": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.types.js ***! + \*****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DocumentCardLogo.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.base.js": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.base.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardPreviewBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var Image_1 = __webpack_require__(/*! ../../Image */ "./node_modules/@fluentui/react/lib-commonjs/Image.js"); +var Link_1 = __webpack_require__(/*! ../../Link */ "./node_modules/@fluentui/react/lib-commonjs/Link.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DEFAULT_DISPLAY_COUNT = 3; +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * {@docCategory DocumentCard} + */ +var DocumentCardPreviewBase = /** @class */ (function (_super) { + tslib_1.__extends(DocumentCardPreviewBase, _super); + function DocumentCardPreviewBase(props) { + var _this = _super.call(this, props) || this; + _this._renderPreviewList = function (previewImages) { + var _a = _this.props, getOverflowDocumentCountText = _a.getOverflowDocumentCountText, _b = _a.maxDisplayCount, maxDisplayCount = _b === void 0 ? DEFAULT_DISPLAY_COUNT : _b; + // Determine how many documents we won't be showing + var overflowDocumentCount = previewImages.length - maxDisplayCount; + // Determine the overflow text that will be rendered after the preview list. + var overflowText = overflowDocumentCount + ? getOverflowDocumentCountText + ? getOverflowDocumentCountText(overflowDocumentCount) + : '+' + overflowDocumentCount + : null; + // Create list items for the documents to be shown + var fileListItems = previewImages.slice(0, maxDisplayCount).map(function (file, fileIndex) { return (React.createElement("li", { key: fileIndex }, + React.createElement(Image_1.Image, { className: _this._classNames.fileListIcon, src: file.iconSrc, role: "presentation", alt: "", width: "16px", height: "16px" }), + React.createElement(Link_1.Link, tslib_1.__assign({ className: _this._classNames.fileListLink, + // eslint-disable-next-line deprecation/deprecation + href: file.url }, file.linkProps), file.name))); }); + return (React.createElement("div", null, + React.createElement("ul", { className: _this._classNames.fileList }, fileListItems), + overflowText && React.createElement("span", { className: _this._classNames.fileListOverflowText }, overflowText))); + }; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + DocumentCardPreviewBase.prototype.render = function () { + var _a = this.props, previewImages = _a.previewImages, styles = _a.styles, theme = _a.theme, className = _a.className; + var style; + var preview; + var isFileList = previewImages.length > 1; + this._classNames = getClassNames(styles, { + theme: theme, + className: className, + isFileList: isFileList, + }); + if (previewImages.length > 1) { + // Render a list of files + preview = this._renderPreviewList(previewImages); + } + else if (previewImages.length === 1) { + // Render a single preview + preview = this._renderPreviewImage(previewImages[0]); + // Override the border color if an accent color was provided + /* eslint-disable deprecation/deprecation */ + if (previewImages[0].accentColor) { + style = { + borderBottomColor: previewImages[0].accentColor, + }; + } + /* eslint-enable deprecation/deprecation */ + } + return (React.createElement("div", { className: this._classNames.root, style: style }, preview)); + }; + DocumentCardPreviewBase.prototype._renderPreviewImage = function (previewImage) { + var width = previewImage.width, height = previewImage.height, imageFit = previewImage.imageFit, previewIconProps = previewImage.previewIconProps, previewIconContainerClass = previewImage.previewIconContainerClass; + if (previewIconProps) { + return (React.createElement("div", { className: (0, Utilities_1.css)(this._classNames.previewIcon, previewIconContainerClass), style: { width: width, height: height } }, + React.createElement(Icon_1.Icon, tslib_1.__assign({}, previewIconProps)))); + } + var image = (React.createElement(Image_1.Image, { width: width, height: height, imageFit: imageFit, src: previewImage.previewImageSrc, role: "presentation", alt: "" })); + var icon; + if (previewImage.iconSrc) { + icon = React.createElement(Image_1.Image, { className: this._classNames.icon, src: previewImage.iconSrc, role: "presentation", alt: "" }); + } + return (React.createElement("div", null, + image, + icon)); + }; + return DocumentCardPreviewBase; +}(React.Component)); +exports.DocumentCardPreviewBase = DocumentCardPreviewBase; +//# sourceMappingURL=DocumentCardPreview.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.js": +/*!**************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.js ***! + \**************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardPreview = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCardPreview_base_1 = __webpack_require__(/*! ./DocumentCardPreview.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.base.js"); +var DocumentCardPreview_styles_1 = __webpack_require__(/*! ./DocumentCardPreview.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.styles.js"); +exports.DocumentCardPreview = (0, Utilities_1.styled)(DocumentCardPreview_base_1.DocumentCardPreviewBase, DocumentCardPreview_styles_1.getStyles, undefined, { scope: 'DocumentCardPreview' }); +//# sourceMappingURL=DocumentCardPreview.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.styles.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.styles.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = exports.DocumentCardPreviewGlobalClassNames = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.DocumentCardPreviewGlobalClassNames = { + root: 'ms-DocumentCardPreview', + icon: 'ms-DocumentCardPreview-icon', + iconContainer: 'ms-DocumentCardPreview-iconContainer', +}; +var getStyles = function (props) { + var _a, _b; + var theme = props.theme, className = props.className, isFileList = props.isFileList; + var palette = theme.palette, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(exports.DocumentCardPreviewGlobalClassNames, theme); + return { + root: [ + classNames.root, + fonts.small, + { + backgroundColor: isFileList ? palette.white : palette.neutralLighterAlt, + borderBottom: "1px solid ".concat(palette.neutralLight), + overflow: "hidden", + position: 'relative', + }, + className, + ], + previewIcon: [ + classNames.iconContainer, + { + display: 'flex', + alignItems: 'center', + justifyContent: 'center', + height: '100%', + }, + ], + icon: [ + classNames.icon, + { + left: '10px', + bottom: '10px', + position: 'absolute', + }, + ], + fileList: { + padding: '16px 16px 0 16px', + listStyleType: 'none', + margin: 0, + selectors: { + li: { + height: '16px', + lineHeight: '16px', + display: 'flex', + flexWrap: 'nowrap', + alignItems: 'center', + marginBottom: '8px', + overflow: 'hidden', + }, + }, + }, + fileListIcon: { + display: 'inline-block', + flexShrink: 0, + marginRight: '8px', + }, + fileListLink: [ + (0, Styling_1.getFocusStyle)(theme, { + highContrastStyle: { + border: '1px solid WindowText', + outline: 'none', + }, + }), + { + boxSizing: 'border-box', + color: palette.neutralDark, + flexGrow: 1, + overflow: 'hidden', + display: 'inline-block', + textDecoration: 'none', + textOverflow: 'ellipsis', + whiteSpace: 'nowrap', + selectors: (_a = { + ':hover': { + color: palette.themePrimary, + } + }, + _a[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus")] = { + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + outline: 'none', + }, + _b), + }, + _a), + }, + ], + fileListOverflowText: { + padding: '0px 16px 8px 16px', + display: 'block', + }, + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DocumentCardPreview.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.types.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.types.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DocumentCardPreview.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.base.js": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.base.js ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardStatusBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * {@docCategory DocumentCard} + */ +var DocumentCardStatusBase = /** @class */ (function (_super) { + tslib_1.__extends(DocumentCardStatusBase, _super); + function DocumentCardStatusBase(props) { + var _this = _super.call(this, props) || this; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + DocumentCardStatusBase.prototype.render = function () { + var _a = this.props, statusIcon = _a.statusIcon, status = _a.status, styles = _a.styles, theme = _a.theme, className = _a.className; + var iconProps = { + iconName: statusIcon, + styles: { + root: { padding: '8px' }, + }, + }; + this._classNames = getClassNames(styles, { + theme: theme, + className: className, + }); + return (React.createElement("div", { className: this._classNames.root }, + statusIcon && React.createElement(Icon_1.Icon, tslib_1.__assign({}, iconProps)), + status)); + }; + return DocumentCardStatusBase; +}(React.Component)); +exports.DocumentCardStatusBase = DocumentCardStatusBase; +//# sourceMappingURL=DocumentCardStatus.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.js": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.js ***! + \*************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardStatus = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCardStatus_base_1 = __webpack_require__(/*! ./DocumentCardStatus.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.base.js"); +var DocumentCardStatus_styles_1 = __webpack_require__(/*! ./DocumentCardStatus.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.styles.js"); +exports.DocumentCardStatus = (0, Utilities_1.styled)(DocumentCardStatus_base_1.DocumentCardStatusBase, DocumentCardStatus_styles_1.getStyles, undefined, { scope: 'DocumentCardStatus' }); +//# sourceMappingURL=DocumentCardStatus.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.styles.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.styles.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var GlobalClassNames = { + root: 'ms-DocumentCardStatus', +}; +var getStyles = function (props) { + var className = props.className, theme = props.theme; + var palette = theme.palette, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + root: [ + classNames.root, + fonts.medium, + { + margin: '8px 16px', + color: palette.neutralPrimary, + backgroundColor: palette.neutralLighter, + height: '32px', + }, + className, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DocumentCardStatus.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.types.js": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.types.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DocumentCardStatus.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.base.js": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.base.js ***! + \*****************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardTitleBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var DocumentCard_base_1 = __webpack_require__(/*! ./DocumentCard.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.base.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var TRUNCATION_VERTICAL_OVERFLOW_THRESHOLD = 5; +/** + * {@docCategory DocumentCard} + */ +var DocumentCardTitleBase = /** @class */ (function (_super) { + tslib_1.__extends(DocumentCardTitleBase, _super); + function DocumentCardTitleBase(props) { + var _this = _super.call(this, props) || this; + _this._titleElement = React.createRef(); + // Truncate logic here way can't handle the case that chars with different widths are mixed very well. + // Let _shrinkTitle take care of that. + _this._truncateTitle = function () { + if (!_this._needMeasurement) { + return; + } + _this._async.requestAnimationFrame(_this._truncateWhenInAnimation); + }; + _this._truncateWhenInAnimation = function () { + var originalTitle = _this.props.title; + var element = _this._titleElement.current; + if (element) { + var style = getComputedStyle(element); + if (style.width && style.lineHeight && style.height) { + var clientWidth = element.clientWidth, scrollWidth = element.scrollWidth; + _this._clientWidth = clientWidth; + var lines = Math.floor((parseInt(style.height, 10) + TRUNCATION_VERTICAL_OVERFLOW_THRESHOLD) / parseInt(style.lineHeight, 10)); + element.style.whiteSpace = ''; + // Use overflow to predict truncated length. + // Take an example.The text is: A text with A very long text that need to be truncated.ppt + // if container is like + // |A text with A very| long text that need to be truncated.ppt + // The scroll width is 58, (take two | out of length) + // The client width is 18 + // the overflow rate is scrollWidth/clientWidth which should be close to length(overflowText)/length(visualText) + // And the length of remaining text should be truncated is (original Length)/(58/18) -3 = 15. + // So that the logic can predict truncated text well. + // first piece will be `A text `, * second piece will be `ated.ppt` + // |A text ...ated.ppt| + var overFlowRate = scrollWidth / (parseInt(style.width, 10) * lines); + if (overFlowRate > 1) { + var truncatedLength = originalTitle.length / overFlowRate - 3; /** Saved for separator */ + return _this.setState({ + truncatedTitleFirstPiece: originalTitle.slice(0, truncatedLength / 2), + truncatedTitleSecondPiece: originalTitle.slice(originalTitle.length - truncatedLength / 2), + }); + } + } + } + }; + _this._shrinkTitle = function () { + var _a = _this.state, truncatedTitleFirstPiece = _a.truncatedTitleFirstPiece, truncatedTitleSecondPiece = _a.truncatedTitleSecondPiece; + if (truncatedTitleFirstPiece && truncatedTitleSecondPiece) { + var titleElement = _this._titleElement.current; + if (!titleElement) { + return; + } + if (titleElement.scrollHeight > titleElement.clientHeight + TRUNCATION_VERTICAL_OVERFLOW_THRESHOLD || + titleElement.scrollWidth > titleElement.clientWidth) { + _this.setState({ + truncatedTitleFirstPiece: truncatedTitleFirstPiece.slice(0, truncatedTitleFirstPiece.length - 1), + truncatedTitleSecondPiece: truncatedTitleSecondPiece.slice(1), + }); + } + } + }; + (0, utilities_1.initializeComponentRef)(_this); + _this._async = new Utilities_1.Async(_this); + _this._events = new Utilities_1.EventGroup(_this); + _this._clientWidth = undefined; + _this.state = { + truncatedTitleFirstPiece: undefined, + truncatedTitleSecondPiece: undefined, + }; + return _this; + } + DocumentCardTitleBase.prototype.componentDidUpdate = function (prevProps) { + var _this = this; + if (this.props.title !== prevProps.title) { + this.setState({ + truncatedTitleFirstPiece: undefined, + truncatedTitleSecondPiece: undefined, + }); + } + if (prevProps.shouldTruncate !== this.props.shouldTruncate) { + if (this.props.shouldTruncate) { + this._truncateTitle(); + this._async.requestAnimationFrame(this._shrinkTitle); + this._events.on(window, 'resize', this._updateTruncation); + } + else { + this._events.off(window, 'resize', this._updateTruncation); + } + } + else if (this._needMeasurement) { + this._async.requestAnimationFrame(function () { + _this._truncateWhenInAnimation(); + _this._shrinkTitle(); + }); + } + }; + DocumentCardTitleBase.prototype.componentDidMount = function () { + if (this.props.shouldTruncate) { + this._truncateTitle(); + this._events.on(window, 'resize', this._updateTruncation); + } + }; + DocumentCardTitleBase.prototype.componentWillUnmount = function () { + this._events.dispose(); + this._async.dispose(); + }; + DocumentCardTitleBase.prototype.render = function () { + var _this = this; + var _a = this.props, title = _a.title, shouldTruncate = _a.shouldTruncate, showAsSecondaryTitle = _a.showAsSecondaryTitle, styles = _a.styles, theme = _a.theme, className = _a.className; + var _b = this.state, truncatedTitleFirstPiece = _b.truncatedTitleFirstPiece, truncatedTitleSecondPiece = _b.truncatedTitleSecondPiece; + this._classNames = getClassNames(styles, { + theme: theme, + className: className, + showAsSecondaryTitle: showAsSecondaryTitle, + }); + if (shouldTruncate && truncatedTitleFirstPiece && truncatedTitleSecondPiece) { + return (React.createElement(DocumentCard_base_1.DocumentCardContext.Consumer, null, function (_a) { + var role = _a.role, tabIndex = _a.tabIndex; + return (React.createElement("div", { className: _this._classNames.root, ref: _this._titleElement, title: title, tabIndex: tabIndex, role: role }, + truncatedTitleFirstPiece, + "\u2026", + truncatedTitleSecondPiece)); + })); + } + else { + return (React.createElement(DocumentCard_base_1.DocumentCardContext.Consumer, null, function (_a) { + var role = _a.role, tabIndex = _a.tabIndex; + return (React.createElement("div", { className: _this._classNames.root, ref: _this._titleElement, title: title, tabIndex: tabIndex, role: role, style: _this._needMeasurement ? { whiteSpace: 'nowrap' } : undefined }, title)); + })); + } + }; + Object.defineProperty(DocumentCardTitleBase.prototype, "_needMeasurement", { + /** + * In measuring, it will render a same style text with whiteSpace: 'nowrap', to get overflow rate. + * So that the logic can predict truncated text well. + */ + get: function () { + return !!this.props.shouldTruncate && this._clientWidth === undefined; + }, + enumerable: false, + configurable: true + }); + DocumentCardTitleBase.prototype._updateTruncation = function () { + var _this = this; + if (this._timerId) { + return; + } + this._timerId = this._async.setTimeout(function () { + delete _this._timerId; + _this._clientWidth = undefined; + _this.setState({ + truncatedTitleFirstPiece: undefined, + truncatedTitleSecondPiece: undefined, + }); + }, 250); + }; + return DocumentCardTitleBase; +}(React.Component)); +exports.DocumentCardTitleBase = DocumentCardTitleBase; +//# sourceMappingURL=DocumentCardTitle.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentCardTitle = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DocumentCardTitle_base_1 = __webpack_require__(/*! ./DocumentCardTitle.base */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.base.js"); +var DocumentCardTitle_styles_1 = __webpack_require__(/*! ./DocumentCardTitle.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.styles.js"); +exports.DocumentCardTitle = (0, Utilities_1.styled)(DocumentCardTitle_base_1.DocumentCardTitleBase, DocumentCardTitle_styles_1.getStyles, undefined, { scope: 'DocumentCardTitle' }); +//# sourceMappingURL=DocumentCardTitle.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.styles.js": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.styles.js ***! + \*******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = exports.DocumentCardTitleGlobalClassNames = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +exports.DocumentCardTitleGlobalClassNames = { + root: 'ms-DocumentCardTitle', +}; +var getStyles = function (props) { + var _a; + var theme = props.theme, className = props.className, showAsSecondaryTitle = props.showAsSecondaryTitle; + var palette = theme.palette, fonts = theme.fonts, effects = theme.effects; + var classNames = (0, Styling_1.getGlobalClassNames)(exports.DocumentCardTitleGlobalClassNames, theme); + return { + root: [ + classNames.root, + showAsSecondaryTitle ? fonts.medium : fonts.large, + { + padding: '8px 16px', + display: 'block', + overflow: 'hidden', + position: 'relative', + wordWrap: 'break-word', + height: showAsSecondaryTitle ? '45px' : '38px', + lineHeight: showAsSecondaryTitle ? '18px' : '21px', + color: showAsSecondaryTitle ? palette.neutralSecondary : palette.neutralPrimary, + selectors: (_a = { + ':focus': { + outline: '0px solid', + } + }, + _a[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus")] = (0, Styling_1.getInputFocusStyle)(palette.neutralSecondary, effects.roundedCorner2), + _a), + }, + className, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=DocumentCardTitle.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.types.js": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.types.js ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=DocumentCardTitle.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/index.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/index.js ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCard */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCard.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCard.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardActions */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardActions.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActions.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardActivity */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardActivity.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardActivity.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardDetails */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardDetails.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardDetails.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardLocation */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardLocation.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLocation.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardPreview */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardPreview.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardPreview.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardImage */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardImage.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardImage.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardTitle */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardTitle.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardTitle.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardLogo */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardLogo.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardLogo.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardStatus */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./DocumentCardStatus.types */ "./node_modules/@fluentui/react/lib-commonjs/components/DocumentCard/DocumentCardStatus.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.base.js": +/*!****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.base.js ***! + \****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DropdownBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Callout_1 = __webpack_require__(/*! ../../Callout */ "./node_modules/@fluentui/react/lib-commonjs/Callout.js"); +var Button_1 = __webpack_require__(/*! ../../Button */ "./node_modules/@fluentui/react/lib-commonjs/Button.js"); +var Dropdown_types_1 = __webpack_require__(/*! ./Dropdown.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.types.js"); +var DropdownSizePosCache_1 = __webpack_require__(/*! ./utilities/DropdownSizePosCache */ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/utilities/DropdownSizePosCache.js"); +var FocusZone_1 = __webpack_require__(/*! ../../FocusZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var Label_1 = __webpack_require__(/*! ../../Label */ "./node_modules/@fluentui/react/lib-commonjs/Label.js"); +var Panel_1 = __webpack_require__(/*! ../../Panel */ "./node_modules/@fluentui/react/lib-commonjs/Panel.js"); +var ResponsiveMode_1 = __webpack_require__(/*! ../../ResponsiveMode */ "./node_modules/@fluentui/react/lib-commonjs/ResponsiveMode.js"); +var SelectableOption_1 = __webpack_require__(/*! ../../SelectableOption */ "./node_modules/@fluentui/react/lib-commonjs/SelectableOption.js"); +// import and use V7 Checkbox to ensure no breaking changes. +var Checkbox_1 = __webpack_require__(/*! ../../Checkbox */ "./node_modules/@fluentui/react/lib-commonjs/Checkbox.js"); +var utilities_1 = __webpack_require__(/*! @fluentui/utilities */ "./node_modules/@fluentui/utilities/lib-commonjs/index.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var COMPONENT_NAME = 'Dropdown'; +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var DEFAULT_PROPS = { + options: [], +}; +function useSelectedItemsState(_a) { + var defaultSelectedKeys = _a.defaultSelectedKeys, selectedKeys = _a.selectedKeys, defaultSelectedKey = _a.defaultSelectedKey, selectedKey = _a.selectedKey, options = _a.options, multiSelect = _a.multiSelect; + var oldOptions = (0, react_hooks_1.usePrevious)(options); + var _b = React.useState([]), selectedIndices = _b[0], setSelectedIndices = _b[1]; + // In controlled component usage where selectedKey is provided, update the selectedIndex + // state if the key or options change. + var selectedKeyPropToUse; + // this does a shallow compare (assumes options are pure), for the purposes of determining whether + // defaultSelectedKey/defaultSelectedKeys are respected. + var didOptionsChange = options !== oldOptions; + if (multiSelect) { + if (didOptionsChange && defaultSelectedKeys !== undefined) { + selectedKeyPropToUse = defaultSelectedKeys; + } + else { + selectedKeyPropToUse = selectedKeys; + } + } + else { + if (didOptionsChange && defaultSelectedKey !== undefined) { + selectedKeyPropToUse = defaultSelectedKey; + } + else { + selectedKeyPropToUse = selectedKey; + } + } + var oldSelectedKeyProp = (0, react_hooks_1.usePrevious)(selectedKeyPropToUse); + React.useEffect(function () { + /** Get all selected indexes for multi-select mode */ + var getSelectedIndexes = function () { + if (selectedKeyPropToUse === undefined) { + if (multiSelect) { + return getAllSelectedIndices(); + } + var selectedIndex = getSelectedIndex(null); + return selectedIndex !== -1 ? [selectedIndex] : []; + } + else if (!Array.isArray(selectedKeyPropToUse)) { + var selectedIndex = getSelectedIndex(selectedKeyPropToUse); + return selectedIndex !== -1 ? [selectedIndex] : []; + } + var returnValue = []; + for (var _i = 0, selectedKeyPropToUse_1 = selectedKeyPropToUse; _i < selectedKeyPropToUse_1.length; _i++) { + var key = selectedKeyPropToUse_1[_i]; + var selectedIndex = getSelectedIndex(key); + selectedIndex !== -1 && returnValue.push(selectedIndex); + } + return returnValue; + }; + var getAllSelectedIndices = function () { + return options + .map(function (option, index) { return (option.selected ? index : -1); }) + .filter(function (index) { return index !== -1; }); + }; + var getSelectedIndex = function (searchKey) { + return (0, Utilities_1.findIndex)(options, function (option) { + // eslint-disable-next-line eqeqeq + if (searchKey != null) { + return option.key === searchKey; + } + else { + // eslint-disable-next-line deprecation/deprecation + return !!option.selected || !!option.isSelected; + } + }); + }; + if ((selectedKeyPropToUse !== undefined || !oldOptions) && + (selectedKeyPropToUse !== oldSelectedKeyProp || didOptionsChange)) { + setSelectedIndices(getSelectedIndexes()); + } + }, [didOptionsChange, multiSelect, oldOptions, oldSelectedKeyProp, options, selectedKeyPropToUse]); + return [selectedIndices, setSelectedIndices]; +} +exports.DropdownBase = React.forwardRef(function (propsWithoutDefaults, forwardedRef) { + var props = (0, utilities_1.getPropsWithDefaults)(DEFAULT_PROPS, propsWithoutDefaults); + var rootRef = React.useRef(null); + var mergedRootRef = (0, react_hooks_1.useMergedRefs)(forwardedRef, rootRef); + var responsiveMode = (0, ResponsiveMode_1.useResponsiveMode)(rootRef, props.responsiveMode); + var _a = useSelectedItemsState(props), selectedIndices = _a[0], setSelectedIndices = _a[1]; + return (React.createElement(DropdownInternal, tslib_1.__assign({}, props, { responsiveMode: responsiveMode, hoisted: { rootRef: mergedRootRef, selectedIndices: selectedIndices, setSelectedIndices: setSelectedIndices } }))); +}); +exports.DropdownBase.displayName = 'DropdownBase'; +var DropdownInternal = /** @class */ (function (_super) { + tslib_1.__extends(DropdownInternal, _super); + function DropdownInternal(props) { + var _this = _super.call(this, props) || this; + _this._host = React.createRef(); + _this._focusZone = React.createRef(); + _this._dropDown = React.createRef(); + _this._scrollIdleDelay = 250 /* ms */; + _this._sizePosCache = new DropdownSizePosCache_1.DropdownSizePosCache(); + _this._requestAnimationFrame = (0, Utilities_1.safeRequestAnimationFrame)(_this); + /** + * Close menu callout if it is open + */ + _this.dismissMenu = function () { + var isOpen = _this.state.isOpen; + isOpen && _this.setState({ isOpen: false }); + }; + _this._onChange = function (event, options, index, checked, multiSelect) { + // eslint-disable-next-line deprecation/deprecation + var _a = _this.props, onChange = _a.onChange, onChanged = _a.onChanged; + if (onChange || onChanged) { + // for single-select, option passed in will always be selected. + // for multi-select, flip the checked value + var changedOpt = multiSelect ? tslib_1.__assign(tslib_1.__assign({}, options[index]), { selected: !checked }) : options[index]; + onChange && onChange(tslib_1.__assign(tslib_1.__assign({}, event), { target: _this._dropDown.current }), changedOpt, index); + onChanged && onChanged(changedOpt, index); + } + }; + /** Get either props.placeholder (new name) or props.placeHolder (old name) */ + _this._getPlaceholder = function () { + // eslint-disable-next-line deprecation/deprecation + return _this.props.placeholder || _this.props.placeHolder; + }; + /** Get text in dropdown input as a string */ + _this._getTitle = function (items, _unused) { + var _a = _this.props.multiSelectDelimiter, multiSelectDelimiter = _a === void 0 ? ', ' : _a; + return items.map(function (i) { return i.text; }).join(multiSelectDelimiter); + }; + /** Render text in dropdown input */ + _this._onRenderTitle = function (items) { + return React.createElement(React.Fragment, null, _this._getTitle(items)); + }; + /** Render placeholder text in dropdown input */ + _this._onRenderPlaceholder = function (props) { + if (!_this._getPlaceholder()) { + return null; + } + return React.createElement(React.Fragment, null, _this._getPlaceholder()); + }; + /** Render Callout or Panel container and pass in list */ + _this._onRenderContainer = function (props) { + var calloutProps = props.calloutProps, panelProps = props.panelProps; + var _a = _this.props, responsiveMode = _a.responsiveMode, dropdownWidth = _a.dropdownWidth; + var isSmall = responsiveMode <= ResponsiveMode_1.ResponsiveMode.medium; + var focusTrapZoneProps = { firstFocusableTarget: "#".concat(_this._listId, "1") }; + var panelStyles = _this._classNames.subComponentStyles + ? _this._classNames.subComponentStyles.panel + : undefined; + var calloutWidth = undefined; + var calloutMinWidth = undefined; + if (dropdownWidth === 'auto') { + calloutMinWidth = _this._dropDown.current ? _this._dropDown.current.clientWidth : 0; + } + else { + calloutWidth = dropdownWidth || (_this._dropDown.current ? _this._dropDown.current.clientWidth : 0); + } + return isSmall ? (React.createElement(Panel_1.Panel, tslib_1.__assign({ closeButtonAriaLabel: "Close", focusTrapZoneProps: focusTrapZoneProps, hasCloseButton: true, isOpen: true, isLightDismiss: true, onDismiss: _this._onDismiss, styles: panelStyles }, panelProps), _this._renderFocusableList(props))) : (React.createElement(Callout_1.Callout, tslib_1.__assign({ isBeakVisible: false, gapSpace: 0, doNotLayer: false, directionalHintFixed: false, directionalHint: Callout_1.DirectionalHint.bottomLeftEdge, calloutWidth: calloutWidth, calloutMinWidth: calloutMinWidth }, calloutProps, { className: _this._classNames.callout, target: _this._dropDown.current, onDismiss: _this._onDismiss, onScroll: _this._onScroll, onPositioned: _this._onPositioned }), _this._renderFocusableList(props))); + }; + /** Render Caret Down Icon */ + _this._onRenderCaretDown = function (props) { + return React.createElement(Icon_1.Icon, { className: _this._classNames.caretDown, iconName: "ChevronDown", "aria-hidden": true }); + }; + /** Render List of items */ + _this._onRenderList = function (props) { + var _a = props.onRenderItem, onRenderItem = _a === void 0 ? _this._onRenderItem : _a; + var queue = { items: [] }; + var renderedList = []; + var emptyQueue = function () { + var newGroup = queue.id + ? [ + React.createElement("div", { role: "group", key: queue.id, "aria-labelledby": queue.id }, queue.items), + ] + : queue.items; + renderedList = tslib_1.__spreadArray(tslib_1.__spreadArray([], renderedList, true), newGroup, true); + // Flush items and id + queue = { items: [] }; + }; + var placeRenderedOptionIntoQueue = function (item, index) { + /* + Case Header + empty queue if it's not already empty + ensure unique ID for header and set queue ID + push header into queue + Case Divider + push divider into queue if not first item + empty queue if not already empty + Default + push item into queue + */ + switch (item.itemType) { + case SelectableOption_1.SelectableOptionMenuItemType.Header: + queue.items.length > 0 && emptyQueue(); + var id = _this._id + item.key; + queue.items.push(onRenderItem(tslib_1.__assign(tslib_1.__assign({ id: id }, item), { index: index }), _this._onRenderItem)); + queue.id = id; + break; + case SelectableOption_1.SelectableOptionMenuItemType.Divider: + index > 0 && queue.items.push(onRenderItem(tslib_1.__assign(tslib_1.__assign({}, item), { index: index }), _this._onRenderItem)); + queue.items.length > 0 && emptyQueue(); + break; + default: + queue.items.push(onRenderItem(tslib_1.__assign(tslib_1.__assign({}, item), { index: index }), _this._onRenderItem)); + } + }; + // Place options into the queue. Queue will be emptied anytime a Header or Divider is encountered + props.options.forEach(function (item, index) { + placeRenderedOptionIntoQueue(item, index); + }); + // Push remaining items into all renderedList + queue.items.length > 0 && emptyQueue(); + return React.createElement(React.Fragment, null, renderedList); + }; + _this._onRenderItem = function (item) { + switch (item.itemType) { + case SelectableOption_1.SelectableOptionMenuItemType.Divider: + return _this._renderSeparator(item); + case SelectableOption_1.SelectableOptionMenuItemType.Header: + return _this._renderHeader(item); + default: + return _this._renderOption(item); + } + }; + _this._renderOption = function (item) { + var _a; + var _b = _this.props, _c = _b.onRenderOption, onRenderOption = _c === void 0 ? _this._onRenderOption : _c, _d = _b.hoisted.selectedIndices, selectedIndices = _d === void 0 ? [] : _d; + var isItemSelected = item.index !== undefined && selectedIndices ? selectedIndices.indexOf(item.index) > -1 : false; + // select the right className based on the combination of selected/disabled + var itemClassName = item.hidden // predicate: item hidden + ? _this._classNames.dropdownItemHidden + : isItemSelected && item.disabled === true // predicate: both selected and disabled + ? _this._classNames.dropdownItemSelectedAndDisabled + : isItemSelected // predicate: selected only + ? _this._classNames.dropdownItemSelected + : item.disabled === true // predicate: disabled only + ? _this._classNames.dropdownItemDisabled + : _this._classNames.dropdownItem; + var title = item.title; + // define the id and label id (for multiselect checkboxes) + var id = _this._listId + item.index; + var labelId = (_a = item.id) !== null && _a !== void 0 ? _a : id + '-label'; + var multiSelectItemStyles = _this._classNames.subComponentStyles + ? _this._classNames.subComponentStyles.multiSelectItem + : undefined; + return !_this.props.multiSelect ? (React.createElement(Button_1.CommandButton, { id: id, key: item.key, "data-index": item.index, "data-is-focusable": !item.disabled, disabled: item.disabled, className: itemClassName, onClick: _this._onItemClick(item), + // eslint-disable-next-line react/jsx-no-bind + onMouseEnter: _this._onItemMouseEnter.bind(_this, item), + // eslint-disable-next-line react/jsx-no-bind + onMouseLeave: _this._onMouseItemLeave.bind(_this, item), + // eslint-disable-next-line react/jsx-no-bind + onMouseMove: _this._onItemMouseMove.bind(_this, item), role: "option", "aria-selected": isItemSelected ? 'true' : 'false', ariaLabel: item.ariaLabel, title: title, "aria-posinset": _this._sizePosCache.positionInSet(item.index), "aria-setsize": _this._sizePosCache.optionSetSize }, onRenderOption(item, _this._onRenderOption))) : (React.createElement(Checkbox_1.Checkbox, { id: id, key: item.key, disabled: item.disabled, onChange: _this._onItemClick(item), inputProps: tslib_1.__assign({ 'aria-selected': isItemSelected, onMouseEnter: _this._onItemMouseEnter.bind(_this, item), onMouseLeave: _this._onMouseItemLeave.bind(_this, item), onMouseMove: _this._onItemMouseMove.bind(_this, item), role: 'option' }, { + 'data-index': item.index, + 'data-is-focusable': !(item.disabled || item.hidden), + }), label: item.text, title: title, + // eslint-disable-next-line react/jsx-no-bind + onRenderLabel: _this._onRenderItemLabel.bind(_this, tslib_1.__assign(tslib_1.__assign({}, item), { id: labelId })), className: (0, Utilities_1.css)(itemClassName, 'is-multi-select'), checked: isItemSelected, styles: multiSelectItemStyles, ariaPositionInSet: !item.hidden ? _this._sizePosCache.positionInSet(item.index) : undefined, ariaSetSize: !item.hidden ? _this._sizePosCache.optionSetSize : undefined, ariaLabel: item.ariaLabel, ariaLabelledBy: item.ariaLabel ? undefined : labelId })); + }; + /** Render content of item (i.e. text/icon inside of button) */ + _this._onRenderOption = function (item) { + return React.createElement("span", { className: _this._classNames.dropdownOptionText }, item.text); + }; + /* + * Render content of a multiselect item label. + * Text within the label is aria-hidden, to prevent duplicate input/label exposure + */ + _this._onRenderMultiselectOption = function (item) { + return (React.createElement("span", { id: item.id, "aria-hidden": "true", className: _this._classNames.dropdownOptionText }, item.text)); + }; + /** Render custom label for multiselect checkbox items */ + _this._onRenderItemLabel = function (item) { + var _a = _this.props.onRenderOption, onRenderOption = _a === void 0 ? _this._onRenderMultiselectOption : _a; + return onRenderOption(item, _this._onRenderMultiselectOption); + }; + _this._onPositioned = function (positions) { + if (_this._focusZone.current) { + // Focusing an element can trigger a reflow. Making this wait until there is an animation + // frame can improve perf significantly. + _this._requestAnimationFrame(function () { + var selectedIndices = _this.props.hoisted.selectedIndices; + if (_this._focusZone.current) { + if (!_this._hasBeenPositioned && + selectedIndices && + selectedIndices[0] && + !_this.props.options[selectedIndices[0]].disabled) { + var element = (0, Utilities_1.getDocument)().getElementById("".concat(_this._id, "-list").concat(selectedIndices[0])); + if (element) { + _this._focusZone.current.focusElement(element); + } + _this._hasBeenPositioned = true; + } + else { + _this._focusZone.current.focus(); + } + } + }); + } + if (!_this.state.calloutRenderEdge || _this.state.calloutRenderEdge !== positions.targetEdge) { + _this.setState({ + calloutRenderEdge: positions.targetEdge, + }); + } + }; + _this._onItemClick = function (item) { + return function (event) { + if (!item.disabled) { + _this.setSelectedIndex(event, item.index); + if (!_this.props.multiSelect) { + // only close the callout when it's in single-select mode + _this.setState({ + isOpen: false, + }); + } + } + }; + }; + /** + * Scroll handler for the callout to make sure the mouse events + * for updating focus are not interacting during scroll + */ + _this._onScroll = function () { + if (!_this._isScrollIdle && _this._scrollIdleTimeoutId !== undefined) { + clearTimeout(_this._scrollIdleTimeoutId); + _this._scrollIdleTimeoutId = undefined; + } + else { + _this._isScrollIdle = false; + } + _this._scrollIdleTimeoutId = window.setTimeout(function () { + _this._isScrollIdle = true; + }, _this._scrollIdleDelay); + }; + _this._onMouseItemLeave = function (item, ev) { + if (_this._shouldIgnoreMouseEvent()) { + return; + } + /** + * IE11 focus() method forces parents to scroll to top of element. + * Edge and IE expose a setActive() function for focusable divs that + * sets the page focus but does not scroll the parent element. + */ + if (_this._host.current) { + if (_this._host.current.setActive) { + try { + _this._host.current.setActive(); + } + catch (e) { + /* no-op */ + } + } + else { + _this._host.current.focus(); + } + } + }; + _this._onDismiss = function () { + _this.setState({ isOpen: false }); + }; + _this._onDropdownBlur = function (ev) { + // If Dropdown disabled do not proceed with this logic. + var disabled = _this._isDisabled(); + if (disabled) { + return; + } + if (_this.state.isOpen) { + // Do not call onBlur or update focus state when the callout is opened + return; + } + _this.setState({ hasFocus: false }); + if (_this.props.onBlur) { + _this.props.onBlur(ev); + } + }; + _this._onDropdownKeyDown = function (ev) { + // If Dropdown disabled do not process any keyboard events. + var disabled = _this._isDisabled(); + if (disabled) { + return; + } + // Take note if we are processing an alt (option) or meta (command) keydown. + // See comment in _shouldHandleKeyUp for reasoning. + _this._lastKeyDownWasAltOrMeta = _this._isAltOrMeta(ev); + if (_this.props.onKeyDown) { + _this.props.onKeyDown(ev); + if (ev.defaultPrevented) { + return; + } + } + var newIndex; + var selectedIndex = _this.props.hoisted.selectedIndices.length ? _this.props.hoisted.selectedIndices[0] : -1; + var containsExpandCollapseModifier = ev.altKey || ev.metaKey; + var isOpen = _this.state.isOpen; + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case Utilities_1.KeyCodes.enter: + _this.setState({ + isOpen: !isOpen, + }); + break; + case Utilities_1.KeyCodes.escape: + if (!isOpen) { + return; + } + _this.setState({ + isOpen: false, + }); + break; + case Utilities_1.KeyCodes.up: + if (containsExpandCollapseModifier) { + if (isOpen) { + _this.setState({ isOpen: false }); + break; + } + return; + } + if (_this.props.multiSelect) { + _this.setState({ isOpen: true }); + } + else if (!_this._isDisabled()) { + newIndex = _this._moveIndex(ev, -1, selectedIndex - 1, selectedIndex); + } + break; + case Utilities_1.KeyCodes.down: + if (containsExpandCollapseModifier) { + ev.stopPropagation(); + ev.preventDefault(); + } + if ((containsExpandCollapseModifier && !isOpen) || _this.props.multiSelect) { + _this.setState({ isOpen: true }); + } + else if (!_this._isDisabled()) { + newIndex = _this._moveIndex(ev, 1, selectedIndex + 1, selectedIndex); + } + break; + case Utilities_1.KeyCodes.home: + if (!_this.props.multiSelect) { + newIndex = _this._moveIndex(ev, 1, 0, selectedIndex); + } + break; + case Utilities_1.KeyCodes.end: + if (!_this.props.multiSelect) { + newIndex = _this._moveIndex(ev, -1, _this.props.options.length - 1, selectedIndex); + } + break; + case Utilities_1.KeyCodes.space: + // event handled in _onDropdownKeyUp + break; + default: + return; + } + if (newIndex !== selectedIndex) { + ev.stopPropagation(); + ev.preventDefault(); + } + }; + _this._onDropdownKeyUp = function (ev) { + // If Dropdown disabled do not process any keyboard events. + var disabled = _this._isDisabled(); + if (disabled) { + return; + } + var shouldHandleKey = _this._shouldHandleKeyUp(ev); + var isOpen = _this.state.isOpen; + if (_this.props.onKeyUp) { + _this.props.onKeyUp(ev); + if (ev.defaultPrevented) { + return; + } + } + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case Utilities_1.KeyCodes.space: + _this.setState({ + isOpen: !isOpen, + }); + break; + default: + if (shouldHandleKey && isOpen) { + _this.setState({ isOpen: false }); + } + return; + } + ev.stopPropagation(); + ev.preventDefault(); + }; + _this._onZoneKeyDown = function (ev) { + var _a, _b; + var elementToFocus; + // Take note if we are processing an alt (option) or meta (command) keydown. + // See comment in _shouldHandleKeyUp for reasoning. + _this._lastKeyDownWasAltOrMeta = _this._isAltOrMeta(ev); + var containsExpandCollapseModifier = ev.altKey || ev.metaKey; + // eslint-disable-next-line deprecation/deprecation + switch (ev.which) { + case Utilities_1.KeyCodes.up: + if (containsExpandCollapseModifier) { + _this.setState({ isOpen: false }); + } + else { + if (_this._host.current) { + elementToFocus = (0, Utilities_1.getLastFocusable)(_this._host.current, _this._host.current.lastChild, true); + } + } + break; + // All directional keystrokes should be canceled when the zone is rendered. + // This avoids the body scroll from reacting and thus dismissing the dropdown. + case Utilities_1.KeyCodes.home: + case Utilities_1.KeyCodes.end: + case Utilities_1.KeyCodes.pageUp: + case Utilities_1.KeyCodes.pageDown: + break; + case Utilities_1.KeyCodes.down: + if (!containsExpandCollapseModifier && _this._host.current) { + elementToFocus = (0, Utilities_1.getFirstFocusable)(_this._host.current, _this._host.current.firstChild, true); + } + break; + case Utilities_1.KeyCodes.escape: + _this.setState({ isOpen: false }); + break; + case Utilities_1.KeyCodes.tab: + _this.setState({ isOpen: false }); + var document_1 = (0, Utilities_1.getDocument)(); + if (document_1) { + if (ev.shiftKey) { + (_a = (0, utilities_1.getPreviousElement)(document_1.body, _this._dropDown.current, false, false, true, true)) === null || _a === void 0 ? void 0 : _a.focus(); + } + else { + (_b = (0, utilities_1.getNextElement)(document_1.body, _this._dropDown.current, false, false, true, true)) === null || _b === void 0 ? void 0 : _b.focus(); + } + } + break; + default: + return; + } + if (elementToFocus) { + elementToFocus.focus(); + } + ev.stopPropagation(); + ev.preventDefault(); + }; + _this._onZoneKeyUp = function (ev) { + var shouldHandleKey = _this._shouldHandleKeyUp(ev); + if (shouldHandleKey && _this.state.isOpen) { + _this.setState({ isOpen: false }); + ev.preventDefault(); + } + }; + _this._onDropdownClick = function (ev) { + if (_this.props.onClick) { + _this.props.onClick(ev); + if (ev.defaultPrevented) { + return; + } + } + var isOpen = _this.state.isOpen; + var disabled = _this._isDisabled(); + if (!disabled && !_this._shouldOpenOnFocus()) { + _this.setState({ + isOpen: !isOpen, + }); + } + _this._isFocusedByClick = false; // reset + }; + _this._onDropdownMouseDown = function () { + _this._isFocusedByClick = true; + }; + _this._onFocus = function (ev) { + var disabled = _this._isDisabled(); + if (!disabled) { + if (_this.props.onFocus) { + _this.props.onFocus(ev); + } + var state = { hasFocus: true }; + if (_this._shouldOpenOnFocus()) { + state.isOpen = true; + } + _this.setState(state); + } + }; + /** + * Because the isDisabled prop is deprecated, we have had to repeat this logic all over the place. + * This helper method avoids all the repetition. + */ + _this._isDisabled = function () { + var disabled = _this.props.disabled; + // eslint-disable-next-line deprecation/deprecation + var isDisabled = _this.props.isDisabled; + // Remove this deprecation workaround at 1.0.0 + if (disabled === undefined) { + disabled = isDisabled; + } + return disabled; + }; + _this._onRenderLabel = function (props) { + var label = props.label, required = props.required, disabled = props.disabled; + var labelStyles = _this._classNames.subComponentStyles + ? _this._classNames.subComponentStyles.label + : undefined; + return label ? (React.createElement(Label_1.Label, { className: _this._classNames.label, id: _this._labelId, required: required, styles: labelStyles, disabled: disabled }, label)) : null; + }; + (0, Utilities_1.initializeComponentRef)(_this); + var multiSelect = props.multiSelect, selectedKey = props.selectedKey, selectedKeys = props.selectedKeys, defaultSelectedKey = props.defaultSelectedKey, defaultSelectedKeys = props.defaultSelectedKeys, options = props.options; + if (true) { + (0, Utilities_1.warnDeprecations)(COMPONENT_NAME, props, { + isDisabled: 'disabled', + onChanged: 'onChange', + placeHolder: 'placeholder', + onRenderPlaceHolder: 'onRenderPlaceholder', + }); + (0, Utilities_1.warnMutuallyExclusive)(COMPONENT_NAME, props, { + defaultSelectedKey: 'selectedKey', + defaultSelectedKeys: 'selectedKeys', + selectedKeys: 'selectedKey', + }); + if (multiSelect) { + var warnMultiSelect = function (prop) { + return (0, Utilities_1.warn)("Dropdown property '".concat(prop, "' cannot be used when 'multiSelect' is true. Use '").concat(prop, "s' instead.")); + }; + if (selectedKey !== undefined) { + warnMultiSelect('selectedKey'); + } + if (defaultSelectedKey !== undefined) { + warnMultiSelect('defaultSelectedKey'); + } + } + else { + var warnNotMultiSelect = function (prop) { + return (0, Utilities_1.warn)("Dropdown property '".concat(prop, "s' cannot be used when 'multiSelect' is false/unset. Use '").concat(prop, "' instead.")); + }; + if (selectedKeys !== undefined) { + warnNotMultiSelect('selectedKey'); + } + if (defaultSelectedKeys !== undefined) { + warnNotMultiSelect('defaultSelectedKey'); + } + } + } + _this._id = props.id || (0, Utilities_1.getId)('Dropdown'); + _this._labelId = _this._id + '-label'; + _this._listId = _this._id + '-list'; + _this._optionId = _this._id + '-option'; + _this._isScrollIdle = true; + _this._hasBeenPositioned = false; + _this._sizePosCache.updateOptions(options); + _this.state = { + isOpen: false, + hasFocus: false, + calloutRenderEdge: undefined, + }; + return _this; + } + Object.defineProperty(DropdownInternal.prototype, "selectedOptions", { + /** + * All selected options + */ + get: function () { + var _a = this.props, options = _a.options, selectedIndices = _a.hoisted.selectedIndices; + return (0, SelectableOption_1.getAllSelectedOptions)(options, selectedIndices); + }, + enumerable: false, + configurable: true + }); + DropdownInternal.prototype.componentWillUnmount = function () { + clearTimeout(this._scrollIdleTimeoutId); + }; + DropdownInternal.prototype.componentDidUpdate = function (prevProps, prevState) { + if (prevState.isOpen === true && this.state.isOpen === false) { + this._gotMouseMove = false; + this._hasBeenPositioned = false; + if (this.props.onDismiss) { + this.props.onDismiss(); + } + } + }; + DropdownInternal.prototype.render = function () { + var id = this._id; + var props = this.props; + var className = props.className, label = props.label, options = props.options, ariaLabel = props.ariaLabel, required = props.required, errorMessage = props.errorMessage, propStyles = props.styles, theme = props.theme, panelProps = props.panelProps, calloutProps = props.calloutProps, _a = props.onRenderTitle, onRenderTitle = _a === void 0 ? this._getTitle : _a, _b = props.onRenderContainer, onRenderContainer = _b === void 0 ? this._onRenderContainer : _b, _c = props.onRenderCaretDown, onRenderCaretDown = _c === void 0 ? this._onRenderCaretDown : _c, _d = props.onRenderLabel, onRenderLabel = _d === void 0 ? this._onRenderLabel : _d, _e = props.onRenderItem, onRenderItem = _e === void 0 ? this._onRenderItem : _e, selectedIndices = props.hoisted.selectedIndices; + var _f = this.state, isOpen = _f.isOpen, calloutRenderEdge = _f.calloutRenderEdge, hasFocus = _f.hasFocus; + // eslint-disable-next-line deprecation/deprecation + var onRenderPlaceholder = props.onRenderPlaceholder || props.onRenderPlaceHolder || this._getPlaceholder; + // If our cached options are out of date update our cache + if (options !== this._sizePosCache.cachedOptions) { + this._sizePosCache.updateOptions(options); + } + var selectedOptions = (0, SelectableOption_1.getAllSelectedOptions)(options, selectedIndices); + var divProps = (0, Utilities_1.getNativeProps)(props, Utilities_1.divProperties); + var disabled = this._isDisabled(); + var errorMessageId = id + '-errorMessage'; + this._classNames = getClassNames(propStyles, { + theme: theme, + className: className, + hasError: !!(errorMessage && errorMessage.length > 0), + hasLabel: !!label, + isOpen: isOpen, + required: required, + disabled: disabled, + isRenderingPlaceholder: !selectedOptions.length, + panelClassName: panelProps ? panelProps.className : undefined, + calloutClassName: calloutProps ? calloutProps.className : undefined, + calloutRenderEdge: calloutRenderEdge, + }); + var hasErrorMessage = !!errorMessage && errorMessage.length > 0; + return (React.createElement("div", { className: this._classNames.root, ref: this.props.hoisted.rootRef, "aria-owns": isOpen ? this._listId : undefined }, + onRenderLabel(this.props, this._onRenderLabel), + React.createElement("div", tslib_1.__assign({ "data-is-focusable": !disabled, "data-ktp-target": true, ref: this._dropDown, id: id, tabIndex: disabled ? -1 : 0, role: "combobox", "aria-haspopup": "listbox", "aria-expanded": isOpen ? 'true' : 'false', "aria-label": ariaLabel, "aria-labelledby": label && !ariaLabel ? (0, Utilities_1.mergeAriaAttributeValues)(this._labelId, this._optionId) : undefined, "aria-describedby": hasErrorMessage ? this._id + '-errorMessage' : undefined, "aria-required": required, "aria-disabled": disabled, "aria-controls": isOpen ? this._listId : undefined }, divProps, { className: this._classNames.dropdown, onBlur: this._onDropdownBlur, onKeyDown: this._onDropdownKeyDown, onKeyUp: this._onDropdownKeyUp, onClick: this._onDropdownClick, onMouseDown: this._onDropdownMouseDown, onFocus: this._onFocus }), + React.createElement("span", { id: this._optionId, className: this._classNames.title, "aria-live": hasFocus ? 'polite' : undefined, "aria-atomic": hasFocus ? true : undefined, "aria-invalid": hasErrorMessage }, + // If option is selected render title, otherwise render the placeholder text + selectedOptions.length + ? onRenderTitle(selectedOptions, this._onRenderTitle) + : onRenderPlaceholder(props, this._onRenderPlaceholder)), + React.createElement("span", { className: this._classNames.caretDownWrapper }, onRenderCaretDown(props, this._onRenderCaretDown))), + isOpen && + onRenderContainer(tslib_1.__assign(tslib_1.__assign({}, props), { onDismiss: this._onDismiss, onRenderItem: onRenderItem }), this._onRenderContainer), + hasErrorMessage && (React.createElement("div", { role: "alert", id: errorMessageId, className: this._classNames.errorMessage }, errorMessage)))); + }; + DropdownInternal.prototype.focus = function (shouldOpenOnFocus) { + if (this._dropDown.current) { + this._dropDown.current.focus(); + if (shouldOpenOnFocus) { + this.setState({ + isOpen: true, + }); + } + } + }; + DropdownInternal.prototype.setSelectedIndex = function (event, index) { + var _a = this.props, options = _a.options, selectedKey = _a.selectedKey, selectedKeys = _a.selectedKeys, multiSelect = _a.multiSelect, notifyOnReselect = _a.notifyOnReselect, _b = _a.hoisted.selectedIndices, selectedIndices = _b === void 0 ? [] : _b; + var checked = selectedIndices ? selectedIndices.indexOf(index) > -1 : false; + var newIndexes = []; + index = Math.max(0, Math.min(options.length - 1, index)); + // If this is a controlled component then no state change should take place. + if (selectedKey !== undefined || selectedKeys !== undefined) { + this._onChange(event, options, index, checked, multiSelect); + return; + } + if (!multiSelect && !notifyOnReselect && index === selectedIndices[0]) { + return; + } + else if (multiSelect) { + newIndexes = selectedIndices ? this._copyArray(selectedIndices) : []; + if (checked) { + var position = newIndexes.indexOf(index); + if (position > -1) { + // unchecked the current one + newIndexes.splice(position, 1); + } + } + else { + // add the new selected index into the existing one + newIndexes.push(index); + } + } + else { + // Set the selected option if this is an uncontrolled component + newIndexes = [index]; + } + event.persist(); + // Call onChange after state is updated + this.props.hoisted.setSelectedIndices(newIndexes); + this._onChange(event, options, index, checked, multiSelect); + }; + DropdownInternal.prototype._copyArray = function (array) { + var newArray = []; + for (var _i = 0, array_1 = array; _i < array_1.length; _i++) { + var element = array_1[_i]; + newArray.push(element); + } + return newArray; + }; + /** + * Finds the next valid Dropdown option and sets the selected index to it. + * @param stepValue - Value of how many items the function should traverse. Should be -1 or 1. + * @param index - Index of where the search should start + * @param selectedIndex - The selectedIndex Dropdown's state + * @returns The next valid dropdown option's index + */ + DropdownInternal.prototype._moveIndex = function (event, stepValue, index, selectedIndex) { + var options = this.props.options; + // Return selectedIndex if nothing has changed or options is empty + if (selectedIndex === index || options.length === 0) { + return selectedIndex; + } + // If the user is pressing the up or down key we want to make + // sure that the dropdown cycles through the options without + // causing the screen to scroll. In _onDropdownKeyDown + // at the very end is a check to see if newIndex !== selectedIndex. + // If the index is less than 0 and we set it back to 0, then + // newIndex will equal selectedIndex and not stop the action + // of the key press happening and vice versa for indexes greater + // than or equal to the options length. + if (index >= options.length) { + index = 0; + } + else if (index < 0) { + index = options.length - 1; + } + var stepCounter = 0; + // If current index is a header or divider, or disabled, increment by step + while (options[index].itemType === Dropdown_types_1.DropdownMenuItemType.Header || + options[index].itemType === Dropdown_types_1.DropdownMenuItemType.Divider || + options[index].disabled) { + // If stepCounter exceeds length of options, then return selectedIndex (-1) + if (stepCounter >= options.length) { + return selectedIndex; + } + // If index + stepValue is out of bounds, wrap around + if (index + stepValue < 0) { + index = options.length; + } + else if (index + stepValue >= options.length) { + index = -1; + } + index = index + stepValue; + stepCounter++; + } + this.setSelectedIndex(event, index); + return index; + }; + /** Wrap item list in a FocusZone */ + DropdownInternal.prototype._renderFocusableList = function (props) { + var _a = props.onRenderList, onRenderList = _a === void 0 ? this._onRenderList : _a, label = props.label, ariaLabel = props.ariaLabel, multiSelect = props.multiSelect; + return (React.createElement("div", { className: this._classNames.dropdownItemsWrapper, onKeyDown: this._onZoneKeyDown, onKeyUp: this._onZoneKeyUp, ref: this._host, tabIndex: 0 }, + React.createElement(FocusZone_1.FocusZone, { ref: this._focusZone, direction: FocusZone_1.FocusZoneDirection.vertical, id: this._listId, className: this._classNames.dropdownItems, role: "listbox", "aria-label": ariaLabel, "aria-labelledby": label && !ariaLabel ? this._labelId : undefined, "aria-multiselectable": multiSelect }, onRenderList(props, this._onRenderList)))); + }; + DropdownInternal.prototype._renderSeparator = function (item) { + var index = item.index, key = item.key; + var separatorClassName = item.hidden ? this._classNames.dropdownDividerHidden : this._classNames.dropdownDivider; + if (index > 0) { + return React.createElement("div", { role: "presentation", key: key, className: separatorClassName }); + } + return null; + }; + DropdownInternal.prototype._renderHeader = function (item) { + var _a = this.props.onRenderOption, onRenderOption = _a === void 0 ? this._onRenderOption : _a; + var key = item.key, id = item.id; + var headerClassName = item.hidden + ? this._classNames.dropdownItemHeaderHidden + : this._classNames.dropdownItemHeader; + return (React.createElement("div", { id: id, key: key, className: headerClassName }, onRenderOption(item, this._onRenderOption))); + }; + DropdownInternal.prototype._onItemMouseEnter = function (item, ev) { + if (this._shouldIgnoreMouseEvent()) { + return; + } + var targetElement = ev.currentTarget; + targetElement.focus(); + }; + DropdownInternal.prototype._onItemMouseMove = function (item, ev) { + var targetElement = ev.currentTarget; + this._gotMouseMove = true; + if (!this._isScrollIdle || document.activeElement === targetElement) { + return; + } + targetElement.focus(); + }; + DropdownInternal.prototype._shouldIgnoreMouseEvent = function () { + return !this._isScrollIdle || !this._gotMouseMove; + }; + /** + * Returns true if the key for the event is alt (Mac option) or meta (Mac command). + */ + DropdownInternal.prototype._isAltOrMeta = function (ev) { + // eslint-disable-next-line deprecation/deprecation + return ev.which === Utilities_1.KeyCodes.alt || ev.key === 'Meta'; + }; + /** + * We close the menu on key up only if ALL of the following are true: + * - Most recent key down was alt or meta (command) + * - The alt/meta key down was NOT followed by some other key (such as down/up arrow to + * expand/collapse the menu) + * - We're not on a Mac (or iOS) + * + * This is because on Windows, pressing alt moves focus to the application menu bar or similar, + * closing any open context menus. There is not a similar behavior on Macs. + */ + DropdownInternal.prototype._shouldHandleKeyUp = function (ev) { + var keyPressIsAltOrMetaAlone = this._lastKeyDownWasAltOrMeta && this._isAltOrMeta(ev); + this._lastKeyDownWasAltOrMeta = false; + return !!keyPressIsAltOrMetaAlone && !((0, Utilities_1.isMac)() || (0, Utilities_1.isIOS)()); + }; + /** + * Returns true if dropdown should set to open on focus. + * Otherwise, isOpen state should be toggled on click + */ + DropdownInternal.prototype._shouldOpenOnFocus = function () { + var hasFocus = this.state.hasFocus; + var openOnKeyboardFocus = this.props.openOnKeyboardFocus; + return !this._isFocusedByClick && openOnKeyboardFocus === true && !hasFocus; + }; + DropdownInternal.defaultProps = { + options: [], + }; + return DropdownInternal; +}(React.Component)); +//# sourceMappingURL=Dropdown.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Dropdown = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Dropdown_base_1 = __webpack_require__(/*! ./Dropdown.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.base.js"); +var Dropdown_styles_1 = __webpack_require__(/*! ./Dropdown.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.styles.js"); +exports.Dropdown = (0, Utilities_1.styled)(Dropdown_base_1.DropdownBase, Dropdown_styles_1.getStyles, undefined, { + scope: 'Dropdown', +}); +exports.Dropdown.displayName = 'Dropdown'; +//# sourceMappingURL=Dropdown.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.styles.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.styles.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +var _a, _b, _c, _d; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Positioning_1 = __webpack_require__(/*! ../../Positioning */ "./node_modules/@fluentui/react/lib-commonjs/Positioning.js"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var GlobalClassNames = { + root: 'ms-Dropdown-container', + label: 'ms-Dropdown-label', + dropdown: 'ms-Dropdown', + title: 'ms-Dropdown-title', + caretDownWrapper: 'ms-Dropdown-caretDownWrapper', + caretDown: 'ms-Dropdown-caretDown', + callout: 'ms-Dropdown-callout', + panel: 'ms-Dropdown-panel', + dropdownItems: 'ms-Dropdown-items', + dropdownItem: 'ms-Dropdown-item', + dropdownDivider: 'ms-Dropdown-divider', + dropdownOptionText: 'ms-Dropdown-optionText', + dropdownItemHeader: 'ms-Dropdown-header', + titleIsPlaceHolder: 'ms-Dropdown-titleIsPlaceHolder', + titleHasError: 'ms-Dropdown-title--hasError', +}; +var DROPDOWN_HEIGHT = 32; +var DROPDOWN_ITEM_HEIGHT = 36; +var highContrastAdjustMixin = (_a = {}, + _a["".concat(Styling_1.HighContrastSelector, ", ").concat(Styling_1.HighContrastSelectorWhite.replace('@media ', ''))] = tslib_1.__assign({}, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _a); +var highContrastItemAndTitleStateMixin = { + selectors: tslib_1.__assign((_b = {}, _b[Styling_1.HighContrastSelector] = { + backgroundColor: 'Highlight', + borderColor: 'Highlight', + color: 'HighlightText', + }, _b['.ms-Checkbox-checkbox'] = (_c = {}, + _c[Styling_1.HighContrastSelector] = { + borderColor: 'HighlightText', + }, + _c), _b), highContrastAdjustMixin), +}; +var highContrastBorderState = { + selectors: (_d = {}, + _d[Styling_1.HighContrastSelector] = { + borderColor: 'Highlight', + }, + _d), +}; +var MinimumScreenSelector = (0, Styling_1.getScreenSelector)(0, Styling_1.ScreenWidthMinMedium); +var getStyles = function (props) { + var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m; + var theme = props.theme, hasError = props.hasError, hasLabel = props.hasLabel, className = props.className, isOpen = props.isOpen, disabled = props.disabled, required = props.required, isRenderingPlaceholder = props.isRenderingPlaceholder, panelClassName = props.panelClassName, calloutClassName = props.calloutClassName, calloutRenderEdge = props.calloutRenderEdge; + if (!theme) { + throw new Error('theme is undefined or null in base Dropdown getStyles function.'); + } + var globalClassnames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + var palette = theme.palette, semanticColors = theme.semanticColors, effects = theme.effects, fonts = theme.fonts; + var rootHoverFocusActiveSelectorNeutralDarkMixin = { + color: semanticColors.menuItemTextHovered, + }; + var rootHoverFocusActiveSelectorNeutralPrimaryMixin = { + color: semanticColors.menuItemText, + }; + var borderColorError = { + borderColor: semanticColors.errorText, + }; + var dropdownItemStyle = [ + globalClassnames.dropdownItem, + { + backgroundColor: 'transparent', + boxSizing: 'border-box', + cursor: 'pointer', + display: 'flex', + alignItems: 'center', + padding: '0 8px', + width: '100%', + minHeight: DROPDOWN_ITEM_HEIGHT, + lineHeight: 20, + height: 0, + position: 'relative', + border: '1px solid transparent', + borderRadius: 0, + wordWrap: 'break-word', + overflowWrap: 'break-word', + textAlign: 'left', + '.ms-Button-flexContainer': { + width: '100%', + }, + }, + ]; + var dropdownHeaderStyle = [ + globalClassnames.dropdownItemHeader, + tslib_1.__assign(tslib_1.__assign({}, fonts.medium), { fontWeight: Styling_1.FontWeights.semibold, color: semanticColors.menuHeader, background: 'none', backgroundColor: 'transparent', border: 'none', height: DROPDOWN_ITEM_HEIGHT, lineHeight: DROPDOWN_ITEM_HEIGHT, cursor: 'default', padding: '0 8px', userSelect: 'none', textAlign: 'left', selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'GrayText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _a) }), + ]; + var selectedItemBackgroundColor = semanticColors.menuItemBackgroundPressed; + var itemSelectors = function (isSelected) { + var _a, _b; + if (isSelected === void 0) { isSelected = false; } + return { + selectors: (_a = { + '&:hover': [ + { + color: semanticColors.menuItemTextHovered, + backgroundColor: !isSelected ? semanticColors.menuItemBackgroundHovered : selectedItemBackgroundColor, + }, + highContrastItemAndTitleStateMixin, + ], + '&.is-multi-select:hover': [ + { backgroundColor: !isSelected ? 'transparent' : selectedItemBackgroundColor }, + highContrastItemAndTitleStateMixin, + ], + '&:active:hover': [ + { + color: semanticColors.menuItemTextHovered, + backgroundColor: !isSelected + ? semanticColors.menuItemBackgroundPressed + : semanticColors.menuItemBackgroundHovered, + }, + highContrastItemAndTitleStateMixin, + ] + }, + _a[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus:after")] = (_b = { + left: 0, + top: 0, + bottom: 0, + right: 0 + }, + _b[Styling_1.HighContrastSelector] = { + inset: '2px', + }, + _b), + _a[Styling_1.HighContrastSelector] = { + border: 'none', + }, + _a), + }; + }; + var dropdownItemSelected = tslib_1.__spreadArray(tslib_1.__spreadArray([], dropdownItemStyle, true), [ + { + backgroundColor: selectedItemBackgroundColor, + color: semanticColors.menuItemTextHovered, + }, + itemSelectors(true), + highContrastItemAndTitleStateMixin, + ], false); + var dropdownItemDisabled = tslib_1.__spreadArray(tslib_1.__spreadArray([], dropdownItemStyle, true), [ + { + color: semanticColors.disabledText, + cursor: 'default', + selectors: (_b = {}, + _b[Styling_1.HighContrastSelector] = { + color: 'GrayText', + border: 'none', + }, + _b), + }, + ], false); + var titleOpenBorderRadius = calloutRenderEdge === Positioning_1.RectangleEdge.bottom + ? "".concat(effects.roundedCorner2, " ").concat(effects.roundedCorner2, " 0 0") + : "0 0 ".concat(effects.roundedCorner2, " ").concat(effects.roundedCorner2); + var calloutOpenBorderRadius = calloutRenderEdge === Positioning_1.RectangleEdge.bottom + ? "0 0 ".concat(effects.roundedCorner2, " ").concat(effects.roundedCorner2) + : "".concat(effects.roundedCorner2, " ").concat(effects.roundedCorner2, " 0 0"); + return { + root: [globalClassnames.root, className], + label: globalClassnames.label, + dropdown: [ + globalClassnames.dropdown, + Styling_1.normalize, + fonts.medium, + { + color: semanticColors.menuItemText, + borderColor: semanticColors.focusBorder, + position: 'relative', + outline: 0, + userSelect: 'none', + selectors: (_c = {}, + _c['&:hover .' + globalClassnames.title] = [ + !disabled && rootHoverFocusActiveSelectorNeutralDarkMixin, + { borderColor: isOpen ? palette.neutralSecondary : palette.neutralPrimary }, + highContrastBorderState, + ], + _c['&:focus .' + globalClassnames.title] = [ + !disabled && rootHoverFocusActiveSelectorNeutralDarkMixin, + { selectors: (_d = {}, _d[Styling_1.HighContrastSelector] = { color: 'Highlight' }, _d) }, + ], + _c['&:focus:after'] = [ + { + pointerEvents: 'none', + content: "''", + position: 'absolute', + boxSizing: 'border-box', + top: '0px', + left: '0px', + width: '100%', + height: '100%', + // see https://github.com/microsoft/fluentui/pull/9182 for semantic color disc + border: !disabled ? "2px solid ".concat(palette.themePrimary) : 'none', + borderRadius: '2px', + selectors: (_e = {}, + _e[Styling_1.HighContrastSelector] = { + color: 'Highlight', + }, + _e), + }, + ], + _c['&:active .' + globalClassnames.title] = [ + !disabled && rootHoverFocusActiveSelectorNeutralDarkMixin, + { borderColor: palette.themePrimary }, + highContrastBorderState, + ], + _c['&:hover .' + globalClassnames.caretDown] = !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin, + _c['&:focus .' + globalClassnames.caretDown] = [ + !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin, + { selectors: (_f = {}, _f[Styling_1.HighContrastSelector] = { color: 'Highlight' }, _f) }, + ], + _c['&:active .' + globalClassnames.caretDown] = !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin, + _c['&:hover .' + globalClassnames.titleIsPlaceHolder] = !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin, + _c['&:focus .' + globalClassnames.titleIsPlaceHolder] = !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin, + _c['&:active .' + globalClassnames.titleIsPlaceHolder] = !disabled && rootHoverFocusActiveSelectorNeutralPrimaryMixin, + _c['&:hover .' + globalClassnames.titleHasError] = borderColorError, + _c['&:active .' + globalClassnames.titleHasError] = borderColorError, + _c), + }, + isOpen && 'is-open', + disabled && 'is-disabled', + required && 'is-required', + required && + !hasLabel && { + selectors: (_g = { + ':before': { + content: "'*'", + color: semanticColors.errorText, + position: 'absolute', + top: -5, + right: -10, + } + }, + _g[Styling_1.HighContrastSelector] = { + selectors: { + ':after': { + right: -14, // moving the * 4 pixel to right to alleviate border clipping in HC mode. + }, + }, + }, + _g), + }, + ], + title: [ + globalClassnames.title, + Styling_1.normalize, + { + backgroundColor: semanticColors.inputBackground, + borderWidth: 1, + borderStyle: 'solid', + borderColor: semanticColors.inputBorder, + borderRadius: isOpen ? titleOpenBorderRadius : effects.roundedCorner2, + cursor: 'pointer', + display: 'block', + height: DROPDOWN_HEIGHT, + lineHeight: DROPDOWN_HEIGHT - 2, + padding: "0 28px 0 8px", + position: 'relative', + overflow: 'hidden', + whiteSpace: 'nowrap', + textOverflow: 'ellipsis', + }, + isRenderingPlaceholder && [globalClassnames.titleIsPlaceHolder, { color: semanticColors.inputPlaceholderText }], + hasError && [globalClassnames.titleHasError, borderColorError], + disabled && { + backgroundColor: semanticColors.disabledBackground, + border: 'none', + color: semanticColors.disabledText, + cursor: 'default', + selectors: (_h = {}, + _h[Styling_1.HighContrastSelector] = tslib_1.__assign({ border: '1px solid GrayText', color: 'GrayText', backgroundColor: 'Window' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _h), + }, + ], + caretDownWrapper: [ + globalClassnames.caretDownWrapper, + { + height: DROPDOWN_HEIGHT, + lineHeight: DROPDOWN_HEIGHT - 2, + paddingTop: 1, + position: 'absolute', + right: 8, + top: 0, + }, + !disabled && { + cursor: 'pointer', + }, + ], + caretDown: [ + globalClassnames.caretDown, + { color: palette.neutralSecondary, fontSize: fonts.small.fontSize, pointerEvents: 'none' }, + disabled && { + color: semanticColors.disabledText, + selectors: (_j = {}, + _j[Styling_1.HighContrastSelector] = tslib_1.__assign({ color: 'GrayText' }, (0, Styling_1.getHighContrastNoAdjustStyle)()), + _j), + }, + ], + errorMessage: tslib_1.__assign(tslib_1.__assign({ color: semanticColors.errorText }, theme.fonts.small), { paddingTop: 5 }), + callout: [ + globalClassnames.callout, + { + boxShadow: effects.elevation8, + borderRadius: calloutOpenBorderRadius, + selectors: (_k = {}, + _k['.ms-Callout-main'] = { borderRadius: calloutOpenBorderRadius }, + _k), + }, + calloutClassName, + ], + dropdownItemsWrapper: { selectors: { '&:focus': { outline: 0 } } }, + dropdownItems: [globalClassnames.dropdownItems, { display: 'block' }], + dropdownItem: tslib_1.__spreadArray(tslib_1.__spreadArray([], dropdownItemStyle, true), [itemSelectors()], false), + dropdownItemSelected: dropdownItemSelected, + dropdownItemDisabled: dropdownItemDisabled, + dropdownItemSelectedAndDisabled: [dropdownItemSelected, dropdownItemDisabled, { backgroundColor: 'transparent' }], + dropdownItemHidden: tslib_1.__spreadArray(tslib_1.__spreadArray([], dropdownItemStyle, true), [{ display: 'none' }], false), + dropdownDivider: [globalClassnames.dropdownDivider, { height: 1, backgroundColor: semanticColors.bodyDivider }], + dropdownDividerHidden: [globalClassnames.dropdownDivider, { display: 'none' }], + dropdownOptionText: [ + globalClassnames.dropdownOptionText, + { + overflow: 'hidden', + whiteSpace: 'nowrap', + textOverflow: 'ellipsis', + minWidth: 0, + maxWidth: '100%', + wordWrap: 'break-word', + overflowWrap: 'break-word', + margin: '1px', + }, + ], + dropdownItemHeader: dropdownHeaderStyle, + dropdownItemHeaderHidden: tslib_1.__spreadArray(tslib_1.__spreadArray([], dropdownHeaderStyle, true), [{ display: 'none' }], false), + subComponentStyles: { + label: { root: { display: 'inline-block' } }, + multiSelectItem: { + root: { + padding: 0, + }, + label: { + alignSelf: 'stretch', + padding: '0 8px', + width: '100%', + }, + input: { + selectors: (_l = {}, + _l[".".concat(Utilities_1.IsFocusVisibleClassName, " &:focus + label::before")] = { + outlineOffset: '0px', + }, + _l), + }, + }, + panel: { + root: [panelClassName], + main: { + selectors: (_m = {}, + // In case of extra small screen sizes + _m[MinimumScreenSelector] = { + // panelWidth xs + width: 272, + }, + _m), + }, + contentInner: { padding: '0 0 20px' }, + }, + }, + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=Dropdown.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.types.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.types.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DropdownMenuItemType = void 0; +var SelectableOption_1 = __webpack_require__(/*! ../../SelectableOption */ "./node_modules/@fluentui/react/lib-commonjs/SelectableOption.js"); +Object.defineProperty(exports, "DropdownMenuItemType", ({ enumerable: true, get: function () { return SelectableOption_1.SelectableOptionMenuItemType; } })); +//# sourceMappingURL=Dropdown.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/index.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/index.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Dropdown */ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Dropdown.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Dropdown.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/utilities/DropdownSizePosCache.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/utilities/DropdownSizePosCache.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DropdownSizePosCache = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Dropdown_types_1 = __webpack_require__(/*! ../Dropdown.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Dropdown/Dropdown.types.js"); +/** + * A utility class to cache size and position in cache. + * + * Dropdown options has non-selectable display types. It is therefore not cheap to determine + * the total number of actual selectable options as well as the position an option is in the + * list of options - O(n) cost for each lookup. + * + * Given that we potentially have to make this determination on every single render pass, this + * cache should provide a little bit of relief. + */ +var DropdownSizePosCache = /** @class */ (function () { + function DropdownSizePosCache() { + this._size = 0; + } + /** + * Invalidates the cache and recalculate the size of selectable options. + */ + DropdownSizePosCache.prototype.updateOptions = function (options) { + var displayOnlyOptionsCache = []; + var notSelectableOptionsCache = []; + var size = 0; + for (var i = 0; i < options.length; i++) { + var _a = options[i], itemType = _a.itemType, hidden = _a.hidden; + if (itemType === Dropdown_types_1.DropdownMenuItemType.Divider || itemType === Dropdown_types_1.DropdownMenuItemType.Header) { + displayOnlyOptionsCache.push(i); + notSelectableOptionsCache.push(i); + } + else if (hidden) { + notSelectableOptionsCache.push(i); + } + else { + size++; + } + } + this._size = size; + this._displayOnlyOptionsCache = displayOnlyOptionsCache; + this._notSelectableOptionsCache = notSelectableOptionsCache; + this._cachedOptions = tslib_1.__spreadArray([], options, true); + }; + Object.defineProperty(DropdownSizePosCache.prototype, "optionSetSize", { + /** + * The size of all the selectable options. + */ + get: function () { + return this._size; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(DropdownSizePosCache.prototype, "cachedOptions", { + /** + * The chached options array. + */ + get: function () { + return this._cachedOptions; + }, + enumerable: false, + configurable: true + }); + /** + * Returns the position of this option element relative to the full set of selectable option elements. + * Note: the first selectable element is position 1 in the set. + * @param index The raw index of the option element. + */ + DropdownSizePosCache.prototype.positionInSet = function (index) { + if (index === undefined) { + return undefined; + } + // we could possibly memoize this too but this should be good enough, most of the time (the expectation is that + // when you have a lot of options, the selectable options will heavily dominate over the non-selectable options. + var offset = 0; + while (index > this._notSelectableOptionsCache[offset]) { + offset++; + } + if (this._displayOnlyOptionsCache[offset] === index) { + throw new Error("Unexpected: Option at index ".concat(index, " is not a selectable element.")); + } + if (this._notSelectableOptionsCache[offset] === index) { + return undefined; + } + return index - offset + 1; + }; + return DropdownSizePosCache; +}()); +exports.DropdownSizePosCache = DropdownSizePosCache; +//# sourceMappingURL=DropdownSizePosCache.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/BaseExtendedPicker.js": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/BaseExtendedPicker.js ***! + \***************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.BaseExtendedPicker = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Autofill_1 = __webpack_require__(/*! ../../Autofill */ "./node_modules/@fluentui/react/lib-commonjs/Autofill.js"); +var stylesImport = __webpack_require__(/*! ./BaseExtendedPicker.scss */ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/BaseExtendedPicker.scss.js"); +var FocusZone_1 = __webpack_require__(/*! ../../FocusZone */ "./node_modules/@fluentui/react/lib-commonjs/FocusZone.js"); +var Selection_1 = __webpack_require__(/*! ../../Selection */ "./node_modules/@fluentui/react/lib-commonjs/Selection.js"); +var styles = stylesImport; +var BaseExtendedPicker = /** @class */ (function (_super) { + tslib_1.__extends(BaseExtendedPicker, _super); + function BaseExtendedPicker(basePickerProps) { + var _this = _super.call(this, basePickerProps) || this; + _this.floatingPicker = React.createRef(); + _this.selectedItemsList = React.createRef(); + _this.root = React.createRef(); + _this.input = React.createRef(); + _this.onSelectionChange = function () { + _this.forceUpdate(); + }; + _this.onInputChange = function (value, composing) { + // We don't want to update the picker's suggestions when the input is still being composed + if (!composing) { + _this.setState({ queryString: value }); + if (_this.floatingPicker.current) { + _this.floatingPicker.current.onQueryStringChanged(value); + } + } + }; + _this.onInputFocus = function (ev) { + if (_this.selectedItemsList.current) { + _this.selectedItemsList.current.unselectAll(); + } + if (_this.props.inputProps && _this.props.inputProps.onFocus) { + _this.props.inputProps.onFocus(ev); + } + }; + _this.onInputClick = function (ev) { + if (_this.selectedItemsList.current) { + _this.selectedItemsList.current.unselectAll(); + } + if (_this.floatingPicker.current && _this.inputElement) { + // Update the value if the input value is empty or is different than the current inputText from the floatingPicker + var shoudUpdateValue = _this.inputElement.value === '' || _this.inputElement.value !== _this.floatingPicker.current.inputText; + _this.floatingPicker.current.showPicker(shoudUpdateValue); + } + }; + // This is protected because we may expect the backspace key to work differently in a different kind of picker. + // This lets the subclass override it and provide it's own onBackspace. For an example see the BasePickerListBelow + _this.onBackspace = function (ev) { + // eslint-disable-next-line deprecation/deprecation + if (ev.which !== Utilities_1.KeyCodes.backspace) { + return; + } + if (_this.selectedItemsList.current && _this.items.length) { + if (_this.input.current && + !_this.input.current.isValueSelected && + _this.input.current.inputElement === ev.currentTarget.ownerDocument.activeElement && + _this.input.current.cursorLocation === 0) { + if (_this.floatingPicker.current) { + _this.floatingPicker.current.hidePicker(); + } + ev.preventDefault(); + _this.selectedItemsList.current.removeItemAt(_this.items.length - 1); + _this._onSelectedItemsChanged(); + } + else if (_this.selectedItemsList.current.hasSelectedItems()) { + if (_this.floatingPicker.current) { + _this.floatingPicker.current.hidePicker(); + } + ev.preventDefault(); + _this.selectedItemsList.current.removeSelectedItems(); + _this._onSelectedItemsChanged(); + } + } + }; + _this.onCopy = function (ev) { + if (_this.selectedItemsList.current) { + // Pass it down into the selected items list + _this.selectedItemsList.current.onCopy(ev); + } + }; + _this.onPaste = function (ev) { + if (_this.props.onPaste) { + var inputText = ev.clipboardData.getData('Text'); + ev.preventDefault(); + _this.props.onPaste(inputText); + } + }; + _this._onSuggestionSelected = function (item) { + var currentRenderedQueryString = _this.props.currentRenderedQueryString; + var queryString = _this.state.queryString; + if (currentRenderedQueryString === undefined || currentRenderedQueryString === queryString) { + var processedItem = _this.props.onItemSelected + ? _this.props.onItemSelected(item) + : item; + if (processedItem === null) { + return; + } + var processedItemObject = processedItem; + var processedItemPromiseLike = processedItem; + var newItem_1; + if (processedItemPromiseLike && processedItemPromiseLike.then) { + processedItemPromiseLike.then(function (resolvedProcessedItem) { + newItem_1 = resolvedProcessedItem; + _this._addProcessedItem(newItem_1); + }); + } + else { + newItem_1 = processedItemObject; + _this._addProcessedItem(newItem_1); + } + } + }; + _this._onSelectedItemsChanged = function () { + _this.focus(); + }; + /** + * The floating picker is the source of truth for if the menu has been opened or not. + * + * Because this isn't tracked inside the state of this component, we need to + * force an update here to keep the rendered output that depends on the picker being open + * in sync with the state + * + * Called when the suggestions is shown or closed + */ + _this._onSuggestionsShownOrHidden = function () { + _this.forceUpdate(); + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this.selection = new Selection_1.Selection({ onSelectionChanged: function () { return _this.onSelectionChange(); } }); + _this.state = { + queryString: '', + }; + return _this; + } + Object.defineProperty(BaseExtendedPicker.prototype, "items", { + get: function () { + var _a, _b, _c, _d; + return (_d = (_c = (_a = this.props.selectedItems) !== null && _a !== void 0 ? _a : (_b = this.selectedItemsList.current) === null || _b === void 0 ? void 0 : _b.items) !== null && _c !== void 0 ? _c : this.props.defaultSelectedItems) !== null && _d !== void 0 ? _d : null; + }, + enumerable: false, + configurable: true + }); + BaseExtendedPicker.prototype.componentDidMount = function () { + this.forceUpdate(); + }; + BaseExtendedPicker.prototype.focus = function () { + if (this.input.current) { + this.input.current.focus(); + } + }; + BaseExtendedPicker.prototype.clearInput = function () { + if (this.input.current) { + this.input.current.clear(); + } + }; + Object.defineProperty(BaseExtendedPicker.prototype, "inputElement", { + get: function () { + return this.input.current && this.input.current.inputElement; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(BaseExtendedPicker.prototype, "highlightedItems", { + get: function () { + return this.selectedItemsList.current ? this.selectedItemsList.current.highlightedItems() : []; + }, + enumerable: false, + configurable: true + }); + BaseExtendedPicker.prototype.render = function () { + var _a = this.props, className = _a.className, inputProps = _a.inputProps, disabled = _a.disabled, focusZoneProps = _a.focusZoneProps; + var activeDescendant = this.floatingPicker.current && this.floatingPicker.current.currentSelectedSuggestionIndex !== -1 + ? 'sug-' + this.floatingPicker.current.currentSelectedSuggestionIndex + : undefined; + var isExpanded = this.floatingPicker.current ? this.floatingPicker.current.isSuggestionsShown : false; + return (React.createElement("div", { ref: this.root, className: (0, Utilities_1.css)('ms-BasePicker ms-BaseExtendedPicker', className ? className : ''), onKeyDown: this.onBackspace, onCopy: this.onCopy }, + React.createElement(FocusZone_1.FocusZone, tslib_1.__assign({ direction: FocusZone_1.FocusZoneDirection.bidirectional }, focusZoneProps), + React.createElement(Selection_1.SelectionZone, { selection: this.selection, selectionMode: Selection_1.SelectionMode.multiple }, + React.createElement("div", { className: (0, Utilities_1.css)('ms-BasePicker-text', styles.pickerText), role: 'list' }, + this.props.headerComponent, + this.renderSelectedItemsList(), + this.canAddItems() && (React.createElement(Autofill_1.Autofill, tslib_1.__assign({}, inputProps, { className: (0, Utilities_1.css)('ms-BasePicker-input', styles.pickerInput), ref: this.input, onFocus: this.onInputFocus, onClick: this.onInputClick, onInputValueChange: this.onInputChange, "aria-activedescendant": activeDescendant, "aria-owns": isExpanded ? 'suggestion-list' : undefined, "aria-expanded": isExpanded, "aria-haspopup": "true", role: "combobox", disabled: disabled, onPaste: this.onPaste })))))), + this.renderFloatingPicker())); + }; + Object.defineProperty(BaseExtendedPicker.prototype, "floatingPickerProps", { + get: function () { + return this.props.floatingPickerProps; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(BaseExtendedPicker.prototype, "selectedItemsListProps", { + get: function () { + return this.props.selectedItemsListProps; + }, + enumerable: false, + configurable: true + }); + BaseExtendedPicker.prototype.canAddItems = function () { + var itemLimit = this.props.itemLimit; + return itemLimit === undefined || this.items.length < itemLimit; + }; + BaseExtendedPicker.prototype.renderFloatingPicker = function () { + var FloatingPicker = this.props.onRenderFloatingPicker; + return (React.createElement(FloatingPicker, tslib_1.__assign({ componentRef: this.floatingPicker, onChange: this._onSuggestionSelected, onSuggestionsHidden: this._onSuggestionsShownOrHidden, onSuggestionsShown: this._onSuggestionsShownOrHidden, inputElement: this.input.current ? this.input.current.inputElement : undefined, selectedItems: this.items, suggestionItems: this.props.suggestionItems ? this.props.suggestionItems : undefined }, this.floatingPickerProps))); + }; + BaseExtendedPicker.prototype.renderSelectedItemsList = function () { + var SelectedItems = this.props.onRenderSelectedItems; + return (React.createElement(SelectedItems, tslib_1.__assign({ componentRef: this.selectedItemsList, selection: this.selection, selectedItems: this.props.selectedItems ? this.props.selectedItems : undefined, onItemsDeleted: this.props.selectedItems ? this.props.onItemsRemoved : undefined }, this.selectedItemsListProps))); + }; + BaseExtendedPicker.prototype._addProcessedItem = function (newItem) { + // If this is a controlled component, call the on item selected callback + // Otherwise add it to the selectedItemsList + if (this.props.onItemAdded) { + this.props.onItemAdded(newItem); + } + if (this.selectedItemsList.current) { + this.selectedItemsList.current.addItems([newItem]); + } + if (this.input.current) { + this.input.current.clear(); + } + if (this.floatingPicker.current) { + this.floatingPicker.current.hidePicker(); + } + this.focus(); + }; + return BaseExtendedPicker; +}(React.Component)); +exports.BaseExtendedPicker = BaseExtendedPicker; +//# sourceMappingURL=BaseExtendedPicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/BaseExtendedPicker.scss.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/BaseExtendedPicker.scss.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.pickerInput = exports.pickerText = void 0; +/* eslint-disable */ +var load_themed_styles_1 = __webpack_require__(/*! @microsoft/load-themed-styles */ "./node_modules/@microsoft/load-themed-styles/lib-es6/index.js"); +(0, load_themed_styles_1.loadStyles)([{ "rawString": ".pickerText_9f838726{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid " }, { "theme": "neutralTertiary", "defaultValue": "#a19f9d" }, { "rawString": ";min-width:180px;padding:1px;min-height:32px}.pickerText_9f838726:hover{border-color:" }, { "theme": "themeLight", "defaultValue": "#c7e0f4" }, { "rawString": "}.pickerInput_9f838726{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;margin:1px}.pickerInput_9f838726::-ms-clear{display:none}" }]); +exports.pickerText = "pickerText_9f838726"; +exports.pickerInput = "pickerInput_9f838726"; +//# sourceMappingURL=BaseExtendedPicker.scss.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/BaseExtendedPicker.types.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/BaseExtendedPicker.types.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=BaseExtendedPicker.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/PeoplePicker/ExtendedPeoplePicker.js": +/*!******************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/PeoplePicker/ExtendedPeoplePicker.js ***! + \******************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ExtendedPeoplePicker = exports.BaseExtendedPeoplePicker = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +__webpack_require__(/*! ./ExtendedPeoplePicker.scss */ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/PeoplePicker/ExtendedPeoplePicker.scss.js"); +var BaseExtendedPicker_1 = __webpack_require__(/*! ../BaseExtendedPicker */ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/BaseExtendedPicker.js"); +/** + * {@docCategory ExtendedPeoplePicker} + */ +var BaseExtendedPeoplePicker = /** @class */ (function (_super) { + tslib_1.__extends(BaseExtendedPeoplePicker, _super); + function BaseExtendedPeoplePicker() { + return _super !== null && _super.apply(this, arguments) || this; + } + return BaseExtendedPeoplePicker; +}(BaseExtendedPicker_1.BaseExtendedPicker)); +exports.BaseExtendedPeoplePicker = BaseExtendedPeoplePicker; +/** + * {@docCategory ExtendedPeoplePicker} + */ +var ExtendedPeoplePicker = /** @class */ (function (_super) { + tslib_1.__extends(ExtendedPeoplePicker, _super); + function ExtendedPeoplePicker() { + return _super !== null && _super.apply(this, arguments) || this; + } + return ExtendedPeoplePicker; +}(BaseExtendedPeoplePicker)); +exports.ExtendedPeoplePicker = ExtendedPeoplePicker; +//# sourceMappingURL=ExtendedPeoplePicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/PeoplePicker/ExtendedPeoplePicker.scss.js": +/*!***********************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/PeoplePicker/ExtendedPeoplePicker.scss.js ***! + \***********************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.peoplePickerPersonaContent = exports.peoplePicker = exports.peoplePickerPersona = exports.resultItem = exports.resultContent = void 0; +/* eslint-disable */ +var load_themed_styles_1 = __webpack_require__(/*! @microsoft/load-themed-styles */ "./node_modules/@microsoft/load-themed-styles/lib-es6/index.js"); +(0, load_themed_styles_1.loadStyles)([{ "rawString": ".resultContent_4cc31f3f{display:table-row}.resultContent_4cc31f3f .resultItem_4cc31f3f{display:table-cell;vertical-align:bottom}.peoplePickerPersona_4cc31f3f{width:180px}.peoplePickerPersona_4cc31f3f .ms-Persona-details{width:100%}.peoplePicker_4cc31f3f .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_4cc31f3f{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}" }]); +exports.resultContent = "resultContent_4cc31f3f"; +exports.resultItem = "resultItem_4cc31f3f"; +exports.peoplePickerPersona = "peoplePickerPersona_4cc31f3f"; +exports.peoplePicker = "peoplePicker_4cc31f3f"; +exports.peoplePickerPersonaContent = "peoplePickerPersonaContent_4cc31f3f"; +//# sourceMappingURL=ExtendedPeoplePicker.scss.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/index.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/index.js ***! + \**************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./BaseExtendedPicker */ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/BaseExtendedPicker.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./BaseExtendedPicker.types */ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/BaseExtendedPicker.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./PeoplePicker/ExtendedPeoplePicker */ "./node_modules/@fluentui/react/lib-commonjs/components/ExtendedPicker/PeoplePicker/ExtendedPeoplePicker.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.base.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.base.js ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FabricBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var getFabricTheme = (0, Utilities_1.memoizeFunction)(function (theme, isRTL) { return (0, Styling_1.createTheme)(tslib_1.__assign(tslib_1.__assign({}, theme), { rtl: isRTL })); }); +var getDir = function (_a) { + var theme = _a.theme, dir = _a.dir; + var contextDir = (0, Utilities_1.getRTL)(theme) ? 'rtl' : 'ltr'; + var pageDir = (0, Utilities_1.getRTL)() ? 'rtl' : 'ltr'; + var componentDir = dir ? dir : contextDir; + return { + // If Fabric dir !== contextDir + // Or If contextDir !== pageDir + // Then we need to set dir of the Fabric root + rootDir: componentDir !== contextDir || componentDir !== pageDir ? componentDir : dir, + // If dir !== contextDir || pageDir + // then set contextual theme around content + needsTheme: componentDir !== contextDir, + }; +}; +exports.FabricBase = React.forwardRef(function (props, ref) { + var className = props.className, theme = props.theme, applyTheme = props.applyTheme, applyThemeToBody = props.applyThemeToBody, styles = props.styles; + var classNames = getClassNames(styles, { + theme: theme, + applyTheme: applyTheme, + className: className, + }); + var rootElement = React.useRef(null); + useApplyThemeToBody(applyThemeToBody, classNames, rootElement); + return React.createElement(React.Fragment, null, useRenderedContent(props, classNames, rootElement, ref)); +}); +exports.FabricBase.displayName = 'FabricBase'; +function useRenderedContent(props, _a, rootElement, ref) { + var root = _a.root; + var _b = props.as, Root = _b === void 0 ? 'div' : _b, dir = props.dir, theme = props.theme; + var divProps = (0, Utilities_1.getNativeProps)(props, Utilities_1.divProperties, ['dir']); + var _c = getDir(props), rootDir = _c.rootDir, needsTheme = _c.needsTheme; + var renderedContent = (React.createElement(Utilities_1.FocusRectsProvider, { providerRef: rootElement }, + React.createElement(Root, tslib_1.__assign({ dir: rootDir }, divProps, { className: root, ref: (0, react_hooks_1.useMergedRefs)(rootElement, ref) })))); + // Create the contextual theme if component direction does not match parent direction. + if (needsTheme) { + // Disabling ThemeProvider here because theme doesn't need to be re-provided by ThemeProvider if dir has changed. + renderedContent = ( + // eslint-disable-next-line deprecation/deprecation + React.createElement(Utilities_1.Customizer, { settings: { theme: getFabricTheme(theme, dir === 'rtl') } }, renderedContent)); + } + return renderedContent; +} +function useApplyThemeToBody(applyThemeToBody, _a, rootElement) { + var bodyThemed = _a.bodyThemed; + React.useEffect(function () { + if (applyThemeToBody) { + var currentDoc_1 = (0, Utilities_1.getDocument)(rootElement.current); + if (currentDoc_1) { + currentDoc_1.body.classList.add(bodyThemed); + return function () { + currentDoc_1.body.classList.remove(bodyThemed); + }; + } + } + }, [bodyThemed, applyThemeToBody, rootElement]); + return rootElement; +} +//# sourceMappingURL=Fabric.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.js ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Fabric = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Fabric_base_1 = __webpack_require__(/*! ./Fabric.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.base.js"); +var Fabric_styles_1 = __webpack_require__(/*! ./Fabric.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.styles.js"); +/** + * @deprecated This component is deprecated as of `@fluentui/react` version 8. Use `ThemeProvider` instead. + */ +exports.Fabric = (0, Utilities_1.styled)(Fabric_base_1.FabricBase, Fabric_styles_1.getStyles, undefined, { + scope: 'Fabric', +}); +//# sourceMappingURL=Fabric.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.styles.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.styles.js ***! + \**************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var inheritFont = { fontFamily: 'inherit' }; +var GlobalClassNames = { + root: 'ms-Fabric', + bodyThemed: 'ms-Fabric-bodyThemed', +}; +var getStyles = function (props) { + var applyTheme = props.applyTheme, className = props.className, preventBlanketFontInheritance = props.preventBlanketFontInheritance, theme = props.theme; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + root: [ + classNames.root, + theme.fonts.medium, + { + color: theme.palette.neutralPrimary, + }, + !preventBlanketFontInheritance && { + '& button': inheritFont, + '& input': inheritFont, + '& textarea': inheritFont, + }, + // apply theme to only if applyTheme is true + applyTheme && { + color: theme.semanticColors.bodyText, + backgroundColor: theme.semanticColors.bodyBackground, + }, + className, + ], + bodyThemed: [ + { + backgroundColor: theme.semanticColors.bodyBackground, + }, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=Fabric.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.types.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.types.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=Fabric.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Fabric/index.js": +/*!******************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Fabric/index.js ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Fabric */ "./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Fabric.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Fabric.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Fabric/Fabric.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.base.js": +/*!****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.base.js ***! + \****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FacepileBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Facepile_types_1 = __webpack_require__(/*! ./Facepile.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.types.js"); +var FacepileButton_1 = __webpack_require__(/*! ./FacepileButton */ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/FacepileButton.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var Persona_1 = __webpack_require__(/*! ../../Persona */ "./node_modules/@fluentui/react/lib-commonjs/Persona.js"); +var PersonaCoin_1 = __webpack_require__(/*! ../../PersonaCoin */ "./node_modules/@fluentui/react/lib-commonjs/PersonaCoin.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +/** + * FacePile with no default styles. + * [Use the `styles` API to add your own styles.](https://github.com/microsoft/fluentui/wiki/Component-Styling) + */ +var FacepileBase = /** @class */ (function (_super) { + tslib_1.__extends(FacepileBase, _super); + function FacepileBase(props) { + var _this = _super.call(this, props) || this; + _this._classNames = getClassNames(_this.props.styles, { + theme: _this.props.theme, + className: _this.props.className, + }); + _this._getPersonaControl = function (persona) { + var _a = _this.props, getPersonaProps = _a.getPersonaProps, personaSize = _a.personaSize; + var personaStyles = { + details: { + flex: '1 0 auto', + }, + }; + return (React.createElement(Persona_1.Persona, tslib_1.__assign({ imageInitials: persona.imageInitials, imageUrl: persona.imageUrl, initialsColor: persona.initialsColor, allowPhoneInitials: persona.allowPhoneInitials, text: persona.personaName, size: personaSize }, (getPersonaProps ? getPersonaProps(persona) : null), { styles: personaStyles }))); + }; + _this._getPersonaCoinControl = function (persona) { + var _a = _this.props, getPersonaProps = _a.getPersonaProps, personaSize = _a.personaSize; + return (React.createElement(PersonaCoin_1.PersonaCoin, tslib_1.__assign({ imageInitials: persona.imageInitials, imageUrl: persona.imageUrl, initialsColor: persona.initialsColor, allowPhoneInitials: persona.allowPhoneInitials, text: persona.personaName, size: personaSize }, (getPersonaProps ? getPersonaProps(persona) : null)))); + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this._ariaDescriptionId = (0, Utilities_1.getId)(); + return _this; + } + FacepileBase.prototype.render = function () { + var overflowButtonProps = this.props.overflowButtonProps; + var _a = this.props, chevronButtonProps = _a.chevronButtonProps, // eslint-disable-line deprecation/deprecation + maxDisplayablePersonas = _a.maxDisplayablePersonas, personas = _a.personas, overflowPersonas = _a.overflowPersonas, showAddButton = _a.showAddButton, ariaLabel = _a.ariaLabel, _b = _a.showTooltip, showTooltip = _b === void 0 ? true : _b; + var _classNames = this._classNames; + // Add a check to make sure maxDisplayalePersonas is defined to cover the edge case of it being 0. + var numPersonasToShow = typeof maxDisplayablePersonas === 'number' ? Math.min(personas.length, maxDisplayablePersonas) : personas.length; + // Added for deprecating chevronButtonProps. Can remove after v1.0 + if (chevronButtonProps && !overflowButtonProps) { + overflowButtonProps = chevronButtonProps; + } + var hasOverflowPersonas = overflowPersonas && overflowPersonas.length > 0; + var personasPrimary = hasOverflowPersonas ? personas : personas.slice(0, numPersonasToShow); + var personasOverflow = (hasOverflowPersonas ? overflowPersonas : personas.slice(numPersonasToShow)) || []; + return (React.createElement("div", { className: _classNames.root }, + this.onRenderAriaDescription(), + React.createElement("div", { className: _classNames.itemContainer }, + showAddButton ? this._getAddNewElement() : null, + React.createElement("ul", { className: _classNames.members, "aria-label": ariaLabel }, this._onRenderVisiblePersonas(personasPrimary, personasOverflow.length === 0 && personas.length === 1, showTooltip)), + overflowButtonProps ? this._getOverflowElement(personasOverflow) : null))); + }; + FacepileBase.prototype.onRenderAriaDescription = function () { + var ariaDescription = this.props.ariaDescription; + var _classNames = this._classNames; + // If ariaDescription is given, descriptionId will be assigned to ariaDescriptionSpan, + // otherwise it will be assigned to descriptionSpan. + return (ariaDescription && (React.createElement("span", { className: _classNames.screenReaderOnly, id: this._ariaDescriptionId }, ariaDescription))); + }; + FacepileBase.prototype._onRenderVisiblePersonas = function (personas, singlePersona, showTooltip) { + var _this = this; + var _a = this.props, _b = _a.onRenderPersona, onRenderPersona = _b === void 0 ? this._getPersonaControl : _b, _c = _a.onRenderPersonaCoin, onRenderPersonaCoin = _c === void 0 ? this._getPersonaCoinControl : _c, onRenderPersonaWrapper = _a.onRenderPersonaWrapper; + return personas.map(function (persona, index) { + var personaControl = singlePersona + ? onRenderPersona(persona, _this._getPersonaControl) + : onRenderPersonaCoin(persona, _this._getPersonaCoinControl); + var defaultPersonaRender = persona.onClick + ? function () { return _this._getElementWithOnClickEvent(personaControl, persona, showTooltip, index); } + : function () { return _this._getElementWithoutOnClickEvent(personaControl, persona, showTooltip, index); }; + return (React.createElement("li", { key: "".concat(singlePersona ? 'persona' : 'personaCoin', "-").concat(index), className: _this._classNames.member }, onRenderPersonaWrapper ? onRenderPersonaWrapper(persona, defaultPersonaRender) : defaultPersonaRender())); + }); + }; + FacepileBase.prototype._getElementWithOnClickEvent = function (personaControl, persona, showTooltip, index) { + var keytipProps = persona.keytipProps; + return (React.createElement(FacepileButton_1.FacepileButton, tslib_1.__assign({}, (0, Utilities_1.getNativeProps)(persona, Utilities_1.buttonProperties), this._getElementProps(persona, showTooltip, index), { keytipProps: keytipProps, + // eslint-disable-next-line react/jsx-no-bind + onClick: this._onPersonaClick.bind(this, persona) }), personaControl)); + }; + FacepileBase.prototype._getElementWithoutOnClickEvent = function (personaControl, persona, showTooltip, index) { + return (React.createElement("div", tslib_1.__assign({}, (0, Utilities_1.getNativeProps)(persona, Utilities_1.buttonProperties), this._getElementProps(persona, showTooltip, index)), personaControl)); + }; + FacepileBase.prototype._getElementProps = function (persona, showTooltip, index) { + var _classNames = this._classNames; + return { + key: (persona.imageUrl ? 'i' : '') + index, + 'data-is-focusable': true, + className: _classNames.itemButton, + title: showTooltip ? persona.personaName : undefined, + onMouseMove: this._onPersonaMouseMove.bind(this, persona), + onMouseOut: this._onPersonaMouseOut.bind(this, persona), + }; + }; + FacepileBase.prototype._getOverflowElement = function (personasOverflow) { + switch (this.props.overflowButtonType) { + case Facepile_types_1.OverflowButtonType.descriptive: + return this._getDescriptiveOverflowElement(personasOverflow); + case Facepile_types_1.OverflowButtonType.downArrow: + return this._getIconElement('ChevronDown'); + case Facepile_types_1.OverflowButtonType.more: + return this._getIconElement('More'); + default: + return null; + } + }; + FacepileBase.prototype._getDescriptiveOverflowElement = function (personasOverflow) { + var personaSize = this.props.personaSize; + if (!personasOverflow || personasOverflow.length < 1) { + return null; + } + var personaNames = personasOverflow.map(function (p) { return p.personaName; }).join(', '); + var overflowButtonProps = tslib_1.__assign({ title: personaNames }, this.props.overflowButtonProps); + var numPersonasNotPictured = Math.max(personasOverflow.length, 0); + var _classNames = this._classNames; + return (React.createElement(FacepileButton_1.FacepileButton, tslib_1.__assign({}, overflowButtonProps, { ariaDescription: overflowButtonProps.title, className: _classNames.descriptiveOverflowButton }), + React.createElement(PersonaCoin_1.PersonaCoin, { size: personaSize, onRenderInitials: this._renderInitialsNotPictured(numPersonasNotPictured), initialsColor: PersonaCoin_1.PersonaInitialsColor.transparent }))); + }; + FacepileBase.prototype._getIconElement = function (icon) { + var _a = this.props, overflowButtonProps = _a.overflowButtonProps, personaSize = _a.personaSize; + var overflowInitialsIcon = true; + var _classNames = this._classNames; + return (React.createElement(FacepileButton_1.FacepileButton, tslib_1.__assign({}, overflowButtonProps, { className: _classNames.overflowButton }), + React.createElement(PersonaCoin_1.PersonaCoin, { size: personaSize, onRenderInitials: this._renderInitials(icon, overflowInitialsIcon), initialsColor: PersonaCoin_1.PersonaInitialsColor.transparent }))); + }; + FacepileBase.prototype._getAddNewElement = function () { + var _a = this.props, addButtonProps = _a.addButtonProps, personaSize = _a.personaSize; + var _classNames = this._classNames; + return (React.createElement(FacepileButton_1.FacepileButton, tslib_1.__assign({}, addButtonProps, { className: _classNames.addButton }), + React.createElement(PersonaCoin_1.PersonaCoin, { size: personaSize, onRenderInitials: this._renderInitials('AddFriend') }))); + }; + FacepileBase.prototype._onPersonaClick = function (persona, ev) { + persona.onClick(ev, persona); + ev.preventDefault(); + ev.stopPropagation(); + }; + FacepileBase.prototype._onPersonaMouseMove = function (persona, ev) { + if (persona.onMouseMove) { + persona.onMouseMove(ev, persona); + } + }; + FacepileBase.prototype._onPersonaMouseOut = function (persona, ev) { + if (persona.onMouseOut) { + persona.onMouseOut(ev, persona); + } + }; + FacepileBase.prototype._renderInitials = function (iconName, overflowButton) { + var _classNames = this._classNames; + return function () { + return React.createElement(Icon_1.Icon, { iconName: iconName, className: overflowButton ? _classNames.overflowInitialsIcon : '' }); + }; + }; + FacepileBase.prototype._renderInitialsNotPictured = function (numPersonasNotPictured) { + var _classNames = this._classNames; + return function () { + return (React.createElement("span", { className: _classNames.overflowInitialsIcon }, numPersonasNotPictured < 100 ? '+' + numPersonasNotPictured : '99+')); + }; + }; + FacepileBase.defaultProps = { + maxDisplayablePersonas: 5, + personas: [], + overflowPersonas: [], + personaSize: PersonaCoin_1.PersonaSize.size32, + }; + return FacepileBase; +}(React.Component)); +exports.FacepileBase = FacepileBase; +//# sourceMappingURL=Facepile.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.js ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Facepile = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Facepile_base_1 = __webpack_require__(/*! ./Facepile.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.base.js"); +var Facepile_styles_1 = __webpack_require__(/*! ./Facepile.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.styles.js"); +/** + * The Facepile shows a list of faces or initials in a horizontal lockup. Each circle represents a person. + */ +exports.Facepile = (0, Utilities_1.styled)(Facepile_base_1.FacepileBase, Facepile_styles_1.styles, undefined, { + scope: 'Facepile', +}); +//# sourceMappingURL=Facepile.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.styles.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.styles.js ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.styles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var GlobalClassNames = { + root: 'ms-Facepile', + addButton: 'ms-Facepile-addButton ms-Facepile-itemButton', + descriptiveOverflowButton: 'ms-Facepile-descriptiveOverflowButton ms-Facepile-itemButton', + itemButton: 'ms-Facepile-itemButton ms-Facepile-person', + itemContainer: 'ms-Facepile-itemContainer', + members: 'ms-Facepile-members', + member: 'ms-Facepile-member', + overflowButton: 'ms-Facepile-overflowButton ms-Facepile-itemButton', +}; +var styles = function (props) { + var _a; + var className = props.className, theme = props.theme, _b = props.spacingAroundItemButton, spacingAroundItemButton = _b === void 0 ? 2 : _b; + var palette = theme.palette, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + var ItemButtonStyles = { + textAlign: 'center', + padding: 0, + borderRadius: '50%', + verticalAlign: 'top', + display: 'inline', + backgroundColor: 'transparent', + border: 'none', + selectors: { + '&::-moz-focus-inner': { + padding: 0, + border: 0, + }, + }, + }; + return { + root: [ + classNames.root, + theme.fonts.medium, + { + width: 'auto', + }, + className, + ], + addButton: [ + classNames.addButton, + (0, Styling_1.getFocusStyle)(theme, { inset: -1 }), + ItemButtonStyles, + { + fontSize: fonts.medium.fontSize, + color: palette.white, + backgroundColor: palette.themePrimary, + marginRight: spacingAroundItemButton * 2 + 'px', + selectors: { + '&:hover': { + backgroundColor: palette.themeDark, + }, + '&:focus': { + backgroundColor: palette.themeDark, + }, + '&:active': { + backgroundColor: palette.themeDarker, + }, + '&:disabled': { + backgroundColor: palette.neutralTertiaryAlt, + }, + }, + }, + ], + descriptiveOverflowButton: [ + classNames.descriptiveOverflowButton, + (0, Styling_1.getFocusStyle)(theme, { inset: -1 }), + ItemButtonStyles, + { + fontSize: fonts.small.fontSize, + color: palette.neutralSecondary, + backgroundColor: palette.neutralLighter, + marginLeft: "".concat(spacingAroundItemButton * 2, "px"), + }, + ], + itemButton: [classNames.itemButton, ItemButtonStyles], + itemContainer: [ + classNames.itemContainer, + { + display: 'flex', + }, + ], + members: [ + classNames.members, + { + display: 'flex', + overflow: 'hidden', + listStyleType: 'none', + padding: 0, + margin: "-".concat(spacingAroundItemButton, "px"), + }, + ], + member: [ + classNames.member, + { + display: 'inline-flex', + flex: '0 0 auto', + margin: "".concat(spacingAroundItemButton, "px"), + }, + ], + overflowButton: [ + classNames.overflowButton, + (0, Styling_1.getFocusStyle)(theme, { inset: -1 }), + ItemButtonStyles, + { + fontSize: fonts.medium.fontSize, + color: palette.neutralSecondary, + backgroundColor: palette.neutralLighter, + marginLeft: "".concat(spacingAroundItemButton * 2, "px"), + }, + ], + overflowInitialsIcon: [ + { + color: palette.neutralPrimary, + selectors: (_a = {}, + _a[Styling_1.HighContrastSelector] = { + color: 'WindowText', + }, + _a), + }, + ], + screenReaderOnly: Styling_1.hiddenContentStyle, + }; +}; +exports.styles = styles; +//# sourceMappingURL=Facepile.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.types.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.types.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OverflowButtonType = void 0; +/** + * {@docCategory Facepile} + */ +var OverflowButtonType; +(function (OverflowButtonType) { + /** No overflow */ + OverflowButtonType[OverflowButtonType["none"] = 0] = "none"; + /** +1 overflow icon */ + OverflowButtonType[OverflowButtonType["descriptive"] = 1] = "descriptive"; + /** More overflow icon */ + OverflowButtonType[OverflowButtonType["more"] = 2] = "more"; + /** Chevron overflow icon */ + OverflowButtonType[OverflowButtonType["downArrow"] = 3] = "downArrow"; +})(OverflowButtonType = exports.OverflowButtonType || (exports.OverflowButtonType = {})); +//# sourceMappingURL=Facepile.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/FacepileButton.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Facepile/FacepileButton.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FacepileButton = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Button_1 = __webpack_require__(/*! ../../Button */ "./node_modules/@fluentui/react/lib-commonjs/Button.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var FacepileButton_styles_1 = __webpack_require__(/*! ./FacepileButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/FacepileButton.styles.js"); +var FacepileButton = /** @class */ (function (_super) { + tslib_1.__extends(FacepileButton, _super); + function FacepileButton() { + return _super !== null && _super.apply(this, arguments) || this; + } + FacepileButton.prototype.render = function () { + var _a = this.props, className = _a.className, styles = _a.styles, rest = tslib_1.__rest(_a, ["className", "styles"]); + var customStyles = (0, FacepileButton_styles_1.getStyles)(this.props.theme, className, styles); + return (React.createElement(Button_1.BaseButton, tslib_1.__assign({}, rest, { variantClassName: "ms-Button--facepile", styles: customStyles, onRenderDescription: Utilities_1.nullRender }))); + }; + FacepileButton = tslib_1.__decorate([ + (0, Utilities_1.customizable)('FacepileButton', ['theme', 'styles'], true) + ], FacepileButton); + return FacepileButton; +}(React.Component)); +exports.FacepileButton = FacepileButton; +//# sourceMappingURL=FacepileButton.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/FacepileButton.styles.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Facepile/FacepileButton.styles.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var BaseButton_styles_1 = __webpack_require__(/*! ../Button/BaseButton.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/Button/BaseButton.styles.js"); +exports.getStyles = (0, Utilities_1.memoizeFunction)(function (theme, className, customStyles) { + var baseButtonStyles = (0, BaseButton_styles_1.getStyles)(theme); + var customButtonStyles = (0, Styling_1.concatStyleSets)(baseButtonStyles, customStyles); + return tslib_1.__assign(tslib_1.__assign({}, customButtonStyles), { root: [baseButtonStyles.root, className, theme.fonts.medium, customStyles && customStyles.root] }); +}); +//# sourceMappingURL=FacepileButton.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/index.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/Facepile/index.js ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./Facepile.types */ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Facepile.base */ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.base.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Facepile */ "./node_modules/@fluentui/react/lib-commonjs/components/Facepile/Facepile.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/BaseFloatingPicker.js": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/BaseFloatingPicker.js ***! + \***************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.BaseFloatingPicker = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var stylesImport = __webpack_require__(/*! ./BaseFloatingPicker.scss */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/BaseFloatingPicker.scss.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DirectionalHint_1 = __webpack_require__(/*! ../../common/DirectionalHint */ "./node_modules/@fluentui/react/lib-commonjs/common/DirectionalHint.js"); +var Callout_1 = __webpack_require__(/*! ../../Callout */ "./node_modules/@fluentui/react/lib-commonjs/Callout.js"); +var SuggestionsControl_1 = __webpack_require__(/*! ./Suggestions/SuggestionsControl */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsControl.js"); +var styles = stylesImport; +var BaseFloatingPicker = /** @class */ (function (_super) { + tslib_1.__extends(BaseFloatingPicker, _super); + function BaseFloatingPicker(basePickerProps) { + var _this = _super.call(this, basePickerProps) || this; + _this.root = React.createRef(); + _this.suggestionsControl = React.createRef(); + _this.SuggestionsControlOfProperType = SuggestionsControl_1.SuggestionsControl; + _this.isComponentMounted = false; + _this.onQueryStringChanged = function (queryString) { + if (queryString !== _this.state.queryString) { + _this.setState({ + queryString: queryString, + }); + if (_this.props.onInputChanged) { + _this.props.onInputChanged(queryString); + } + _this.updateValue(queryString); + } + }; + _this.hidePicker = function () { + var wasShownBeforeUpdate = _this.isSuggestionsShown; + _this.setState({ + suggestionsVisible: false, + }); + if (_this.props.onSuggestionsHidden && wasShownBeforeUpdate) { + _this.props.onSuggestionsHidden(); + } + }; + _this.showPicker = function (updateValue) { + if (updateValue === void 0) { updateValue = false; } + var wasShownBeforeUpdate = _this.isSuggestionsShown; + _this.setState({ + suggestionsVisible: true, + }); + // Update the suggestions if updateValue == true + var value = _this.props.inputElement ? _this.props.inputElement.value : ''; + if (updateValue) { + _this.updateValue(value); + } + if (_this.props.onSuggestionsShown && !wasShownBeforeUpdate) { + _this.props.onSuggestionsShown(); + } + }; + _this.completeSuggestion = function () { + if (_this.suggestionsControl.current && _this.suggestionsControl.current.hasSuggestionSelected()) { + _this.onChange(_this.suggestionsControl.current.currentSuggestion.item); + } + }; + _this.onSuggestionClick = function (ev, item, index) { + _this.onChange(item); + _this._updateSuggestionsVisible(false /*shouldShow*/); + }; + _this.onSuggestionRemove = function (ev, item, index) { + if (_this.props.onRemoveSuggestion) { + _this.props.onRemoveSuggestion(item); + } + if (_this.suggestionsControl.current) { + _this.suggestionsControl.current.removeSuggestion(index); + } + }; + _this.onKeyDown = function (ev) { + if (!_this.state.suggestionsVisible || + (_this.props.inputElement && !_this.props.inputElement.contains(ev.target))) { + return; + } + // eslint-disable-next-line deprecation/deprecation + var keyCode = ev.which; + switch (keyCode) { + case Utilities_1.KeyCodes.escape: + _this.hidePicker(); + ev.preventDefault(); + ev.stopPropagation(); + break; + case Utilities_1.KeyCodes.tab: + case Utilities_1.KeyCodes.enter: + if (!ev.shiftKey && + !ev.ctrlKey && + _this.suggestionsControl.current && + _this.suggestionsControl.current.handleKeyDown(keyCode)) { + ev.preventDefault(); + ev.stopPropagation(); + } + else { + _this._onValidateInput(); + } + break; + case Utilities_1.KeyCodes.del: + if (_this.props.onRemoveSuggestion && + _this.suggestionsControl.current && + _this.suggestionsControl.current.hasSuggestionSelected() && + _this.suggestionsControl.current.currentSuggestion && + ev.shiftKey) { + _this.props.onRemoveSuggestion(_this.suggestionsControl.current.currentSuggestion.item); + _this.suggestionsControl.current.removeSuggestion(); + _this.forceUpdate(); + ev.stopPropagation(); + } + break; + case Utilities_1.KeyCodes.up: + if (_this.suggestionsControl.current && _this.suggestionsControl.current.handleKeyDown(keyCode)) { + ev.preventDefault(); + ev.stopPropagation(); + _this._updateActiveDescendant(); + } + break; + case Utilities_1.KeyCodes.down: + if (_this.suggestionsControl.current && _this.suggestionsControl.current.handleKeyDown(keyCode)) { + ev.preventDefault(); + ev.stopPropagation(); + _this._updateActiveDescendant(); + } + break; + } + }; + _this._onValidateInput = function () { + if (_this.state.queryString && _this.props.onValidateInput && _this.props.createGenericItem) { + var itemToConvert = _this.props.createGenericItem(_this.state.queryString, _this.props.onValidateInput(_this.state.queryString)); + var convertedItems = _this.suggestionStore.convertSuggestionsToSuggestionItems([itemToConvert]); + _this.onChange(convertedItems[0].item); + } + }; + _this._async = new Utilities_1.Async(_this); + (0, Utilities_1.initializeComponentRef)(_this); + _this.suggestionStore = basePickerProps.suggestionsStore; + _this.state = { + queryString: '', + didBind: false, + }; + return _this; + } + Object.defineProperty(BaseFloatingPicker.prototype, "inputText", { + get: function () { + return this.state.queryString; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(BaseFloatingPicker.prototype, "suggestions", { + get: function () { + return this.suggestionStore.suggestions; + }, + enumerable: false, + configurable: true + }); + BaseFloatingPicker.prototype.forceResolveSuggestion = function () { + if (this.suggestionsControl.current && this.suggestionsControl.current.hasSuggestionSelected()) { + this.completeSuggestion(); + } + else { + this._onValidateInput(); + } + }; + Object.defineProperty(BaseFloatingPicker.prototype, "currentSelectedSuggestionIndex", { + get: function () { + return this.suggestionsControl.current ? this.suggestionsControl.current.currentSuggestionIndex : -1; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(BaseFloatingPicker.prototype, "isSuggestionsShown", { + get: function () { + return this.state.suggestionsVisible === undefined ? false : this.state.suggestionsVisible; + }, + enumerable: false, + configurable: true + }); + BaseFloatingPicker.prototype.componentDidMount = function () { + this._bindToInputElement(); + this.isComponentMounted = true; + this._onResolveSuggestions = this._async.debounce(this._onResolveSuggestions, this.props.resolveDelay); + }; + BaseFloatingPicker.prototype.componentDidUpdate = function () { + this._bindToInputElement(); + }; + BaseFloatingPicker.prototype.componentWillUnmount = function () { + this._unbindFromInputElement(); + this.isComponentMounted = false; + }; + BaseFloatingPicker.prototype.updateSuggestions = function (suggestions, forceUpdate) { + if (forceUpdate === void 0) { forceUpdate = false; } + this.suggestionStore.updateSuggestions(suggestions); + if (forceUpdate) { + this.forceUpdate(); + } + }; + BaseFloatingPicker.prototype.render = function () { + var className = this.props.className; + return (React.createElement("div", { ref: this.root, className: (0, Utilities_1.css)('ms-BasePicker ms-BaseFloatingPicker', className ? className : '') }, this.renderSuggestions())); + }; + BaseFloatingPicker.prototype.renderSuggestions = function () { + var TypedSuggestionsControl = this.SuggestionsControlOfProperType; + if (this.props.suggestionItems) { + this.suggestionStore.updateSuggestions(this.props.suggestionItems); + } + return this.state.suggestionsVisible ? (React.createElement(Callout_1.Callout, tslib_1.__assign({ className: styles.callout, isBeakVisible: false, gapSpace: 5, target: this.props.inputElement, onDismiss: this.hidePicker, directionalHint: DirectionalHint_1.DirectionalHint.bottomLeftEdge, directionalHintForRTL: DirectionalHint_1.DirectionalHint.bottomRightEdge, calloutWidth: this.props.calloutWidth ? this.props.calloutWidth : 0 }, this.props.pickerCalloutProps), + React.createElement(TypedSuggestionsControl, tslib_1.__assign({ onRenderSuggestion: this.props.onRenderSuggestionsItem, onSuggestionClick: this.onSuggestionClick, onSuggestionRemove: this.onSuggestionRemove, suggestions: this.suggestionStore.getSuggestions(), componentRef: this.suggestionsControl, completeSuggestion: this.completeSuggestion, shouldLoopSelection: false }, this.props.pickerSuggestionsProps)))) : null; + }; + BaseFloatingPicker.prototype.onSelectionChange = function () { + this.forceUpdate(); + }; + BaseFloatingPicker.prototype.updateValue = function (updatedValue) { + if (updatedValue === '') { + this.updateSuggestionWithZeroState(); + } + else { + this._onResolveSuggestions(updatedValue); + } + }; + BaseFloatingPicker.prototype.updateSuggestionWithZeroState = function () { + if (this.props.onZeroQuerySuggestion) { + var onEmptyInputFocus = this.props.onZeroQuerySuggestion; + var suggestions = onEmptyInputFocus(this.props.selectedItems); + this.updateSuggestionsList(suggestions); + } + else { + this.hidePicker(); + } + }; + BaseFloatingPicker.prototype.updateSuggestionsList = function (suggestions) { + var _this = this; + // Check to see if the returned value is an array, if it is then just pass it into the next function. + // If the returned value is not an array then check to see if it's a promise or PromiseLike. + // If it is then resolve it asynchronously. + if (Array.isArray(suggestions)) { + this.updateSuggestions(suggestions, true /*forceUpdate*/); + } + else if (suggestions && suggestions.then) { + // Ensure that the promise will only use the callback if it was the most recent one. + this.currentPromise = suggestions; + suggestions.then(function (newSuggestions) { + // Only update if the next promise has not yet resolved and + // the floating picker is still mounted. + if (suggestions === _this.currentPromise && _this.isComponentMounted) { + _this.updateSuggestions(newSuggestions, true /*forceUpdate*/); + } + }); + } + }; + BaseFloatingPicker.prototype.onChange = function (item) { + if (this.props.onChange) { + this.props.onChange(item); + } + }; + BaseFloatingPicker.prototype._updateActiveDescendant = function () { + if (this.props.inputElement && this.suggestionsControl.current && this.suggestionsControl.current.selectedElement) { + var selectedElId = this.suggestionsControl.current.selectedElement.getAttribute('id'); + if (selectedElId) { + this.props.inputElement.setAttribute('aria-activedescendant', selectedElId); + } + } + }; + BaseFloatingPicker.prototype._onResolveSuggestions = function (updatedValue) { + var suggestions = this.props.onResolveSuggestions(updatedValue, this.props.selectedItems); + this._updateSuggestionsVisible(true /*shouldShow*/); + if (suggestions !== null) { + this.updateSuggestionsList(suggestions); + } + }; + BaseFloatingPicker.prototype._updateSuggestionsVisible = function (shouldShow) { + if (shouldShow) { + this.showPicker(); + } + else { + this.hidePicker(); + } + }; + BaseFloatingPicker.prototype._bindToInputElement = function () { + if (this.props.inputElement && !this.state.didBind) { + this.props.inputElement.addEventListener('keydown', this.onKeyDown); + this.setState({ didBind: true }); + } + }; + BaseFloatingPicker.prototype._unbindFromInputElement = function () { + if (this.props.inputElement && this.state.didBind) { + this.props.inputElement.removeEventListener('keydown', this.onKeyDown); + this.setState({ didBind: false }); + } + }; + return BaseFloatingPicker; +}(React.Component)); +exports.BaseFloatingPicker = BaseFloatingPicker; +//# sourceMappingURL=BaseFloatingPicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/BaseFloatingPicker.scss.js": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/BaseFloatingPicker.scss.js ***! + \********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.callout = void 0; +/* eslint-disable */ +var load_themed_styles_1 = __webpack_require__(/*! @microsoft/load-themed-styles */ "./node_modules/@microsoft/load-themed-styles/lib-es6/index.js"); +(0, load_themed_styles_1.loadStyles)([{ "rawString": ".callout_ad5629e1 .ms-Suggestions-itemButton{padding:0;border:none}.callout_ad5629e1 .ms-Suggestions{min-width:300px}" }]); +exports.callout = "callout_ad5629e1"; +//# sourceMappingURL=BaseFloatingPicker.scss.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/BaseFloatingPicker.types.js": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/BaseFloatingPicker.types.js ***! + \*********************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=BaseFloatingPicker.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/PeoplePicker/FloatingPeoplePicker.js": +/*!******************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/PeoplePicker/FloatingPeoplePicker.js ***! + \******************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.createItem = exports.FloatingPeoplePicker = exports.BaseFloatingPeoplePicker = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var BaseFloatingPicker_1 = __webpack_require__(/*! ../BaseFloatingPicker */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/BaseFloatingPicker.js"); +var SuggestionItemDefault_1 = __webpack_require__(/*! ./PeoplePickerItems/SuggestionItemDefault */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js"); +__webpack_require__(/*! ./PeoplePicker.scss */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/PeoplePicker/PeoplePicker.scss.js"); +/** + * {@docCategory FloatingPeoplePicker} + */ +var BaseFloatingPeoplePicker = /** @class */ (function (_super) { + tslib_1.__extends(BaseFloatingPeoplePicker, _super); + function BaseFloatingPeoplePicker() { + return _super !== null && _super.apply(this, arguments) || this; + } + return BaseFloatingPeoplePicker; +}(BaseFloatingPicker_1.BaseFloatingPicker)); +exports.BaseFloatingPeoplePicker = BaseFloatingPeoplePicker; +var FloatingPeoplePicker = /** @class */ (function (_super) { + tslib_1.__extends(FloatingPeoplePicker, _super); + function FloatingPeoplePicker() { + return _super !== null && _super.apply(this, arguments) || this; + } + FloatingPeoplePicker.defaultProps = { + onRenderSuggestionsItem: function (props, itemProps) { + return (0, SuggestionItemDefault_1.SuggestionItemNormal)(tslib_1.__assign({}, props), tslib_1.__assign({}, itemProps)); + }, + createGenericItem: createItem, + }; + return FloatingPeoplePicker; +}(BaseFloatingPeoplePicker)); +exports.FloatingPeoplePicker = FloatingPeoplePicker; +function createItem(name, isValid) { + var personaToConvert = { + key: name, + primaryText: name, + imageInitials: '!', + isValid: isValid, + }; + if (!isValid) { + personaToConvert.imageInitials = (0, Utilities_1.getInitials)(name, (0, Utilities_1.getRTL)()); + } + return personaToConvert; +} +exports.createItem = createItem; +//# sourceMappingURL=FloatingPeoplePicker.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/PeoplePicker/PeoplePicker.scss.js": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/PeoplePicker/PeoplePicker.scss.js ***! + \***************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.peoplePickerPersonaContent = exports.peoplePicker = exports.peoplePickerPersona = exports.resultItem = exports.resultContent = void 0; +/* eslint-disable */ +var load_themed_styles_1 = __webpack_require__(/*! @microsoft/load-themed-styles */ "./node_modules/@microsoft/load-themed-styles/lib-es6/index.js"); +(0, load_themed_styles_1.loadStyles)([{ "rawString": ".resultContent_f73be5be{display:table-row}.resultContent_f73be5be .resultItem_f73be5be{display:table-cell;vertical-align:bottom}.peoplePickerPersona_f73be5be{width:180px}.peoplePickerPersona_f73be5be .ms-Persona-details{width:100%}.peoplePicker_f73be5be .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_f73be5be{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:7px 12px}" }]); +exports.resultContent = "resultContent_f73be5be"; +exports.resultItem = "resultItem_f73be5be"; +exports.peoplePickerPersona = "peoplePickerPersona_f73be5be"; +exports.peoplePicker = "peoplePicker_f73be5be"; +exports.peoplePickerPersonaContent = "peoplePickerPersonaContent_f73be5be"; +//# sourceMappingURL=PeoplePicker.scss.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js": +/*!*************************************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/PeoplePicker/PeoplePickerItems/SuggestionItemDefault.js ***! + \*************************************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SuggestionItemNormal = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Persona_1 = __webpack_require__(/*! ../../../../Persona */ "./node_modules/@fluentui/react/lib-commonjs/Persona.js"); +var stylesImport = __webpack_require__(/*! ../PeoplePicker.scss */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/PeoplePicker/PeoplePicker.scss.js"); +var SuggestionItemNormal = function (personaProps, suggestionItemProps) { + return (React.createElement("div", { className: (0, Utilities_1.css)('ms-PeoplePicker-personaContent', stylesImport.peoplePickerPersonaContent) }, + React.createElement(Persona_1.Persona, tslib_1.__assign({ presence: personaProps.presence !== undefined ? personaProps.presence : Persona_1.PersonaPresence.none, size: Persona_1.PersonaSize.size40, className: (0, Utilities_1.css)('ms-PeoplePicker-Persona', stylesImport.peoplePickerPersona), showSecondaryText: true }, personaProps)))); +}; +exports.SuggestionItemNormal = SuggestionItemNormal; +//# sourceMappingURL=SuggestionItemDefault.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/Suggestions.types.js": +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/Suggestions.types.js ***! + \**************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=Suggestions.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsControl.js": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsControl.js ***! + \***************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SuggestionsControl = exports.SuggestionsHeaderFooterItem = exports.SuggestionItemType = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var SuggestionsCore_1 = __webpack_require__(/*! ./SuggestionsCore */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsCore.js"); +var stylesImport = __webpack_require__(/*! ./SuggestionsControl.scss */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsControl.scss.js"); +var Styling_1 = __webpack_require__(/*! ../../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var styles = stylesImport; +var SuggestionItemType; +(function (SuggestionItemType) { + SuggestionItemType[SuggestionItemType["header"] = 0] = "header"; + SuggestionItemType[SuggestionItemType["suggestion"] = 1] = "suggestion"; + SuggestionItemType[SuggestionItemType["footer"] = 2] = "footer"; +})(SuggestionItemType = exports.SuggestionItemType || (exports.SuggestionItemType = {})); +var SuggestionsHeaderFooterItem = /** @class */ (function (_super) { + tslib_1.__extends(SuggestionsHeaderFooterItem, _super); + function SuggestionsHeaderFooterItem(props) { + var _this = _super.call(this, props) || this; + (0, Utilities_1.initializeComponentRef)(_this); + return _this; + } + SuggestionsHeaderFooterItem.prototype.render = function () { + var _a; + var _b = this.props, renderItem = _b.renderItem, onExecute = _b.onExecute, isSelected = _b.isSelected, id = _b.id, className = _b.className; + return onExecute ? (React.createElement("div", { id: id, onClick: onExecute, className: (0, Utilities_1.css)('ms-Suggestions-sectionButton', className, styles.actionButton, (_a = {}, + _a['is-selected ' + styles.buttonSelected] = isSelected, + _a)) }, renderItem())) : (React.createElement("div", { id: id, className: (0, Utilities_1.css)('ms-Suggestions-section', className, styles.suggestionsTitle) }, renderItem())); + }; + return SuggestionsHeaderFooterItem; +}(React.Component)); +exports.SuggestionsHeaderFooterItem = SuggestionsHeaderFooterItem; +/** + * Class when used with SuggestionsStore, renders a suggestions control with customizable headers and footers + */ +var SuggestionsControl = /** @class */ (function (_super) { + tslib_1.__extends(SuggestionsControl, _super); + function SuggestionsControl(suggestionsProps) { + var _this = _super.call(this, suggestionsProps) || this; + _this._selectedElement = React.createRef(); + _this._suggestions = React.createRef(); + _this.SuggestionsOfProperType = SuggestionsCore_1.SuggestionsCore; + (0, Utilities_1.initializeComponentRef)(_this); + _this.state = { + selectedHeaderIndex: -1, + selectedFooterIndex: -1, + suggestions: suggestionsProps.suggestions, + }; + return _this; + } + SuggestionsControl.prototype.componentDidMount = function () { + this.resetSelectedItem(); + }; + SuggestionsControl.prototype.componentDidUpdate = function (oldProps) { + var _this = this; + this.scrollSelected(); + if (oldProps.suggestions && oldProps.suggestions !== this.props.suggestions) { + this.setState({ suggestions: this.props.suggestions }, function () { + _this.resetSelectedItem(); + }); + } + }; + SuggestionsControl.prototype.componentWillUnmount = function () { + var _a; + (_a = this._suggestions.current) === null || _a === void 0 ? void 0 : _a.deselectAllSuggestions(); + }; + SuggestionsControl.prototype.render = function () { + var _a = this.props, className = _a.className, headerItemsProps = _a.headerItemsProps, footerItemsProps = _a.footerItemsProps, suggestionsAvailableAlertText = _a.suggestionsAvailableAlertText; + var screenReaderTextStyles = (0, Styling_1.mergeStyles)(Styling_1.hiddenContentStyle); + var shouldAlertSuggestionsAvailableText = this.state.suggestions && this.state.suggestions.length > 0 && suggestionsAvailableAlertText; + return (React.createElement("div", { className: (0, Utilities_1.css)('ms-Suggestions', className ? className : '', styles.root) }, + headerItemsProps && this.renderHeaderItems(), + this._renderSuggestions(), + footerItemsProps && this.renderFooterItems(), + shouldAlertSuggestionsAvailableText ? (React.createElement("span", { role: "alert", "aria-live": "polite", className: screenReaderTextStyles }, suggestionsAvailableAlertText)) : null)); + }; + Object.defineProperty(SuggestionsControl.prototype, "currentSuggestion", { + get: function () { + var _a; + return ((_a = this._suggestions.current) === null || _a === void 0 ? void 0 : _a.getCurrentItem()) || undefined; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(SuggestionsControl.prototype, "currentSuggestionIndex", { + get: function () { + return this._suggestions.current ? this._suggestions.current.currentIndex : -1; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(SuggestionsControl.prototype, "selectedElement", { + get: function () { + var _a; + return this._selectedElement.current ? this._selectedElement.current : (_a = this._suggestions.current) === null || _a === void 0 ? void 0 : _a.selectedElement; + }, + enumerable: false, + configurable: true + }); + SuggestionsControl.prototype.hasSuggestionSelected = function () { + var _a; + return ((_a = this._suggestions.current) === null || _a === void 0 ? void 0 : _a.hasSuggestionSelected()) || false; + }; + SuggestionsControl.prototype.hasSelection = function () { + var _a = this.state, selectedHeaderIndex = _a.selectedHeaderIndex, selectedFooterIndex = _a.selectedFooterIndex; + return selectedHeaderIndex !== -1 || this.hasSuggestionSelected() || selectedFooterIndex !== -1; + }; + SuggestionsControl.prototype.executeSelectedAction = function () { + var _a; + var _b = this.props, headerItemsProps = _b.headerItemsProps, footerItemsProps = _b.footerItemsProps; + var _c = this.state, selectedHeaderIndex = _c.selectedHeaderIndex, selectedFooterIndex = _c.selectedFooterIndex; + if (headerItemsProps && selectedHeaderIndex !== -1 && selectedHeaderIndex < headerItemsProps.length) { + var selectedHeaderItem = headerItemsProps[selectedHeaderIndex]; + if (selectedHeaderItem.onExecute) { + selectedHeaderItem.onExecute(); + } + } + else if ((_a = this._suggestions.current) === null || _a === void 0 ? void 0 : _a.hasSuggestionSelected()) { + this.props.completeSuggestion(); + } + else if (footerItemsProps && selectedFooterIndex !== -1 && selectedFooterIndex < footerItemsProps.length) { + var selectedFooterItem = footerItemsProps[selectedFooterIndex]; + if (selectedFooterItem.onExecute) { + selectedFooterItem.onExecute(); + } + } + }; + SuggestionsControl.prototype.removeSuggestion = function (index) { + var _a, _b; + (_a = this._suggestions.current) === null || _a === void 0 ? void 0 : _a.removeSuggestion(index ? index : (_b = this._suggestions.current) === null || _b === void 0 ? void 0 : _b.currentIndex); + }; + /** + * Handles the key down, returns true, if the event was handled, false otherwise + * @param keyCode - The keyCode to handle + */ + SuggestionsControl.prototype.handleKeyDown = function (keyCode) { + var _a, _b, _c, _d; + var _e = this.state, selectedHeaderIndex = _e.selectedHeaderIndex, selectedFooterIndex = _e.selectedFooterIndex; + var isKeyDownHandled = false; + if (keyCode === Utilities_1.KeyCodes.down) { + if (selectedHeaderIndex === -1 && + !((_a = this._suggestions.current) === null || _a === void 0 ? void 0 : _a.hasSuggestionSelected()) && + selectedFooterIndex === -1) { + this.selectFirstItem(); + } + else if (selectedHeaderIndex !== -1) { + this.selectNextItem(SuggestionItemType.header); + isKeyDownHandled = true; + } + else if ((_b = this._suggestions.current) === null || _b === void 0 ? void 0 : _b.hasSuggestionSelected()) { + this.selectNextItem(SuggestionItemType.suggestion); + isKeyDownHandled = true; + } + else if (selectedFooterIndex !== -1) { + this.selectNextItem(SuggestionItemType.footer); + isKeyDownHandled = true; + } + } + else if (keyCode === Utilities_1.KeyCodes.up) { + if (selectedHeaderIndex === -1 && + !((_c = this._suggestions.current) === null || _c === void 0 ? void 0 : _c.hasSuggestionSelected()) && + selectedFooterIndex === -1) { + this.selectLastItem(); + } + else if (selectedHeaderIndex !== -1) { + this.selectPreviousItem(SuggestionItemType.header); + isKeyDownHandled = true; + } + else if ((_d = this._suggestions.current) === null || _d === void 0 ? void 0 : _d.hasSuggestionSelected()) { + this.selectPreviousItem(SuggestionItemType.suggestion); + isKeyDownHandled = true; + } + else if (selectedFooterIndex !== -1) { + this.selectPreviousItem(SuggestionItemType.footer); + isKeyDownHandled = true; + } + } + else if (keyCode === Utilities_1.KeyCodes.enter || keyCode === Utilities_1.KeyCodes.tab) { + if (this.hasSelection()) { + this.executeSelectedAction(); + isKeyDownHandled = true; + } + } + return isKeyDownHandled; + }; + // TODO get the element to scroll into view properly regardless of direction. + SuggestionsControl.prototype.scrollSelected = function () { + if (this._selectedElement.current) { + this._selectedElement.current.scrollIntoView(false); + } + }; + SuggestionsControl.prototype.renderHeaderItems = function () { + var _this = this; + var _a = this.props, headerItemsProps = _a.headerItemsProps, suggestionsHeaderContainerAriaLabel = _a.suggestionsHeaderContainerAriaLabel; + var selectedHeaderIndex = this.state.selectedHeaderIndex; + return headerItemsProps ? (React.createElement("div", { className: (0, Utilities_1.css)('ms-Suggestions-headerContainer', styles.suggestionsContainer), id: "suggestionHeader-list", role: "list", "aria-label": suggestionsHeaderContainerAriaLabel }, headerItemsProps.map(function (headerItemProps, index) { + var isSelected = selectedHeaderIndex !== -1 && selectedHeaderIndex === index; + return headerItemProps.shouldShow() ? (React.createElement("div", { ref: isSelected ? _this._selectedElement : undefined, id: 'sug-header' + index, key: 'sug-header' + index, role: "listitem", "aria-label": headerItemProps.ariaLabel }, + React.createElement(SuggestionsHeaderFooterItem, { id: 'sug-header-item' + index, isSelected: isSelected, renderItem: headerItemProps.renderItem, onExecute: headerItemProps.onExecute, className: headerItemProps.className }))) : null; + }))) : null; + }; + SuggestionsControl.prototype.renderFooterItems = function () { + var _this = this; + var _a = this.props, footerItemsProps = _a.footerItemsProps, suggestionsFooterContainerAriaLabel = _a.suggestionsFooterContainerAriaLabel; + var selectedFooterIndex = this.state.selectedFooterIndex; + return footerItemsProps ? (React.createElement("div", { className: (0, Utilities_1.css)('ms-Suggestions-footerContainer', styles.suggestionsContainer), id: "suggestionFooter-list", role: "list", "aria-label": suggestionsFooterContainerAriaLabel }, footerItemsProps.map(function (footerItemProps, index) { + var isSelected = selectedFooterIndex !== -1 && selectedFooterIndex === index; + return footerItemProps.shouldShow() ? (React.createElement("div", { ref: isSelected ? _this._selectedElement : undefined, id: 'sug-footer' + index, key: 'sug-footer' + index, role: "listitem", "aria-label": footerItemProps.ariaLabel }, + React.createElement(SuggestionsHeaderFooterItem, { id: 'sug-footer-item' + index, isSelected: isSelected, renderItem: footerItemProps.renderItem, onExecute: footerItemProps.onExecute, className: footerItemProps.className }))) : null; + }))) : null; + }; + SuggestionsControl.prototype._renderSuggestions = function () { + var TypedSuggestions = this.SuggestionsOfProperType; + return React.createElement(TypedSuggestions, tslib_1.__assign({ ref: this._suggestions }, this.props, { suggestions: this.state.suggestions })); + }; + /** + * Selects the next selectable item + */ + SuggestionsControl.prototype.selectNextItem = function (itemType, originalItemType) { + // If the recursive calling has not found a selectable item in the other suggestion item type groups + // And the method is being called again with the original item type, + // Select the first selectable item of this suggestion item type group (could be the currently selected item) + if (itemType === originalItemType) { + this._selectNextItemOfItemType(itemType); + return; + } + var startedItemType = originalItemType !== undefined ? originalItemType : itemType; + // Try to set the selection to the next selectable item, of the same suggestion item type group + // If this is the original item type, use the current index + var selectionChanged = this._selectNextItemOfItemType(itemType, startedItemType === itemType ? this._getCurrentIndexForType(itemType) : undefined); + // If the selection did not change, try to select from the next suggestion type group + if (!selectionChanged) { + this.selectNextItem(this._getNextItemSectionType(itemType), startedItemType); + } + }; + /** + * Selects the previous selectable item + */ + SuggestionsControl.prototype.selectPreviousItem = function (itemType, originalItemType) { + // If the recursive calling has not found a selectable item in the other suggestion item type groups + // And the method is being called again with the original item type, + // Select the last selectable item of this suggestion item type group (could be the currently selected item) + if (itemType === originalItemType) { + this._selectPreviousItemOfItemType(itemType); + return; + } + var startedItemType = originalItemType !== undefined ? originalItemType : itemType; + // Try to set the selection to the previous selectable item, of the same suggestion item type group + var selectionChanged = this._selectPreviousItemOfItemType(itemType, startedItemType === itemType ? this._getCurrentIndexForType(itemType) : undefined); + // If the selection did not change, try to select from the previous suggestion type group + if (!selectionChanged) { + this.selectPreviousItem(this._getPreviousItemSectionType(itemType), startedItemType); + } + }; + /** + * Resets the selected state and selects the first selectable item + */ + SuggestionsControl.prototype.resetSelectedItem = function () { + var _a; + this.setState({ selectedHeaderIndex: -1, selectedFooterIndex: -1 }); + (_a = this._suggestions.current) === null || _a === void 0 ? void 0 : _a.deselectAllSuggestions(); + // Select the first item if the shouldSelectFirstItem prop is not set or it is set and it returns true + if (this.props.shouldSelectFirstItem === undefined || this.props.shouldSelectFirstItem()) { + this.selectFirstItem(); + } + }; + /** + * Selects the first item + */ + SuggestionsControl.prototype.selectFirstItem = function () { + if (this._selectNextItemOfItemType(SuggestionItemType.header)) { + return; + } + if (this._selectNextItemOfItemType(SuggestionItemType.suggestion)) { + return; + } + this._selectNextItemOfItemType(SuggestionItemType.footer); + }; + /** + * Selects the last item + */ + SuggestionsControl.prototype.selectLastItem = function () { + if (this._selectPreviousItemOfItemType(SuggestionItemType.footer)) { + return; + } + if (this._selectPreviousItemOfItemType(SuggestionItemType.suggestion)) { + return; + } + this._selectPreviousItemOfItemType(SuggestionItemType.header); + }; + /** + * Selects the next item in the suggestion item type group, given the current index + * If none is able to be selected, returns false, otherwise returns true + * @param itemType - The suggestion item type + * @param currentIndex - The current index, default is -1 + */ + SuggestionsControl.prototype._selectNextItemOfItemType = function (itemType, currentIndex) { + var _a, _b; + if (currentIndex === void 0) { currentIndex = -1; } + if (itemType === SuggestionItemType.suggestion) { + if (this.state.suggestions.length > currentIndex + 1) { + (_a = this._suggestions.current) === null || _a === void 0 ? void 0 : _a.setSelectedSuggestion(currentIndex + 1); + this.setState({ selectedHeaderIndex: -1, selectedFooterIndex: -1 }); + return true; + } + } + else { + var isHeader = itemType === SuggestionItemType.header; + var itemProps = isHeader ? this.props.headerItemsProps : this.props.footerItemsProps; + if (itemProps && itemProps.length > currentIndex + 1) { + for (var i = currentIndex + 1; i < itemProps.length; i++) { + var item = itemProps[i]; + if (item.onExecute && item.shouldShow()) { + this.setState({ selectedHeaderIndex: isHeader ? i : -1 }); + this.setState({ selectedFooterIndex: isHeader ? -1 : i }); + (_b = this._suggestions.current) === null || _b === void 0 ? void 0 : _b.deselectAllSuggestions(); + return true; + } + } + } + } + return false; + }; + /** + * Selects the previous item in the suggestion item type group, given the current index + * If none is able to be selected, returns false, otherwise returns true + * @param itemType - The suggestion item type + * @param currentIndex - The current index. If none is provided, the default is the items length of specified type + */ + SuggestionsControl.prototype._selectPreviousItemOfItemType = function (itemType, currentIndex) { + var _a, _b; + if (itemType === SuggestionItemType.suggestion) { + var index = currentIndex !== undefined ? currentIndex : this.state.suggestions.length; + if (index > 0) { + (_a = this._suggestions.current) === null || _a === void 0 ? void 0 : _a.setSelectedSuggestion(index - 1); + this.setState({ selectedHeaderIndex: -1, selectedFooterIndex: -1 }); + return true; + } + } + else { + var isHeader = itemType === SuggestionItemType.header; + var itemProps = isHeader ? this.props.headerItemsProps : this.props.footerItemsProps; + if (itemProps) { + var index = currentIndex !== undefined ? currentIndex : itemProps.length; + if (index > 0) { + for (var i = index - 1; i >= 0; i--) { + var item = itemProps[i]; + if (item.onExecute && item.shouldShow()) { + this.setState({ selectedHeaderIndex: isHeader ? i : -1 }); + this.setState({ selectedFooterIndex: isHeader ? -1 : i }); + (_b = this._suggestions.current) === null || _b === void 0 ? void 0 : _b.deselectAllSuggestions(); + return true; + } + } + } + } + } + return false; + }; + SuggestionsControl.prototype._getCurrentIndexForType = function (itemType) { + switch (itemType) { + case SuggestionItemType.header: + return this.state.selectedHeaderIndex; + case SuggestionItemType.suggestion: + return this._suggestions.current.currentIndex; + case SuggestionItemType.footer: + return this.state.selectedFooterIndex; + } + }; + SuggestionsControl.prototype._getNextItemSectionType = function (itemType) { + switch (itemType) { + case SuggestionItemType.header: + return SuggestionItemType.suggestion; + case SuggestionItemType.suggestion: + return SuggestionItemType.footer; + case SuggestionItemType.footer: + return SuggestionItemType.header; + } + }; + SuggestionsControl.prototype._getPreviousItemSectionType = function (itemType) { + switch (itemType) { + case SuggestionItemType.header: + return SuggestionItemType.footer; + case SuggestionItemType.suggestion: + return SuggestionItemType.header; + case SuggestionItemType.footer: + return SuggestionItemType.suggestion; + } + }; + return SuggestionsControl; +}(React.Component)); +exports.SuggestionsControl = SuggestionsControl; +//# sourceMappingURL=SuggestionsControl.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsControl.scss.js": +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsControl.scss.js ***! + \********************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.screenReaderOnly = exports.itemButton = exports.suggestionsSpinner = exports.suggestionsTitle = exports.buttonSelected = exports.actionButton = exports.root = void 0; +/* eslint-disable */ +var load_themed_styles_1 = __webpack_require__(/*! @microsoft/load-themed-styles */ "./node_modules/@microsoft/load-themed-styles/lib-es6/index.js"); +(0, load_themed_styles_1.loadStyles)([{ "rawString": ".root_ade399af{min-width:260px}.actionButton_ade399af{background:0 0;background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:relative;width:100%;font-size:12px}html[dir=ltr] .actionButton_ade399af{text-align:left}html[dir=rtl] .actionButton_ade399af{text-align:right}.actionButton_ade399af:hover{background-color:" }, { "theme": "neutralLighter", "defaultValue": "#f3f2f1" }, { "rawString": ";cursor:pointer}.actionButton_ade399af:active,.actionButton_ade399af:focus{background-color:" }, { "theme": "themeLight", "defaultValue": "#c7e0f4" }, { "rawString": "}.actionButton_ade399af .ms-Button-icon{font-size:16px;width:25px}.actionButton_ade399af .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_ade399af .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_ade399af{background-color:" }, { "theme": "themeLighter", "defaultValue": "#deecf9" }, { "rawString": "}.buttonSelected_ade399af:hover{background-color:" }, { "theme": "themeLight", "defaultValue": "#c7e0f4" }, { "rawString": ";cursor:pointer}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af:hover{background-color:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af{background-color:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsTitle_ade399af{font-size:12px}.suggestionsSpinner_ade399af{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_ade399af{padding-left:14px}html[dir=rtl] .suggestionsSpinner_ade399af{padding-right:14px}html[dir=ltr] .suggestionsSpinner_ade399af{text-align:left}html[dir=rtl] .suggestionsSpinner_ade399af{text-align:right}.suggestionsSpinner_ade399af .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_ade399af .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_ade399af .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_ade399af{height:100%;width:100%;padding:7px 12px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.itemButton_ade399af{color:WindowText}}.screenReaderOnly_ade399af{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}" }]); +exports.root = "root_ade399af"; +exports.actionButton = "actionButton_ade399af"; +exports.buttonSelected = "buttonSelected_ade399af"; +exports.suggestionsTitle = "suggestionsTitle_ade399af"; +exports.suggestionsSpinner = "suggestionsSpinner_ade399af"; +exports.itemButton = "itemButton_ade399af"; +exports.screenReaderOnly = "screenReaderOnly_ade399af"; +//# sourceMappingURL=SuggestionsControl.scss.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsCore.js": +/*!************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsCore.js ***! + \************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SuggestionsCore = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Pickers_1 = __webpack_require__(/*! ../../../Pickers */ "./node_modules/@fluentui/react/lib-commonjs/Pickers.js"); +var stylesImport = __webpack_require__(/*! ./SuggestionsCore.scss */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsCore.scss.js"); +var styles = stylesImport; +/** + * Class when used with SuggestionsStore, renders a basic suggestions control + */ +var SuggestionsCore = /** @class */ (function (_super) { + tslib_1.__extends(SuggestionsCore, _super); + function SuggestionsCore(suggestionsProps) { + var _this = _super.call(this, suggestionsProps) || this; + _this._selectedElement = React.createRef(); + _this.SuggestionsItemOfProperType = Pickers_1.SuggestionsItem; + _this._onClickTypedSuggestionsItem = function (item, index) { + return function (ev) { + _this.props.onSuggestionClick(ev, item, index); + }; + }; + _this._onRemoveTypedSuggestionsItem = function (item, index) { + return function (ev) { + var onSuggestionRemove = _this.props.onSuggestionRemove; + onSuggestionRemove(ev, item, index); + ev.stopPropagation(); + }; + }; + (0, Utilities_1.initializeComponentRef)(_this); + _this.currentIndex = -1; + return _this; + } + /** + * Increments the selected suggestion index + */ + SuggestionsCore.prototype.nextSuggestion = function () { + var suggestions = this.props.suggestions; + if (suggestions && suggestions.length > 0) { + if (this.currentIndex === -1) { + this.setSelectedSuggestion(0); + return true; + } + else if (this.currentIndex < suggestions.length - 1) { + this.setSelectedSuggestion(this.currentIndex + 1); + return true; + } + else if (this.props.shouldLoopSelection && this.currentIndex === suggestions.length - 1) { + this.setSelectedSuggestion(0); + return true; + } + } + return false; + }; + /** + * Decrements the selected suggestion index + */ + SuggestionsCore.prototype.previousSuggestion = function () { + var suggestions = this.props.suggestions; + if (suggestions && suggestions.length > 0) { + if (this.currentIndex === -1) { + this.setSelectedSuggestion(suggestions.length - 1); + return true; + } + else if (this.currentIndex > 0) { + this.setSelectedSuggestion(this.currentIndex - 1); + return true; + } + else if (this.props.shouldLoopSelection && this.currentIndex === 0) { + this.setSelectedSuggestion(suggestions.length - 1); + return true; + } + } + return false; + }; + Object.defineProperty(SuggestionsCore.prototype, "selectedElement", { + get: function () { + return this._selectedElement.current || undefined; + }, + enumerable: false, + configurable: true + }); + SuggestionsCore.prototype.getCurrentItem = function () { + return this.props.suggestions[this.currentIndex]; + }; + SuggestionsCore.prototype.getSuggestionAtIndex = function (index) { + return this.props.suggestions[index]; + }; + SuggestionsCore.prototype.hasSuggestionSelected = function () { + return this.currentIndex !== -1 && this.currentIndex < this.props.suggestions.length; + }; + SuggestionsCore.prototype.removeSuggestion = function (index) { + this.props.suggestions.splice(index, 1); + }; + SuggestionsCore.prototype.deselectAllSuggestions = function () { + if (this.currentIndex > -1 && this.props.suggestions[this.currentIndex]) { + this.props.suggestions[this.currentIndex].selected = false; + this.currentIndex = -1; + this.forceUpdate(); + } + }; + SuggestionsCore.prototype.setSelectedSuggestion = function (index) { + var suggestions = this.props.suggestions; + if (index > suggestions.length - 1 || index < 0) { + this.currentIndex = 0; + this.currentSuggestion.selected = false; + this.currentSuggestion = suggestions[0]; + this.currentSuggestion.selected = true; + } + else { + if (this.currentIndex > -1 && suggestions[this.currentIndex]) { + suggestions[this.currentIndex].selected = false; + } + suggestions[index].selected = true; + this.currentIndex = index; + this.currentSuggestion = suggestions[index]; + } + this.forceUpdate(); + }; + SuggestionsCore.prototype.componentDidUpdate = function () { + this.scrollSelected(); + }; + SuggestionsCore.prototype.render = function () { + var _this = this; + var _a = this.props, onRenderSuggestion = _a.onRenderSuggestion, suggestionsItemClassName = _a.suggestionsItemClassName, resultsMaximumNumber = _a.resultsMaximumNumber, showRemoveButtons = _a.showRemoveButtons, suggestionsContainerAriaLabel = _a.suggestionsContainerAriaLabel; + var TypedSuggestionsItem = this.SuggestionsItemOfProperType; + var suggestions = this.props.suggestions; + if (resultsMaximumNumber) { + suggestions = suggestions.slice(0, resultsMaximumNumber); + } + return (React.createElement("div", { className: (0, Utilities_1.css)('ms-Suggestions-container', styles.suggestionsContainer), id: "suggestion-list", role: "listbox", "aria-label": suggestionsContainerAriaLabel }, suggestions.map(function (suggestion, index) { return (React.createElement("div", { ref: suggestion.selected || index === _this.currentIndex ? _this._selectedElement : undefined, key: suggestion.item.key ? suggestion.item.key : index, id: 'sug-' + index }, + React.createElement(TypedSuggestionsItem, { id: 'sug-item' + index, suggestionModel: suggestion, RenderSuggestion: onRenderSuggestion, onClick: _this._onClickTypedSuggestionsItem(suggestion.item, index), className: suggestionsItemClassName, showRemoveButton: showRemoveButtons, onRemoveItem: _this._onRemoveTypedSuggestionsItem(suggestion.item, index), isSelectedOverride: index === _this.currentIndex }))); }))); + }; + // TODO get the element to scroll into view properly regardless of direction. + SuggestionsCore.prototype.scrollSelected = function () { + var _a; + if (((_a = this._selectedElement.current) === null || _a === void 0 ? void 0 : _a.scrollIntoView) !== undefined) { + this._selectedElement.current.scrollIntoView(false); + } + }; + return SuggestionsCore; +}(React.Component)); +exports.SuggestionsCore = SuggestionsCore; +//# sourceMappingURL=SuggestionsCore.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsCore.scss.js": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsCore.scss.js ***! + \*****************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.suggestionsContainer = void 0; +/* eslint-disable */ +var load_themed_styles_1 = __webpack_require__(/*! @microsoft/load-themed-styles */ "./node_modules/@microsoft/load-themed-styles/lib-es6/index.js"); +(0, load_themed_styles_1.loadStyles)([{ "rawString": ".suggestionsContainer_44c59fda{overflow-y:auto;overflow-x:hidden;max-height:300px}.suggestionsContainer_44c59fda .ms-Suggestion-item:hover{background-color:" }, { "theme": "neutralLighter", "defaultValue": "#f3f2f1" }, { "rawString": ";cursor:pointer}.suggestionsContainer_44c59fda .is-suggested{background-color:" }, { "theme": "themeLighter", "defaultValue": "#deecf9" }, { "rawString": "}.suggestionsContainer_44c59fda .is-suggested:hover{background-color:" }, { "theme": "themeLight", "defaultValue": "#c7e0f4" }, { "rawString": ";cursor:pointer}" }]); +exports.suggestionsContainer = "suggestionsContainer_44c59fda"; +//# sourceMappingURL=SuggestionsCore.scss.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsStore.js": +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsStore.js ***! + \*************************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SuggestionsStore = void 0; +var SuggestionsStore = /** @class */ (function () { + function SuggestionsStore(options) { + var _this = this; + this._isSuggestionModel = function (value) { + return value.item !== undefined; + }; + this._ensureSuggestionModel = function (suggestion) { + if (_this._isSuggestionModel(suggestion)) { + return suggestion; + } + else { + return { + item: suggestion, + selected: false, + ariaLabel: _this.getAriaLabel !== undefined + ? _this.getAriaLabel(suggestion) + : suggestion.name || + suggestion.text || + // eslint-disable-next-line deprecation/deprecation + suggestion.primaryText, + }; + } + }; + this.suggestions = []; + this.getAriaLabel = options && options.getAriaLabel; + } + SuggestionsStore.prototype.updateSuggestions = function (newSuggestions) { + if (newSuggestions && newSuggestions.length > 0) { + this.suggestions = this.convertSuggestionsToSuggestionItems(newSuggestions); + } + else { + this.suggestions = []; + } + }; + SuggestionsStore.prototype.getSuggestions = function () { + return this.suggestions; + }; + SuggestionsStore.prototype.getSuggestionAtIndex = function (index) { + return this.suggestions[index]; + }; + SuggestionsStore.prototype.removeSuggestion = function (index) { + this.suggestions.splice(index, 1); + }; + SuggestionsStore.prototype.convertSuggestionsToSuggestionItems = function (suggestions) { + return Array.isArray(suggestions) ? suggestions.map(this._ensureSuggestionModel) : []; + }; + return SuggestionsStore; +}()); +exports.SuggestionsStore = SuggestionsStore; +//# sourceMappingURL=SuggestionsStore.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/index.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/index.js ***! + \**************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./BaseFloatingPicker */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/BaseFloatingPicker.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./BaseFloatingPicker.types */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/BaseFloatingPicker.types.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./PeoplePicker/FloatingPeoplePicker */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/PeoplePicker/FloatingPeoplePicker.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Suggestions/SuggestionsStore */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsStore.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Suggestions/SuggestionsControl */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsControl.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Suggestions/SuggestionsCore */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/SuggestionsCore.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./Suggestions/Suggestions.types */ "./node_modules/@fluentui/react/lib-commonjs/components/FloatingPicker/Suggestions/Suggestions.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FocusTrapZone/FocusTrapZone.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FocusTrapZone/FocusTrapZone.js ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FocusTrapZone = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var react_hooks_1 = __webpack_require__(/*! @fluentui/react-hooks */ "./node_modules/@fluentui/react-hooks/lib-commonjs/index.js"); +var WindowProvider_1 = __webpack_require__(/*! ../../WindowProvider */ "./node_modules/@fluentui/react/lib-commonjs/WindowProvider.js"); +var COMPONENT_NAME = 'FocusTrapZone'; +var DEFAULT_PROPS = { + disabled: false, + disableFirstFocus: false, + forceFocusInsideTrap: true, + isClickableOutsideFocusTrap: false, +}; +var useComponentRef = function (componentRef, previouslyFocusedElement, focusFTZ) { + React.useImperativeHandle(componentRef, function () { return ({ + get previouslyFocusedElement() { + return previouslyFocusedElement; + }, + focus: focusFTZ, + }); }, [focusFTZ, previouslyFocusedElement]); +}; +exports.FocusTrapZone = React.forwardRef(function (propsWithoutDefaults, ref) { + var _a; + var root = React.useRef(null); + var firstBumper = React.useRef(null); + var lastBumper = React.useRef(null); + var mergedRootRef = (0, react_hooks_1.useMergedRefs)(root, ref); + var doc = (0, WindowProvider_1.useDocument)(); + var isFirstRender = (_a = (0, react_hooks_1.usePrevious)(false)) !== null && _a !== void 0 ? _a : true; + var props = (0, Utilities_1.getPropsWithDefaults)(DEFAULT_PROPS, propsWithoutDefaults); + var internalState = (0, react_hooks_1.useConst)({ + hasFocus: false, + focusStackId: (0, react_hooks_1.useId)('ftz-', props.id), + }); + var children = props.children, componentRef = props.componentRef, disabled = props.disabled, disableFirstFocus = props.disableFirstFocus, forceFocusInsideTrap = props.forceFocusInsideTrap, focusPreviouslyFocusedInnerElement = props.focusPreviouslyFocusedInnerElement, + // eslint-disable-next-line deprecation/deprecation + firstFocusableSelector = props.firstFocusableSelector, firstFocusableTarget = props.firstFocusableTarget, + // eslint-disable-next-line deprecation/deprecation + _b = props.disableRestoreFocus, + // eslint-disable-next-line deprecation/deprecation + disableRestoreFocus = _b === void 0 ? props.ignoreExternalFocusing : _b, isClickableOutsideFocusTrap = props.isClickableOutsideFocusTrap, enableAriaHiddenSiblings = props.enableAriaHiddenSiblings; + var bumperProps = { + 'aria-hidden': true, + style: { + pointerEvents: 'none', + position: 'fixed', // 'fixed' prevents browsers from scrolling to bumpers when viewport does not contain them + }, + tabIndex: disabled ? -1 : 0, + 'data-is-visible': true, + 'data-is-focus-trap-zone-bumper': true, + }; + var focusElementAsync = React.useCallback(function (element) { + if (element !== firstBumper.current && element !== lastBumper.current) { + (0, Utilities_1.focusAsync)(element); + } + }, []); + /** + * Callback to force focus into FTZ (named to avoid overlap with global focus() callback). + * useEventCallback always returns the same callback reference but updates the implementation + * every render to avoid stale captured values. + */ + var focusFTZ = (0, react_hooks_1.useEventCallback)(function () { + if (!root.current) { + return; // not done mounting + } + var previouslyFocusedElementInTrapZone = internalState.previouslyFocusedElementInTrapZone; + if (focusPreviouslyFocusedInnerElement && + previouslyFocusedElementInTrapZone && + (0, Utilities_1.elementContains)(root.current, previouslyFocusedElementInTrapZone)) { + // focus on the last item that had focus in the zone before we left the zone + focusElementAsync(previouslyFocusedElementInTrapZone); + return; + } + var firstFocusableChild = null; + if (typeof firstFocusableTarget === 'string') { + firstFocusableChild = root.current.querySelector(firstFocusableTarget); + } + else if (firstFocusableTarget) { + firstFocusableChild = firstFocusableTarget(root.current); + } + else if (firstFocusableSelector) { + var focusSelector = typeof firstFocusableSelector === 'string' ? firstFocusableSelector : firstFocusableSelector(); + firstFocusableChild = root.current.querySelector('.' + focusSelector); + } + // Fall back to first element if query selector did not match any elements. + if (!firstFocusableChild) { + firstFocusableChild = (0, Utilities_1.getNextElement)(root.current, root.current.firstChild, false, false, false, true); + } + if (firstFocusableChild) { + focusElementAsync(firstFocusableChild); + } + }); + /** Used in root div focus/blur handlers */ + var focusBumper = function (isFirstBumper) { + if (disabled || !root.current) { + return; + } + var nextFocusable = isFirstBumper === internalState.hasFocus + ? (0, Utilities_1.getLastTabbable)(root.current, lastBumper.current, true, false) + : (0, Utilities_1.getFirstTabbable)(root.current, firstBumper.current, true, false); + if (nextFocusable) { + if (nextFocusable === firstBumper.current || nextFocusable === lastBumper.current) { + // This can happen when FTZ contains no tabbable elements. + // focusFTZ() will take care of finding a focusable element in FTZ. + focusFTZ(); + } + else { + nextFocusable.focus(); + } + } + }; + /** Root div blur handler (doesn't need useCallback since it's for a native element) */ + var onRootBlurCapture = function (ev) { + var _a; + (_a = props.onBlurCapture) === null || _a === void 0 ? void 0 : _a.call(props, ev); + var relatedTarget = ev.relatedTarget; + if (ev.relatedTarget === null) { + // In IE11, due to lack of support, event.relatedTarget is always + // null making every onBlur call to be "outside" of the root + // even when it's not. Using document.activeElement is another way + // for us to be able to get what the relatedTarget without relying + // on the event + relatedTarget = doc.activeElement; + } + if (!(0, Utilities_1.elementContains)(root.current, relatedTarget)) { + internalState.hasFocus = false; + } + }; + /** Root div focus handler (doesn't need useCallback since it's for a native element) */ + var onRootFocusCapture = function (ev) { + var _a; + (_a = props.onFocusCapture) === null || _a === void 0 ? void 0 : _a.call(props, ev); + if (ev.target === firstBumper.current) { + focusBumper(true); + } + else if (ev.target === lastBumper.current) { + focusBumper(false); + } + internalState.hasFocus = true; + if (ev.target !== ev.currentTarget && !(ev.target === firstBumper.current || ev.target === lastBumper.current)) { + // every time focus changes within the trap zone, remember the focused element so that + // it can be restored if focus leaves the pane and returns via keystroke (i.e. via a call to this.focus(true)) + internalState.previouslyFocusedElementInTrapZone = ev.target; + } + }; + /** Called to restore focus on unmount or props change. (useEventCallback ensures latest prop values are used.) */ + var returnFocusToInitiator = (0, react_hooks_1.useEventCallback)(function (elementToFocusOnDismiss) { + exports.FocusTrapZone.focusStack = exports.FocusTrapZone.focusStack.filter(function (value) { return internalState.focusStackId !== value; }); + if (!doc) { + return; + } + var activeElement = doc.activeElement; + if (!disableRestoreFocus && + typeof (elementToFocusOnDismiss === null || elementToFocusOnDismiss === void 0 ? void 0 : elementToFocusOnDismiss.focus) === 'function' && + // only restore focus if the current focused element is within the FTZ, or if nothing is focused + ((0, Utilities_1.elementContains)(root.current, activeElement) || activeElement === doc.body)) { + focusElementAsync(elementToFocusOnDismiss); + } + }); + /** Called in window event handlers. (useEventCallback ensures latest prop values are used.) */ + var forceFocusOrClickInTrap = (0, react_hooks_1.useEventCallback)(function (ev) { + // be sure to use the latest values here + if (disabled) { + return; + } + if (internalState.focusStackId === exports.FocusTrapZone.focusStack.slice(-1)[0]) { + var targetElement = ev.target; + if (targetElement && !(0, Utilities_1.elementContains)(root.current, targetElement)) { + if (doc && doc.activeElement === doc.body) { + setTimeout(function () { + if (doc && doc.activeElement === doc.body) { + focusFTZ(); + internalState.hasFocus = true; // set focus here since we stop event propagation + } + }, 0); + } + else { + focusFTZ(); + internalState.hasFocus = true; // set focus here since we stop event propagation + } + ev.preventDefault(); + ev.stopPropagation(); + } + } + }); + // Update window event handlers when relevant props change + React.useEffect(function () { + var disposables = []; + if (forceFocusInsideTrap) { + disposables.push((0, Utilities_1.on)(window, 'focus', forceFocusOrClickInTrap, true)); + } + if (!isClickableOutsideFocusTrap) { + disposables.push((0, Utilities_1.on)(window, 'click', forceFocusOrClickInTrap, true)); + } + return function () { + disposables.forEach(function (dispose) { return dispose(); }); + }; + // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run when these two props change + }, [forceFocusInsideTrap, isClickableOutsideFocusTrap]); + // On prop change or first render, focus the FTZ and update focusStack if appropriate + React.useEffect(function () { + // Do nothing if disabled, or if it's a re-render and forceFocusInsideTrap is false + // (to match existing behavior, the FTZ handles first focus even if forceFocusInsideTrap + // is false, though it's debatable whether it should do this) + if (disabled || (!isFirstRender && !forceFocusInsideTrap) || !root.current) { + return; + } + // Transition from forceFocusInsideTrap / FTZ disabled to enabled (or initial mount) + exports.FocusTrapZone.focusStack.push(internalState.focusStackId); + var elementToFocusOnDismiss = props.elementToFocusOnDismiss || doc.activeElement; + if (!disableFirstFocus && !(0, Utilities_1.elementContains)(root.current, elementToFocusOnDismiss)) { + focusFTZ(); + } + // To match existing behavior, always return focus on cleanup (even if we didn't handle + // initial focus), but it's debatable whether that's correct + return function () { return returnFocusToInitiator(elementToFocusOnDismiss); }; + // eslint-disable-next-line react-hooks/exhaustive-deps -- should only run when these two props change + }, [forceFocusInsideTrap, disabled]); + // Handle modalization separately from first focus + React.useEffect(function () { + if (!disabled && enableAriaHiddenSiblings) { + var unmodalize = (0, Utilities_1.modalize)(root.current); + return unmodalize; + } + }, [disabled, enableAriaHiddenSiblings, root]); + // Cleanup lifecyle method for internalState. + (0, react_hooks_1.useUnmount)(function () { + // Dispose of element references so the DOM Nodes can be garbage-collected + delete internalState.previouslyFocusedElementInTrapZone; + }); + useComponentRef(componentRef, internalState.previouslyFocusedElementInTrapZone, focusFTZ); + return (React.createElement("div", tslib_1.__assign({ "aria-labelledby": props.ariaLabelledBy }, (0, Utilities_1.getNativeProps)(props, Utilities_1.divProperties), { ref: mergedRootRef, onFocusCapture: onRootFocusCapture, onBlurCapture: onRootBlurCapture }), + React.createElement("div", tslib_1.__assign({}, bumperProps, { ref: firstBumper })), + children, + React.createElement("div", tslib_1.__assign({}, bumperProps, { ref: lastBumper })))); +}); +exports.FocusTrapZone.displayName = COMPONENT_NAME; +exports.FocusTrapZone.focusStack = []; +//# sourceMappingURL=FocusTrapZone.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FocusTrapZone/FocusTrapZone.types.js": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FocusTrapZone/FocusTrapZone.types.js ***! + \***************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +//# sourceMappingURL=FocusTrapZone.types.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/FocusTrapZone/index.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/FocusTrapZone/index.js ***! + \*************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +tslib_1.__exportStar(__webpack_require__(/*! ./FocusTrapZone */ "./node_modules/@fluentui/react/lib-commonjs/components/FocusTrapZone/FocusTrapZone.js"), exports); +tslib_1.__exportStar(__webpack_require__(/*! ./FocusTrapZone.types */ "./node_modules/@fluentui/react/lib-commonjs/components/FocusTrapZone/FocusTrapZone.types.js"), exports); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupFooter.base.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupFooter.base.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GroupFooterBase = void 0; +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var GroupSpacer_1 = __webpack_require__(/*! ./GroupSpacer */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupSpacer.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var GroupFooterBase = function (props) { + var group = props.group, groupLevel = props.groupLevel, footerText = props.footerText, indentWidth = props.indentWidth, styles = props.styles, theme = props.theme; + var classNames = getClassNames(styles, { theme: theme }); + if (group && footerText) { + return (React.createElement("div", { className: classNames.root }, + React.createElement(GroupSpacer_1.GroupSpacer, { indentWidth: indentWidth, count: groupLevel }), + footerText)); + } + return null; +}; +exports.GroupFooterBase = GroupFooterBase; +//# sourceMappingURL=GroupFooter.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupFooter.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupFooter.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GroupFooter = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var GroupFooter_styles_1 = __webpack_require__(/*! ./GroupFooter.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupFooter.styles.js"); +var GroupFooter_base_1 = __webpack_require__(/*! ./GroupFooter.base */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupFooter.base.js"); +exports.GroupFooter = (0, Utilities_1.styled)(GroupFooter_base_1.GroupFooterBase, GroupFooter_styles_1.getStyles, undefined, { + scope: 'GroupFooter', +}); +//# sourceMappingURL=GroupFooter.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupFooter.styles.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupFooter.styles.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var GlobalClassNames = { + root: 'ms-groupFooter', +}; +var getStyles = function (props) { + var theme = props.theme, className = props.className; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + return { + root: [ + theme.fonts.medium, + classNames.root, + { + position: 'relative', + padding: '5px 38px', + }, + className, + ], + }; +}; +exports.getStyles = getStyles; +//# sourceMappingURL=GroupFooter.styles.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupHeader.base.js": +/*!**********************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupHeader.base.js ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GroupHeaderBase = void 0; +var tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.mjs"); +var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var Selection_1 = __webpack_require__(/*! ../../Selection */ "./node_modules/@fluentui/react/lib-commonjs/Selection.js"); +var Check_1 = __webpack_require__(/*! ../../Check */ "./node_modules/@fluentui/react/lib-commonjs/Check.js"); +var Icon_1 = __webpack_require__(/*! ../../Icon */ "./node_modules/@fluentui/react/lib-commonjs/Icon.js"); +var GroupSpacer_1 = __webpack_require__(/*! ./GroupSpacer */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupSpacer.js"); +var Spinner_1 = __webpack_require__(/*! ../../Spinner */ "./node_modules/@fluentui/react/lib-commonjs/Spinner.js"); +var DetailsRowCheck_styles_1 = __webpack_require__(/*! ../DetailsList/DetailsRowCheck.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.styles.js"); +var getClassNames = (0, Utilities_1.classNamesFunction)(); +var GroupHeaderBase = /** @class */ (function (_super) { + tslib_1.__extends(GroupHeaderBase, _super); + function GroupHeaderBase(props) { + var _this = _super.call(this, props) || this; + _this._toggleCollapse = function () { + var _a = _this.props, group = _a.group, onToggleCollapse = _a.onToggleCollapse, isGroupLoading = _a.isGroupLoading; + var isCollapsed = _this.state.isCollapsed; + var newCollapsed = !isCollapsed; + var newLoadingVisible = !newCollapsed && isGroupLoading && isGroupLoading(group); + _this.setState({ + isCollapsed: newCollapsed, + isLoadingVisible: newLoadingVisible, + }); + if (onToggleCollapse) { + onToggleCollapse(group); + } + }; + _this._onKeyUp = function (ev) { + var _a = _this.props, group = _a.group, onGroupHeaderKeyUp = _a.onGroupHeaderKeyUp; + if (onGroupHeaderKeyUp) { + onGroupHeaderKeyUp(ev, group); + } + if (!ev.defaultPrevented) { + // eslint-disable-next-line deprecation/deprecation + var shouldOpen = _this.state.isCollapsed && ev.which === (0, Utilities_1.getRTLSafeKeyCode)(Utilities_1.KeyCodes.right, _this.props.theme); + // eslint-disable-next-line deprecation/deprecation + var shouldClose = !_this.state.isCollapsed && ev.which === (0, Utilities_1.getRTLSafeKeyCode)(Utilities_1.KeyCodes.left, _this.props.theme); + if (shouldClose || shouldOpen) { + _this._toggleCollapse(); + ev.stopPropagation(); + ev.preventDefault(); + } + } + }; + _this._onToggleClick = function (ev) { + _this._toggleCollapse(); + ev.stopPropagation(); + ev.preventDefault(); + }; + _this._onHeaderClick = function () { + var _a = _this.props, group = _a.group, onGroupHeaderClick = _a.onGroupHeaderClick; + if (onGroupHeaderClick) { + onGroupHeaderClick(group); + } + }; + _this._onRenderTitle = function (props) { + var group = props.group; + if (!group) { + return null; + } + var onRenderName = props.onRenderName + ? (0, Utilities_1.composeRenderFunction)(props.onRenderName, _this._onRenderName) + : _this._onRenderName; + return (React.createElement("div", { className: _this._classNames.title, id: _this._id, onClick: _this._onHeaderClick, role: "gridcell", "aria-colspan": _this.props.ariaColSpan, "data-selection-invoke": true }, onRenderName(props))); + }; + _this._onRenderName = function (props) { + var group = props.group; + if (!group) { + return null; + } + return (React.createElement(React.Fragment, null, + React.createElement("span", null, group.name), + React.createElement("span", { className: _this._classNames.headerCount }, + "(", + group.count, + group.hasMoreData && '+', + ")"))); + }; + _this._id = (0, Utilities_1.getId)('GroupHeader'); + _this.state = { + isCollapsed: (_this.props.group && _this.props.group.isCollapsed), + isLoadingVisible: false, + }; + return _this; + } + GroupHeaderBase.getDerivedStateFromProps = function (nextProps, previousState) { + if (nextProps.group) { + var newCollapsed = nextProps.group.isCollapsed; + var isGroupLoading = nextProps.isGroupLoading; + var newLoadingVisible = !newCollapsed && isGroupLoading && isGroupLoading(nextProps.group); + return tslib_1.__assign(tslib_1.__assign({}, previousState), { isCollapsed: newCollapsed || false, isLoadingVisible: newLoadingVisible || false }); + } + return previousState; + }; + GroupHeaderBase.prototype.render = function () { + var _a = this.props, group = _a.group, _b = _a.groupLevel, groupLevel = _b === void 0 ? 0 : _b, viewport = _a.viewport, selectionMode = _a.selectionMode, loadingText = _a.loadingText, + // eslint-disable-next-line deprecation/deprecation + _c = _a.isSelected, + // eslint-disable-next-line deprecation/deprecation + isSelected = _c === void 0 ? false : _c, _d = _a.selected, selected = _d === void 0 ? false : _d, indentWidth = _a.indentWidth, onRenderGroupHeaderCheckbox = _a.onRenderGroupHeaderCheckbox, _e = _a.isCollapsedGroupSelectVisible, isCollapsedGroupSelectVisible = _e === void 0 ? true : _e, expandButtonProps = _a.expandButtonProps, expandButtonIcon = _a.expandButtonIcon, selectAllButtonProps = _a.selectAllButtonProps, theme = _a.theme, styles = _a.styles, className = _a.className, compact = _a.compact, ariaLevel = _a.ariaLevel, ariaPosInSet = _a.ariaPosInSet, ariaSetSize = _a.ariaSetSize, ariaRowIndex = _a.ariaRowIndex, useFastIcons = _a.useFastIcons; + var onRenderTitle = this.props.onRenderTitle + ? (0, Utilities_1.composeRenderFunction)(this.props.onRenderTitle, this._onRenderTitle) + : this._onRenderTitle; + var defaultCheckboxRender = useFastIcons ? this._fastDefaultCheckboxRender : this._defaultCheckboxRender; + var onRenderCheckbox = onRenderGroupHeaderCheckbox + ? (0, Utilities_1.composeRenderFunction)(onRenderGroupHeaderCheckbox, defaultCheckboxRender) + : defaultCheckboxRender; + var _f = this.state, isCollapsed = _f.isCollapsed, isLoadingVisible = _f.isLoadingVisible; + var canSelectGroup = selectionMode === Selection_1.SelectionMode.multiple; + var isSelectionCheckVisible = canSelectGroup && (isCollapsedGroupSelectVisible || !(group && group.isCollapsed)); + var currentlySelected = selected || isSelected; + var isRTL = (0, Utilities_1.getRTL)(theme); + this._classNames = getClassNames(styles, { + theme: theme, + className: className, + selected: currentlySelected, + isCollapsed: isCollapsed, + compact: compact, + }); + if (!group) { + return null; + } + return (React.createElement("div", { className: this._classNames.root, style: viewport ? { minWidth: viewport.width } : {}, role: "row", "aria-level": ariaLevel, "aria-setsize": ariaSetSize, "aria-posinset": ariaPosInSet, "aria-rowindex": ariaRowIndex, "data-is-focusable": true, onKeyUp: this._onKeyUp, "aria-label": group.ariaLabel, "aria-labelledby": group.ariaLabel ? undefined : this._id, "aria-expanded": !this.state.isCollapsed, "aria-selected": canSelectGroup ? currentlySelected : undefined, "data-selection-index": group.startIndex, "data-selection-span": group.count }, + React.createElement("div", { className: this._classNames.groupHeaderContainer, role: "presentation" }, + isSelectionCheckVisible ? (React.createElement("div", { role: "gridcell" }, + React.createElement("button", tslib_1.__assign({ "data-is-focusable": false, type: "button", className: this._classNames.check, role: "checkbox", id: "".concat(this._id, "-check"), "aria-checked": currentlySelected, "aria-labelledby": "".concat(this._id, "-check ").concat(this._id), "data-selection-toggle": true }, selectAllButtonProps), onRenderCheckbox({ checked: currentlySelected, theme: theme }, onRenderCheckbox)))) : ( + // To make the group header align properly with the column headers, this spacer + // needs to be the same width as the check cell in the column header. + selectionMode !== Selection_1.SelectionMode.none && React.createElement(GroupSpacer_1.GroupSpacer, { indentWidth: DetailsRowCheck_styles_1.CHECK_CELL_WIDTH, count: 1 })), + React.createElement(GroupSpacer_1.GroupSpacer, { indentWidth: indentWidth, count: groupLevel }), + React.createElement("div", { className: this._classNames.dropIcon, role: "presentation" }, + React.createElement(Icon_1.Icon, { iconName: "Tag" })), + React.createElement("div", { role: "gridcell" }, + React.createElement("button", tslib_1.__assign({ "data-is-focusable": false, "data-selection-disabled": true, type: "button", className: this._classNames.expand, onClick: this._onToggleClick, "aria-expanded": !this.state.isCollapsed }, expandButtonProps), + React.createElement(Icon_1.Icon, { className: this._classNames.expandIsCollapsed, iconName: expandButtonIcon || (isRTL ? 'ChevronLeftMed' : 'ChevronRightMed') }))), + onRenderTitle(this.props), + isLoadingVisible && React.createElement(Spinner_1.Spinner, { label: loadingText })))); + }; + GroupHeaderBase.prototype._defaultCheckboxRender = function (checkboxProps) { + return React.createElement(Check_1.Check, { checked: checkboxProps.checked }); + }; + GroupHeaderBase.prototype._fastDefaultCheckboxRender = function (checkboxProps) { + return React.createElement(FastCheck, { theme: checkboxProps.theme, checked: checkboxProps.checked }); + }; + GroupHeaderBase.defaultProps = { + expandButtonProps: { 'aria-label': 'expand collapse group' }, + }; + return GroupHeaderBase; +}(React.Component)); +exports.GroupHeaderBase = GroupHeaderBase; +var FastCheck = React.memo(function (props) { + return React.createElement(Check_1.Check, { theme: props.theme, checked: props.checked, className: props.className, useFastIcons: true }); +}); +//# sourceMappingURL=GroupHeader.base.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupHeader.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupHeader.js ***! + \*****************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GroupHeader = void 0; +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var GroupHeader_styles_1 = __webpack_require__(/*! ./GroupHeader.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupHeader.styles.js"); +var GroupHeader_base_1 = __webpack_require__(/*! ./GroupHeader.base */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupHeader.base.js"); +exports.GroupHeader = (0, Utilities_1.styled)(GroupHeader_base_1.GroupHeaderBase, GroupHeader_styles_1.getStyles, undefined, { + scope: 'GroupHeader', +}); +//# sourceMappingURL=GroupHeader.js.map + +/***/ }), + +/***/ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupHeader.styles.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupHeader.styles.js ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getStyles = void 0; +var Styling_1 = __webpack_require__(/*! ../../Styling */ "./node_modules/@fluentui/react/lib-commonjs/Styling.js"); +var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "./node_modules/@fluentui/react/lib-commonjs/Utilities.js"); +var DetailsRow_styles_1 = __webpack_require__(/*! ../DetailsList/DetailsRow.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRow.styles.js"); +var DetailsRowCheck_styles_1 = __webpack_require__(/*! ../DetailsList/DetailsRowCheck.styles */ "./node_modules/@fluentui/react/lib-commonjs/components/DetailsList/DetailsRowCheck.styles.js"); +// For every group level there is a GroupSpacer added. Importing this const to have the source value in one place. +var GroupSpacer_1 = __webpack_require__(/*! ./GroupSpacer */ "./node_modules/@fluentui/react/lib-commonjs/components/GroupedList/GroupSpacer.js"); +var GlobalClassNames = { + root: 'ms-GroupHeader', + compact: 'ms-GroupHeader--compact', + check: 'ms-GroupHeader-check', + dropIcon: 'ms-GroupHeader-dropIcon', + expand: 'ms-GroupHeader-expand', + isCollapsed: 'is-collapsed', + title: 'ms-GroupHeader-title', + isSelected: 'is-selected', + iconTag: 'ms-Icon--Tag', + group: 'ms-GroupedList-group', + isDropping: 'is-dropping', +}; +var beziers = { + easeOutCirc: 'cubic-bezier(0.075, 0.820, 0.165, 1.000)', + easeOutSine: 'cubic-bezier(0.390, 0.575, 0.565, 1.000)', + easeInBack: 'cubic-bezier(0.600, -0.280, 0.735, 0.045)', +}; +var DEFAULT_GROUP_HEADER_HEIGHT = 48; +var COMPACT_GROUP_HEADER_HEIGHT = 40; +var getStyles = function (props) { + var _a, _b, _c, _d, _e; + var theme = props.theme, className = props.className, selected = props.selected, isCollapsed = props.isCollapsed, compact = props.compact; + // padding from the source to align GroupHeader title with DetailsRow's first cell. + var cellLeftPadding = DetailsRow_styles_1.DEFAULT_CELL_STYLE_PROPS.cellLeftPadding; + var finalRowHeight = compact ? COMPACT_GROUP_HEADER_HEIGHT : DEFAULT_GROUP_HEADER_HEIGHT; + var semanticColors = theme.semanticColors, palette = theme.palette, fonts = theme.fonts; + var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme); + var checkExpandResetStyles = [ + (0, Styling_1.getFocusStyle)(theme), + { + cursor: 'default', + background: 'none', + backgroundColor: 'transparent', + border: 'none', + padding: 0, // cancel default