diff --git a/.eslintignore b/.eslintignore index e1311fb1..f623800d 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,2 @@ -/.docz/** /dist/** .eslintrc.js \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.js index 3e68164a..2f74cc21 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,25 +1,72 @@ +/** + * Copyright (c) 2013-present, creativeLabs Lukasz Holeczek. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +'use strict' + module.exports = { - parser: '@typescript-eslint/parser', // Specifies the ESLint parser + root: true, // So parent files don't get applied + env: { + es6: true, + browser: true, + node: true, + }, + extends: [ + 'plugin:react/recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:prettier/recommended', + 'plugin:unicorn/recommended', + ], + parser: '@typescript-eslint/parser', parserOptions: { - ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features - sourceType: 'module', // Allows for the use of imports + ecmaVersion: 2020, + sourceType: 'module', ecmaFeatures: { - jsx: true, // Allows for the parsing of JSX + jsx: true, }, }, + plugins: ['@typescript-eslint', 'react', 'react-hooks'], settings: { react: { - version: 'detect', // Tells eslint-plugin-react to automatically detect the version of React to use + pragma: 'React', + version: 'detect', }, }, - extends: [ - 'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react - 'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin - 'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array. - ], - plugins: ['jsdoc', '@typescript-eslint', 'react', 'react-hooks'], rules: { - // Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs - // e.g. "@typescript-eslint/explicit-function-return-type": "off", + 'unicorn/filename-case': 'off', + 'unicorn/no-array-for-each': 'off', + 'unicorn/no-null': 'off', + 'unicorn/prefer-dom-node-append': 'off', + 'unicorn/prefer-export-from': 'off', + 'unicorn/prefer-query-selector': 'off', + 'unicorn/prevent-abbreviations': 'off', }, + overrides: [ + { + files: ['packages/docs/build/**'], + env: { + browser: false, + node: true, + }, + parserOptions: { + sourceType: 'script', + }, + rules: { + '@typescript-eslint/no-var-requires': 'off', + 'no-console': 'off', + 'unicorn/prefer-module': 'off', + 'unicorn/prefer-top-level-await': 'off', + }, + }, + { + files: ['packages/docs/**'], + rules: { + '@typescript-eslint/no-var-requires': 'off', + 'unicorn/prefer-module': 'off', + }, + }, + ], } diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index ddf49052..544d42d2 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,4 @@ # These are supported funding model platforms -custom: "https://coreui.io/pro/" +custom: "https://coreui.io/pricing/?support=true" +open_collective: coreui diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 9be6f82b..87980fbc 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -11,7 +11,7 @@ Before opening: - [Search for duplicate or closed issues](https://github.com/coreui/coreui-react/issues?utf8=%E2%9C%93&q=is%3Aissue) - [Validate](https://html5.validator.nu/) any HTML to avoid common problems -- Read the [contributing guidelines](https://github.com/coreui/coreui-react/blob/v4-dev/.github/CONTRIBUTING.md) +- Read the [contributing guidelines](https://github.com/coreui/coreui-react/blob/main/.github/CONTRIBUTING.md) Bug reports must include: diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md index 3d3cbbe5..9d4da715 100644 --- a/.github/SUPPORT.md +++ b/.github/SUPPORT.md @@ -6,4 +6,4 @@ See the [contributing guidelines](CONTRIBUTING.md) for sharing bug reports. For general troubleshooting or help getting started: -- Join [the official community](https://community.coreui.io/). +- Join [GitHub Discussions](https://github.com/coreui/coreui-react/discussions/). diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..ae659d2c --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,27 @@ +# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. +# +# You can adjust the behavior by modifying this file. +# For more information, see: +# https://github.com/actions/stale +name: Mark stale issues and pull requests + +on: + schedule: + - cron: '18 14 * * *' + +jobs: + stale: + + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions' + stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions' + stale-issue-label: 'no-issue-activity' + stale-pr-label: 'no-pr-activity' diff --git a/.gitignore b/.gitignore index 68d990b0..70f24f47 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,33 @@ -.docz +.cache coverage/ +dist/ node_modules/ +public/ +yarn.lock + +# IDEs and editors +.idea/ + +# Visual Studio Code +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +.history/* + +# System files +.DS_Store +Thumbs.db + +# Numerous always-ignore extensions +*.diff +*.err +*.log +*.orig +*.rej +*.swo +*.swp +*.vi +*.zip +*~ \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..d6139f86 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,8 @@ +[submodule "packages/coreui-react-chartjs"] + path = packages/coreui-react-chartjs + url = https://github.com/coreui/coreui-react-chartjs.git + branch = main +[submodule "packages/coreui-icons-react"] + path = packages/coreui-icons-react + url = https://github.com/coreui/coreui-icons-react.git + branch = main diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 7552ce55..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,451 +0,0 @@ -### Changelog - -#### [4.0.0-alpha.0](https://github.com/coreui/coreui-react/compare/3.4.3...4.0.0-alpha.0) - -> 14 April 2021 - -- Initial release for CoreUI 4 for React.js -#### [3.4.4](https://github.com/coreui/coreui-react/compare/3.4.3...3.4.4) - -> 19 January 2021 - -- test(CModal): update test, snapshots and story [`c797328`](https://github.com/coreui/coreui-react/commit/c7973286896a7e354ba64ee7b81a78fbf35e19e4) -- chore: dependencies update [`852c9c8`](https://github.com/coreui/coreui-react/commit/852c9c830108c303796ea677b890a614cdb38270) -- added scrollable prop to CModal - uses modal-dialog-scrollable from Bootstrap [`1b3a019`](https://github.com/coreui/coreui-react/commit/1b3a019f12561b625567e805f4d489b3e79a1da1) -- fix(CModal): add missing modal-dialog-scrollable - thanks @ljuborados [`9d480af`](https://github.com/coreui/coreui-react/commit/9d480afbe6d619c51abd152fc332b3c09974b2da) - -#### [3.4.3](https://github.com/coreui/coreui-react/compare/3.4.2...3.4.3) - -> 22 December 2020 - -- fix(CDataTable): correct itemsPerPageSelect padding [`#171`](https://github.com/coreui/coreui-react/pull/171) -- fix(CDataTable): tableFilter and cleaner minor cleanup [`1b5079f`](https://github.com/coreui/coreui-react/commit/1b5079f76020d579d2edc00da20edec0956521bf) -- chore(release): 3.4.3 [`72497b6`](https://github.com/coreui/coreui-react/commit/72497b696f8f90694fc953c5d047511c14c351d1) - -#### [3.4.2](https://github.com/coreui/coreui-react/compare/3.4.1...3.4.2) - -> 18 December 2020 - -- fix(CToast): add missing color prop [`f48c98c`](https://github.com/coreui/coreui-react/commit/f48c98cf7f66ed3089730fbb37da5d0c4a975563) -- chore(release): 3.4.2 [`939098f`](https://github.com/coreui/coreui-react/commit/939098f265dc9fe8d908995db369bae3f3c65ef9) - -#### [3.4.1](https://github.com/coreui/coreui-react/compare/3.4.0...3.4.1) - -> 18 December 2020 - -- fix(index.d.ts): CDropdownDivider and CDropdownHeader not defined [`#170`](https://github.com/coreui/coreui-react/issues/170) -- chore(release): 3.4.1 [`cdb9aa7`](https://github.com/coreui/coreui-react/commit/cdb9aa7e247fbfb7053a7ad1e9ca2917b2c6640b) -- chore: dependencies update [`4ae0d80`](https://github.com/coreui/coreui-react/commit/4ae0d80405a4093bd8d1545a1ea7006f33665f9e) - -#### [3.4.0](https://github.com/coreui/coreui-react/compare/3.4.0-beta.0...3.4.0) - -> 11 December 2020 - -- chore: 3.4.0 version release for React 17 [`ddaea52`](https://github.com/coreui/coreui-react/commit/ddaea52b12d05825e56f79275e30132b14b8db2b) -- fix(CWidgetBrand): addHeaderClass bad PropTypes [`d2c102b`](https://github.com/coreui/coreui-react/commit/d2c102b50f0b15a89a2a66334923798b267ddeea) -- chore: dependencies update [`8b7abe8`](https://github.com/coreui/coreui-react/commit/8b7abe8716aec3aa3757a1e25067931253c14c6f) - -#### [3.4.0-beta.0](https://github.com/coreui/coreui-react/compare/3.3.6...3.4.0-beta.0) - -> 10 December 2020 - -- test: enzyme-adapter-react-17 temp fix [`9a93f26`](https://github.com/coreui/coreui-react/commit/9a93f2610254f5584eb5e8f70b34a8456b3a2dc8) -- chore: update to React 17 and dependencies [`dc7e219`](https://github.com/coreui/coreui-react/commit/dc7e219546b6c2a41a060042ce619e84fb1140ae) -- test(CToast): use act() from react-dom/test-utils [`fce83f8`](https://github.com/coreui/coreui-react/commit/fce83f810768ed67a27acc2f9b10c4e845d91092) -- fix(stories): className [`ab3348a`](https://github.com/coreui/coreui-react/commit/ab3348a5aac8eb008c23a5cc6292a7836353a311) -- test(CDataTable): snap update className fix [`d6e58d5`](https://github.com/coreui/coreui-react/commit/d6e58d5003426184e632071d9a8fe2e38b73baad) -- fix(CWidgetBrand): addHeaderClass bad PropTypes [`937a713`](https://github.com/coreui/coreui-react/commit/937a71394614d8bd66524900fdd415d8dc6f5918) - -#### [3.3.6](https://github.com/coreui/coreui-react/compare/3.3.5...3.3.6) - -> 10 December 2020 - -- fix(CWidgetBrand): addHeaderClass bad PropTypes [`d2c102b`](https://github.com/coreui/coreui-react/commit/d2c102b50f0b15a89a2a66334923798b267ddeea) -- 3.3.6 version release [`7fc09a3`](https://github.com/coreui/coreui-react/commit/7fc09a343da9b623548ebc99cddd5fe9bf40c956) -- fix(stories): className [`ab3348a`](https://github.com/coreui/coreui-react/commit/ab3348a5aac8eb008c23a5cc6292a7836353a311) - -#### [3.3.5](https://github.com/coreui/coreui-react/compare/3.3.4...3.3.5) - -> 9 December 2020 - -- test: add github actions project check [`552a1fd`](https://github.com/coreui/coreui-react/commit/552a1fd7a7dfe5273f55ed1445e98651df80928e) -- 3.3.5 version release [`757f523`](https://github.com/coreui/coreui-react/commit/757f523cdac052fab1735d7ada274fc417d8021f) -- fix(CDataTable): missing select perPageItems initial value [`eaca895`](https://github.com/coreui/coreui-react/commit/eaca8955913fafe0f6100952e98ebf7afd34c32b) -- chore: dependencies update [`41f3899`](https://github.com/coreui/coreui-react/commit/41f38999bb2e32c80d23a425c66cb79bca3ec363) - -#### [3.3.4](https://github.com/coreui/coreui-react/compare/3.3.3...3.3.4) - -> 26 November 2020 - -- chore: dependencies update [`7ded326`](https://github.com/coreui/coreui-react/commit/7ded3260c88bae4fda149cf2037c4f0cb5f75d9f) -- chore: update changelog [`86cec07`](https://github.com/coreui/coreui-react/commit/86cec0727dc56160eadc71fb82b97dc5a460659b) -- chore: 3.3.4 version release [`dea91fc`](https://github.com/coreui/coreui-react/commit/dea91fcac3e890c8ed3deeee5b386cf8d25547b4) - -#### [3.3.3](https://github.com/coreui/coreui-react/compare/3.3.2...3.3.3) - -> 4 November 2020 - -- chore: dependencies update [`a53dbdc`](https://github.com/coreui/coreui-react/commit/a53dbdce08a200aacb52ab935b43dc480d85d327) -- fix(Modal): missing className prop [`7bbc5fd`](https://github.com/coreui/coreui-react/commit/7bbc5fdd06d9a3de4cc56ac57e80dc4c4ef8fa45) -- chore: 3.3.3 version release [`0022dc8`](https://github.com/coreui/coreui-react/commit/0022dc81ddf306aefdec0023d3c2f2c0cc8e7000) - -#### [3.3.2](https://github.com/coreui/coreui-react/compare/3.3.1...3.3.2) - -> 24 October 2020 - -- chore: 3.3.2 version release [`fbf5379`](https://github.com/coreui/coreui-react/commit/fbf537971f7e83729832939ec979818d9a608dfe) -- chore: dependencies update [`b3b5410`](https://github.com/coreui/coreui-react/commit/b3b54105bfc31cd60c84ce7418f5e1dced19ad6c) -- test: fix test configuration, update snapshots [`81a4d7f`](https://github.com/coreui/coreui-react/commit/81a4d7f5f38cbee457ca4368fb1e40cbffb09cf8) -- test: update tabs tests [`39b4284`](https://github.com/coreui/coreui-react/commit/39b4284b98cb507c6a83860f218f42a559d99532) -- chore: delete test snapshots from es build [`b40c300`](https://github.com/coreui/coreui-react/commit/b40c300261b91c440543fbb477fc8ed6738cc2a9) -- test: fix tooltip tests [`44839c9`](https://github.com/coreui/coreui-react/commit/44839c97fab34d645e424f33cec5e6bd18d525e3) -- test: comment out some broken tests as todo [`64f7387`](https://github.com/coreui/coreui-react/commit/64f73871ff1c33f07adffc058c161e517db29167) -- fix: CTabPane: fix 'active' prop, refactor component [`7fa04f8`](https://github.com/coreui/coreui-react/commit/7fa04f8311b7820e2b50a657d538f8d5a18c188e) -- chore: exclude test files from es build [`cf34f54`](https://github.com/coreui/coreui-react/commit/cf34f549844d842d67e95da0f8ce98adc1e32549) -- chore: update changelog [`edd558a`](https://github.com/coreui/coreui-react/commit/edd558a05dcbe7219cfdbff18b793c70b586147d) -- chore: Merge branch 'dev-tests' into dev [`b47d3d5`](https://github.com/coreui/coreui-react/commit/b47d3d57de935dc753ed6b991828db067bdabcce) -- chore: Merge branch 'dev-storybook' into dev [`27c4629`](https://github.com/coreui/coreui-react/commit/27c462980c3845d204c48f14eece0618b2021430) - -#### [3.3.1](https://github.com/coreui/coreui-react/compare/3.3.0...3.3.1) - -> 15 October 2020 - -- chore: 3.3.1 version release [`abbe01f`](https://github.com/coreui/coreui-react/commit/abbe01f61b1c38cd764bb3e4ebbfa11ec10127a3) -- chore: dependencies update [`93397ae`](https://github.com/coreui/coreui-react/commit/93397ae968cd4e11c6780b2ed7a00cacea74e2e9) -- fix(CSidebar): onShowChange callback behavior overwritten for overlaid [`c463ea5`](https://github.com/coreui/coreui-react/commit/c463ea566e3b997d3926781f13273fcd66bf7065) -- fix(CSidebar): add missing xxl breakpoint [`9c84573`](https://github.com/coreui/coreui-react/commit/9c84573511feeff615bee105a5cb2a0ced8fc5a6) - -#### [3.3.0](https://github.com/coreui/coreui-react/compare/3.2.3...3.3.0) - -> 4 September 2020 - -- fix: CSidebarNavItem/CSidebarNavDropdown: accessibility fixes #141 [`#141`](https://github.com/coreui/coreui-react/issues/141) -- chore: 3.3.0 version release - update dependencies [`b3be47d`](https://github.com/coreui/coreui-react/commit/b3be47da28c8813e273bc00af73f552589c7e52f) -- refactor: CSidebar: clearify component [`02b6b0d`](https://github.com/coreui/coreui-react/commit/02b6b0d3b3d60635f51cb6340200d88ca8610f93) -- feat: CSidebar: close mobile/overlaid sidebar on 'esc' #141 [`4e35ed8`](https://github.com/coreui/coreui-react/commit/4e35ed83c9d14737e10fb732984f0f5f8ca4da49) -- fix: CSidebar: close sidebar when click on `Item` in overlaid mode [`59d31b7`](https://github.com/coreui/coreui-react/commit/59d31b7a315c115891ef0be371decddd6d0af68d) -- chore: update changelog [`5f71c83`](https://github.com/coreui/coreui-react/commit/5f71c8306e86fdea0097483a57475b5ddb7e43b5) -- feat: CSidebarNavItem: allow passing nodes to 'name' prop #140 [`074c7e7`](https://github.com/coreui/coreui-react/commit/074c7e775543efc3a87c904f4c8704883127edb5) -- fix: CSidebar: disable 'useCapture' in overlaid sidebar closing [`30e7004`](https://github.com/coreui/coreui-react/commit/30e7004dd8edb8e947048188911b8a20049375e8) -- fix: CDataTable: add space in 'noItemsText' [`1d41870`](https://github.com/coreui/coreui-react/commit/1d41870ca606e0c628fc89854ad3aad6490cb839) - -#### [3.2.3](https://github.com/coreui/coreui-react/compare/3.2.2...3.2.3) - -> 11 August 2020 - -- chore: 3.2.3 version release - update dependencies [`f238624`](https://github.com/coreui/coreui-react/commit/f23862495a8a3d7e394108361dbee2d61dcb94fb) -- chore: update changelog [`77a9487`](https://github.com/coreui/coreui-react/commit/77a94872ebdfcf235b29de8e7a3712db0bceb19c) -- fix: CDataTable: fix wrong class assignment in itemsPerPageSelect #138 [`8425052`](https://github.com/coreui/coreui-react/commit/8425052d2c7cb4a431a1611977da98cc0f21b64c) - -#### [3.2.2](https://github.com/coreui/coreui-react/compare/3.2.1...3.2.2) - -> 31 July 2020 - -- chore: 3.2.2 release: update dependencies [`895f454`](https://github.com/coreui/coreui-react/commit/895f4545e0de72c103e1e20b082161c1f9fab1e5) -- fix: CDataTable component fixes [`9dae2ab`](https://github.com/coreui/coreui-react/commit/9dae2ab32fc9dcc730b1214ecb777776f5346bf9) -- fix: CSidebarNavDropdown: add possibility of component as `icon` [`03c4c32`](https://github.com/coreui/coreui-react/commit/03c4c3239f42b174c703f0ee5b0eef45761ceb9f) -- chore: update changelog [`df6d3b9`](https://github.com/coreui/coreui-react/commit/df6d3b9664c72690a542a1804fcff9164cc80f42) - -#### [3.2.1](https://github.com/coreui/coreui-react/compare/3.2.0...3.2.1) - -> 30 July 2020 - -- chore: 3.2.1 release: update dependencies [`40bba4d`](https://github.com/coreui/coreui-react/commit/40bba4db24b2c83416397c0b6e269a70df626641) -- chore: update chengelog [`cebb691`](https://github.com/coreui/coreui-react/commit/cebb69100d950948baa9e305a865a0ac95bf89a4) -- fix: CDataTable: fix isSortable method [`581e5a2`](https://github.com/coreui/coreui-react/commit/581e5a20019f8c4981e1a9ad1e9be30f46297789) - -#### [3.2.0](https://github.com/coreui/coreui-react/compare/3.1.0...3.2.0) - -> 28 July 2020 - -- chore: fix changelog [`0c6b6cb`](https://github.com/coreui/coreui-react/commit/0c6b6cbb2ef18e5c48be345bdace9ba51595a0f0) -- chore: add postinstall script [`acde502`](https://github.com/coreui/coreui-react/commit/acde5021d1925e901926171b3381a34809f8cea5) -- feat: CDataTable: add cleaner prop [`d0dba67`](https://github.com/coreui/coreui-react/commit/d0dba670cc49817e18f388fa80326d8b2141f6a7) -- refactor: CDataTable: disable filtering and sorting on non data columns [`2b134aa`](https://github.com/coreui/coreui-react/commit/2b134aa0d388b99ab33ea574748814d4effba32e) -- chore: 3.2.0 release: update dependencies [`9c8e377`](https://github.com/coreui/coreui-react/commit/9c8e37729073471c9a48e532e830782dec5ae1a6) -- feat: CModal: add autofucus and `esc` key support [`ecc4920`](https://github.com/coreui/coreui-react/commit/ecc4920a6dc72b5b7a34cd71a08ccdae5d3ca156) -- refactor: CDataTable: small refactors [`407201e`](https://github.com/coreui/coreui-react/commit/407201eddf3ce77591484dd78d2faa8d81a526e5) -- feat: CDrodownMenu: hide menu on `esc` [`c4fea1c`](https://github.com/coreui/coreui-react/commit/c4fea1c72777ff63a62cf9c04cbb59f90cee882c) -- chore: update changelog [`f3d83c3`](https://github.com/coreui/coreui-react/commit/f3d83c3286f4db4ad6b2b18bc8203b2944381d61) -- fix: CDataTable disable auto removing columnFilter [`a745c28`](https://github.com/coreui/coreui-react/commit/a745c286c60bdbb7b75c7db263c303c860865508) -- fix: CBreadcrumbRouter: display route only if it has 'name' key [`e4d743d`](https://github.com/coreui/coreui-react/commit/e4d743da43a51584ddf34a54746b9bd9208df44e) -- fix: CSidebarNavItem: do not render `icon` if prop is undefined #133 [`5fd72b0`](https://github.com/coreui/coreui-react/commit/5fd72b05def832894f9c6b1b166182d984b5068b) - -#### [3.1.0](https://github.com/coreui/coreui-react/compare/3.0.6...3.1.0) - -> 23 July 2020 - -- chore: modify library build [`62194bb`](https://github.com/coreui/coreui-react/commit/62194bb147e9327037778f951936663c14dc28e3) -- refactor: add full propTypes to className prop in components [`cd9c98a`](https://github.com/coreui/coreui-react/commit/cd9c98a890c9717db3a882e39ac3ccde9a711db6) -- chore: 3.1.0 release: update dependencies [`174370e`](https://github.com/coreui/coreui-react/commit/174370e754abf484bc47fba0641b7a3732e16de0) -- fix: delete disabled string type from 'innerRef' prop [`5c91a7f`](https://github.com/coreui/coreui-react/commit/5c91a7f3fe705738508c9c79cb7edfd0694444fd) -- chore: refactor typings [`7c584e4`](https://github.com/coreui/coreui-react/commit/7c584e4da250d7405080c59bc4721d0d4042bc16) -- fix: make components using Transition component use new API #127 [`eba59c2`](https://github.com/coreui/coreui-react/commit/eba59c22abf28c55dc433e5cf5e8715cba9d12e0) -- chore: add missing dependency [`0bb44f8`](https://github.com/coreui/coreui-react/commit/0bb44f8f9a406857c8652ce0fa548b458249a59e) -- chore: update changelog [`14b0c52`](https://github.com/coreui/coreui-react/commit/14b0c52cbc3562792df5b73d6b58e668971111d8) -- fix: CTabPane: fix passing innerRef [`7fa5601`](https://github.com/coreui/coreui-react/commit/7fa5601bd389078f7312b81c26962f2502dd6a87) -- fix: CAlert: add innerRef prop [`c1022a8`](https://github.com/coreui/coreui-react/commit/c1022a8cc83b1a898bd18e774751597210108177) -- feat: CSidebarNavItem: add possibility of passing icon as node [`520dc49`](https://github.com/coreui/coreui-react/commit/520dc49c2d1d1b39871ab864e64a8da18cef4273) -- fix: CModal: fix deprecation warning [`ad88025`](https://github.com/coreui/coreui-react/commit/ad8802576a22fa612883e3d928087f234c402d60) -- fix: CDropdownToggle: add role attribute in case of non-button tag [`4de6508`](https://github.com/coreui/coreui-react/commit/4de6508bbfdb128c07042b4c08e2bccc8b731988) - -#### [3.0.6](https://github.com/coreui/coreui-react/compare/3.0.5...3.0.6) - -> 15 July 2020 - -- chore: 3.0.6 release - update dependencies [`86cdba4`](https://github.com/coreui/coreui-react/commit/86cdba439efcc0eba1dc795579e0f7c32c8475fa) -- chore: dependencies update [`b49a95d`](https://github.com/coreui/coreui-react/commit/b49a95d19584356ef69cc174c6ba01a2f9144ee2) -- chore: CCol: add 'xxl' breakpoint, clean component #128 [`4dd4704`](https://github.com/coreui/coreui-react/commit/4dd4704433e8bb3ab875a9db52cc31f67c010d27) -- chore: Changelog update [`f1c00e8`](https://github.com/coreui/coreui-react/commit/f1c00e822644f9ea75fad7e11d014d9d78558fc6) - -#### [3.0.5](https://github.com/coreui/coreui-react/compare/3.0.4...3.0.5) - -> 30 June 2020 - -- chore: 3.0.5 version release: update [`422a4ce`](https://github.com/coreui/coreui-react/commit/422a4ce75b65760781daac9a0ec0971607cb74cb) -- fix: CModal: fix animation when rendered through portal [`dd28a8d`](https://github.com/coreui/coreui-react/commit/dd28a8de426842684cbcd70e038b8dad7aa72bd1) - -#### [3.0.4](https://github.com/coreui/coreui-react/compare/3.0.3...3.0.4) - -> 22 June 2020 - -- fix: CBreadcrumbRouter: fix assigning paths to items #118 [`7e2c87b`](https://github.com/coreui/coreui-react/commit/7e2c87bfeec6ee03661a5bb891bfe439fe26c0f4) -- chore: 3.0.4 version release: update dependencies [`5eac06b`](https://github.com/coreui/coreui-react/commit/5eac06b6f6ee1cffaf02a7e2e3696b517f324e56) - -#### [3.0.3](https://github.com/coreui/coreui-react/compare/3.0.2...3.0.3) - -> 17 June 2020 - -- chore: add auto-changelog [`dd56a22`](https://github.com/coreui/coreui-react/commit/dd56a22df2479371b33abc3802fb4f0406525fe1) -- chore: 3.0.3 version release: update dependencies and changelog [`293c637`](https://github.com/coreui/coreui-react/commit/293c63726e1a477af657d6b13fa619cba3ecde2f) -- fix: CModal: fix animations [`7740fce`](https://github.com/coreui/coreui-react/commit/7740fcee3583d0fd9324f23d1cd12f0c9914b19a) -- fix: CBreadcrumbRouter: add route parameters support #118 [`6d8b59b`](https://github.com/coreui/coreui-react/commit/6d8b59b9cfa145a30f4e54832941ce28ef514e29) -- feat: CDataTable: add footerSlot prop [`4d68dc8`](https://github.com/coreui/coreui-react/commit/4d68dc8f31ac724b79a003d2c6240b6f064e6cd4) - -#### [3.0.2](https://github.com/coreui/coreui-react/compare/3.0.1...3.0.2) - -> 8 June 2020 - -- chore: 3.0.2 version release [`780509e`](https://github.com/coreui/coreui-react/commit/780509ec5dac4ae2f4ca8a6f58bb2a719c286fcb) -- refactor: CPopover: delete style import [`c24553d`](https://github.com/coreui/coreui-react/commit/c24553d8fe907dc29a98f36fcae36f4b4e4f8612) - -#### [3.0.1](https://github.com/coreui/coreui-react/compare/3.0.0...3.0.1) - -> 3 June 2020 - -- chore: fix typings [`09ca1a5`](https://github.com/coreui/coreui-react/commit/09ca1a5915c16ce37cf43cb63e04adb59065e52e) -- chore: 3.0.1 version release [`5bea981`](https://github.com/coreui/coreui-react/commit/5bea9814e56224b7ac01dd0749b85a822e2fbafb) - -#### [3.0.0](https://github.com/coreui/coreui-react/compare/3.0.0-rc.2...3.0.0) - -> 1 June 2020 - -- fix: delete excessive components - CListGroupItemHeading/Text [`3681ad2`](https://github.com/coreui/coreui-react/commit/3681ad24225078f338d2b3d646ca71bf70de4095) -- chore: 3.0.0 release [`aec0f09`](https://github.com/coreui/coreui-react/commit/aec0f093e08d92d38a3e633623e61971d7e93d67) -- fix: prevent breaking change in CListGroupItemHeading/Text [`8299524`](https://github.com/coreui/coreui-react/commit/829952493cbd84ebc607ec748617fb9d666354d2) -- feat: CSidebarNavItem: add color prop [`12c2ba3`](https://github.com/coreui/coreui-react/commit/12c2ba3b26d8cdc3aa6e9937f9ad3333a13e7788) -- fix: CFade: assign nodeRef to Transition to prevent warning [`907e59a`](https://github.com/coreui/coreui-react/commit/907e59a6297a2221567aab5cba8548ec28e204e5) - -#### [3.0.0-rc.2](https://github.com/coreui/coreui-react/compare/v2.5.8...3.0.0-rc.2) - -> 29 May 2020 - -- Breadcrumb rewrite, BuuttonGroup & ButtonToolbar refactor [`#2`](https://github.com/coreui/coreui-react/pull/2) -- fix: CAlert: component refactor [`#1`](https://github.com/coreui/coreui-react/pull/1) -- CoreUI v3.0.0-alpha.0 for React - demo update WIP [`c8905a3`](https://github.com/coreui/coreui-react/commit/c8905a3d86731d2a494fba52abed062a400a0830) -- chore: delete demo [`5ef9a37`](https://github.com/coreui/coreui-react/commit/5ef9a375a1ecdaf509c57a72fffe76054c1dd69f) -- chore: update dependencies add package-lock.json to github [`d37cc9b`](https://github.com/coreui/coreui-react/commit/d37cc9bb61aa726b21bc645050bf78bf4bebb6fb) -- CoreUI v3.0.0-alpha.0 for React - initial commit [`9113dbd`](https://github.com/coreui/coreui-react/commit/9113dbd668d66556ddbf2c2154763fab388832e9) -- chore: 3.0.0-beta.3 release - update dependencies and clean docs [`7a71431`](https://github.com/coreui/coreui-react/commit/7a7143183efe0846fdaad5a49750f2fd5ac31968) -- chore: 3.0.0-beta.4 release [`f8c1a8b`](https://github.com/coreui/coreui-react/commit/f8c1a8b712316882855b5411847b2886bc551fab) -- chore: 3.0.0-beta.1 release [`99dd67f`](https://github.com/coreui/coreui-react/commit/99dd67f60ef5d46b150bb20bb4940f9c9ec9557a) -- chore: delete legacy components [`ab3aa58`](https://github.com/coreui/coreui-react/commit/ab3aa58f3cccf2a62f6035bb0fdc6b0fda8f1b40) -- feat: add typings [`54dc1c6`](https://github.com/coreui/coreui-react/commit/54dc1c6dc2f868b00e694f16c0a4245cc5bccf49) -- fix: CDataTable: many fixes and API changes [`a6085ce`](https://github.com/coreui/coreui-react/commit/a6085cef91fb9989a883e2771e35ace582e3f269) -- - update: merge with new tooltip/popover (based on tipy.js) [`11a09d1`](https://github.com/coreui/coreui-react/commit/11a09d1da26fb196fae3722b153af2be4717ed15) -- refactor: remove cssModules functionality [`df8c4c0`](https://github.com/coreui/coreui-react/commit/df8c4c0592de7a57f1c5f6844266eeaf378be1de) -- update: popper update try, error with ver. 2.1: [`ef92bac`](https://github.com/coreui/coreui-react/commit/ef92bac50a4fbf35319740b9eac9d69f539726f8) -- fix: CCarousel: rewrite components [`4e8ac70`](https://github.com/coreui/coreui-react/commit/4e8ac7086f266fb86ae9aff89a75f9401bef91d1) -- fix: form components refactor: [`a3b3ccc`](https://github.com/coreui/coreui-react/commit/a3b3ccc7e9ebd0f612bf57f9b834a82d56448ff7) -- refactor: extract CIcons, CCharts, minor changes [`a4c5e8c`](https://github.com/coreui/coreui-react/commit/a4c5e8c1a0865b9f5328818ace0a194f61515dda) -- chore: 3.0.0-beta.2 release [`f6160fc`](https://github.com/coreui/coreui-react/commit/f6160fcb82dd645e7e8b557987473dd923357dda) -- fix: Sidebar components rewrite: make them similar to Vue version [`8706cf0`](https://github.com/coreui/coreui-react/commit/8706cf077ccf6ac89fb0010d538c3babcd18607d) -- fix: leave one state of CCarousel definition [`db633c8`](https://github.com/coreui/coreui-react/commit/db633c8cbaa988ef1fa120e16a26fb957be0c6ea) -- fix: CModal component rewrite - simplify component [`55ceeef`](https://github.com/coreui/coreui-react/commit/55ceeef186fbe3f487d750e0e347728aa717e330) -- refactor: change project folder architecture [`dcb2fd8`](https://github.com/coreui/coreui-react/commit/dcb2fd88be9593b89930570753d5dc0faba73114) -- chore: cleanup [`4bbe3d3`](https://github.com/coreui/coreui-react/commit/4bbe3d3ac426902dc345e63c629a30470953c0c6) -- fix: CDropdown: component rewrite: [`14c2675`](https://github.com/coreui/coreui-react/commit/14c26757d0abf34675a5d1125cd8109c83f98888) -- fix: components cleanup [`f25cf59`](https://github.com/coreui/coreui-react/commit/f25cf590c24452e620b2e51c94164ea92c0fa1f6) -- fix: refactor CToast components: [`4741e67`](https://github.com/coreui/coreui-react/commit/4741e6707afd8f86d15e83f80f76e440b61898d6) -- fix: Breadcrumb components rewrite [`6d0e7fa`](https://github.com/coreui/coreui-react/commit/6d0e7fa293392f80dfb8a600f5f6f75d37d35e0b) -- fix: delete unneeded components [`99586ab`](https://github.com/coreui/coreui-react/commit/99586ab3e5fb409105ac6d4570605583ca53362d) -- fix: rewrite Brand components - make Brands simple wrappers [`ce4fdeb`](https://github.com/coreui/coreui-react/commit/ce4fdeb2ebbf90d9b36c16535800367927769c44) -- fix: CPagination: component rewrite according to Vue functionality [`097d359`](https://github.com/coreui/coreui-react/commit/097d359c4fd72480d211b83fc5188a82ca62133c) -- fix: merge CCollapse components, delete 'custom' and 'toggle' props [`63ba549`](https://github.com/coreui/coreui-react/commit/63ba54920d972ddd778216409f4134d3dd9fdcf0) -- - update: warnings removed [`aa50395`](https://github.com/coreui/coreui-react/commit/aa503958be9a290379f1561a042e1ece7c22062d) -- chore: delete dead code [`f6d2210`](https://github.com/coreui/coreui-react/commit/f6d2210586593a935c27f37daf36d442ae3b4d1c) -- docs: changelog cleanup [`c6c3b39`](https://github.com/coreui/coreui-react/commit/c6c3b39a6795169119c24e27ce1ef7216a04089d) -- fix: fix typings [`4631662`](https://github.com/coreui/coreui-react/commit/4631662660531fa847ec8211779027f215081a4a) -- fix: components cleanup [`7108882`](https://github.com/coreui/coreui-react/commit/71088829915be675fc66ea99345f47a44bfdb899) -- fix: CProgress: rewrite component similar to Vue version [`0781c4a`](https://github.com/coreui/coreui-react/commit/0781c4a939c4bf1a18ae17dd556022eb92e132dd) -- feat: improve Tab activation mechanism, fix bugs [`625c04b`](https://github.com/coreui/coreui-react/commit/625c04b256fccfa9428271b26bad4c57f2487c88) -- fix: CSidebar wrapper components fixes [`d17c8ff`](https://github.com/coreui/coreui-react/commit/d17c8ff8c55b8d367b55cbdd99fd4fa408dcb86c) -- refactor: clean components with fade functionality [`e23dd3f`](https://github.com/coreui/coreui-react/commit/e23dd3fc8b785ec7730ae072d21170a25af4bd4e) -- - fix: CSidebar - merge with Krzysiek [`a47bca1`](https://github.com/coreui/coreui-react/commit/a47bca1ec0a4fad34342229a2a44fbd0fb0b1cce) -- fix: CSwitch component fixes: [`4f7e74b`](https://github.com/coreui/coreui-react/commit/4f7e74b84ce2d5a37081ee3c8b1e6d15dda34669) -- - fix: CDropdownMenu: component rewrite [`9ce0f00`](https://github.com/coreui/coreui-react/commit/9ce0f00d8a0c054f557a46dbaede4ab409dbe956) -- fix: CDropdownToggle: component rewrite [`137965e`](https://github.com/coreui/coreui-react/commit/137965ed782b04e51d28e0803e98d96e78efacdf) -- chore: CListGroupItemHeading, CListGroupItemText - clean components [`118fa2a`](https://github.com/coreui/coreui-react/commit/118fa2a1f7e2e8926c2635bcbd27bcedb4a41925) -- fix: CEmbed refactor: [`ee82fa0`](https://github.com/coreui/coreui-react/commit/ee82fa0d63539eafa813876cf65d12e4a8a54bfe) -- fix: CDropdownItem, CDropdownHeader, CDropdownDivider: [`d0d000e`](https://github.com/coreui/coreui-react/commit/d0d000ec5ee88416365ec094f288afa86365fddc) -- fix: CMedia: reduce components to basic functionality [`d175ad5`](https://github.com/coreui/coreui-react/commit/d175ad590d84dfc627efbeb5270145357e148871) -- fix: CCardBody, CCardHeader, CCardFooter: add misiing props [`4171551`](https://github.com/coreui/coreui-react/commit/41715510539bd596e5550c4335f7ed54c1d1f98b) -- refactor: CCard: Reduce column, deck, group components to CCardGroup [`707b3f8`](https://github.com/coreui/coreui-react/commit/707b3f84c4909320ab19ad606b88778ce5f548c7) -- fix: turn CHeader sub-components to simple wrappers without props [`ddf287e`](https://github.com/coreui/coreui-react/commit/ddf287e3d86e7b34cdad5795dc8a15b4c4363858) -- - update: custom is true by default [`4827eb9`](https://github.com/coreui/coreui-react/commit/4827eb9a5ea5d947fde443e8c6b9d8afdf85b43d) -- fix: peerDependencies [`bd0903a`](https://github.com/coreui/coreui-react/commit/bd0903aa1e3939bda2863b015e140841b653a3b9) -- - update: react-popper v 2.1 added [`d043f6c`](https://github.com/coreui/coreui-react/commit/d043f6c7f0fc6fc5175cce4e1e33d558730cbca0) -- feat: add CElementCover component [`9a254db`](https://github.com/coreui/coreui-react/commit/9a254db32c82ec664db18394cdb10b0aa4a6573f) -- chore: delete CCustomInput component [`54f6aef`](https://github.com/coreui/coreui-react/commit/54f6aefe653842ffabbf099b7015a48ef5b78ec6) -- fix: CWidgetBrand: fix wrong texts diplay, clean the component [`3431017`](https://github.com/coreui/coreui-react/commit/343101714259843a8be8219f33b4bfed80c9ef45) -- fix: CLink: component refactor [`61859ed`](https://github.com/coreui/coreui-react/commit/61859ed4a72b3989d2cf64b8d6760fea6a426d94) -- fix: CWidgetIcon: component API fix [`ea43b6b`](https://github.com/coreui/coreui-react/commit/ea43b6ba002b90e4ab171f8d1508ef59baf3e375) -- feat: added internal CScrollbar component allowing menu animation [`50f8661`](https://github.com/coreui/coreui-react/commit/50f8661c1698302e70c55b96d541e83427287c32) -- fix: CButton: component refactor [`5770132`](https://github.com/coreui/coreui-react/commit/5770132be29a73f25b7fe36b9a0ae7ac920aceb6) -- chore: change Shared folder name to utils [`7cd4900`](https://github.com/coreui/coreui-react/commit/7cd4900406a1cbbff0d7590147064cb84e9ed0b2) -- chore: delete obsolete CPopoverBody and CPopoverHeader components [`775f0fa`](https://github.com/coreui/coreui-react/commit/775f0fa97ea36e992dafd45a11592decd8b154a7) -- fix: CListGroup, CListGroupItem fixes: [`950fab5`](https://github.com/coreui/coreui-react/commit/950fab53f15d1dbf9af4e2d4c793964ca733cf83) -- fix: rename CHeaderSubheader to CSubheader, clean component [`302dd82`](https://github.com/coreui/coreui-react/commit/302dd82dcda686a2bdba7ae5b546ded6c15f5983) -- fix: CWidgetSimple: component API fix [`abfb1d1`](https://github.com/coreui/coreui-react/commit/abfb1d1d023889bcc9685f95df0dd3c6fdadeee2) -- fix: CWidgetProgressIcon: component API fix [`2b17cd7`](https://github.com/coreui/coreui-react/commit/2b17cd7b5d6ea4bf49e7efa1dba8c6fea98fb2bc) -- fix: remove possibility of inheriting advanced transition options [`97ea903`](https://github.com/coreui/coreui-react/commit/97ea903a309b6acc8e82a6b6d56a86cc3802490e) -- fix: CWidgetProgress: component API fix [`a80ec4a`](https://github.com/coreui/coreui-react/commit/a80ec4a0d87bc2ac0b21943ff3107f4d7d6d8680) -- fix: CCollapse: fix component [`1aa4b69`](https://github.com/coreui/coreui-react/commit/1aa4b69e900c60f6eb00f6384a92e6735cf08f6f) -- chore: CPortal: disable using component until it is well tested [`98ad19d`](https://github.com/coreui/coreui-react/commit/98ad19d3f393a2d651dbd8516a7148c6610f362c) -- fix: CCard: delete 'custom' and corelating props [`e0f9c06`](https://github.com/coreui/coreui-react/commit/e0f9c0687f4f85d0ada02ffbf09c4b5bb0fea292) -- fix: CSidebarMinimizer: component refactor [`b933237`](https://github.com/coreui/coreui-react/commit/b9332372f8ab0e1dbb681f887e4c0dc4a7fe0e8e) -- fix: CTable: simplify to simple wrapper [`549d954`](https://github.com/coreui/coreui-react/commit/549d954db092496b45fb8d4605485153143dce98) -- fix: CModalHeader: simplify component: [`145fb7a`](https://github.com/coreui/coreui-react/commit/145fb7a8e7abb769ab28ad636ac367fd7a3308e9) -- - fix: CDataTable component - now with Vue Scoped Slots prop equivalent [`abd9ff1`](https://github.com/coreui/coreui-react/commit/abd9ff104f215350045b69479f7b68d9d241330e) -- fix: CWidgetDropdown: fix bugs: [`0aa4c8b`](https://github.com/coreui/coreui-react/commit/0aa4c8ba5f5bd746e9b52357bb55ba5ce66f1795) -- fix: fix modal animation mechanism [`3165af9`](https://github.com/coreui/coreui-react/commit/3165af9228ffe4a50d6a34401530362be5a58c64) -- fix: CToggler: delete 'custom' and 'type' props, clear component [`de0e368`](https://github.com/coreui/coreui-react/commit/de0e368cbe56cdcc539e93d579f99584831188dd) -- - update: innerRef value set [`6a01afc`](https://github.com/coreui/coreui-react/commit/6a01afc05488573c8ab2100f0d8ed10790be688e) -- fix: CSpinner: component refactor [`5066958`](https://github.com/coreui/coreui-react/commit/50669580ea8af68ed059790ba16bce00c1961783) -- refactor: CTooltip: limit main props to essential [`3d36c5c`](https://github.com/coreui/coreui-react/commit/3d36c5cfeca9eb8a61027261aa8eb516b96b40ac) -- fix: CNavItem: delete custom prop and correlated functionalities [`540e8c2`](https://github.com/coreui/coreui-react/commit/540e8c204c0c67139f3f54d8bd75048fc462dd5f) -- - fix: CDataTable sorting [`80d6e20`](https://github.com/coreui/coreui-react/commit/80d6e20e333285d8945109bc041fafc126e8b176) -- fix: CCardImg: Inherit CImg functionalities, change placemnt to variant [`fe1800e`](https://github.com/coreui/coreui-react/commit/fe1800e0850301cb01237487a8f4fbfbbccf0769) -- chore: CImg: clean component [`032fc29`](https://github.com/coreui/coreui-react/commit/032fc29aaf1db4393a5c8dd3a34a967e86d5006a) -- docs: README update [`18b1384`](https://github.com/coreui/coreui-react/commit/18b13848194550bd717eb5836f91ddd40829e7be) -- fix: fix memory leaks in components using timeouts [`129bb59`](https://github.com/coreui/coreui-react/commit/129bb59afb52e9425dd19a77b0d00181534e6af4) -- refactor: CNavLink: concise component [`a4634fb`](https://github.com/coreui/coreui-react/commit/a4634fbac11df253fe7af8c7a437592834057f72) -- fix: CNav: delete 'horizontal' prop, clear component [`f5f4dd1`](https://github.com/coreui/coreui-react/commit/f5f4dd16bb86b3c35f5cd22b8a62afd465b0c7a5) -- refactor: CCardLink: optimize definition [`8c65f88`](https://github.com/coreui/coreui-react/commit/8c65f882b54516b0441b99d160cc433f31618053) -- fix: CButtonClose: component refactor [`a24f91c`](https://github.com/coreui/coreui-react/commit/a24f91c8ab021b6e1514f57cbf29e0c8d45ded77) -- feat: add CModalTitle component [`c1c3033`](https://github.com/coreui/coreui-react/commit/c1c303319b2a47c60ddeef4a36824e5ff58360d2) -- fix: CBadge: allow inheriting CLink functionality, smaller fixes [`35c3df6`](https://github.com/coreui/coreui-react/commit/35c3df6537b22425b48272a6cb1d23c13684ae5e) -- fix: CNavbar: change sticky prop to bool, small fixes, clean code [`c6fbff2`](https://github.com/coreui/coreui-react/commit/c6fbff22474ad8a6336b13a131e5cd8c4f83b8cf) -- fix: missing helper exports, minor fixes [`fb4d8e3`](https://github.com/coreui/coreui-react/commit/fb4d8e3c868a386fa34e04e83880facac31eb5e7) -- fix: CButtonToolbar: component refactor: [`3bda5f7`](https://github.com/coreui/coreui-react/commit/3bda5f73ca43a1152fbce051243961eb6ad7a7b3) -- fix: CButtonGroup: delete 'tag', add default role attribute [`688eb3b`](https://github.com/coreui/coreui-react/commit/688eb3b7041535402658ddd2e63c24455f6f8c4e) -- fix: CLink: add 'disabled' prop: [`20db7d8`](https://github.com/coreui/coreui-react/commit/20db7d86c85e2f439aa6b61bd8bcdd8e10e3b318) -- feat: add CSelect component [`57468e7`](https://github.com/coreui/coreui-react/commit/57468e74b12c98ce1ed6f1d60ec8e818f683efe4) -- fix: move fade functionality from CTabs to CTabContent [`4f96e17`](https://github.com/coreui/coreui-react/commit/4f96e174bf8eb5706ec52fbdb20ad7fa5d7d8c7f) -- fix: CInput rename elementSize/size to size/sizeHtml [`95e3f29`](https://github.com/coreui/coreui-react/commit/95e3f294394035957717e6967485f93654982e96) -- feat: CCreateElement: add posibility of pasing component tag as string [`e294b4b`](https://github.com/coreui/coreui-react/commit/e294b4b6df619e75496676a41d3aeceb91e2cf42) -- fix: CTabs: add fade prop inherited by CTabPane component [`33b78e7`](https://github.com/coreui/coreui-react/commit/33b78e7b8f2c1fa071bb40cb8b444cbef8a0b0bb) -- fix: CCallout: delete tag prop, clean generating class [`5bacd2b`](https://github.com/coreui/coreui-react/commit/5bacd2b71c400f7c9af7d158ce77fbade1694d57) -- fix: CFooter: set fixed to false by default, clean component [`8e4e30c`](https://github.com/coreui/coreui-react/commit/8e4e30cd03604b6856d279cb6b9ed5ea184c22b3) -- fix: CSidebarNavDropdown: fix default closing mechanism [`c824fa7`](https://github.com/coreui/coreui-react/commit/c824fa799225494b811d85e833c379df2f7c9930) -- fix: React.Fragment backward compatible [`9ee4493`](https://github.com/coreui/coreui-react/commit/9ee44938dfee86de9691d046897be15867b0ff54) -- refactor: minor refactors [`fc2af86`](https://github.com/coreui/coreui-react/commit/fc2af866478b486379eafa4ec4c7b982af6ae94c) -- chore: clean code (linter warnings) [`79f2325`](https://github.com/coreui/coreui-react/commit/79f2325c14c91b4f3592d868336825fe555eb649) -- refactor: delete checked and onCheckedChange props [`be2f00b`](https://github.com/coreui/coreui-react/commit/be2f00b8ae5be74d5f9baf552e2fd6d3a5e59a72) -- refactor: CAlert: delete transition prop [`96e98fe`](https://github.com/coreui/coreui-react/commit/96e98fe28e6c21153d831a45e6494fb6949e6be1) -- refactor: change trigger props names to on{...}Change [`8f910c1`](https://github.com/coreui/coreui-react/commit/8f910c16554d7f805569543e24130e51c84b89c3) -- feat: add CCreateElement component [`0cee7b0`](https://github.com/coreui/coreui-react/commit/0cee7b0b4d3e306813bd86bed4e1399eb50fa25c) -- fix: CNavbarText: change default tag to 'div', clean component [`9977be0`](https://github.com/coreui/coreui-react/commit/9977be0c00ed546ac20e4a01f752981e3d3d9728) -- feat: CLink: add default rel attribute when target="_blank" [`79dad26`](https://github.com/coreui/coreui-react/commit/79dad26e4b8940304be904bc94c1cb66e58348f2) -- chore: clean components [`ef444f0`](https://github.com/coreui/coreui-react/commit/ef444f0166b395fe33217cc95eced48b5a28cb6b) -- fix: CNavBarNav: delete wrong class 'nav', clean component [`9962cdd`](https://github.com/coreui/coreui-react/commit/9962cdd6547e9ab12338bc721c7e2adec4bf7b39) -- fix: CSidebar, CSidebarNavDropdown: add default dropdown mode [`f677f5a`](https://github.com/coreui/coreui-react/commit/f677f5ae34026fb11696a90bb32900364b21d168) -- fix: update CIcon imports [`16647ba`](https://github.com/coreui/coreui-react/commit/16647ba650c73a17e68423f9d07e69f157ff6e98) -- - update: ... [`2132022`](https://github.com/coreui/coreui-react/commit/2132022438b18b31cdb844439a0c54d577925d0e) -- fix: CImg: delete 'active' and 'alt' props, smaller refactors [`78255d4`](https://github.com/coreui/coreui-react/commit/78255d4e7b4e50c2a37d3298ddeffe26b6cd25e6) -- Ship: 3.0.0-alpha.10 [`f77a972`](https://github.com/coreui/coreui-react/commit/f77a972af3b9cac1a5e19fb3056a660fba7c8c74) -- fix: minor cleanup [`4cd82cb`](https://github.com/coreui/coreui-react/commit/4cd82cb6a0474718909521675783ae8a0dc7c159) -- fix: CBreadcrumbRouter: generate path only if routes are passed [`79875db`](https://github.com/coreui/coreui-react/commit/79875dbd9595e36250255288d372d624031e0ad3) -- fix: demo cleanup [`7bd82c8`](https://github.com/coreui/coreui-react/commit/7bd82c8587f96d1ca81a69835311dda7885e06db) -- fix: CToast: correct behavior when fade is set to false [`1c73ce4`](https://github.com/coreui/coreui-react/commit/1c73ce48d2fadc8c851d7f32e3cab33532dc603d) -- Ship: 3.0.0-alpha.12 [`c440f29`](https://github.com/coreui/coreui-react/commit/c440f29454aff171b7eef40c7c52d893da96e717) -- chore: dependencies update [`09511b1`](https://github.com/coreui/coreui-react/commit/09511b156a83e2e60bed4de4d7e67825031cbe9b) -- chore: 3.0.0-rc.1 release [`6b7819e`](https://github.com/coreui/coreui-react/commit/6b7819e4ec69f91ed24bef2dfdd56ab71d58f2a3) -- - fix: default values for custom=true by default components set [`1c0a95e`](https://github.com/coreui/coreui-react/commit/1c0a95e2eeb4b28f9b681522d579c6d63dd5e67c) -- - fix: CSlot render now null instead of '' (in some cases generate warnings) [`f00913e`](https://github.com/coreui/coreui-react/commit/f00913e6da18eb412a57c5a1be3621515996438d) -- chore: change CIcon imports to CIconRaw imports [`0a18a61`](https://github.com/coreui/coreui-react/commit/0a18a61e9949b7e72e5749d9d0d0d22f6fab655c) -- fix: CDataTable restore loading functionality: [`b8f2aaa`](https://github.com/coreui/coreui-react/commit/b8f2aaa3ba91e4c0e1c10cce633b097788e9c4fa) -- refactor: CAlert: add CButtonClose component instead off html button [`91e7254`](https://github.com/coreui/coreui-react/commit/91e725437a42001ebda51addfdc570c2924f3599) -- fix: Attempted import error: '@coreui/icons-react' does not contain a default export (imported as 'CIcon') [`f107c35`](https://github.com/coreui/coreui-react/commit/f107c3506cbc31e1fad031d6d3c414e8a90b568f) -- fix: CDataTable: make recalculation mechanism 100% safe [`a6bc1df`](https://github.com/coreui/coreui-react/commit/a6bc1df75f1018e869150c59eb1106cd52178d94) -- Ship: 3.0.0-alpha.1 [`c17a4be`](https://github.com/coreui/coreui-react/commit/c17a4be596669e351d2f501bd5abf84b642bdfb0) -- chore: dependencies update and module fix [`86c4295`](https://github.com/coreui/coreui-react/commit/86c429579caeba2dbd3c9174d5fc260050e20551) -- chore: 3.0.0-beta.6 release [`ef24ff2`](https://github.com/coreui/coreui-react/commit/ef24ff2e7840497852ef52c0532d18e490fcc254) -- fix: CDataTable: fix bugs, protect against non-array 'items' prop [`c081868`](https://github.com/coreui/coreui-react/commit/c0818681f8766077f7fa6f445125d3856c258f1f) -- fix: fix passing refs to components [`2752af4`](https://github.com/coreui/coreui-react/commit/2752af44a5cc56749fc60c686576e2aa4c8ee1e1) -- fix: small fixes [`a00cc4f`](https://github.com/coreui/coreui-react/commit/a00cc4f7f3c597dfa3ad7a90ef34006c3b014967) -- fix(CSwitch): A component is changing an uncontrolled input of type checkbox to be controlled [`955370e`](https://github.com/coreui/coreui-react/commit/955370e600fd19ec25bdffaea4ca37be9ad981a2) -- - fix: link to Icon changed from dir to @ [`466c8f5`](https://github.com/coreui/coreui-react/commit/466c8f56439d082fdfe1a762b8e9d3d89d59d6f7) -- refactor: replace CFormFeedback with CValidFeedback and CInvalidFeedback [`1e9f0b1`](https://github.com/coreui/coreui-react/commit/1e9f0b161fb985f4d52f1ba81819fad2c13d5c8a) -- - link to navlink [`294d642`](https://github.com/coreui/coreui-react/commit/294d642a6aaa8a5b7af09c1ccfce775c6fa4c09c) -- refactor: CBadge: clean component [`b33d2a3`](https://github.com/coreui/coreui-react/commit/b33d2a35f887c437ea9622868a8535fa380e1b35) -- fix: CCreateElement: fix passing children [`51ad5f4`](https://github.com/coreui/coreui-react/commit/51ad5f41824f392710d523377271cfdedf0f8c0d) -- chore: dependencies update [`b22e1ae`](https://github.com/coreui/coreui-react/commit/b22e1ae40cd54d758b893c400d2792de11157fc2) -- fix: CSidebarNavItem: add innerRef prop [`dde7f1c`](https://github.com/coreui/coreui-react/commit/dde7f1c5b319edc554cdd3602e7603987295c818) -- - fix: CCard default custom value set to true [`5c86a3a`](https://github.com/coreui/coreui-react/commit/5c86a3afca48ac606ed8abcd9615aa48c759dc21) -- update: unused vars removed from CToastHeader [`2209f71`](https://github.com/coreui/coreui-react/commit/2209f71d2d9d139bf04e37201ce15aba8d5a7580) -- chore: 3.0.0-beta.7 release [`5c3b022`](https://github.com/coreui/coreui-react/commit/5c3b022b92122504f9d77025606500430862299d) -- fix: CSidebarNavDropdown: place useLocation hook in try/catch block [`2365228`](https://github.com/coreui/coreui-react/commit/236522882f5a60c189c4f380fa7ac2a12627412a) -- fix: CSidebar: emit onShowChange only on close [`6be35c6`](https://github.com/coreui/coreui-react/commit/6be35c6918ef5465510fed0132b757c122224e2a) -- fix: CSidebar: fix updating sidebar state [`7217997`](https://github.com/coreui/coreui-react/commit/7217997d3b67a669e054b149a76ebccda2d7c3b0) -- chore: dependencies update [`0dec2d4`](https://github.com/coreui/coreui-react/commit/0dec2d48294d39795db98c1ef2c6af020e0f48d9) -- fix: CMediaBody, CMediaFooter: minor fixes [`08b7460`](https://github.com/coreui/coreui-react/commit/08b74606fb6bf7eac834ca096e920f024979a2a3) -- chore: dependencies update and cleanup [`ea1736d`](https://github.com/coreui/coreui-react/commit/ea1736d554933ad67ceab6628a8d2127cf99567a) -- fix: CScrollbar: fix rtl mode [`fa66112`](https://github.com/coreui/coreui-react/commit/fa66112b0d81e0c9610f1e2d846970cc8b4f45e3) -- Ship: 3.0.0-alpha.11 [`278d97b`](https://github.com/coreui/coreui-react/commit/278d97bd8f607fc191578a109abeb7b517d58f2c) -- fix: restore footer slot to CWidgetIcon component [`5b18abd`](https://github.com/coreui/coreui-react/commit/5b18abd657639e7d29149d2475596f2021caaeb9) -- fix: CBreadcrumb: fix cssModules [`eb1623f`](https://github.com/coreui/coreui-react/commit/eb1623f6a16c15c60277bdca5a211a1c5d08a77d) -- chore: 3.0.0-rc.2 version release [`c30698c`](https://github.com/coreui/coreui-react/commit/c30698cfaed8282d045b2ee4d9dd51b72ea3b5fc) -- fix: CSidebarNavDropdown: fix default mode for nested dropdowns [`c5922ca`](https://github.com/coreui/coreui-react/commit/c5922ca941b7393a02ff31770ea0d9b2ba42fceb) -- chore: dependencies update [`080e634`](https://github.com/coreui/coreui-react/commit/080e6341afb00bae2e20d4db38cd0d5fd6d0f8d3) -- refactor(CSidebarNavDroprdown): add console.warn on undefined pathname [`b127ecf`](https://github.com/coreui/coreui-react/commit/b127ecffb1d993b334e79e4cff57784522a2d081) -- chore: 3.0.0-beta.5 release [`bcec1de`](https://github.com/coreui/coreui-react/commit/bcec1deb5dce3d5070a87e769c10cfeae8b0fd90) -- fix: isObject typo [`97bf646`](https://github.com/coreui/coreui-react/commit/97bf64695d18dda40b3c5c4ed0d1ce16ccde733f) -- fix: CSpinner: fix aria attributes [`7dd7aae`](https://github.com/coreui/coreui-react/commit/7dd7aaece47be51fa9c9d7cdd7759efc2a9ddd00) -- fix: CPagination: add disabled prop to inactive links [`af9a1c2`](https://github.com/coreui/coreui-react/commit/af9a1c25ffa93173529686421f1e2c622a960a3e) -- fix: CTabPane: fix tab assignment [`3d9f041`](https://github.com/coreui/coreui-react/commit/3d9f0415128ea8890ec97bddde109377fb1a6f3d) -- fix: CDropdown: add specific arrow class [`9c937b5`](https://github.com/coreui/coreui-react/commit/9c937b51885a94e8f29d845bec850320b416b0b5) -- Ship: 3.0.0-alpha.7 [`88f054c`](https://github.com/coreui/coreui-react/commit/88f054c84fcb23abffffe32909c5a33fda6c5e56) -- fix: CBreadcrumbRouter: add key to items [`bd0fbd4`](https://github.com/coreui/coreui-react/commit/bd0fbd4d60261e1fa5a9483d68c5839355d5adc4) -- chore: add CSelect component to exports [`4c25748`](https://github.com/coreui/coreui-react/commit/4c2574800e0c88a19cc00aaec693aa4d334f90b6) -- - fix: custom by default true for CNavItem [`29e24cf`](https://github.com/coreui/coreui-react/commit/29e24cf5b7288fde16fd8e6a93713b748f09b042) -- fix: CDropdown: delete development console.log [`e64c1ef`](https://github.com/coreui/coreui-react/commit/e64c1ef025396cec530283ea431c13827754e0c9) -- fix: CDropdown: add missing 'show' and 'dropdown' classes [`71e9122`](https://github.com/coreui/coreui-react/commit/71e91225854acdf35d56aaae3c95e413cd8c2a6c) -- refactor: cleanup [`d88bcb3`](https://github.com/coreui/coreui-react/commit/d88bcb339f0e5564fb5439dd3c2d66eeb8fb1eec) -- fix: fix modules in package.json [`c7ad9a5`](https://github.com/coreui/coreui-react/commit/c7ad9a546f1fb8797838842a828b2b8fd891ecfe) -- fix: CLink: stop passing false to rel attribute [`7b7d9c6`](https://github.com/coreui/coreui-react/commit/7b7d9c6022acfa8c8505d55044b851ab2575f0c8) -- fix: CProgressBar: fix striped state [`f1817f5`](https://github.com/coreui/coreui-react/commit/f1817f5d606fc1fdaf618b9974d700606be40a1e) -- fix: CTabPane: fix error occuring when context is not passed [`ee952af`](https://github.com/coreui/coreui-react/commit/ee952af324f343bd923b90fb3f21e46d1841fdad) -- fix: CDropdownToggle: allow caret in link toggle [`c7f6eba`](https://github.com/coreui/coreui-react/commit/c7f6ebabc82b9c542e78d75f376755ed19651df7) -- Ship: 3.0.0-alpha.9 [`6d9a3f3`](https://github.com/coreui/coreui-react/commit/6d9a3f31abc2d4383711ee5caee796f4219944ee) -- Ship: 3.0.0-alpha.8 [`c408665`](https://github.com/coreui/coreui-react/commit/c408665ba4c787872526de1f961708169232112e) -- fix: change default 'fixed' value to true [`7c824c4`](https://github.com/coreui/coreui-react/commit/7c824c45e762eac6987688d50b2eb28514358ef6) -- chore: enable library rapid development and installing from gh [`543dffd`](https://github.com/coreui/coreui-react/commit/543dffda4d492df82b42f6433b0734fb50ab5978) -- Ship: 3.0.0-alpha.6 [`a64f06e`](https://github.com/coreui/coreui-react/commit/a64f06ec42e7f4dda9d9ccb21fba85f1cf57065b) -- fix: es module [`5790081`](https://github.com/coreui/coreui-react/commit/5790081227b21ab79b85343a9eec1d6e2df7a4a3) -- chore: import from source instead of module [`d09a4b8`](https://github.com/coreui/coreui-react/commit/d09a4b86ea7b595d3f28f3632b2145c69530ac26) -- fix: CProgress: fix 'height' propType [`511c2a2`](https://github.com/coreui/coreui-react/commit/511c2a2fb351d9dea7afee34f1de93e26157c6bb) -- - fix: CNavbar classes [`3e9994a`](https://github.com/coreui/coreui-react/commit/3e9994a4f2b214b7fd94b36770318717fea20c4d) -- fix(CSidebarNavItem): Invalid argument supplied to to oneOfType [`d7f38e1`](https://github.com/coreui/coreui-react/commit/d7f38e1b81fc9617430a2cc38b7941e3997a5bf7) -- - console.log removed [`5a0b08a`](https://github.com/coreui/coreui-react/commit/5a0b08a511e97012fd429bf0a8f1ac27e0448106) -- fix: CSidebarNav: remove obsolete styles [`dbe7dc4`](https://github.com/coreui/coreui-react/commit/dbe7dc464941c5ff1b6e05c63d44dfc5a0ad12dc) diff --git a/LICENSE b/LICENSE index c3f8e99e..027b8813 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 creativeLabs Łukasz Holeczek +Copyright (c) 2023 creativeLabs Łukasz Holeczek Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 5eb2fdcb..e7c25be4 100644 --- a/README.md +++ b/README.md @@ -8,35 +8,36 @@

-

CoreUI

+

CoreUI for React.js

React.js Components Library built on top of Bootstrap 5 and TypeScript.
- Explore CoreUI docs » + Explore CoreUI for React.js docs »

Report bug · Request feature · - Community - · - Blog + Blog

## Table of contents - [Quick start](#quick-start) +- [Components](#components) - [Status](#status) -- [What's included](#whats-included) - [Bugs and feature requests](#bugs-and-feature-requests) - [Documentation](#documentation) +- [Frameworks](#frameworks) +- [Templates](#templates) - [Contributing](#contributing) - [Community](#community) - [Versioning](#versioning) - [Creators](#creators) +- [Support CoreUI Development](#support-coreui-development) - [Copyright and license](#copyright-and-license) ## Quick start @@ -45,29 +46,35 @@ Several quick start options are available: -- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.0.0-alpha.0.zip) +- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.11.1.zip) - Clone the repo: `git clone https://github.com/coreui/coreui-react.git` -- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react@next` -- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react@next` +- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react` +- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react` -Read the [Getting started page](https://coreui.io/react/docs/4.0/getting-started/introduction/) for information on the framework contents, templates and examples, and more. +Read the [Getting started page](https://coreui.io/react/docs/getting-started/introduction/) for information on the framework contents, templates and examples, and more. ### Stylesheets -React components are styled using `@coreui/coreui` CSS library, but you can use them also with bootstrap CSS library. That is possible because `@coreui/coreui` library is compatible with bootstrap, it just extends its functionalities. The only exception is custom CoreUI components, which don't exist in the Bootstrap ecosystem. +React components are styled using `@coreui/coreui` CSS library, but you can use them also with bootstrap CSS library. That is possible because `@coreui/coreui` library is compatible with bootstrap, it just extends its functionalities. The only exception are custom CoreUI components, which don't exist in the Bootstrap ecosystem. #### CoreUI CSS files ##### Installation ```bash -npm install @coreui/coreui@next +yarn add @coreui/coreui +``` + +or + +```bash +npm install @coreui/coreui --save ``` ##### Basic usage ```js -import "@coreui/dist/css/coreui.min.css"; +import '@coreui/coreui/dist/css/coreui.min.css' ``` #### Bootstrap CSS files @@ -75,7 +82,13 @@ import "@coreui/dist/css/coreui.min.css"; ##### Installation ```bash -npm install bootstrap@next +yarn add bootstrap +``` + +or + +```bash +npm install bootstrap ``` ##### Basic usage @@ -84,41 +97,103 @@ npm install bootstrap@next import "bootstrap/dist/css/bootstrap.min.css"; ``` +## Components + +- [React Accordion](https://coreui.io/react/docs/components/accordion/) +- [React Alert](https://coreui.io/react/docs/components/alert/) +- [React Avatar](https://coreui.io/react/docs/components/avatar/) +- [React Badge](https://coreui.io/react/docs/components/badge/) +- [React Breadcrumb](https://coreui.io/react/docs/components/breadcrumb/) +- [React Button](https://coreui.io/react/docs/components/button/) +- [React Button Group](https://coreui.io/react/docs/components/button-group/) +- [React Callout](https://coreui.io/react/docs/components/callout/) +- [React Card](https://coreui.io/react/docs/components/card/) +- [React Carousel](https://coreui.io/react/docs/components/carousel/) +- [React Checkbox](https://coreui.io/react/docs/forms/checkbox/) +- [React Close Button](https://coreui.io/react/docs/components/close-button/) +- [React Collapse](https://coreui.io/react/docs/components/collapse/) +- [React Date Picker](https://coreui.io/react/docs/forms/date-picker/) **PRO** +- [React Date Range Picker](https://coreui.io/react/docs/forms/date-range-picker/) **PRO** +- [React Dropdown](https://coreui.io/react/docs/components/dropdown/) +- [React Floating Labels](https://coreui.io/react/docs/forms/floating-labels/) +- [React Footer](https://coreui.io/react/docs/components/footer/) +- [React Header](https://coreui.io/react/docs/components/header/) +- [React Image](https://coreui.io/react/docs/components/image/) +- [React Input](https://coreui.io/react/docs/forms/input/) +- [React Input Group](https://coreui.io/react/docs/forms/input-group/) +- [React List Group](https://coreui.io/react/docs/components/list-group/) +- [React Loading Button](https://coreui.io/react/docs/components/loading-button/) **PRO** +- [React Modal](https://coreui.io/react/docs/components/modal/) +- [React Multi Select](https://coreui.io/react/docs/forms/multi-select/) **PRO** +- [React Navs & Tabs](https://coreui.io/react/docs/components/navs-tabs/) +- [React Navbar](https://coreui.io/react/docs/components/navbar/) +- [React Offcanvas](https://coreui.io/react/docs/components/offcanvas/) +- [React Pagination](https://coreui.io/react/docs/components/pagination/) +- [React Placeholder](https://coreui.io/react/docs/components/placeholder/) +- [React Popover](https://coreui.io/react/docs/components/popover/) +- [React Progress](https://coreui.io/react/docs/components/progress/) +- [React Radio](https://coreui.io/react/docs/forms/radio/) +- [React Range](https://coreui.io/react/docs/forms/range/) +- [React Select](https://coreui.io/react/docs/forms/select/) +- [React Sidebar](https://coreui.io/react/docs/components/sidebar/) +- [React Smart Pagination](https://coreui.io/react/docs/components/smart-pagination/) **PRO** +- [React Smart Table](https://coreui.io/react/docs/components/smart-table/) **PRO** +- [React Spinner](https://coreui.io/react/docs/components/spinner/) +- [React Switch](https://coreui.io/react/docs/forms/switch/) +- [React Table](https://coreui.io/react/docs/components/table/) +- [React Textarea](https://coreui.io/react/docs/forms/textarea/) +- [React Time Picker](https://coreui.io/react/docs/forms/time-picker/) **PRO** +- [React Toast](https://coreui.io/react/docs/components/toast/) +- [React Tooltip](https://coreui.io/react/docs/components/tooltip/) + ## Status -[![Build Status](https://github.com/coreui/coreui-react/workflows/JS%20Tests/badge.svg?branch=main)](https://github.com/coreui/coreui-react/actions?query=workflow%3AJS+Tests+branch%3Amain) [![npm version](https://img.shields.io/npm/v/@coreui/react)](https://www.npmjs.com/package/@coreui/react) -[![peerDependencies Status](https://img.shields.io/david/peer/coreui/coreui)](https://david-dm.org/coreui/coreui?type=peer) -[![devDependency Status](https://img.shields.io/david/dev/coreui/coreui)](https://david-dm.org/coreui/coreui?type=dev) -[![Coverage Status](https://img.shields.io/coveralls/github/coreui/coreui-react/v4-dev)](https://coveralls.io/github/coreui/coreui-react?branch=v4-dev) ## Bugs and feature requests -Have a bug or a feature request? Please first read the [issue guidelines](https://github.com/coreui/coreui-react/blob/v4-dev/.github/CONTRIBUTING.md#using-the-issue-tracker) and search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/coreui/coreui-react/issues/new). +Have a bug or a feature request? Please first read the [issue guidelines](https://github.com/coreui/coreui-react/blob/v4/.github/CONTRIBUTING.md#using-the-issue-tracker) and search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/coreui/coreui-react/issues/new). ## Documentation -The documentation for the CoreUI & CoreUI PRO is hosted at our website [CoreUI for React](https://coreui.io/react/docs/4.0/getting-started/introduction) +The documentation for the CoreUI & CoreUI PRO is hosted at our website [CoreUI for React](https://coreui.io/react/docs/getting-started/introduction) ### Running documentation locally -1. Run `yarn install` to install the Node.js dependencies, including Hugo (the site builder). -2. Run `yarn docz:build` (or a specific npm script) to rebuild distributed CSS and JavaScript files, as well as our docs assets. -3. From the root directory, run `yarn docz:serve` in the command line. -4. Open `http://localhost:3000/` in your browser, and voilà. +1. Run `yarn install` or `npm install` to install the Node.js dependencies. +2. Run `yarn bootstrap` or `npm run bootstrap` to link local packages together and install remaining package dependencies. +3. From the root directory, run `yarn docs:dev` or `npm run docs:dev` (or a specific npm script) to rebuild distributed CSS and JavaScript files, as well as our docs assets. +4. Open `http://localhost:8000/` in your browser, and voilà. + +## Frameworks + +CoreUI supports most popular frameworks. + +- [CoreUI for Angular](https://github.com/coreui/coreui-angular) +- [CoreUI for Bootstrap (Vanilla JS)](https://github.com/coreui/coreui) +- [CoreUI for React](https://github.com/coreui/coreui-react) +- [CoreUI for Vue](https://github.com/coreui/coreui-vue) + +## Templates + +Fully featured, out-of-the-box, templates for your application based on CoreUI. + +- [Angular Admin Template](https://coreui.io/angular) +- [Bootstrap Admin Template](https://coreui.io/) +- [React Admin Template](https://coreui.io/react) +- [Vue Admin Template](https://coreui.io/vue) ## Contributing -Please read through our [contributing guidelines](https://github.com/coreui/coreui-react/blob/v4-dev/.github/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development. +Please read through our [contributing guidelines](https://github.com/coreui/coreui-react/blob/v4/.github/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development. -Editor preferences are available in the [editor config](https://github.com/coreui/coreui-react/blob/v4-dev/.editorconfig) for easy use in common text editors. Read more and download plugins at . +Editor preferences are available in the [editor config](https://github.com/coreui/coreui-react/blob/v4/.editorconfig) for easy use in common text editors. Read more and download plugins at . ## Community Stay up to date on the development of CoreUI and reach out to the community with these helpful resources. - Read and subscribe to [The Official CoreUI Blog](https://coreui.io/blog/). -- Join [the official Community](https://community.coreui.io/). You can also follow [@core_ui on Twitter](https://twitter.com/core_ui). @@ -139,6 +214,48 @@ See [the Releases section of our project](https://github.com/coreui/coreui-react - +**The CoreUI Team** + +- + +## Support CoreUI Development + +CoreUI is an MIT-licensed open source project and is completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing. You can support development by buying the [CoreUI PRO](https://coreui.io/pricing/) or by becoming a sponsor via [Open Collective](https://opencollective.com/coreui/). + + + +### Platinum Sponsors + +Support this project by [becoming a Platinum Sponsor](https://opencollective.com/coreui/contribute/platinum-sponsor-40959/). A large company logo will be added here with a link to your website. + + + +### Gold Sponsors + +Support this project by [becoming a Gold Sponsor](https://opencollective.com/coreui/contribute/gold-sponsor-40960/). A big company logo will be added here with a link to your website. + + + +### Silver Sponsors + +Support this project by [becoming a Silver Sponsor](https://opencollective.com/coreui/contribute/silver-sponsor-40967/). A medium company logo will be added here with a link to your website. + + + +### Bronze Sponsors + +Support this project by [becoming a Bronze Sponsor](https://opencollective.com/coreui/contribute/bronze-sponsor-40966/). The company avatar will show up here with a link to your OpenCollective Profile. + + + +### Backers + +Thanks to all the backers and sponsors! Support this project by [becoming a backer](https://opencollective.com/coreui/contribute/backer-40965/). + + + + + ## Copyright and license -Copyright 2021 creativeLabs Łukasz Holeczek. Code released under the [MIT License](https://github.com/coreui/coreui-react/blob/v4-dev/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/). +Copyright 2023 creativeLabs Łukasz Holeczek. Code released under the [MIT License](https://github.com/coreui/coreui-react/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/). \ No newline at end of file diff --git a/dist/components/Types.d.ts b/dist/components/Types.d.ts deleted file mode 100644 index 7762a1ab..00000000 --- a/dist/components/Types.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import PropTypes from 'prop-types'; -export declare type Breakpoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; -export declare type Colors = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string; -export declare const colorPropType: PropTypes.Requireable; -export declare type Placements = 'auto' | 'auto-start' | 'auto-end' | 'top-end' | 'top' | 'top-start' | 'bottom-end' | 'bottom' | 'bottom-start' | 'right-start' | 'right' | 'right-end' | 'left-start' | 'left' | 'left-end' | undefined; -export declare const placementPropType: PropTypes.Requireable; -export declare type Shapes = 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string; -export declare const shapePropType: PropTypes.Requireable; -export declare type Triggers = 'hover' | 'focus' | 'click'; -export declare const triggerPropType: PropTypes.Requireable; diff --git a/dist/components/accordion/CAccordion.d.ts b/dist/components/accordion/CAccordion.d.ts deleted file mode 100644 index b380ad3b..00000000 --- a/dist/components/accordion/CAccordion.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -export interface CAccordionProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; - /** - * Removes the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container. [docs] - */ - flush?: boolean; -} -export declare const CAccordion: React.ForwardRefExoticComponent>; diff --git a/dist/components/accordion/CAccordionBody.d.ts b/dist/components/accordion/CAccordionBody.d.ts deleted file mode 100644 index 185c92cc..00000000 --- a/dist/components/accordion/CAccordionBody.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -export interface CAccordionBodyProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; -} -export declare const CAccordionBody: React.ForwardRefExoticComponent>; diff --git a/dist/components/accordion/CAccordionButton.d.ts b/dist/components/accordion/CAccordionButton.d.ts deleted file mode 100644 index a9f560c0..00000000 --- a/dist/components/accordion/CAccordionButton.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -export interface CAccordionButtonProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; - /** - * Set button state to collapsed. [docs] - */ - collapsed?: boolean; -} -export declare const CAccordionButton: React.ForwardRefExoticComponent>; diff --git a/dist/components/accordion/CAccordionCollapse.d.ts b/dist/components/accordion/CAccordionCollapse.d.ts deleted file mode 100644 index 49896dab..00000000 --- a/dist/components/accordion/CAccordionCollapse.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import React from 'react'; -import { CCollapseProps } from '../collapse/CCollapse'; -export declare const CAccordionCollapse: React.ForwardRefExoticComponent>; diff --git a/dist/components/accordion/CAccordionHeader.d.ts b/dist/components/accordion/CAccordionHeader.d.ts deleted file mode 100644 index 7b5b897a..00000000 --- a/dist/components/accordion/CAccordionHeader.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -export interface CAccordionHeaderProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; -} -export declare const CAccordionHeader: React.ForwardRefExoticComponent>; diff --git a/dist/components/accordion/CAccordionItem.d.ts b/dist/components/accordion/CAccordionItem.d.ts deleted file mode 100644 index 19e6d592..00000000 --- a/dist/components/accordion/CAccordionItem.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -export interface CAccordionItemProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; -} -export declare const CAccordionItem: React.ForwardRefExoticComponent>; diff --git a/dist/components/alert/CAlert.d.ts b/dist/components/alert/CAlert.d.ts deleted file mode 100644 index b7078e1f..00000000 --- a/dist/components/alert/CAlert.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -import { Colors } from '../Types'; -export interface CAlertProps extends HTMLAttributes { - /** - * A string of all className you want applied to the component. [docs] - */ - className?: string; - /** - * Sets the color context of the component to one of CoreUI’s themed colors. [docs] - * - * @type {'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string } - * @default 'primary' - */ - color: Colors; - /** - * Optionally add a close button to alert and allow it to self dismiss. [docs] - */ - dismissible?: boolean; - /** - * Method called before the dissmiss animation has started. [docs] - */ - onDismiss?: () => void; - /** - * Method called after the dissmiss animation has completed and the component is removed from the dom. [docs] - */ - onDismissed?: () => void; - /** - * Set the alert variant to a solid. [docs] - */ - variant?: 'solid' | string; - /** - * Toggle the visibility of component. [docs] - * - * @default true - */ - visible?: boolean; -} -export declare const CAlert: React.ForwardRefExoticComponent>; diff --git a/dist/components/alert/CAlertHeading.d.ts b/dist/components/alert/CAlertHeading.d.ts deleted file mode 100644 index e0291362..00000000 --- a/dist/components/alert/CAlertHeading.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import React, { ElementType, HTMLAttributes } from 'react'; -export interface CAlertHeadingProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; - /** - * Component used for the root node. Either a string to use a HTML element or a component. [docs] - * - * @default 'h4' - */ - component?: string | ElementType; -} -export declare const CAlertHeading: React.ForwardRefExoticComponent>; diff --git a/dist/components/alert/CAlertLink.d.ts b/dist/components/alert/CAlertLink.d.ts deleted file mode 100644 index b82885dc..00000000 --- a/dist/components/alert/CAlertLink.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import React, { AnchorHTMLAttributes } from 'react'; -export interface CAlertLinkProps extends AnchorHTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; -} -export declare const CAlertLink: React.ForwardRefExoticComponent>; diff --git a/dist/components/alert/__tests__/CAlert.spec.d.ts b/dist/components/alert/__tests__/CAlert.spec.d.ts deleted file mode 100644 index 34dc3eb8..00000000 --- a/dist/components/alert/__tests__/CAlert.spec.d.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom/extend-expect'; diff --git a/dist/components/alert/__tests__/CAlertHeading.spec.d.ts b/dist/components/alert/__tests__/CAlertHeading.spec.d.ts deleted file mode 100644 index 34dc3eb8..00000000 --- a/dist/components/alert/__tests__/CAlertHeading.spec.d.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom/extend-expect'; diff --git a/dist/components/alert/__tests__/CAlertLink.spec.d.ts b/dist/components/alert/__tests__/CAlertLink.spec.d.ts deleted file mode 100644 index 34dc3eb8..00000000 --- a/dist/components/alert/__tests__/CAlertLink.spec.d.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom/extend-expect'; diff --git a/dist/components/avatar/CAvatar.d.ts b/dist/components/avatar/CAvatar.d.ts deleted file mode 100644 index ef75cfa0..00000000 --- a/dist/components/avatar/CAvatar.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -import { Colors, Shapes } from '../Types'; -export interface CAvatarProps extends HTMLAttributes { - /** - * A string of all className you want applied to the component. [docs] - */ - className?: string; - /** - * Sets the color context of the component to one of CoreUI’s themed colors. [docs] - * - * @type {'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string} - */ - color?: Colors; - /** - * Select the shape of the component. [docs] - * - * @type {'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string} - */ - shape?: Shapes; - /** - * Size the component small, large, or extra large. [docs] - */ - size?: string; - /** - * The src attribute for the img element. [docs] - */ - src?: string; - /** - * Sets the color context of the status indicator to one of CoreUI’s themed colors. [docs] - * - * @type {'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string} - */ - status?: Colors; - /** - * Sets the text color of the component to one of CoreUI’s themed colors. [docs] - */ - textColor?: string; -} -export declare const CAvatar: React.ForwardRefExoticComponent>; diff --git a/dist/components/avatar/__tests__/CAvatar.spec.d.ts b/dist/components/avatar/__tests__/CAvatar.spec.d.ts deleted file mode 100644 index 34dc3eb8..00000000 --- a/dist/components/avatar/__tests__/CAvatar.spec.d.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom/extend-expect'; diff --git a/dist/components/backdrop/CBackdrop.d.ts b/dist/components/backdrop/CBackdrop.d.ts deleted file mode 100644 index db09356e..00000000 --- a/dist/components/backdrop/CBackdrop.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -export interface CBackdropProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; - /** - * Toggle the visibility of modal component. [docs] - */ - visible?: boolean; -} -export declare const CBackdrop: React.ForwardRefExoticComponent>; diff --git a/dist/components/backdrop/__tests__/CBackdrop.spec.d.ts b/dist/components/backdrop/__tests__/CBackdrop.spec.d.ts deleted file mode 100644 index 34dc3eb8..00000000 --- a/dist/components/backdrop/__tests__/CBackdrop.spec.d.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom/extend-expect'; diff --git a/dist/components/badge/CBadge.d.ts b/dist/components/badge/CBadge.d.ts deleted file mode 100644 index 3d06dfcb..00000000 --- a/dist/components/badge/CBadge.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import React, { ElementType, HTMLAttributes } from 'react'; -import { Colors, Shapes } from '../Types'; -export interface CBadgeProps extends HTMLAttributes { - /** - * A string of all className you want applied to the component. [docs] - */ - className?: string; - /** - * Sets the color context of the component to one of CoreUI’s themed colors. [docs] - * - * @type {'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string} - */ - color?: Colors; - /** - * Component used for the root node. Either a string to use a HTML element or a component. [docs] - * - * @default 'span' - */ - component?: string | ElementType; - /** - * Select the shape of the component. [docs] - * - * @type 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string - */ - shape?: Shapes; - /** - * Size the component small. [docs] - * - * @type 'sm' - */ - size?: 'sm'; - /** - * Sets the text color of the component to one of CoreUI’s themed colors. [docs] - */ - textColor?: string; -} -export declare const CBadge: React.ForwardRefExoticComponent>; diff --git a/dist/components/badge/__tests__/CBadge.spec.d.ts b/dist/components/badge/__tests__/CBadge.spec.d.ts deleted file mode 100644 index 34dc3eb8..00000000 --- a/dist/components/badge/__tests__/CBadge.spec.d.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom/extend-expect'; diff --git a/dist/components/breadcrumb/CBreadcrumb.d.ts b/dist/components/breadcrumb/CBreadcrumb.d.ts deleted file mode 100644 index 0fd1fc9c..00000000 --- a/dist/components/breadcrumb/CBreadcrumb.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -export interface CBreadcrumbProps extends HTMLAttributes { - /** - * A string of all className you want applied to the component. [docs] - */ - className?: string; -} -export declare const CBreadcrumb: React.ForwardRefExoticComponent>; diff --git a/dist/components/breadcrumb/CBreadcrumbItem.d.ts b/dist/components/breadcrumb/CBreadcrumbItem.d.ts deleted file mode 100644 index 8a89400f..00000000 --- a/dist/components/breadcrumb/CBreadcrumbItem.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -export interface CBreadcrumbItemProps extends HTMLAttributes { - /** - * Toggle the active state for the component. [docs] - */ - active?: boolean; - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; - /** - * The `href` attribute for the inner `` component. [docs] - */ - href?: string; -} -export declare const CBreadcrumbItem: React.ForwardRefExoticComponent>; diff --git a/dist/components/breadcrumb/__tests__/CBreadcrumb.spec.d.ts b/dist/components/breadcrumb/__tests__/CBreadcrumb.spec.d.ts deleted file mode 100644 index 34dc3eb8..00000000 --- a/dist/components/breadcrumb/__tests__/CBreadcrumb.spec.d.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom/extend-expect'; diff --git a/dist/components/breadcrumb/__tests__/CBreadcrumbItem.spec.d.ts b/dist/components/breadcrumb/__tests__/CBreadcrumbItem.spec.d.ts deleted file mode 100644 index 34dc3eb8..00000000 --- a/dist/components/breadcrumb/__tests__/CBreadcrumbItem.spec.d.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom/extend-expect'; diff --git a/dist/components/button-group/CButtonGroup.d.ts b/dist/components/button-group/CButtonGroup.d.ts deleted file mode 100644 index 5faa26c1..00000000 --- a/dist/components/button-group/CButtonGroup.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -export interface CButtonGroupProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; - /** - * Size the component small or large. [docs] - * - * @type {'sm' | 'lg'} - */ - size?: 'sm' | 'lg'; - /** - * Create a set of buttons that appear vertically stacked rather than horizontally. Split button dropdowns are not supported here. [docs] - */ - vertical?: boolean; -} -export declare const CButtonGroup: React.ForwardRefExoticComponent>; diff --git a/dist/components/button-group/CButtonToolbar.d.ts b/dist/components/button-group/CButtonToolbar.d.ts deleted file mode 100644 index fbe60be4..00000000 --- a/dist/components/button-group/CButtonToolbar.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import React, { HTMLAttributes } from 'react'; -export interface CButtonToolbarProps extends HTMLAttributes { - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; -} -export declare const CButtonToolbar: React.ForwardRefExoticComponent>; diff --git a/dist/components/button-group/__tests__/CButtonGroup.spec.d.ts b/dist/components/button-group/__tests__/CButtonGroup.spec.d.ts deleted file mode 100644 index 34dc3eb8..00000000 --- a/dist/components/button-group/__tests__/CButtonGroup.spec.d.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom/extend-expect'; diff --git a/dist/components/button-group/__tests__/CButtonToolbar.spec.d.ts b/dist/components/button-group/__tests__/CButtonToolbar.spec.d.ts deleted file mode 100644 index 34dc3eb8..00000000 --- a/dist/components/button-group/__tests__/CButtonToolbar.spec.d.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom/extend-expect'; diff --git a/dist/components/button/CButton.d.ts b/dist/components/button/CButton.d.ts deleted file mode 100644 index dffa783a..00000000 --- a/dist/components/button/CButton.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import React, { ButtonHTMLAttributes, ElementType } from 'react'; -import { Colors, Shapes } from '../Types'; -export interface CButtonProps extends ButtonHTMLAttributes { - /** - * Toggle the active state for the component. [docs] - */ - active?: boolean; - /** - * A string of all className you want applied to the base component. [docs] - */ - className?: string; - /** - * Sets the color context of the component to one of CoreUI’s themed colors. [docs] - * - * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string - */ - color?: Colors; - /** - * Component used for the root node. Either a string to use a HTML element or a component. [docs] - */ - component?: string | ElementType; - /** - * Toggle the disabled state for the component. [docs] - */ - disabled?: boolean; - /** - * The href attribute specifies the URL of the page the link goes to. [docs] - */ - href?: string; - /** - * The role attribute describes the role of an element in programs that can make use of it, such as screen readers or magnifiers. [docs] - */ - role?: string; - /** - * Select the shape of the component. [docs] - * - * @type 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string - */ - shape?: Shapes; - /** - * Size the component small or large. [docs] - * - * @type 'sm' | 'lg' - */ - size?: 'sm' | 'lg'; - /** - * Specifies the type of button. Always specify the type attribute for the - * - * ); - * } - * ``` - * - * When the button is clicked the component will shift to the `'entering'` state - * and stay there for 500ms (the value of `timeout`) before it finally switches - * to `'entered'`. - * - * When `in` is `false` the same thing happens except the state moves from - * `'exiting'` to `'exited'`. - */ - -var Transition = /*#__PURE__*/function (_React$Component) { - _inheritsLoose(Transition, _React$Component); - - function Transition(props, context) { - var _this; - - _this = _React$Component.call(this, props, context) || this; - var parentGroup = context; // In the context of a TransitionGroup all enters are really appears - - var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear; - var initialStatus; - _this.appearStatus = null; - - if (props.in) { - if (appear) { - initialStatus = EXITED; - _this.appearStatus = ENTERING; - } else { - initialStatus = ENTERED; - } - } else { - if (props.unmountOnExit || props.mountOnEnter) { - initialStatus = UNMOUNTED; - } else { - initialStatus = EXITED; - } - } - - _this.state = { - status: initialStatus - }; - _this.nextCallback = null; - return _this; - } - - Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) { - var nextIn = _ref.in; - - if (nextIn && prevState.status === UNMOUNTED) { - return { - status: EXITED - }; - } - - return null; - } // getSnapshotBeforeUpdate(prevProps) { - // let nextStatus = null - // if (prevProps !== this.props) { - // const { status } = this.state - // if (this.props.in) { - // if (status !== ENTERING && status !== ENTERED) { - // nextStatus = ENTERING - // } - // } else { - // if (status === ENTERING || status === ENTERED) { - // nextStatus = EXITING - // } - // } - // } - // return { nextStatus } - // } - ; - - var _proto = Transition.prototype; - - _proto.componentDidMount = function componentDidMount() { - this.updateStatus(true, this.appearStatus); - }; - - _proto.componentDidUpdate = function componentDidUpdate(prevProps) { - var nextStatus = null; - - if (prevProps !== this.props) { - var status = this.state.status; - - if (this.props.in) { - if (status !== ENTERING && status !== ENTERED) { - nextStatus = ENTERING; - } - } else { - if (status === ENTERING || status === ENTERED) { - nextStatus = EXITING; - } - } - } - - this.updateStatus(false, nextStatus); - }; - - _proto.componentWillUnmount = function componentWillUnmount() { - this.cancelNextCallback(); - }; - - _proto.getTimeouts = function getTimeouts() { - var timeout = this.props.timeout; - var exit, enter, appear; - exit = enter = appear = timeout; - - if (timeout != null && typeof timeout !== 'number') { - exit = timeout.exit; - enter = timeout.enter; // TODO: remove fallback for next major - - appear = timeout.appear !== undefined ? timeout.appear : enter; - } - - return { - exit: exit, - enter: enter, - appear: appear - }; - }; - - _proto.updateStatus = function updateStatus(mounting, nextStatus) { - if (mounting === void 0) { - mounting = false; - } - - if (nextStatus !== null) { - // nextStatus will always be ENTERING or EXITING. - this.cancelNextCallback(); - - if (nextStatus === ENTERING) { - this.performEnter(mounting); - } else { - this.performExit(); - } - } else if (this.props.unmountOnExit && this.state.status === EXITED) { - this.setState({ - status: UNMOUNTED - }); - } - }; - - _proto.performEnter = function performEnter(mounting) { - var _this2 = this; - - var enter = this.props.enter; - var appearing = this.context ? this.context.isMounting : mounting; - - var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing], - maybeNode = _ref2[0], - maybeAppearing = _ref2[1]; - - var timeouts = this.getTimeouts(); - var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED - // if we are mounting and running this it means appear _must_ be set - - if (!mounting && !enter || config.disabled) { - this.safeSetState({ - status: ENTERED - }, function () { - _this2.props.onEntered(maybeNode); - }); - return; - } - - this.props.onEnter(maybeNode, maybeAppearing); - this.safeSetState({ - status: ENTERING - }, function () { - _this2.props.onEntering(maybeNode, maybeAppearing); - - _this2.onTransitionEnd(enterTimeout, function () { - _this2.safeSetState({ - status: ENTERED - }, function () { - _this2.props.onEntered(maybeNode, maybeAppearing); - }); - }); - }); - }; - - _proto.performExit = function performExit() { - var _this3 = this; - - var exit = this.props.exit; - var timeouts = this.getTimeouts(); - var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED - - if (!exit || config.disabled) { - this.safeSetState({ - status: EXITED - }, function () { - _this3.props.onExited(maybeNode); - }); - return; - } - - this.props.onExit(maybeNode); - this.safeSetState({ - status: EXITING - }, function () { - _this3.props.onExiting(maybeNode); - - _this3.onTransitionEnd(timeouts.exit, function () { - _this3.safeSetState({ - status: EXITED - }, function () { - _this3.props.onExited(maybeNode); - }); - }); - }); - }; - - _proto.cancelNextCallback = function cancelNextCallback() { - if (this.nextCallback !== null) { - this.nextCallback.cancel(); - this.nextCallback = null; - } - }; - - _proto.safeSetState = function safeSetState(nextState, callback) { - // This shouldn't be necessary, but there are weird race conditions with - // setState callbacks and unmounting in testing, so always make sure that - // we can cancel any pending setState callbacks after we unmount. - callback = this.setNextCallback(callback); - this.setState(nextState, callback); - }; - - _proto.setNextCallback = function setNextCallback(callback) { - var _this4 = this; - - var active = true; - - this.nextCallback = function (event) { - if (active) { - active = false; - _this4.nextCallback = null; - callback(event); - } - }; - - this.nextCallback.cancel = function () { - active = false; - }; - - return this.nextCallback; - }; - - _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) { - this.setNextCallback(handler); - var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); - var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener; - - if (!node || doesNotHaveTimeoutOrListener) { - setTimeout(this.nextCallback, 0); - return; - } - - if (this.props.addEndListener) { - var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback], - maybeNode = _ref3[0], - maybeNextCallback = _ref3[1]; - - this.props.addEndListener(maybeNode, maybeNextCallback); - } - - if (timeout != null) { - setTimeout(this.nextCallback, timeout); - } - }; - - _proto.render = function render() { - var status = this.state.status; - - if (status === UNMOUNTED) { - return null; - } - - var _this$props = this.props, - children = _this$props.children; - _this$props.in; - _this$props.mountOnEnter; - _this$props.unmountOnExit; - _this$props.appear; - _this$props.enter; - _this$props.exit; - _this$props.timeout; - _this$props.addEndListener; - _this$props.onEnter; - _this$props.onEntering; - _this$props.onEntered; - _this$props.onExit; - _this$props.onExiting; - _this$props.onExited; - _this$props.nodeRef; - var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]); - - return ( - /*#__PURE__*/ - // allows for nested Transitions - React__default.createElement(TransitionGroupContext.Provider, { - value: null - }, typeof children === 'function' ? children(status, childProps) : React__default.cloneElement(React__default.Children.only(children), childProps)) - ); - }; - - return Transition; -}(React__default.Component); - -Transition.contextType = TransitionGroupContext; -Transition.propTypes = process.env.NODE_ENV !== "production" ? { - /** - * A React reference to DOM element that need to transition: - * https://stackoverflow.com/a/51127130/4671932 - * - * - When `nodeRef` prop is used, `node` is not passed to callback functions - * (e.g. `onEnter`) because user already has direct access to the node. - * - When changing `key` prop of `Transition` in a `TransitionGroup` a new - * `nodeRef` need to be provided to `Transition` with changed `key` prop - * (see - * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)). - */ - nodeRef: PropTypes.shape({ - current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) { - var value = propValue[key]; - return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret); - } - }), - - /** - * A `function` child can be used instead of a React element. This function is - * called with the current transition status (`'entering'`, `'entered'`, - * `'exiting'`, `'exited'`), which can be used to apply context - * specific props to a component. - * - * ```jsx - * - * {state => ( - * - * )} - * - * ``` - */ - children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired, - - /** - * Show the component; triggers the enter or exit states - */ - in: PropTypes.bool, - - /** - * By default the child component is mounted immediately along with - * the parent `Transition` component. If you want to "lazy mount" the component on the - * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay - * mounted, even on "exited", unless you also specify `unmountOnExit`. - */ - mountOnEnter: PropTypes.bool, - - /** - * By default the child component stays mounted after it reaches the `'exited'` state. - * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting. - */ - unmountOnExit: PropTypes.bool, - - /** - * By default the child component does not perform the enter transition when - * it first mounts, regardless of the value of `in`. If you want this - * behavior, set both `appear` and `in` to `true`. - * - * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop - * > only adds an additional enter transition. However, in the - * > `` component that first enter transition does result in - * > additional `.appear-*` classes, that way you can choose to style it - * > differently. - */ - appear: PropTypes.bool, - - /** - * Enable or disable enter transitions. - */ - enter: PropTypes.bool, - - /** - * Enable or disable exit transitions. - */ - exit: PropTypes.bool, - - /** - * The duration of the transition, in milliseconds. - * Required unless `addEndListener` is provided. - * - * You may specify a single timeout for all transitions: - * - * ```jsx - * timeout={500} - * ``` - * - * or individually: - * - * ```jsx - * timeout={{ - * appear: 500, - * enter: 300, - * exit: 500, - * }} - * ``` - * - * - `appear` defaults to the value of `enter` - * - `enter` defaults to `0` - * - `exit` defaults to `0` - * - * @type {number | { enter?: number, exit?: number, appear?: number }} - */ - timeout: function timeout(props) { - var pt = timeoutsShape; - if (!props.addEndListener) pt = pt.isRequired; - - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - return pt.apply(void 0, [props].concat(args)); - }, - - /** - * Add a custom transition end trigger. Called with the transitioning - * DOM node and a `done` callback. Allows for more fine grained transition end - * logic. Timeouts are still used as a fallback if provided. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * ```jsx - * addEndListener={(node, done) => { - * // use the css transitionend event to mark the finish of a transition - * node.addEventListener('transitionend', done, false); - * }} - * ``` - */ - addEndListener: PropTypes.func, - - /** - * Callback fired before the "entering" status is applied. An extra parameter - * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) -> void - */ - onEnter: PropTypes.func, - - /** - * Callback fired after the "entering" status is applied. An extra parameter - * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) - */ - onEntering: PropTypes.func, - - /** - * Callback fired after the "entered" status is applied. An extra parameter - * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) -> void - */ - onEntered: PropTypes.func, - - /** - * Callback fired before the "exiting" status is applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement) -> void - */ - onExit: PropTypes.func, - - /** - * Callback fired after the "exiting" status is applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement) -> void - */ - onExiting: PropTypes.func, - - /** - * Callback fired after the "exited" status is applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed - * - * @type Function(node: HtmlElement) -> void - */ - onExited: PropTypes.func -} : {}; // Name the function so it is clearer in the documentation - -function noop() {} - -Transition.defaultProps = { - in: false, - mountOnEnter: false, - unmountOnExit: false, - appear: false, - enter: true, - exit: true, - onEnter: noop, - onEntering: noop, - onEntered: noop, - onExit: noop, - onExiting: noop, - onExited: noop -}; -Transition.UNMOUNTED = UNMOUNTED; -Transition.EXITED = EXITED; -Transition.ENTERING = ENTERING; -Transition.ENTERED = ENTERED; -Transition.EXITING = EXITING; - -var _addClass = function addClass$1(node, classes) { - return node && classes && classes.split(' ').forEach(function (c) { - return addClass(node, c); - }); -}; - -var removeClass = function removeClass(node, classes) { - return node && classes && classes.split(' ').forEach(function (c) { - return removeClass$1(node, c); - }); -}; -/** - * A transition component inspired by the excellent - * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should - * use it if you're using CSS transitions or animations. It's built upon the - * [`Transition`](https://reactcommunity.org/react-transition-group/transition) - * component, so it inherits all of its props. - * - * `CSSTransition` applies a pair of class names during the `appear`, `enter`, - * and `exit` states of the transition. The first class is applied and then a - * second `*-active` class in order to activate the CSS transition. After the - * transition, matching `*-done` class names are applied to persist the - * transition state. - * - * ```jsx - * function App() { - * const [inProp, setInProp] = useState(false); - * return ( - *
- * - *
- * {"I'll receive my-node-* classes"} - *
- *
- * - *
- * ); - * } - * ``` - * - * When the `in` prop is set to `true`, the child component will first receive - * the class `example-enter`, then the `example-enter-active` will be added in - * the next tick. `CSSTransition` [forces a - * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215) - * between before adding the `example-enter-active`. This is an important trick - * because it allows us to transition between `example-enter` and - * `example-enter-active` even though they were added immediately one after - * another. Most notably, this is what makes it possible for us to animate - * _appearance_. - * - * ```css - * .my-node-enter { - * opacity: 0; - * } - * .my-node-enter-active { - * opacity: 1; - * transition: opacity 200ms; - * } - * .my-node-exit { - * opacity: 1; - * } - * .my-node-exit-active { - * opacity: 0; - * transition: opacity 200ms; - * } - * ``` - * - * `*-active` classes represent which styles you want to animate **to**, so it's - * important to add `transition` declaration only to them, otherwise transitions - * might not behave as intended! This might not be obvious when the transitions - * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in - * the example above (minus `transition`), but it becomes apparent in more - * complex transitions. - * - * **Note**: If you're using the - * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear) - * prop, make sure to define styles for `.appear-*` classes as well. - */ - - -var CSSTransition = /*#__PURE__*/function (_React$Component) { - _inheritsLoose(CSSTransition, _React$Component); - - function CSSTransition() { - var _this; - - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; - _this.appliedClasses = { - appear: {}, - enter: {}, - exit: {} - }; - - _this.onEnter = function (maybeNode, maybeAppearing) { - var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing), - node = _this$resolveArgument[0], - appearing = _this$resolveArgument[1]; - - _this.removeClasses(node, 'exit'); - - _this.addClass(node, appearing ? 'appear' : 'enter', 'base'); - - if (_this.props.onEnter) { - _this.props.onEnter(maybeNode, maybeAppearing); - } - }; - - _this.onEntering = function (maybeNode, maybeAppearing) { - var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing), - node = _this$resolveArgument2[0], - appearing = _this$resolveArgument2[1]; - - var type = appearing ? 'appear' : 'enter'; - - _this.addClass(node, type, 'active'); - - if (_this.props.onEntering) { - _this.props.onEntering(maybeNode, maybeAppearing); - } - }; - - _this.onEntered = function (maybeNode, maybeAppearing) { - var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing), - node = _this$resolveArgument3[0], - appearing = _this$resolveArgument3[1]; - - var type = appearing ? 'appear' : 'enter'; - - _this.removeClasses(node, type); - - _this.addClass(node, type, 'done'); - - if (_this.props.onEntered) { - _this.props.onEntered(maybeNode, maybeAppearing); - } - }; - - _this.onExit = function (maybeNode) { - var _this$resolveArgument4 = _this.resolveArguments(maybeNode), - node = _this$resolveArgument4[0]; - - _this.removeClasses(node, 'appear'); - - _this.removeClasses(node, 'enter'); - - _this.addClass(node, 'exit', 'base'); - - if (_this.props.onExit) { - _this.props.onExit(maybeNode); - } - }; - - _this.onExiting = function (maybeNode) { - var _this$resolveArgument5 = _this.resolveArguments(maybeNode), - node = _this$resolveArgument5[0]; - - _this.addClass(node, 'exit', 'active'); - - if (_this.props.onExiting) { - _this.props.onExiting(maybeNode); - } - }; - - _this.onExited = function (maybeNode) { - var _this$resolveArgument6 = _this.resolveArguments(maybeNode), - node = _this$resolveArgument6[0]; - - _this.removeClasses(node, 'exit'); - - _this.addClass(node, 'exit', 'done'); - - if (_this.props.onExited) { - _this.props.onExited(maybeNode); - } - }; - - _this.resolveArguments = function (maybeNode, maybeAppearing) { - return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing` - : [maybeNode, maybeAppearing]; - }; - - _this.getClassNames = function (type) { - var classNames = _this.props.classNames; - var isStringClassNames = typeof classNames === 'string'; - var prefix = isStringClassNames && classNames ? classNames + "-" : ''; - var baseClassName = isStringClassNames ? "" + prefix + type : classNames[type]; - var activeClassName = isStringClassNames ? baseClassName + "-active" : classNames[type + "Active"]; - var doneClassName = isStringClassNames ? baseClassName + "-done" : classNames[type + "Done"]; - return { - baseClassName: baseClassName, - activeClassName: activeClassName, - doneClassName: doneClassName - }; - }; - - return _this; - } - - var _proto = CSSTransition.prototype; - - _proto.addClass = function addClass(node, type, phase) { - var className = this.getClassNames(type)[phase + "ClassName"]; - - var _this$getClassNames = this.getClassNames('enter'), - doneClassName = _this$getClassNames.doneClassName; - - if (type === 'appear' && phase === 'done' && doneClassName) { - className += " " + doneClassName; - } // This is to force a repaint, - // which is necessary in order to transition styles when adding a class name. - - - if (phase === 'active') { - /* eslint-disable no-unused-expressions */ - node && node.scrollTop; - } - - if (className) { - this.appliedClasses[type][phase] = className; - - _addClass(node, className); - } - }; - - _proto.removeClasses = function removeClasses(node, type) { - var _this$appliedClasses$ = this.appliedClasses[type], - baseClassName = _this$appliedClasses$.base, - activeClassName = _this$appliedClasses$.active, - doneClassName = _this$appliedClasses$.done; - this.appliedClasses[type] = {}; - - if (baseClassName) { - removeClass(node, baseClassName); - } - - if (activeClassName) { - removeClass(node, activeClassName); - } - - if (doneClassName) { - removeClass(node, doneClassName); - } - }; - - _proto.render = function render() { - var _this$props = this.props; - _this$props.classNames; - var props = _objectWithoutPropertiesLoose(_this$props, ["classNames"]); - - return /*#__PURE__*/React__default.createElement(Transition, _extends({}, props, { - onEnter: this.onEnter, - onEntered: this.onEntered, - onEntering: this.onEntering, - onExit: this.onExit, - onExiting: this.onExiting, - onExited: this.onExited - })); - }; - - return CSSTransition; -}(React__default.Component); - -CSSTransition.defaultProps = { - classNames: '' -}; -CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, Transition.propTypes, { - /** - * The animation classNames applied to the component as it appears, enters, - * exits or has finished the transition. A single name can be provided, which - * will be suffixed for each stage, e.g. `classNames="fade"` applies: - * - * - `fade-appear`, `fade-appear-active`, `fade-appear-done` - * - `fade-enter`, `fade-enter-active`, `fade-enter-done` - * - `fade-exit`, `fade-exit-active`, `fade-exit-done` - * - * A few details to note about how these classes are applied: - * - * 1. They are _joined_ with the ones that are already defined on the child - * component, so if you want to add some base styles, you can use - * `className` without worrying that it will be overridden. - * - * 2. If the transition component mounts with `in={false}`, no classes are - * applied yet. You might be expecting `*-exit-done`, but if you think - * about it, a component cannot finish exiting if it hasn't entered yet. - * - * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This - * allows you to define different behavior for when appearing is done and - * when regular entering is done, using selectors like - * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply - * an epic entrance animation when element first appears in the DOM using - * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can - * simply use `fade-enter-done` for defining both cases. - * - * Each individual classNames can also be specified independently like: - * - * ```js - * classNames={{ - * appear: 'my-appear', - * appearActive: 'my-active-appear', - * appearDone: 'my-done-appear', - * enter: 'my-enter', - * enterActive: 'my-active-enter', - * enterDone: 'my-done-enter', - * exit: 'my-exit', - * exitActive: 'my-active-exit', - * exitDone: 'my-done-exit', - * }} - * ``` - * - * If you want to set these classes using CSS Modules: - * - * ```js - * import styles from './styles.css'; - * ``` - * - * you might want to use camelCase in your CSS file, that way could simply - * spread them instead of listing them one by one: - * - * ```js - * classNames={{ ...styles }} - * ``` - * - * @type {string | { - * appear?: string, - * appearActive?: string, - * appearDone?: string, - * enter?: string, - * enterActive?: string, - * enterDone?: string, - * exit?: string, - * exitActive?: string, - * exitDone?: string, - * }} - */ - classNames: classNamesShape, - - /** - * A `` callback fired immediately after the 'enter' or 'appear' class is - * applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) - */ - onEnter: PropTypes.func, - - /** - * A `` callback fired immediately after the 'enter-active' or - * 'appear-active' class is applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) - */ - onEntering: PropTypes.func, - - /** - * A `` callback fired immediately after the 'enter' or - * 'appear' classes are **removed** and the `done` class is added to the DOM node. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) - */ - onEntered: PropTypes.func, - - /** - * A `` callback fired immediately after the 'exit' class is - * applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed - * - * @type Function(node: HtmlElement) - */ - onExit: PropTypes.func, - - /** - * A `` callback fired immediately after the 'exit-active' is applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed - * - * @type Function(node: HtmlElement) - */ - onExiting: PropTypes.func, - - /** - * A `` callback fired immediately after the 'exit' classes - * are **removed** and the `exit-done` class is added to the DOM node. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed - * - * @type Function(node: HtmlElement) - */ - onExited: PropTypes.func -}) : {}; - -// code borrowed from https://github.com/reach/reach-ui -function useForkedRef() { - var refs = []; - for (var _i = 0; _i < arguments.length; _i++) { - refs[_i] = arguments[_i]; - } - return useMemo(function () { - if (refs.every(function (ref) { return ref == null; })) { - return null; - } - return function (node) { - refs.forEach(function (ref) { - assignRef(ref, node); - }); - }; - }, refs); -} -function assignRef(ref, value) { - if (ref == null) - return; - if (isFunction(ref)) { - ref(value); - } - else { - try { - ref.current = value; - } - catch (error) { - throw new Error("Cannot assign value \"" + value + "\" to ref \"" + ref + "\""); - } - } -} -function isFunction(value) { - return !!(value && {}.toString.call(value) == '[object Function]'); -} - -var CCollapse = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, visible = _a.visible, rest = __rest(_a, ["children", "className", "visible"]); - var _b = useState(), height = _b[0], setHeight = _b[1]; - var collapseRef = useRef(null); - var forkedRef = useForkedRef(ref, collapseRef); - var getTransitionClass = function (state) { - return state === 'entering' - ? 'collapsing' - : state === 'entered' - ? 'collapse show' - : state === 'exiting' - ? 'collapsing' - : 'collapse'; - }; - var onEntering = function () { - collapseRef && collapseRef.current && setHeight(collapseRef.current.scrollHeight); - }; - var onEntered = function () { - setHeight(0); - }; - var onExit = function () { - collapseRef && collapseRef.current && setHeight(collapseRef.current.scrollHeight); - }; - var onExiting = function () { - setHeight(0); - }; - var onExited = function () { - setHeight(0); - }; - var _className = classNames(className); - return (React__default.createElement(CSSTransition, { in: visible, timeout: 350, onEntering: onEntering, onEntered: onEntered, onExit: onExit, onExiting: onExiting, onExited: onExited }, function (state) { - var transitionClass = getTransitionClass(state); - var currentHeight = height === 0 ? null : { height: height }; - return (React__default.createElement("div", __assign({ className: classNames(_className, transitionClass), style: __assign({}, currentHeight) }, rest, { ref: forkedRef }), children)); - })); -}); -CCollapse.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - visible: PropTypes.bool, -}; -CCollapse.displayName = 'CCollapse'; - -var CAccordionCollapse = forwardRef(function (_a, ref) { - var children = _a.children, props = __rest(_a, ["children"]); - return (React__default.createElement(CCollapse, __assign({ className: "accordion-collapse" }, props, { ref: ref }), children)); -}); -CAccordionCollapse.propTypes = { - children: PropTypes.node, -}; -CAccordionCollapse.displayName = 'CAccordionCollapse'; - -var CAccordionHeader = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('accordion-header', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CAccordionHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CAccordionHeader.displayName = 'CAccordionHeader'; - -var CAccordionItem = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('accordion-item', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CAccordionItem.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CAccordionItem.displayName = 'CAccordionItem'; - -var colorPropType = PropTypes.oneOfType([ - PropTypes.oneOf([ - 'primary', - 'secondary', - 'success', - 'danger', - 'warning', - 'info', - 'dark', - 'light', - ]), - PropTypes.string, -]); -var placementPropType = PropTypes.oneOf([ - 'auto', - 'auto-start', - 'auto-end', - 'top-end', - 'top', - 'top-start', - 'bottom-end', - 'bottom', - 'bottom-start', - 'right-start', - 'right', - 'right-end', - 'left-start', - 'left', - 'left-end', -]); -var shapePropType = PropTypes.oneOfType([ - PropTypes.oneOf([ - 'rounded', - 'rounded-top', - 'rounded-end', - 'rounded-bottom', - 'rounded-start', - 'rounded-circle', - 'rounded-pill', - 'rounded-0', - 'rounded-1', - 'rounded-2', - 'rounded-3', - ]), - PropTypes.string, -]); -var triggerPropType = PropTypes.oneOf(['hover', 'focus', 'click']); - -var CCloseButton = forwardRef(function (_a, ref) { - var className = _a.className, disabled = _a.disabled, white = _a.white, rest = __rest(_a, ["className", "disabled", "white"]); - var _className = classNames('btn', 'btn-close', { - 'btn-close-white': white, - }, disabled, className); - return (React__default.createElement("button", __assign({ className: _className, "aria-label": "Close", disabled: disabled }, rest, { ref: ref }))); -}); -CCloseButton.propTypes = { - className: PropTypes.string, - disabled: PropTypes.bool, - white: PropTypes.bool, -}; -CCloseButton.displayName = 'CCloseButton'; - -var CAlert = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.color, color = _b === void 0 ? 'primary' : _b, dismissible = _a.dismissible, variant = _a.variant, _c = _a.visible, visible = _c === void 0 ? true : _c, onDismiss = _a.onDismiss, onDismissed = _a.onDismissed, rest = __rest(_a, ["children", "className", "color", "dismissible", "variant", "visible", "onDismiss", "onDismissed"]); - var _d = useState(visible), _visible = _d[0], setVisible = _d[1]; - var _className = classNames('alert', variant === 'solid' ? "bg-" + color + " text-white" : "alert-" + color, { - 'alert-dismissible fade': dismissible, - show: _visible && dismissible, - }, className); - return (React__default.createElement(CSSTransition, { in: _visible, timeout: 150, onExit: onDismiss, onExited: onDismissed, unmountOnExit: true }, - React__default.createElement("div", __assign({ className: _className, role: "alert" }, rest, { ref: ref }), - children, - dismissible && React__default.createElement(CCloseButton, { onClick: function () { return setVisible(false); } })))); -}); -CAlert.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType.isRequired, - dismissible: PropTypes.bool, - onDismiss: PropTypes.func, - onDismissed: PropTypes.func, - variant: PropTypes.string, - visible: PropTypes.bool, -}; -CAlert.displayName = 'CAlert'; - -var CAlertHeading = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'h4' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('alert-heading', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CAlertHeading.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CAlertHeading.displayName = 'CAlertHeading'; - -var CLink = forwardRef(function (_a, ref) { - var children = _a.children, active = _a.active, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'a' : _b, disabled = _a.disabled, rest = __rest(_a, ["children", "active", "className", "component", "disabled"]); - // TODO: remove duplicated classes ex. `active active` in `` - var _className = classNames(className, { active: active, disabled: disabled }); - return (React__default.createElement(Component, __assign({ className: _className }, (active && { 'aria-current': 'page' }), (Component === 'a' && disabled && { 'aria-disabled': true, tabIndex: -1 }), ((Component === 'a' || Component === 'button') && { - onClick: function (event) { - event.preventDefault; - !disabled && rest.onClick && rest.onClick(event); - }, - }), { disabled: disabled }, rest, { ref: ref }), children)); -}); -CLink.propTypes = { - active: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - disabled: PropTypes.bool, -}; -CLink.displayName = 'CLink'; - -var CAlertLink = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('alert-link', className); - return (React__default.createElement(CLink, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CAlertLink.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CAlertLink.displayName = 'CAlertLink'; - -var CAvatar = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, shape = _a.shape, size = _a.size, src = _a.src, status = _a.status, textColor = _a.textColor, rest = __rest(_a, ["children", "className", "color", "shape", "size", "src", "status", "textColor"]); - var _className = classNames('avatar', (_b = {}, - _b["bg-" + color] = color, - _b["avatar-" + size] = size, - _b["text-" + textColor] = textColor, - _b), shape, className); - var statusClassName = status && classNames('avatar-status', "bg-" + status); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), - src ? React__default.createElement("img", { src: src, className: "avatar-img" }) : children, - status && React__default.createElement("span", { className: statusClassName }))); -}); -CAvatar.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - shape: shapePropType, - size: PropTypes.string, - src: PropTypes.string, - status: PropTypes.string, - textColor: PropTypes.string, -}; -CAvatar.displayName = 'CAvatar'; - -var CBadge = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, _c = _a.component, Component = _c === void 0 ? 'span' : _c, shape = _a.shape, size = _a.size, textColor = _a.textColor, rest = __rest(_a, ["children", "className", "color", "component", "shape", "size", "textColor"]); - var _className = classNames('badge', (_b = {}, - _b["bg-" + color] = color, - _b["text-" + textColor] = color, - _b["badge-" + size] = size, - _b), shape, className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CBadge.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - component: PropTypes.string, - shape: shapePropType, - size: PropTypes.oneOf(['sm']), - textColor: PropTypes.string, -}; -CBadge.displayName = 'CBadge'; - -var CBackdrop = forwardRef(function (_a, ref) { - var _b = _a.className, className = _b === void 0 ? 'modal-backdrop' : _b, visible = _a.visible, rest = __rest(_a, ["className", "visible"]); - var _className = classNames(className, 'fade'); - var getTransitionClass = function (state) { - return state === 'entered' && 'show'; - }; - return (React__default.createElement(CSSTransition, { in: visible, timeout: 150, mountOnEnter: true, unmountOnExit: true }, function (state) { - var transitionClass = getTransitionClass(state); - return React__default.createElement("div", __assign({ className: classNames(_className, transitionClass) }, rest, { ref: ref })); - })); -}); -CBackdrop.propTypes = { - className: PropTypes.string, - visible: PropTypes.bool, -}; -CBackdrop.displayName = 'CBackdrop'; - -var CBreadcrumb = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('breadcrumb', className); - return (React__default.createElement("nav", { "aria-label": "breadcrumb" }, - React__default.createElement("ol", __assign({ className: _className }, rest, { ref: ref }), children))); -}); -CBreadcrumb.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CBreadcrumb.displayName = 'CBreadcrumb'; - -var CBreadcrumbItem = forwardRef(function (_a, ref) { - var children = _a.children, active = _a.active, className = _a.className, href = _a.href, rest = __rest(_a, ["children", "active", "className", "href"]); - return (React__default.createElement("li", __assign({ className: classNames('breadcrumb-item', active ? 'active' : false, className) }, (active && { 'aria-current': 'page' }), rest, { ref: ref }), href ? React__default.createElement(CLink, { href: href }, children) : children)); -}); -CBreadcrumbItem.propTypes = { - active: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - href: PropTypes.string, -}; -CBreadcrumbItem.displayName = 'CBreadcrumbItem'; - -var CButton = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, _c = _a.color, color = _c === void 0 ? 'primary' : _c, _d = _a.component, component = _d === void 0 ? 'button' : _d, shape = _a.shape, size = _a.size, _e = _a.type, type = _e === void 0 ? 'button' : _e, variant = _a.variant, rest = __rest(_a, ["children", "className", "color", "component", "shape", "size", "type", "variant"]); - var _className = classNames('btn', variant ? "btn-" + variant + "-" + color : "btn-" + color, (_b = {}, _b["btn-" + size] = size, _b), shape, className); - return (React__default.createElement(CLink, __assign({ component: rest.href ? 'a' : component, type: type, className: _className }, rest, { ref: ref }), children)); -}); -CButton.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - component: PropTypes.elementType, - shape: PropTypes.string, - size: PropTypes.oneOf(['sm', 'lg']), - type: PropTypes.oneOf(['button', 'submit', 'reset']), - variant: PropTypes.oneOf(['outline', 'ghost']), -}; -CButton.displayName = 'CButton'; - -var CButtonGroup = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, size = _a.size, vertical = _a.vertical, rest = __rest(_a, ["children", "className", "size", "vertical"]); - var _className = classNames(vertical ? 'btn-group-vertical' : 'btn-group', (_b = {}, _b["btn-group-" + size] = size, _b), className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CButtonGroup.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - size: PropTypes.oneOf(['sm', 'lg']), - vertical: PropTypes.bool, -}; -CButtonGroup.displayName = 'CButtonGroup'; - -var CButtonToolbar = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('btn-toolbar', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CButtonToolbar.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CButtonToolbar.displayName = 'CButtonToolbar'; - -var CCallout = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]); - var _className = classNames('callout', (_b = {}, - _b["callout-" + color] = color, - _b), className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCallout.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CCallout.displayName = 'CCallout'; - -var CCard = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, textColor = _a.textColor, rest = __rest(_a, ["children", "className", "color", "textColor"]); - var _className = classNames('card', (_b = {}, - _b["bg-" + color] = color, - _b["text-" + textColor] = textColor, - _b), className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCard.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - textColor: PropTypes.string, -}; -CCard.displayName = 'CCard'; - -var CCardBody = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('card-body', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardBody.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCardBody.displayName = 'CCardBody'; - -var CCardFooter = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('card-footer', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardFooter.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCardFooter.displayName = 'CCardFooter'; - -var CCardGroup = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('card-group', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardGroup.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCardGroup.displayName = 'CCardGroup'; - -var CCardHeader = forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'div' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('card-header', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CCardHeader.displayName = 'CCardHeader'; - -var CCardImage = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'img' : _b, orientation = _a.orientation, rest = __rest(_a, ["children", "className", "component", "orientation"]); - var _className = classNames(orientation ? "card-img-" + orientation : 'card-img', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardImage.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - orientation: PropTypes.oneOf(['top', 'bottom']), -}; -CCardImage.displayName = 'CCardImage'; - -var CCardImageOverlay = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('card-img-overlay', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardImageOverlay.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCardImageOverlay.displayName = 'CCardImageOverlay'; - -var CCardLink = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('card-link', className); - return (React__default.createElement(CLink, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardLink.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCardLink.displayName = 'CCardLink'; - -var CCardSubtitle = forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'h6' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('card-subtitle', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardSubtitle.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CCardSubtitle.displayName = 'CCardSubtitle'; - -var CCardText = forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'p' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('card-text', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardText.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CCardText.displayName = 'CCardText'; - -var CCardTitle = forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'h5' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('card-title', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardTitle.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CCardTitle.displayName = 'CCardTitle'; - -var CCarouselControl = forwardRef(function (_a, ref) { - var className = _a.className, children = _a.children, direction = _a.direction, rest = __rest(_a, ["className", "children", "direction"]); - var _b = useContext(CCarouselContext), state = _b.state, setState = _b.setState, itemsNumber = _b.itemsNumber, animating = _b.animating; - var onClick = function () { - if (animating) { - return; - } - var newIdx; - if (direction === 'next') { - newIdx = itemsNumber === state[1] + 1 ? 0 : state[1] + 1; - } - else { - newIdx = state[1] === 0 ? itemsNumber - 1 : state[1] - 1; - } - setState([state[1], newIdx, direction]); - }; - var anchorClasses = classNames("carousel-control-" + direction, className); - return (React__default.createElement("button", __assign({ className: anchorClasses }, rest, { onClick: onClick, ref: ref }), children || (React__default.createElement("span", { className: "carousel-control-" + direction + "-icon", "aria-label": direction })))); -}); -CCarouselControl.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - direction: PropTypes.oneOf(['prev', 'next']).isRequired, -}; -CCarouselControl.displayName = 'CCarouselControl'; - -var CCarouselIndicators = forwardRef(function (_a, ref) { - var className = _a.className, _b = _a.indicatorsClass, indicatorsClass = _b === void 0 ? 'carousel-indicators' : _b; - var _c = useContext(CCarouselContext), itemsNumber = _c.itemsNumber, state = _c.state, setState = _c.setState, animating = _c.animating; - var listClasses = classNames(indicatorsClass, className); - var indicators = Array.from({ length: itemsNumber }, function (_, i) { return i; }).map(function (key) { - return (React__default.createElement("li", { key: "indicator" + key, onClick: function () { - !animating && key !== state[1] && setState([state[1], key]); - }, className: state[1] === key ? 'active' : '', "data-coreui-target": "" })); - }); - return (React__default.createElement("ol", { className: listClasses, ref: ref }, indicators)); -}); -CCarouselIndicators.propTypes = { - className: PropTypes.string, - indicatorsClass: PropTypes.string, -}; -CCarouselIndicators.displayName = 'CCarouselIndicators'; - -var CCarouselInner = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var setItemsNumber = useContext(CCarouselContext).setItemsNumber; - var _className = classNames('carousel-inner', className); - useEffect(function () { - setItemsNumber(Children.toArray(children).length); - }); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), Children.map(children, function (child, index) { - if (React__default.isValidElement(child)) { - return React__default.cloneElement(child, { key: index, idx: index }); - } - return; - }))); -}); -CCarouselInner.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCarouselInner.displayName = 'CCarouselInner'; - -var CCarouselContext = createContext({}); -var CCarousel = forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.animate, animate = _b === void 0 ? true : _b, className = _a.className, controls = _a.controls, dark = _a.dark, _c = _a.index, index = _c === void 0 ? 0 : _c, indicators = _a.indicators, _d = _a.interval, interval = _d === void 0 ? 5000 : _d, onSlideChange = _a.onSlideChange, transition = _a.transition, rest = __rest(_a, ["children", "animate", "className", "controls", "dark", "index", "indicators", "interval", "onSlideChange", "transition"]); - var _e = useState([null, index]), state = _e[0], setState = _e[1]; - var _f = useState(0), itemsNumber = _f[0], setItemsNumber = _f[1]; - var _g = useState(false), animating = _g[0], setAnimating = _g[1]; - var data = useRef({}).current; - var cycle = function () { - pause(); - if (typeof interval === 'number') { - data.timeout = setTimeout(function () { return nextItem(); }, interval); - } - }; - var pause = function () { return data.timeout && clearTimeout(data.timeout); }; - var nextItem = function () { - if (typeof state[1] === 'number') - setState([state[1], itemsNumber === state[1] + 1 ? 0 : state[1] + 1, 'next']); - }; - useEffect(function () { - setState([state[1], index]); - }, [index]); - useEffect(function () { - onSlideChange && onSlideChange(state[1]); - cycle(); - return function () { - pause(); - }; - }, [state]); - var _className = classNames('carousel slide', transition === 'crossfade' && 'carousel-fade', dark && 'carousel-dark', className); - return (React__default.createElement("div", __assign({ className: _className, onMouseEnter: pause, onMouseLeave: cycle }, rest, { ref: ref }), - React__default.createElement(CCarouselContext.Provider, { value: { - state: state, - setState: setState, - animate: animate, - itemsNumber: itemsNumber, - setItemsNumber: setItemsNumber, - animating: animating, - setAnimating: setAnimating, - } }, - indicators && React__default.createElement(CCarouselIndicators, null), - React__default.createElement(CCarouselInner, null, children), - controls && (React__default.createElement(React__default.Fragment, null, - React__default.createElement(CCarouselControl, { direction: "prev" }), - React__default.createElement(CCarouselControl, { direction: "next" })))))); -}); -CCarousel.propTypes = { - animate: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - controls: PropTypes.bool, - dark: PropTypes.bool, - index: PropTypes.number, - indicators: PropTypes.bool, - interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]), - onSlideChange: PropTypes.func, - transition: PropTypes.oneOf(['slide', 'crossfade']), -}; -CCarousel.displayName = 'CCarousel'; - -var CCarouselCaption = forwardRef(function (_a, ref) { - var className = _a.className, rest = __rest(_a, ["className"]); - var _className = classNames('carousel-caption', className); - return React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref })); -}); -CCarouselCaption.propTypes = { - className: PropTypes.string, -}; -CCarouselCaption.displayName = 'CCarouselCaption'; - -// eslint-disable-next-line @typescript-eslint/ban-types -var getDirection = function (state) { - if (state[2]) { - return state[2] === 'next' ? 'right' : 'left'; - } - else { - return state[1] > state[0] ? 'right' : 'left'; - } -}; -var CCarouselItem = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, idx = _a.idx, rest = __rest(_a, ["children", "className", "idx"]); - var _b = useContext(CCarouselContext), animate = _b.animate, state = _b.state, animating = _b.animating, setAnimating = _b.setAnimating; - var _c = useState(false), isIn = _c[0], setIsIn = _c[1]; - var onEnter = function () { - setAnimating(false); - }; - var onEntering = function () { - setAnimating(true); - }; - var onExit = function () { - setAnimating(false); - }; - var onExiting = function () { - setAnimating(true); - }; - var onExited = function () { - setAnimating(false); - }; - useEffect(function () { - setIsIn(state[1] === idx); - }, [state]); - if (!animate || state[0] === null) { - var itemClasses = classNames('carousel-item', isIn && 'active', className); - return (React__default.createElement("div", __assign({ className: itemClasses, ref: ref }, rest), children)); - } - return (React__default.createElement(CSSTransition, { timeout: 600, in: isIn, onEnter: onEnter, onEntering: onEntering, onExit: onExit, onExiting: onExiting, onExited: onExited, nodeRef: ref }, function (status) { - var direction = getDirection(state); - var isActive = status === 'entered' || status === 'exiting'; - var directionClassName = (status === 'entering' || status === 'exiting') && - animating && - (direction === 'right' ? 'carousel-item-start' : 'carousel-item-end'); - var orderClassName = status === 'entering' && - (direction === 'right' ? 'carousel-item-next' : 'carousel-item-prev'); - var itemClasses = classNames('carousel-item', isActive && 'active', orderClassName, directionClassName, className); - return (React__default.createElement("div", __assign({ className: itemClasses, ref: ref }, rest), children)); - })); -}); -CCarouselItem.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - idx: PropTypes.number, -}; -CCarouselItem.displayName = 'CCarouselItem'; - -var ManagerReferenceNodeContext = React.createContext(); -var ManagerReferenceNodeSetterContext = React.createContext(); -function Manager(_ref) { - var children = _ref.children; - - var _React$useState = React.useState(null), - referenceNode = _React$useState[0], - setReferenceNode = _React$useState[1]; - - var hasUnmounted = React.useRef(false); - React.useEffect(function () { - return function () { - hasUnmounted.current = true; - }; - }, []); - var handleSetReferenceNode = React.useCallback(function (node) { - if (!hasUnmounted.current) { - setReferenceNode(node); - } - }, []); - return /*#__PURE__*/React.createElement(ManagerReferenceNodeContext.Provider, { - value: referenceNode - }, /*#__PURE__*/React.createElement(ManagerReferenceNodeSetterContext.Provider, { - value: handleSetReferenceNode - }, children)); -} - -/** - * Takes an argument and if it's an array, returns the first item in the array, - * otherwise returns the argument. Used for Preact compatibility. - */ -var unwrapArray = function unwrapArray(arg) { - return Array.isArray(arg) ? arg[0] : arg; -}; -/** - * Takes a maybe-undefined function and arbitrary args and invokes the function - * only if it is defined. - */ - -var safeInvoke = function safeInvoke(fn) { - if (typeof fn === 'function') { - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - return fn.apply(void 0, args); - } -}; -/** - * Sets a ref using either a ref callback or a ref object - */ - -var setRef = function setRef(ref, node) { - // if its a function call it - if (typeof ref === 'function') { - return safeInvoke(ref, node); - } // otherwise we should treat it as a ref object - else if (ref != null) { - ref.current = node; - } -}; -/** - * Simple ponyfill for Object.fromEntries - */ - -var fromEntries = function fromEntries(entries) { - return entries.reduce(function (acc, _ref) { - var key = _ref[0], - value = _ref[1]; - acc[key] = value; - return acc; - }, {}); -}; -/** - * Small wrapper around `useLayoutEffect` to get rid of the warning on SSR envs - */ - -var useIsomorphicLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? React.useLayoutEffect : React.useEffect; - -var top = 'top'; -var bottom = 'bottom'; -var right = 'right'; -var left = 'left'; -var auto = 'auto'; -var basePlacements = [top, bottom, right, left]; -var start = 'start'; -var end = 'end'; -var clippingParents = 'clippingParents'; -var viewport = 'viewport'; -var popper = 'popper'; -var reference = 'reference'; -var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) { - return acc.concat([placement + "-" + start, placement + "-" + end]); -}, []); -var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) { - return acc.concat([placement, placement + "-" + start, placement + "-" + end]); -}, []); // modifiers that need to read the DOM - -var beforeRead = 'beforeRead'; -var read = 'read'; -var afterRead = 'afterRead'; // pure-logic modifiers - -var beforeMain = 'beforeMain'; -var main = 'main'; -var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state) - -var beforeWrite = 'beforeWrite'; -var write = 'write'; -var afterWrite = 'afterWrite'; -var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite]; - -function getNodeName(element) { - return element ? (element.nodeName || '').toLowerCase() : null; -} - -function getWindow(node) { - if (node == null) { - return window; - } - - if (node.toString() !== '[object Window]') { - var ownerDocument = node.ownerDocument; - return ownerDocument ? ownerDocument.defaultView || window : window; - } - - return node; -} - -function isElement(node) { - var OwnElement = getWindow(node).Element; - return node instanceof OwnElement || node instanceof Element; -} - -function isHTMLElement(node) { - var OwnElement = getWindow(node).HTMLElement; - return node instanceof OwnElement || node instanceof HTMLElement; -} - -function isShadowRoot(node) { - // IE 11 has no ShadowRoot - if (typeof ShadowRoot === 'undefined') { - return false; - } - - var OwnElement = getWindow(node).ShadowRoot; - return node instanceof OwnElement || node instanceof ShadowRoot; -} - -// and applies them to the HTMLElements such as popper and arrow - -function applyStyles(_ref) { - var state = _ref.state; - Object.keys(state.elements).forEach(function (name) { - var style = state.styles[name] || {}; - var attributes = state.attributes[name] || {}; - var element = state.elements[name]; // arrow is optional + virtual elements - - if (!isHTMLElement(element) || !getNodeName(element)) { - return; - } // Flow doesn't support to extend this property, but it's the most - // effective way to apply styles to an HTMLElement - // $FlowFixMe[cannot-write] - - - Object.assign(element.style, style); - Object.keys(attributes).forEach(function (name) { - var value = attributes[name]; - - if (value === false) { - element.removeAttribute(name); - } else { - element.setAttribute(name, value === true ? '' : value); - } - }); - }); -} - -function effect$2(_ref2) { - var state = _ref2.state; - var initialStyles = { - popper: { - position: state.options.strategy, - left: '0', - top: '0', - margin: '0' - }, - arrow: { - position: 'absolute' - }, - reference: {} - }; - Object.assign(state.elements.popper.style, initialStyles.popper); - state.styles = initialStyles; - - if (state.elements.arrow) { - Object.assign(state.elements.arrow.style, initialStyles.arrow); - } - - return function () { - Object.keys(state.elements).forEach(function (name) { - var element = state.elements[name]; - var attributes = state.attributes[name] || {}; - var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them - - var style = styleProperties.reduce(function (style, property) { - style[property] = ''; - return style; - }, {}); // arrow is optional + virtual elements - - if (!isHTMLElement(element) || !getNodeName(element)) { - return; - } - - Object.assign(element.style, style); - Object.keys(attributes).forEach(function (attribute) { - element.removeAttribute(attribute); - }); - }); - }; -} // eslint-disable-next-line import/no-unused-modules - - -var applyStyles$1 = { - name: 'applyStyles', - enabled: true, - phase: 'write', - fn: applyStyles, - effect: effect$2, - requires: ['computeStyles'] -}; - -function getBasePlacement(placement) { - return placement.split('-')[0]; -} - -function getBoundingClientRect(element) { - var rect = element.getBoundingClientRect(); - return { - width: rect.width, - height: rect.height, - top: rect.top, - right: rect.right, - bottom: rect.bottom, - left: rect.left, - x: rect.left, - y: rect.top - }; -} - -// means it doesn't take into account transforms. - -function getLayoutRect(element) { - var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed. - // Fixes https://github.com/popperjs/popper-core/issues/1223 - - var width = element.offsetWidth; - var height = element.offsetHeight; - - if (Math.abs(clientRect.width - width) <= 1) { - width = clientRect.width; - } - - if (Math.abs(clientRect.height - height) <= 1) { - height = clientRect.height; - } - - return { - x: element.offsetLeft, - y: element.offsetTop, - width: width, - height: height - }; -} - -function contains(parent, child) { - var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method - - if (parent.contains(child)) { - return true; - } // then fallback to custom implementation with Shadow DOM support - else if (rootNode && isShadowRoot(rootNode)) { - var next = child; - - do { - if (next && parent.isSameNode(next)) { - return true; - } // $FlowFixMe[prop-missing]: need a better way to handle this... - - - next = next.parentNode || next.host; - } while (next); - } // Give up, the result is false - - - return false; -} - -function getComputedStyle$1(element) { - return getWindow(element).getComputedStyle(element); -} - -function isTableElement(element) { - return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0; -} - -function getDocumentElement(element) { - // $FlowFixMe[incompatible-return]: assume body is always available - return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing] - element.document) || window.document).documentElement; -} - -function getParentNode(element) { - if (getNodeName(element) === 'html') { - return element; - } - - return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle - // $FlowFixMe[incompatible-return] - // $FlowFixMe[prop-missing] - element.assignedSlot || // step into the shadow DOM of the parent of a slotted node - element.parentNode || ( // DOM Element detected - isShadowRoot(element) ? element.host : null) || // ShadowRoot detected - // $FlowFixMe[incompatible-call]: HTMLElement is a Node - getDocumentElement(element) // fallback - - ); -} - -function getTrueOffsetParent(element) { - if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837 - getComputedStyle$1(element).position === 'fixed') { - return null; - } - - return element.offsetParent; -} // `.offsetParent` reports `null` for fixed elements, while absolute elements -// return the containing block - - -function getContainingBlock(element) { - var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1; - var isIE = navigator.userAgent.indexOf('Trident') !== -1; - - if (isIE && isHTMLElement(element)) { - // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport - var elementCss = getComputedStyle$1(element); - - if (elementCss.position === 'fixed') { - return null; - } - } - - var currentNode = getParentNode(element); - - while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) { - var css = getComputedStyle$1(currentNode); // This is non-exhaustive but covers the most common CSS properties that - // create a containing block. - // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block - - if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') { - return currentNode; - } else { - currentNode = currentNode.parentNode; - } - } - - return null; -} // Gets the closest ancestor positioned element. Handles some edge cases, -// such as table ancestors and cross browser bugs. - - -function getOffsetParent(element) { - var window = getWindow(element); - var offsetParent = getTrueOffsetParent(element); - - while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') { - offsetParent = getTrueOffsetParent(offsetParent); - } - - if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static')) { - return window; - } - - return offsetParent || getContainingBlock(element) || window; -} - -function getMainAxisFromPlacement(placement) { - return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y'; -} - -var max = Math.max; -var min = Math.min; -var round = Math.round; - -function within(min$1, value, max$1) { - return max(min$1, min(value, max$1)); -} - -function getFreshSideObject() { - return { - top: 0, - right: 0, - bottom: 0, - left: 0 - }; -} - -function mergePaddingObject(paddingObject) { - return Object.assign({}, getFreshSideObject(), paddingObject); -} - -function expandToHashMap(value, keys) { - return keys.reduce(function (hashMap, key) { - hashMap[key] = value; - return hashMap; - }, {}); -} - -var toPaddingObject = function toPaddingObject(padding, state) { - padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, { - placement: state.placement - })) : padding; - return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements)); -}; - -function arrow(_ref) { - var _state$modifiersData$; - - var state = _ref.state, - name = _ref.name, - options = _ref.options; - var arrowElement = state.elements.arrow; - var popperOffsets = state.modifiersData.popperOffsets; - var basePlacement = getBasePlacement(state.placement); - var axis = getMainAxisFromPlacement(basePlacement); - var isVertical = [left, right].indexOf(basePlacement) >= 0; - var len = isVertical ? 'height' : 'width'; - - if (!arrowElement || !popperOffsets) { - return; - } - - var paddingObject = toPaddingObject(options.padding, state); - var arrowRect = getLayoutRect(arrowElement); - var minProp = axis === 'y' ? top : left; - var maxProp = axis === 'y' ? bottom : right; - var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len]; - var startDiff = popperOffsets[axis] - state.rects.reference[axis]; - var arrowOffsetParent = getOffsetParent(arrowElement); - var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0; - var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is - // outside of the popper bounds - - var min = paddingObject[minProp]; - var max = clientSize - arrowRect[len] - paddingObject[maxProp]; - var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference; - var offset = within(min, center, max); // Prevents breaking syntax highlighting... - - var axisProp = axis; - state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$); -} - -function effect$1(_ref2) { - var state = _ref2.state, - options = _ref2.options; - var _options$element = options.element, - arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element; - - if (arrowElement == null) { - return; - } // CSS selector - - - if (typeof arrowElement === 'string') { - arrowElement = state.elements.popper.querySelector(arrowElement); - - if (!arrowElement) { - return; - } - } - - if (process.env.NODE_ENV !== "production") { - if (!isHTMLElement(arrowElement)) { - console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' ')); - } - } - - if (!contains(state.elements.popper, arrowElement)) { - if (process.env.NODE_ENV !== "production") { - console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' ')); - } - - return; - } - - state.elements.arrow = arrowElement; -} // eslint-disable-next-line import/no-unused-modules - - -var arrow$1 = { - name: 'arrow', - enabled: true, - phase: 'main', - fn: arrow, - effect: effect$1, - requires: ['popperOffsets'], - requiresIfExists: ['preventOverflow'] -}; - -var unsetSides = { - top: 'auto', - right: 'auto', - bottom: 'auto', - left: 'auto' -}; // Round the offsets to the nearest suitable subpixel based on the DPR. -// Zooming can change the DPR, but it seems to report a value that will -// cleanly divide the values into the appropriate subpixels. - -function roundOffsetsByDPR(_ref) { - var x = _ref.x, - y = _ref.y; - var win = window; - var dpr = win.devicePixelRatio || 1; - return { - x: round(round(x * dpr) / dpr) || 0, - y: round(round(y * dpr) / dpr) || 0 - }; -} - -function mapToStyles(_ref2) { - var _Object$assign2; - - var popper = _ref2.popper, - popperRect = _ref2.popperRect, - placement = _ref2.placement, - offsets = _ref2.offsets, - position = _ref2.position, - gpuAcceleration = _ref2.gpuAcceleration, - adaptive = _ref2.adaptive, - roundOffsets = _ref2.roundOffsets; - - var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets, - _ref3$x = _ref3.x, - x = _ref3$x === void 0 ? 0 : _ref3$x, - _ref3$y = _ref3.y, - y = _ref3$y === void 0 ? 0 : _ref3$y; - - var hasX = offsets.hasOwnProperty('x'); - var hasY = offsets.hasOwnProperty('y'); - var sideX = left; - var sideY = top; - var win = window; - - if (adaptive) { - var offsetParent = getOffsetParent(popper); - var heightProp = 'clientHeight'; - var widthProp = 'clientWidth'; - - if (offsetParent === getWindow(popper)) { - offsetParent = getDocumentElement(popper); - - if (getComputedStyle$1(offsetParent).position !== 'static') { - heightProp = 'scrollHeight'; - widthProp = 'scrollWidth'; - } - } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it - - - offsetParent = offsetParent; - - if (placement === top) { - sideY = bottom; // $FlowFixMe[prop-missing] - - y -= offsetParent[heightProp] - popperRect.height; - y *= gpuAcceleration ? 1 : -1; - } - - if (placement === left) { - sideX = right; // $FlowFixMe[prop-missing] - - x -= offsetParent[widthProp] - popperRect.width; - x *= gpuAcceleration ? 1 : -1; - } - } - - var commonStyles = Object.assign({ - position: position - }, adaptive && unsetSides); - - if (gpuAcceleration) { - var _Object$assign; - - return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign)); - } - - return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2)); -} - -function computeStyles(_ref4) { - var state = _ref4.state, - options = _ref4.options; - var _options$gpuAccelerat = options.gpuAcceleration, - gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat, - _options$adaptive = options.adaptive, - adaptive = _options$adaptive === void 0 ? true : _options$adaptive, - _options$roundOffsets = options.roundOffsets, - roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets; - - if (process.env.NODE_ENV !== "production") { - var transitionProperty = getComputedStyle$1(state.elements.popper).transitionProperty || ''; - - if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) { - return transitionProperty.indexOf(property) >= 0; - })) { - console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: "transform", "top", "right", "bottom", "left".', '\n\n', 'Disable the "computeStyles" modifier\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\n\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' ')); - } - } - - var commonStyles = { - placement: getBasePlacement(state.placement), - popper: state.elements.popper, - popperRect: state.rects.popper, - gpuAcceleration: gpuAcceleration - }; - - if (state.modifiersData.popperOffsets != null) { - state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, { - offsets: state.modifiersData.popperOffsets, - position: state.options.strategy, - adaptive: adaptive, - roundOffsets: roundOffsets - }))); - } - - if (state.modifiersData.arrow != null) { - state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, { - offsets: state.modifiersData.arrow, - position: 'absolute', - adaptive: false, - roundOffsets: roundOffsets - }))); - } - - state.attributes.popper = Object.assign({}, state.attributes.popper, { - 'data-popper-placement': state.placement - }); -} // eslint-disable-next-line import/no-unused-modules - - -var computeStyles$1 = { - name: 'computeStyles', - enabled: true, - phase: 'beforeWrite', - fn: computeStyles, - data: {} -}; - -var passive = { - passive: true -}; - -function effect(_ref) { - var state = _ref.state, - instance = _ref.instance, - options = _ref.options; - var _options$scroll = options.scroll, - scroll = _options$scroll === void 0 ? true : _options$scroll, - _options$resize = options.resize, - resize = _options$resize === void 0 ? true : _options$resize; - var window = getWindow(state.elements.popper); - var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper); - - if (scroll) { - scrollParents.forEach(function (scrollParent) { - scrollParent.addEventListener('scroll', instance.update, passive); - }); - } - - if (resize) { - window.addEventListener('resize', instance.update, passive); - } - - return function () { - if (scroll) { - scrollParents.forEach(function (scrollParent) { - scrollParent.removeEventListener('scroll', instance.update, passive); - }); - } - - if (resize) { - window.removeEventListener('resize', instance.update, passive); - } - }; -} // eslint-disable-next-line import/no-unused-modules - - -var eventListeners = { - name: 'eventListeners', - enabled: true, - phase: 'write', - fn: function fn() {}, - effect: effect, - data: {} -}; - -var hash$1 = { - left: 'right', - right: 'left', - bottom: 'top', - top: 'bottom' -}; -function getOppositePlacement(placement) { - return placement.replace(/left|right|bottom|top/g, function (matched) { - return hash$1[matched]; - }); -} - -var hash = { - start: 'end', - end: 'start' -}; -function getOppositeVariationPlacement(placement) { - return placement.replace(/start|end/g, function (matched) { - return hash[matched]; - }); -} - -function getWindowScroll(node) { - var win = getWindow(node); - var scrollLeft = win.pageXOffset; - var scrollTop = win.pageYOffset; - return { - scrollLeft: scrollLeft, - scrollTop: scrollTop - }; -} - -function getWindowScrollBarX(element) { - // If has a CSS width greater than the viewport, then this will be - // incorrect for RTL. - // Popper 1 is broken in this case and never had a bug report so let's assume - // it's not an issue. I don't think anyone ever specifies width on - // anyway. - // Browsers where the left scrollbar doesn't cause an issue report `0` for - // this (e.g. Edge 2019, IE11, Safari) - return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft; -} - -function getViewportRect(element) { - var win = getWindow(element); - var html = getDocumentElement(element); - var visualViewport = win.visualViewport; - var width = html.clientWidth; - var height = html.clientHeight; - var x = 0; - var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper - // can be obscured underneath it. - // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even - // if it isn't open, so if this isn't available, the popper will be detected - // to overflow the bottom of the screen too early. - - if (visualViewport) { - width = visualViewport.width; - height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently) - // In Chrome, it returns a value very close to 0 (+/-) but contains rounding - // errors due to floating point numbers, so we need to check precision. - // Safari returns a number <= 0, usually < -1 when pinch-zoomed - // Feature detection fails in mobile emulation mode in Chrome. - // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) < - // 0.001 - // Fallback here: "Not Safari" userAgent - - if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) { - x = visualViewport.offsetLeft; - y = visualViewport.offsetTop; - } - } - - return { - width: width, - height: height, - x: x + getWindowScrollBarX(element), - y: y - }; -} - -// of the `` and `` rect bounds if horizontally scrollable - -function getDocumentRect(element) { - var _element$ownerDocumen; - - var html = getDocumentElement(element); - var winScroll = getWindowScroll(element); - var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body; - var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0); - var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0); - var x = -winScroll.scrollLeft + getWindowScrollBarX(element); - var y = -winScroll.scrollTop; - - if (getComputedStyle$1(body || html).direction === 'rtl') { - x += max(html.clientWidth, body ? body.clientWidth : 0) - width; - } - - return { - width: width, - height: height, - x: x, - y: y - }; -} - -function isScrollParent(element) { - // Firefox wants us to check `-x` and `-y` variations as well - var _getComputedStyle = getComputedStyle$1(element), - overflow = _getComputedStyle.overflow, - overflowX = _getComputedStyle.overflowX, - overflowY = _getComputedStyle.overflowY; - - return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX); -} - -function getScrollParent(node) { - if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) { - // $FlowFixMe[incompatible-return]: assume body is always available - return node.ownerDocument.body; - } - - if (isHTMLElement(node) && isScrollParent(node)) { - return node; - } - - return getScrollParent(getParentNode(node)); -} - -/* -given a DOM element, return the list of all scroll parents, up the list of ancesors -until we get to the top window object. This list is what we attach scroll listeners -to, because if any of these parent elements scroll, we'll need to re-calculate the -reference element's position. -*/ - -function listScrollParents(element, list) { - var _element$ownerDocumen; - - if (list === void 0) { - list = []; - } - - var scrollParent = getScrollParent(element); - var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body); - var win = getWindow(scrollParent); - var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent; - var updatedList = list.concat(target); - return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here - updatedList.concat(listScrollParents(getParentNode(target))); -} - -function rectToClientRect(rect) { - return Object.assign({}, rect, { - left: rect.x, - top: rect.y, - right: rect.x + rect.width, - bottom: rect.y + rect.height - }); -} - -function getInnerBoundingClientRect(element) { - var rect = getBoundingClientRect(element); - rect.top = rect.top + element.clientTop; - rect.left = rect.left + element.clientLeft; - rect.bottom = rect.top + element.clientHeight; - rect.right = rect.left + element.clientWidth; - rect.width = element.clientWidth; - rect.height = element.clientHeight; - rect.x = rect.left; - rect.y = rect.top; - return rect; -} - -function getClientRectFromMixedType(element, clippingParent) { - return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element))); -} // A "clipping parent" is an overflowable container with the characteristic of -// clipping (or hiding) overflowing elements with a position different from -// `initial` - - -function getClippingParents(element) { - var clippingParents = listScrollParents(getParentNode(element)); - var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$1(element).position) >= 0; - var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element; - - if (!isElement(clipperElement)) { - return []; - } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414 - - - return clippingParents.filter(function (clippingParent) { - return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body'; - }); -} // Gets the maximum area that the element is visible in due to any number of -// clipping parents - - -function getClippingRect(element, boundary, rootBoundary) { - var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary); - var clippingParents = [].concat(mainClippingParents, [rootBoundary]); - var firstClippingParent = clippingParents[0]; - var clippingRect = clippingParents.reduce(function (accRect, clippingParent) { - var rect = getClientRectFromMixedType(element, clippingParent); - accRect.top = max(rect.top, accRect.top); - accRect.right = min(rect.right, accRect.right); - accRect.bottom = min(rect.bottom, accRect.bottom); - accRect.left = max(rect.left, accRect.left); - return accRect; - }, getClientRectFromMixedType(element, firstClippingParent)); - clippingRect.width = clippingRect.right - clippingRect.left; - clippingRect.height = clippingRect.bottom - clippingRect.top; - clippingRect.x = clippingRect.left; - clippingRect.y = clippingRect.top; - return clippingRect; -} - -function getVariation(placement) { - return placement.split('-')[1]; -} - -function computeOffsets(_ref) { - var reference = _ref.reference, - element = _ref.element, - placement = _ref.placement; - var basePlacement = placement ? getBasePlacement(placement) : null; - var variation = placement ? getVariation(placement) : null; - var commonX = reference.x + reference.width / 2 - element.width / 2; - var commonY = reference.y + reference.height / 2 - element.height / 2; - var offsets; - - switch (basePlacement) { - case top: - offsets = { - x: commonX, - y: reference.y - element.height - }; - break; - - case bottom: - offsets = { - x: commonX, - y: reference.y + reference.height - }; - break; - - case right: - offsets = { - x: reference.x + reference.width, - y: commonY - }; - break; - - case left: - offsets = { - x: reference.x - element.width, - y: commonY - }; - break; - - default: - offsets = { - x: reference.x, - y: reference.y - }; - } - - var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null; - - if (mainAxis != null) { - var len = mainAxis === 'y' ? 'height' : 'width'; - - switch (variation) { - case start: - offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2); - break; - - case end: - offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2); - break; - } - } - - return offsets; -} - -function detectOverflow(state, options) { - if (options === void 0) { - options = {}; - } - - var _options = options, - _options$placement = _options.placement, - placement = _options$placement === void 0 ? state.placement : _options$placement, - _options$boundary = _options.boundary, - boundary = _options$boundary === void 0 ? clippingParents : _options$boundary, - _options$rootBoundary = _options.rootBoundary, - rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary, - _options$elementConte = _options.elementContext, - elementContext = _options$elementConte === void 0 ? popper : _options$elementConte, - _options$altBoundary = _options.altBoundary, - altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, - _options$padding = _options.padding, - padding = _options$padding === void 0 ? 0 : _options$padding; - var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements)); - var altContext = elementContext === popper ? reference : popper; - var referenceElement = state.elements.reference; - var popperRect = state.rects.popper; - var element = state.elements[altBoundary ? altContext : elementContext]; - var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary); - var referenceClientRect = getBoundingClientRect(referenceElement); - var popperOffsets = computeOffsets({ - reference: referenceClientRect, - element: popperRect, - strategy: 'absolute', - placement: placement - }); - var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets)); - var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect - // 0 or negative = within the clipping rect - - var overflowOffsets = { - top: clippingClientRect.top - elementClientRect.top + paddingObject.top, - bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom, - left: clippingClientRect.left - elementClientRect.left + paddingObject.left, - right: elementClientRect.right - clippingClientRect.right + paddingObject.right - }; - var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element - - if (elementContext === popper && offsetData) { - var offset = offsetData[placement]; - Object.keys(overflowOffsets).forEach(function (key) { - var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1; - var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x'; - overflowOffsets[key] += offset[axis] * multiply; - }); - } - - return overflowOffsets; -} - -function computeAutoPlacement(state, options) { - if (options === void 0) { - options = {}; - } - - var _options = options, - placement = _options.placement, - boundary = _options.boundary, - rootBoundary = _options.rootBoundary, - padding = _options.padding, - flipVariations = _options.flipVariations, - _options$allowedAutoP = _options.allowedAutoPlacements, - allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP; - var variation = getVariation(placement); - var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) { - return getVariation(placement) === variation; - }) : basePlacements; - var allowedPlacements = placements$1.filter(function (placement) { - return allowedAutoPlacements.indexOf(placement) >= 0; - }); - - if (allowedPlacements.length === 0) { - allowedPlacements = placements$1; - - if (process.env.NODE_ENV !== "production") { - console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(' ')); - } - } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions... - - - var overflows = allowedPlacements.reduce(function (acc, placement) { - acc[placement] = detectOverflow(state, { - placement: placement, - boundary: boundary, - rootBoundary: rootBoundary, - padding: padding - })[getBasePlacement(placement)]; - return acc; - }, {}); - return Object.keys(overflows).sort(function (a, b) { - return overflows[a] - overflows[b]; - }); -} - -function getExpandedFallbackPlacements(placement) { - if (getBasePlacement(placement) === auto) { - return []; - } - - var oppositePlacement = getOppositePlacement(placement); - return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)]; -} - -function flip(_ref) { - var state = _ref.state, - options = _ref.options, - name = _ref.name; - - if (state.modifiersData[name]._skip) { - return; - } - - var _options$mainAxis = options.mainAxis, - checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, - _options$altAxis = options.altAxis, - checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis, - specifiedFallbackPlacements = options.fallbackPlacements, - padding = options.padding, - boundary = options.boundary, - rootBoundary = options.rootBoundary, - altBoundary = options.altBoundary, - _options$flipVariatio = options.flipVariations, - flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio, - allowedAutoPlacements = options.allowedAutoPlacements; - var preferredPlacement = state.options.placement; - var basePlacement = getBasePlacement(preferredPlacement); - var isBasePlacement = basePlacement === preferredPlacement; - var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement)); - var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) { - return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, { - placement: placement, - boundary: boundary, - rootBoundary: rootBoundary, - padding: padding, - flipVariations: flipVariations, - allowedAutoPlacements: allowedAutoPlacements - }) : placement); - }, []); - var referenceRect = state.rects.reference; - var popperRect = state.rects.popper; - var checksMap = new Map(); - var makeFallbackChecks = true; - var firstFittingPlacement = placements[0]; - - for (var i = 0; i < placements.length; i++) { - var placement = placements[i]; - - var _basePlacement = getBasePlacement(placement); - - var isStartVariation = getVariation(placement) === start; - var isVertical = [top, bottom].indexOf(_basePlacement) >= 0; - var len = isVertical ? 'width' : 'height'; - var overflow = detectOverflow(state, { - placement: placement, - boundary: boundary, - rootBoundary: rootBoundary, - altBoundary: altBoundary, - padding: padding - }); - var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top; - - if (referenceRect[len] > popperRect[len]) { - mainVariationSide = getOppositePlacement(mainVariationSide); - } - - var altVariationSide = getOppositePlacement(mainVariationSide); - var checks = []; - - if (checkMainAxis) { - checks.push(overflow[_basePlacement] <= 0); - } - - if (checkAltAxis) { - checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0); - } - - if (checks.every(function (check) { - return check; - })) { - firstFittingPlacement = placement; - makeFallbackChecks = false; - break; - } - - checksMap.set(placement, checks); - } - - if (makeFallbackChecks) { - // `2` may be desired in some cases – research later - var numberOfChecks = flipVariations ? 3 : 1; - - var _loop = function _loop(_i) { - var fittingPlacement = placements.find(function (placement) { - var checks = checksMap.get(placement); - - if (checks) { - return checks.slice(0, _i).every(function (check) { - return check; - }); - } - }); - - if (fittingPlacement) { - firstFittingPlacement = fittingPlacement; - return "break"; - } - }; - - for (var _i = numberOfChecks; _i > 0; _i--) { - var _ret = _loop(_i); - - if (_ret === "break") break; - } - } - - if (state.placement !== firstFittingPlacement) { - state.modifiersData[name]._skip = true; - state.placement = firstFittingPlacement; - state.reset = true; - } -} // eslint-disable-next-line import/no-unused-modules - - -var flip$1 = { - name: 'flip', - enabled: true, - phase: 'main', - fn: flip, - requiresIfExists: ['offset'], - data: { - _skip: false - } -}; - -function getSideOffsets(overflow, rect, preventedOffsets) { - if (preventedOffsets === void 0) { - preventedOffsets = { - x: 0, - y: 0 - }; - } - - return { - top: overflow.top - rect.height - preventedOffsets.y, - right: overflow.right - rect.width + preventedOffsets.x, - bottom: overflow.bottom - rect.height + preventedOffsets.y, - left: overflow.left - rect.width - preventedOffsets.x - }; -} - -function isAnySideFullyClipped(overflow) { - return [top, right, bottom, left].some(function (side) { - return overflow[side] >= 0; - }); -} - -function hide(_ref) { - var state = _ref.state, - name = _ref.name; - var referenceRect = state.rects.reference; - var popperRect = state.rects.popper; - var preventedOffsets = state.modifiersData.preventOverflow; - var referenceOverflow = detectOverflow(state, { - elementContext: 'reference' - }); - var popperAltOverflow = detectOverflow(state, { - altBoundary: true - }); - var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect); - var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets); - var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets); - var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets); - state.modifiersData[name] = { - referenceClippingOffsets: referenceClippingOffsets, - popperEscapeOffsets: popperEscapeOffsets, - isReferenceHidden: isReferenceHidden, - hasPopperEscaped: hasPopperEscaped - }; - state.attributes.popper = Object.assign({}, state.attributes.popper, { - 'data-popper-reference-hidden': isReferenceHidden, - 'data-popper-escaped': hasPopperEscaped - }); -} // eslint-disable-next-line import/no-unused-modules - - -var hide$1 = { - name: 'hide', - enabled: true, - phase: 'main', - requiresIfExists: ['preventOverflow'], - fn: hide -}; - -function distanceAndSkiddingToXY(placement, rects, offset) { - var basePlacement = getBasePlacement(placement); - var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1; - - var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, { - placement: placement - })) : offset, - skidding = _ref[0], - distance = _ref[1]; - - skidding = skidding || 0; - distance = (distance || 0) * invertDistance; - return [left, right].indexOf(basePlacement) >= 0 ? { - x: distance, - y: skidding - } : { - x: skidding, - y: distance - }; -} - -function offset(_ref2) { - var state = _ref2.state, - options = _ref2.options, - name = _ref2.name; - var _options$offset = options.offset, - offset = _options$offset === void 0 ? [0, 0] : _options$offset; - var data = placements.reduce(function (acc, placement) { - acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset); - return acc; - }, {}); - var _data$state$placement = data[state.placement], - x = _data$state$placement.x, - y = _data$state$placement.y; - - if (state.modifiersData.popperOffsets != null) { - state.modifiersData.popperOffsets.x += x; - state.modifiersData.popperOffsets.y += y; - } - - state.modifiersData[name] = data; -} // eslint-disable-next-line import/no-unused-modules - - -var offset$1 = { - name: 'offset', - enabled: true, - phase: 'main', - requires: ['popperOffsets'], - fn: offset -}; - -function popperOffsets(_ref) { - var state = _ref.state, - name = _ref.name; - // Offsets are the actual position the popper needs to have to be - // properly positioned near its reference element - // This is the most basic placement, and will be adjusted by - // the modifiers in the next step - state.modifiersData[name] = computeOffsets({ - reference: state.rects.reference, - element: state.rects.popper, - strategy: 'absolute', - placement: state.placement - }); -} // eslint-disable-next-line import/no-unused-modules - - -var popperOffsets$1 = { - name: 'popperOffsets', - enabled: true, - phase: 'read', - fn: popperOffsets, - data: {} -}; - -function getAltAxis(axis) { - return axis === 'x' ? 'y' : 'x'; -} - -function preventOverflow(_ref) { - var state = _ref.state, - options = _ref.options, - name = _ref.name; - var _options$mainAxis = options.mainAxis, - checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, - _options$altAxis = options.altAxis, - checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis, - boundary = options.boundary, - rootBoundary = options.rootBoundary, - altBoundary = options.altBoundary, - padding = options.padding, - _options$tether = options.tether, - tether = _options$tether === void 0 ? true : _options$tether, - _options$tetherOffset = options.tetherOffset, - tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset; - var overflow = detectOverflow(state, { - boundary: boundary, - rootBoundary: rootBoundary, - padding: padding, - altBoundary: altBoundary - }); - var basePlacement = getBasePlacement(state.placement); - var variation = getVariation(state.placement); - var isBasePlacement = !variation; - var mainAxis = getMainAxisFromPlacement(basePlacement); - var altAxis = getAltAxis(mainAxis); - var popperOffsets = state.modifiersData.popperOffsets; - var referenceRect = state.rects.reference; - var popperRect = state.rects.popper; - var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, { - placement: state.placement - })) : tetherOffset; - var data = { - x: 0, - y: 0 - }; - - if (!popperOffsets) { - return; - } - - if (checkMainAxis || checkAltAxis) { - var mainSide = mainAxis === 'y' ? top : left; - var altSide = mainAxis === 'y' ? bottom : right; - var len = mainAxis === 'y' ? 'height' : 'width'; - var offset = popperOffsets[mainAxis]; - var min$1 = popperOffsets[mainAxis] + overflow[mainSide]; - var max$1 = popperOffsets[mainAxis] - overflow[altSide]; - var additive = tether ? -popperRect[len] / 2 : 0; - var minLen = variation === start ? referenceRect[len] : popperRect[len]; - var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go - // outside the reference bounds - - var arrowElement = state.elements.arrow; - var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : { - width: 0, - height: 0 - }; - var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject(); - var arrowPaddingMin = arrowPaddingObject[mainSide]; - var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want - // to include its full size in the calculation. If the reference is small - // and near the edge of a boundary, the popper can overflow even if the - // reference is not overflowing as well (e.g. virtual elements with no - // width or height) - - var arrowLen = within(0, referenceRect[len], arrowRect[len]); - var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue; - var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue; - var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow); - var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0; - var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0; - var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset; - var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue; - - if (checkMainAxis) { - var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1); - popperOffsets[mainAxis] = preventedOffset; - data[mainAxis] = preventedOffset - offset; - } - - if (checkAltAxis) { - var _mainSide = mainAxis === 'x' ? top : left; - - var _altSide = mainAxis === 'x' ? bottom : right; - - var _offset = popperOffsets[altAxis]; - - var _min = _offset + overflow[_mainSide]; - - var _max = _offset - overflow[_altSide]; - - var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max); - - popperOffsets[altAxis] = _preventedOffset; - data[altAxis] = _preventedOffset - _offset; - } - } - - state.modifiersData[name] = data; -} // eslint-disable-next-line import/no-unused-modules - - -var preventOverflow$1 = { - name: 'preventOverflow', - enabled: true, - phase: 'main', - fn: preventOverflow, - requiresIfExists: ['offset'] -}; - -function getHTMLElementScroll(element) { - return { - scrollLeft: element.scrollLeft, - scrollTop: element.scrollTop - }; -} - -function getNodeScroll(node) { - if (node === getWindow(node) || !isHTMLElement(node)) { - return getWindowScroll(node); - } else { - return getHTMLElementScroll(node); - } -} - -// Composite means it takes into account transforms as well as layout. - -function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) { - if (isFixed === void 0) { - isFixed = false; - } - - var documentElement = getDocumentElement(offsetParent); - var rect = getBoundingClientRect(elementOrVirtualElement); - var isOffsetParentAnElement = isHTMLElement(offsetParent); - var scroll = { - scrollLeft: 0, - scrollTop: 0 - }; - var offsets = { - x: 0, - y: 0 - }; - - if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) { - if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078 - isScrollParent(documentElement)) { - scroll = getNodeScroll(offsetParent); - } - - if (isHTMLElement(offsetParent)) { - offsets = getBoundingClientRect(offsetParent); - offsets.x += offsetParent.clientLeft; - offsets.y += offsetParent.clientTop; - } else if (documentElement) { - offsets.x = getWindowScrollBarX(documentElement); - } - } - - return { - x: rect.left + scroll.scrollLeft - offsets.x, - y: rect.top + scroll.scrollTop - offsets.y, - width: rect.width, - height: rect.height - }; -} - -function order(modifiers) { - var map = new Map(); - var visited = new Set(); - var result = []; - modifiers.forEach(function (modifier) { - map.set(modifier.name, modifier); - }); // On visiting object, check for its dependencies and visit them recursively - - function sort(modifier) { - visited.add(modifier.name); - var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []); - requires.forEach(function (dep) { - if (!visited.has(dep)) { - var depModifier = map.get(dep); - - if (depModifier) { - sort(depModifier); - } - } - }); - result.push(modifier); - } - - modifiers.forEach(function (modifier) { - if (!visited.has(modifier.name)) { - // check for visited object - sort(modifier); - } - }); - return result; -} - -function orderModifiers(modifiers) { - // order based on dependencies - var orderedModifiers = order(modifiers); // order based on phase - - return modifierPhases.reduce(function (acc, phase) { - return acc.concat(orderedModifiers.filter(function (modifier) { - return modifier.phase === phase; - })); - }, []); -} - -function debounce(fn) { - var pending; - return function () { - if (!pending) { - pending = new Promise(function (resolve) { - Promise.resolve().then(function () { - pending = undefined; - resolve(fn()); - }); - }); - } - - return pending; - }; -} - -function format(str) { - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - return [].concat(args).reduce(function (p, c) { - return p.replace(/%s/, c); - }, str); -} - -var INVALID_MODIFIER_ERROR = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s'; -var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available'; -var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options']; -function validateModifiers(modifiers) { - modifiers.forEach(function (modifier) { - Object.keys(modifier).forEach(function (key) { - switch (key) { - case 'name': - if (typeof modifier.name !== 'string') { - console.error(format(INVALID_MODIFIER_ERROR, String(modifier.name), '"name"', '"string"', "\"" + String(modifier.name) + "\"")); - } - - break; - - case 'enabled': - if (typeof modifier.enabled !== 'boolean') { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\"")); - } - - case 'phase': - if (modifierPhases.indexOf(modifier.phase) < 0) { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\"")); - } - - break; - - case 'fn': - if (typeof modifier.fn !== 'function') { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"fn"', '"function"', "\"" + String(modifier.fn) + "\"")); - } - - break; - - case 'effect': - if (typeof modifier.effect !== 'function') { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\"")); - } - - break; - - case 'requires': - if (!Array.isArray(modifier.requires)) { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\"")); - } - - break; - - case 'requiresIfExists': - if (!Array.isArray(modifier.requiresIfExists)) { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requiresIfExists"', '"array"', "\"" + String(modifier.requiresIfExists) + "\"")); - } - - break; - - case 'options': - case 'data': - break; - - default: - console.error("PopperJS: an invalid property has been provided to the \"" + modifier.name + "\" modifier, valid properties are " + VALID_PROPERTIES.map(function (s) { - return "\"" + s + "\""; - }).join(', ') + "; but \"" + key + "\" was provided."); - } - - modifier.requires && modifier.requires.forEach(function (requirement) { - if (modifiers.find(function (mod) { - return mod.name === requirement; - }) == null) { - console.error(format(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement)); - } - }); - }); - }); -} - -function uniqueBy(arr, fn) { - var identifiers = new Set(); - return arr.filter(function (item) { - var identifier = fn(item); - - if (!identifiers.has(identifier)) { - identifiers.add(identifier); - return true; - } - }); -} - -function mergeByName(modifiers) { - var merged = modifiers.reduce(function (merged, current) { - var existing = merged[current.name]; - merged[current.name] = existing ? Object.assign({}, existing, current, { - options: Object.assign({}, existing.options, current.options), - data: Object.assign({}, existing.data, current.data) - }) : current; - return merged; - }, {}); // IE11 does not support Object.values - - return Object.keys(merged).map(function (key) { - return merged[key]; - }); -} - -var INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.'; -var INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.'; -var DEFAULT_OPTIONS = { - placement: 'bottom', - modifiers: [], - strategy: 'absolute' -}; - -function areValidElements() { - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - return !args.some(function (element) { - return !(element && typeof element.getBoundingClientRect === 'function'); - }); -} - -function popperGenerator(generatorOptions) { - if (generatorOptions === void 0) { - generatorOptions = {}; - } - - var _generatorOptions = generatorOptions, - _generatorOptions$def = _generatorOptions.defaultModifiers, - defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def, - _generatorOptions$def2 = _generatorOptions.defaultOptions, - defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2; - return function createPopper(reference, popper, options) { - if (options === void 0) { - options = defaultOptions; - } - - var state = { - placement: 'bottom', - orderedModifiers: [], - options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions), - modifiersData: {}, - elements: { - reference: reference, - popper: popper - }, - attributes: {}, - styles: {} - }; - var effectCleanupFns = []; - var isDestroyed = false; - var instance = { - state: state, - setOptions: function setOptions(options) { - cleanupModifierEffects(); - state.options = Object.assign({}, defaultOptions, state.options, options); - state.scrollParents = { - reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [], - popper: listScrollParents(popper) - }; // Orders the modifiers based on their dependencies and `phase` - // properties - - var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers - - state.orderedModifiers = orderedModifiers.filter(function (m) { - return m.enabled; - }); // Validate the provided modifiers so that the consumer will get warned - // if one of the modifiers is invalid for any reason - - if (process.env.NODE_ENV !== "production") { - var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) { - var name = _ref.name; - return name; - }); - validateModifiers(modifiers); - - if (getBasePlacement(state.options.placement) === auto) { - var flipModifier = state.orderedModifiers.find(function (_ref2) { - var name = _ref2.name; - return name === 'flip'; - }); - - if (!flipModifier) { - console.error(['Popper: "auto" placements require the "flip" modifier be', 'present and enabled to work.'].join(' ')); - } - } - - var _getComputedStyle = getComputedStyle$1(popper), - marginTop = _getComputedStyle.marginTop, - marginRight = _getComputedStyle.marginRight, - marginBottom = _getComputedStyle.marginBottom, - marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can - // cause bugs with positioning, so we'll warn the consumer - - - if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) { - return parseFloat(margin); - })) { - console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' ')); - } - } - - runModifierEffects(); - return instance.update(); - }, - // Sync update – it will always be executed, even if not necessary. This - // is useful for low frequency updates where sync behavior simplifies the - // logic. - // For high frequency updates (e.g. `resize` and `scroll` events), always - // prefer the async Popper#update method - forceUpdate: function forceUpdate() { - if (isDestroyed) { - return; - } - - var _state$elements = state.elements, - reference = _state$elements.reference, - popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements - // anymore - - if (!areValidElements(reference, popper)) { - if (process.env.NODE_ENV !== "production") { - console.error(INVALID_ELEMENT_ERROR); - } - - return; - } // Store the reference and popper rects to be read by modifiers - - - state.rects = { - reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'), - popper: getLayoutRect(popper) - }; // Modifiers have the ability to reset the current update cycle. The - // most common use case for this is the `flip` modifier changing the - // placement, which then needs to re-run all the modifiers, because the - // logic was previously ran for the previous placement and is therefore - // stale/incorrect - - state.reset = false; - state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier - // is filled with the initial data specified by the modifier. This means - // it doesn't persist and is fresh on each update. - // To ensure persistent data, use `${name}#persistent` - - state.orderedModifiers.forEach(function (modifier) { - return state.modifiersData[modifier.name] = Object.assign({}, modifier.data); - }); - var __debug_loops__ = 0; - - for (var index = 0; index < state.orderedModifiers.length; index++) { - if (process.env.NODE_ENV !== "production") { - __debug_loops__ += 1; - - if (__debug_loops__ > 100) { - console.error(INFINITE_LOOP_ERROR); - break; - } - } - - if (state.reset === true) { - state.reset = false; - index = -1; - continue; - } - - var _state$orderedModifie = state.orderedModifiers[index], - fn = _state$orderedModifie.fn, - _state$orderedModifie2 = _state$orderedModifie.options, - _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, - name = _state$orderedModifie.name; - - if (typeof fn === 'function') { - state = fn({ - state: state, - options: _options, - name: name, - instance: instance - }) || state; - } - } - }, - // Async and optimistically optimized update – it will not be executed if - // not necessary (debounced to run at most once-per-tick) - update: debounce(function () { - return new Promise(function (resolve) { - instance.forceUpdate(); - resolve(state); - }); - }), - destroy: function destroy() { - cleanupModifierEffects(); - isDestroyed = true; - } - }; - - if (!areValidElements(reference, popper)) { - if (process.env.NODE_ENV !== "production") { - console.error(INVALID_ELEMENT_ERROR); - } - - return instance; - } - - instance.setOptions(options).then(function (state) { - if (!isDestroyed && options.onFirstUpdate) { - options.onFirstUpdate(state); - } - }); // Modifiers have the ability to execute arbitrary code before the first - // update cycle runs. They will be executed in the same order as the update - // cycle. This is useful when a modifier adds some persistent data that - // other modifiers need to use, but the modifier is run after the dependent - // one. - - function runModifierEffects() { - state.orderedModifiers.forEach(function (_ref3) { - var name = _ref3.name, - _ref3$options = _ref3.options, - options = _ref3$options === void 0 ? {} : _ref3$options, - effect = _ref3.effect; - - if (typeof effect === 'function') { - var cleanupFn = effect({ - state: state, - name: name, - instance: instance, - options: options - }); - - var noopFn = function noopFn() {}; - - effectCleanupFns.push(cleanupFn || noopFn); - } - }); - } - - function cleanupModifierEffects() { - effectCleanupFns.forEach(function (fn) { - return fn(); - }); - effectCleanupFns = []; - } - - return instance; - }; -} - -var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1]; -var createPopper = /*#__PURE__*/popperGenerator({ - defaultModifiers: defaultModifiers -}); // eslint-disable-next-line import/no-unused-modules - -/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */ - -var hasElementType = typeof Element !== 'undefined'; -var hasMap = typeof Map === 'function'; -var hasSet = typeof Set === 'function'; -var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView; - -// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js - -function equal(a, b) { - // START: fast-deep-equal es6/index.js 3.1.1 - if (a === b) return true; - - if (a && b && typeof a == 'object' && typeof b == 'object') { - if (a.constructor !== b.constructor) return false; - - var length, i, keys; - if (Array.isArray(a)) { - length = a.length; - if (length != b.length) return false; - for (i = length; i-- !== 0;) - if (!equal(a[i], b[i])) return false; - return true; - } - - // START: Modifications: - // 1. Extra `has &&` helpers in initial condition allow es6 code - // to co-exist with es5. - // 2. Replace `for of` with es5 compliant iteration using `for`. - // Basically, take: - // - // ```js - // for (i of a.entries()) - // if (!b.has(i[0])) return false; - // ``` - // - // ... and convert to: - // - // ```js - // it = a.entries(); - // while (!(i = it.next()).done) - // if (!b.has(i.value[0])) return false; - // ``` - // - // **Note**: `i` access switches to `i.value`. - var it; - if (hasMap && (a instanceof Map) && (b instanceof Map)) { - if (a.size !== b.size) return false; - it = a.entries(); - while (!(i = it.next()).done) - if (!b.has(i.value[0])) return false; - it = a.entries(); - while (!(i = it.next()).done) - if (!equal(i.value[1], b.get(i.value[0]))) return false; - return true; - } - - if (hasSet && (a instanceof Set) && (b instanceof Set)) { - if (a.size !== b.size) return false; - it = a.entries(); - while (!(i = it.next()).done) - if (!b.has(i.value[0])) return false; - return true; - } - // END: Modifications - - if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) { - length = a.length; - if (length != b.length) return false; - for (i = length; i-- !== 0;) - if (a[i] !== b[i]) return false; - return true; - } - - if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags; - if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf(); - if (a.toString !== Object.prototype.toString) return a.toString() === b.toString(); - - keys = Object.keys(a); - length = keys.length; - if (length !== Object.keys(b).length) return false; - - for (i = length; i-- !== 0;) - if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false; - // END: fast-deep-equal - - // START: react-fast-compare - // custom handling for DOM elements - if (hasElementType && a instanceof Element) return false; - - // custom handling for React/Preact - for (i = length; i-- !== 0;) { - if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) { - // React-specific: avoid traversing React elements' _owner - // Preact-specific: avoid traversing Preact elements' __v and __o - // __v = $_original / $_vnode - // __o = $_owner - // These properties contain circular references and are not needed when - // comparing the actual elements (and not their owners) - // .$$typeof and ._store on just reasonable markers of elements - - continue; - } - - // all other properties should be traversed as usual - if (!equal(a[keys[i]], b[keys[i]])) return false; - } - // END: react-fast-compare - - // START: fast-deep-equal - return true; - } - - return a !== a && b !== b; -} -// end fast-deep-equal - -var reactFastCompare = function isEqual(a, b) { - try { - return equal(a, b); - } catch (error) { - if (((error.message || '').match(/stack|recursion/i))) { - // warn on circular references, don't crash - // browsers give this different errors name and messages: - // chrome/safari: "RangeError", "Maximum call stack size exceeded" - // firefox: "InternalError", too much recursion" - // edge: "Error", "Out of stack space" - console.warn('react-fast-compare cannot handle circular refs'); - return false; - } - // some other error. we should definitely know about these - throw error; - } -}; - -var EMPTY_MODIFIERS$1 = []; -var usePopper = function usePopper(referenceElement, popperElement, options) { - if (options === void 0) { - options = {}; - } - - var prevOptions = React.useRef(null); - var optionsWithDefaults = { - onFirstUpdate: options.onFirstUpdate, - placement: options.placement || 'bottom', - strategy: options.strategy || 'absolute', - modifiers: options.modifiers || EMPTY_MODIFIERS$1 - }; - - var _React$useState = React.useState({ - styles: { - popper: { - position: optionsWithDefaults.strategy, - left: '0', - top: '0' - }, - arrow: { - position: 'absolute' - } - }, - attributes: {} - }), - state = _React$useState[0], - setState = _React$useState[1]; - - var updateStateModifier = React.useMemo(function () { - return { - name: 'updateState', - enabled: true, - phase: 'write', - fn: function fn(_ref) { - var state = _ref.state; - var elements = Object.keys(state.elements); - setState({ - styles: fromEntries(elements.map(function (element) { - return [element, state.styles[element] || {}]; - })), - attributes: fromEntries(elements.map(function (element) { - return [element, state.attributes[element]]; - })) - }); - }, - requires: ['computeStyles'] - }; - }, []); - var popperOptions = React.useMemo(function () { - var newOptions = { - onFirstUpdate: optionsWithDefaults.onFirstUpdate, - placement: optionsWithDefaults.placement, - strategy: optionsWithDefaults.strategy, - modifiers: [].concat(optionsWithDefaults.modifiers, [updateStateModifier, { - name: 'applyStyles', - enabled: false - }]) - }; - - if (reactFastCompare(prevOptions.current, newOptions)) { - return prevOptions.current || newOptions; - } else { - prevOptions.current = newOptions; - return newOptions; - } - }, [optionsWithDefaults.onFirstUpdate, optionsWithDefaults.placement, optionsWithDefaults.strategy, optionsWithDefaults.modifiers, updateStateModifier]); - var popperInstanceRef = React.useRef(); - useIsomorphicLayoutEffect(function () { - if (popperInstanceRef.current) { - popperInstanceRef.current.setOptions(popperOptions); - } - }, [popperOptions]); - useIsomorphicLayoutEffect(function () { - if (referenceElement == null || popperElement == null) { - return; - } - - var createPopper$1 = options.createPopper || createPopper; - var popperInstance = createPopper$1(referenceElement, popperElement, popperOptions); - popperInstanceRef.current = popperInstance; - return function () { - popperInstance.destroy(); - popperInstanceRef.current = null; - }; - }, [referenceElement, popperElement, options.createPopper]); - return { - state: popperInstanceRef.current ? popperInstanceRef.current.state : null, - styles: state.styles, - attributes: state.attributes, - update: popperInstanceRef.current ? popperInstanceRef.current.update : null, - forceUpdate: popperInstanceRef.current ? popperInstanceRef.current.forceUpdate : null - }; -}; - -var NOOP = function NOOP() { - return void 0; -}; - -var NOOP_PROMISE = function NOOP_PROMISE() { - return Promise.resolve(null); -}; - -var EMPTY_MODIFIERS = []; -function Popper(_ref) { - var _ref$placement = _ref.placement, - placement = _ref$placement === void 0 ? 'bottom' : _ref$placement, - _ref$strategy = _ref.strategy, - strategy = _ref$strategy === void 0 ? 'absolute' : _ref$strategy, - _ref$modifiers = _ref.modifiers, - modifiers = _ref$modifiers === void 0 ? EMPTY_MODIFIERS : _ref$modifiers, - referenceElement = _ref.referenceElement, - onFirstUpdate = _ref.onFirstUpdate, - innerRef = _ref.innerRef, - children = _ref.children; - var referenceNode = React.useContext(ManagerReferenceNodeContext); - - var _React$useState = React.useState(null), - popperElement = _React$useState[0], - setPopperElement = _React$useState[1]; - - var _React$useState2 = React.useState(null), - arrowElement = _React$useState2[0], - setArrowElement = _React$useState2[1]; - - React.useEffect(function () { - setRef(innerRef, popperElement); - }, [innerRef, popperElement]); - var options = React.useMemo(function () { - return { - placement: placement, - strategy: strategy, - onFirstUpdate: onFirstUpdate, - modifiers: [].concat(modifiers, [{ - name: 'arrow', - enabled: arrowElement != null, - options: { - element: arrowElement - } - }]) - }; - }, [placement, strategy, onFirstUpdate, modifiers, arrowElement]); - - var _usePopper = usePopper(referenceElement || referenceNode, popperElement, options), - state = _usePopper.state, - styles = _usePopper.styles, - forceUpdate = _usePopper.forceUpdate, - update = _usePopper.update; - - var childrenProps = React.useMemo(function () { - return { - ref: setPopperElement, - style: styles.popper, - placement: state ? state.placement : placement, - hasPopperEscaped: state && state.modifiersData.hide ? state.modifiersData.hide.hasPopperEscaped : null, - isReferenceHidden: state && state.modifiersData.hide ? state.modifiersData.hide.isReferenceHidden : null, - arrowProps: { - style: styles.arrow, - ref: setArrowElement - }, - forceUpdate: forceUpdate || NOOP, - update: update || NOOP_PROMISE - }; - }, [setPopperElement, setArrowElement, placement, state, styles, update, forceUpdate]); - return unwrapArray(children)(childrenProps); -} - -/** - * 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. - */ - -/** - * Similar to invariant but only logs a warning if the condition is not met. - * This can be used to log issues in development environments in critical - * paths. Removing the logging code for production environments will keep the - * same logic and follow the same code paths. - */ - -var __DEV__ = process.env.NODE_ENV !== 'production'; - -var warning = function() {}; - -if (__DEV__) { - var printWarning = function printWarning(format, args) { - var len = arguments.length; - args = new Array(len > 1 ? len - 1 : 0); - for (var key = 1; key < len; key++) { - args[key - 1] = arguments[key]; - } - var argIndex = 0; - var message = 'Warning: ' + - format.replace(/%s/g, function() { - return args[argIndex++]; - }); - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; - - warning = function(condition, format, args) { - var len = arguments.length; - args = new Array(len > 2 ? len - 2 : 0); - for (var key = 2; key < len; key++) { - args[key - 2] = arguments[key]; - } - if (format === undefined) { - throw new Error( - '`warning(condition, format, ...args)` requires a warning ' + - 'message argument' - ); - } - if (!condition) { - printWarning.apply(null, [format].concat(args)); - } - }; -} - -var warning_1 = warning; - -function Reference(_ref) { - var children = _ref.children, - innerRef = _ref.innerRef; - var setReferenceNode = React.useContext(ManagerReferenceNodeSetterContext); - var refHandler = React.useCallback(function (node) { - setRef(innerRef, node); - safeInvoke(setReferenceNode, node); - }, [innerRef, setReferenceNode]); // ran on unmount - - React.useEffect(function () { - return function () { - return setRef(innerRef, null); - }; - }); - React.useEffect(function () { - warning_1(Boolean(setReferenceNode), '`Reference` should not be used outside of a `Manager` component.'); - }, [setReferenceNode]); - return unwrapArray(children)({ - ref: refHandler - }); -} - -var CDropdownContext = createContext({}); -var CDropdown = forwardRef(function (_a, ref) { - var children = _a.children, alignment = _a.alignment, className = _a.className, dark = _a.dark, direction = _a.direction, _b = _a.placement, placement = _b === void 0 ? 'bottom-start' : _b, _c = _a.popper, popper = _c === void 0 ? true : _c, _d = _a.variant, variant = _d === void 0 ? 'btn-group' : _d, _e = _a.component, component = _e === void 0 ? 'div' : _e, _f = _a.visible, visible = _f === void 0 ? false : _f, rest = __rest(_a, ["children", "alignment", "className", "dark", "direction", "placement", "popper", "variant", "component", "visible"]); - var _g = useState(visible), _visible = _g[0], setVisible = _g[1]; - var dropdownRef = useRef(null); - var forkedRef = useForkedRef(ref, dropdownRef); - var Component = variant === 'nav-item' ? 'li' : component; - // Disable popper if responsive aligment is set. - if (typeof alignment === 'object') { - popper = false; - } - var contextValues = { - alignment: alignment, - dark: dark, - direction: direction, - placement: placement, - popper: popper, - variant: variant, - visible: _visible, - setVisible: setVisible, - }; - var _className = classNames(variant === 'nav-item' ? 'nav-item dropdown' : variant, { - show: _visible, - }, direction, className); - useEffect(function () { - window.addEventListener('click', handleClickOutside); - window.addEventListener('keyup', handleKeyup); - return function () { - window.removeEventListener('click', handleClickOutside); - window.removeEventListener('keyup', handleKeyup); - }; - }); - useEffect(function () { - setVisible(visible); - }, [visible]); - var handleKeyup = function (event) { - if (dropdownRef.current && !dropdownRef.current.contains(event.target)) { - setVisible(false); - } - }; - var handleClickOutside = function (event) { - if (dropdownRef.current && !dropdownRef.current.contains(event.target)) { - setVisible(false); - } - }; - return popper ? (React__default.createElement(CDropdownContext.Provider, { value: contextValues }, - React__default.createElement(Manager, null, variant === 'input-group' ? (React__default.createElement(React__default.Fragment, null, children)) : (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: forkedRef }), children))))) : (React__default.createElement(CDropdownContext.Provider, { value: contextValues }, - React__default.createElement(Component, __assign({ className: _className }, rest, { ref: forkedRef }), children))); -}); -var alignmentDirection = PropTypes.oneOf(['start', 'end']); -CDropdown.propTypes = { - // @ts-expect-error TODO: we have to find a solution - alignment: PropTypes.oneOfType([ - alignmentDirection, - PropTypes.shape({ xs: alignmentDirection }), - PropTypes.shape({ sm: alignmentDirection }), - PropTypes.shape({ md: alignmentDirection }), - PropTypes.shape({ lg: alignmentDirection }), - PropTypes.shape({ xl: alignmentDirection }), - PropTypes.shape({ xxl: alignmentDirection }), - ]), - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - dark: PropTypes.bool, - direction: PropTypes.oneOf(['dropup', 'dropend', 'dropstart']), - placement: placementPropType, - popper: PropTypes.bool, - variant: PropTypes.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']), - visible: PropTypes.bool, -}; -CDropdown.displayName = 'CDropdown'; - -var CDropdownDivider = forwardRef(function (_a, ref) { - var className = _a.className, rest = __rest(_a, ["className"]); - var _className = classNames('dropdown-divider', className); - return React__default.createElement("hr", __assign({ className: _className }, rest, { ref: ref })); -}); -CDropdownDivider.propTypes = { - className: PropTypes.string, -}; -CDropdownDivider.displayName = 'CDropdownDivider'; - -var CDropdownHeader = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'h6' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('dropdown-header', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CDropdownHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CDropdownHeader.displayName = 'CDropdownHeader'; - -var CDropdownItem = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, component = _b === void 0 ? 'a' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('dropdown-item', className); - return (React__default.createElement(CLink, __assign({ component: component }, rest, { className: _className, ref: ref }), children)); -}); -CDropdownItem.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CDropdownItem.displayName = 'CDropdownItem'; - -var CDropdownItemPlain = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'span' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('dropdown-item-text', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CDropdownItemPlain.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CDropdownItemPlain.displayName = 'CDropdownItemPlain'; - -var CDropdownMenu = function (_a) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'ul' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _c = useContext(CDropdownContext), alignment = _c.alignment, dark = _c.dark, direction = _c.direction, placement = _c.placement, popper = _c.popper, visible = _c.visible; - var _placement = placement; - if (direction === 'dropup') { - _placement = 'top-start'; - } - if (direction === 'dropend') { - _placement = 'right-start'; - } - if (direction === 'dropstart') { - _placement = 'left-start'; - } - if (alignment === 'end') { - _placement = 'bottom-end'; - } - var alignmentClassNames = function (alignment) { - var classNames = []; - if (typeof alignment === 'object') { - Object.keys(alignment).map(function (key) { - classNames.push("dropdown-menu" + (key === 'xs' ? '' : "-" + key) + "-" + alignment[key]); - }); - } - if (typeof alignment === 'string') { - classNames.push("dropdown-menu-" + alignment); - } - return classNames; - }; - var _className = classNames('dropdown-menu', { - 'dropdown-menu-dark': dark, - show: visible, - }, alignment && alignmentClassNames(alignment), className); - var dropdownMenuComponent = function (style, ref) { - return (React__default.createElement(Component, __assign({ className: _className, ref: ref, style: style, role: "menu", "aria-hidden": !visible }, (!popper && { 'data-coreui-popper': 'static' }), rest), Component === 'ul' - ? React__default.Children.map(children, function (child, index) { - if (React__default.isValidElement(child)) { - return React__default.createElement("li", { key: index }, React__default.cloneElement(child)); - } - return; - }) - : children)); - }; - return popper && visible ? (React__default.createElement(Popper, { placement: _placement }, function (_a) { - var ref = _a.ref, style = _a.style; - return dropdownMenuComponent(style, ref); - })) : (dropdownMenuComponent()); -}; -CDropdownMenu.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CDropdownMenu.displayName = 'CDropdownMenu'; - -var CDropdownToggle = function (_a) { - var children = _a.children, _b = _a.caret, caret = _b === void 0 ? true : _b, className = _a.className, split = _a.split, _c = _a.trigger, trigger = _c === void 0 ? 'click' : _c, rest = __rest(_a, ["children", "caret", "className", "split", "trigger"]); - var _d = useContext(CDropdownContext), popper = _d.popper, variant = _d.variant, visible = _d.visible, setVisible = _d.setVisible; - var _className = classNames({ - 'dropdown-toggle': caret, - 'dropdown-toggle-split': split, - 'nav-link': variant === 'nav-item', - }, className); - var triggers = __assign(__assign({}, ((trigger === 'click' || trigger.includes('click')) && { - onClick: function (event) { - event.preventDefault(); - setVisible(!visible); - }, - })), ((trigger === 'focus' || trigger.includes('focus')) && { - onFocus: function () { return setVisible(true); }, - onBlur: function () { return setVisible(false); }, - })); - var togglerProps = __assign({ className: _className, 'aria-expanded': visible }, triggers); - // We use any because Toggler can be `a` as well as `button`. - // eslint-disable-next-line @typescript-eslint/no-explicit-any - var Toggler = function (ref) { - return variant === 'nav-item' ? (React__default.createElement("a", __assign({ href: "#" }, togglerProps, { ref: ref }), children)) : (React__default.createElement(CButton, __assign({}, togglerProps, { tabIndex: 0 }, rest, { ref: ref }), - children, - split && React__default.createElement("span", { className: "visually-hidden" }, "Toggle Dropdown"))); - }; - return popper ? React__default.createElement(Reference, null, function (_a) { - var ref = _a.ref; - return Toggler(ref); - }) : Toggler(); -}; -CDropdownToggle.propTypes = { - caret: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - split: PropTypes.bool, - trigger: triggerPropType, -}; -CDropdownToggle.displayName = 'CDropdownToggle'; - -var BREAKPOINTS$2 = [ - 'xxl', - 'xl', - 'lg', - 'md', - 'sm', - 'xs', -]; -var CCol = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var repsonsiveCLassNames = []; - BREAKPOINTS$2.forEach(function (bp) { - var breakpoint = rest[bp]; - delete rest[bp]; - var infix = bp === 'xs' ? '' : "-" + bp; - if (typeof breakpoint === 'number' || typeof breakpoint === 'string') { - repsonsiveCLassNames.push("col" + infix + "-" + breakpoint); - } - if (typeof breakpoint === 'boolean') { - repsonsiveCLassNames.push("col" + infix); - } - if (breakpoint && typeof breakpoint === 'object') { - if (typeof breakpoint.span === 'number' || typeof breakpoint.span === 'string') { - repsonsiveCLassNames.push("col" + infix + "-" + breakpoint.span); - } - if (typeof breakpoint.span === 'boolean') { - repsonsiveCLassNames.push("col" + infix); - } - if (typeof breakpoint.order === 'number' || typeof breakpoint.order === 'string') { - repsonsiveCLassNames.push("order" + infix + "-" + breakpoint.order); - } - if (typeof breakpoint.offset === 'number') { - repsonsiveCLassNames.push("offset" + infix + "-" + breakpoint.offset); - } - } - }); - var _className = classNames(repsonsiveCLassNames.length ? repsonsiveCLassNames : 'col', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -var span = PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.number, - PropTypes.string, - PropTypes.oneOf(['auto']), -]); -var col = PropTypes.oneOfType([ - span, - PropTypes.shape({ - span: span, - offset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), - order: PropTypes.oneOfType([ - PropTypes.oneOf(['first', 'last']), - PropTypes.number, - PropTypes.string, - ]), - }), -]); -CCol.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - xs: col, - sm: col, -}; -CCol.displayName = 'CCol'; - -var BREAKPOINTS$1 = [ - 'xxl', - 'xl', - 'lg', - 'md', - 'sm', - 'fluid', -]; -var CContainer = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var repsonsiveCLassNames = []; - BREAKPOINTS$1.forEach(function (bp) { - var breakpoint = rest[bp]; - delete rest[bp]; - breakpoint && repsonsiveCLassNames.push("container-" + bp); - }); - var _className = classNames(repsonsiveCLassNames.length ? repsonsiveCLassNames : 'container', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CContainer.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - sm: PropTypes.bool, - md: PropTypes.bool, - lg: PropTypes.bool, - xl: PropTypes.bool, - xxl: PropTypes.bool, - fluid: PropTypes.bool, -}; -CContainer.displayName = 'CContainer'; - -var BREAKPOINTS = [ - 'xxl', - 'xl', - 'lg', - 'md', - 'sm', - 'xs', -]; -var CRow = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var repsonsiveCLassNames = []; - BREAKPOINTS.forEach(function (bp) { - var breakpoint = rest[bp]; - delete rest[bp]; - var infix = bp === 'xs' ? '' : "-" + bp; - if (typeof breakpoint === 'object') { - if (breakpoint.cols) { - repsonsiveCLassNames.push("row-cols" + infix + "-" + breakpoint.cols); - } - if (typeof breakpoint.gutter === 'number') { - repsonsiveCLassNames.push("g" + infix + "-" + breakpoint.gutter); - } - if (typeof breakpoint.gutterX === 'number') { - repsonsiveCLassNames.push("gx" + infix + "-" + breakpoint.gutterX); - } - if (typeof breakpoint.gutterY === 'number') { - repsonsiveCLassNames.push("gy" + infix + "-" + breakpoint.gutterY); - } - } - }); - var _className = classNames('row', repsonsiveCLassNames, className); - return (React__default.createElement("div", { className: _className, ref: ref }, children)); -}); -var bp = PropTypes.shape({ - cols: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.string]), - gutter: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - gutterX: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - gutterY: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}); -CRow.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - xs: bp, - sm: bp, - md: bp, - lg: bp, - xl: bp, - xxl: bp, -}; -CRow.displayName = 'CRow'; - -var CFooter = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, position = _a.position, rest = __rest(_a, ["children", "className", "position"]); - var _className = classNames('footer', (_b = {}, _b["footer-" + position] = position, _b), className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CFooter.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - position: PropTypes.oneOf(['fixed', 'sticky']), -}; -CFooter.displayName = 'CFooter'; - -var CForm = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, validated = _a.validated, rest = __rest(_a, ["children", "className", "validated"]); - var _className = classNames({ 'was-validated': validated }, className); - return (React__default.createElement("form", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CForm.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - validated: PropTypes.bool, -}; -CForm.displayName = 'CForm'; - -var CFormControl = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, classNameParent = _a.classNameParent, _c = _a.component, Component = _c === void 0 ? 'input' : _c, invalid = _a.invalid, plainText = _a.plainText, size = _a.size, _d = _a.type, type = _d === void 0 ? 'text' : _d, valid = _a.valid, rest = __rest(_a, ["children", "className", "classNameParent", "component", "invalid", "plainText", "size", "type", "valid"]); - var _className = classNameParent - ? classNameParent - : classNames(plainText ? 'form-control-plaintext' : 'form-control', (_b = { - 'form-control-color': type === 'color', - 'form-range': type === 'range' - }, - _b["form-control-" + size] = size, - _b['is-invalid'] = invalid, - _b['is-valid'] = valid, - _b), className); - return (React__default.createElement(Component, __assign({}, (Component === 'input' && { type: type }), { className: _className }, rest, { ref: ref }), children)); -}); -CFormControl.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - classNameParent: PropTypes.string, - component: PropTypes.elementType, - invalid: PropTypes.bool, - plainText: PropTypes.bool, - size: PropTypes.oneOf(['sm', 'lg']), - type: PropTypes.oneOfType([PropTypes.oneOf(['color', 'file', 'text']), PropTypes.string]), - valid: PropTypes.bool, -}; -CFormControl.displayName = 'CFormControl'; - -var CFormLabel = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, classNameParent = _a.classNameParent, rest = __rest(_a, ["children", "className", "classNameParent"]); - var _className = classNameParent ? classNameParent : classNames('form-label', className); - return (React__default.createElement("label", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CFormLabel.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - classNameParent: PropTypes.string, -}; -CFormLabel.displayName = 'CFormLabel'; - -var CFormCheck = forwardRef(function (_a, ref) { - var _b, _c; - var className = _a.className, button = _a.button, _d = _a.buttonColor, buttonColor = _d === void 0 ? 'primary' : _d, buttonSize = _a.buttonSize, buttonShape = _a.buttonShape, buttonVariant = _a.buttonVariant, id = _a.id, inline = _a.inline, invalid = _a.invalid, label = _a.label, size = _a.size, _switch = _a.switch, _e = _a.type, type = _e === void 0 ? 'checkbox' : _e, valid = _a.valid, rest = __rest(_a, ["className", "button", "buttonColor", "buttonSize", "buttonShape", "buttonVariant", "id", "inline", "invalid", "label", "size", "switch", "type", "valid"]); - var _className = classNames('form-check', (_b = { - 'form-switch': _switch - }, - _b["form-switch-" + size] = size, - _b['form-check-inline'] = inline, - _b['is-invalid'] = invalid, - _b['is-valid'] = valid, - _b), className); - var inputClassName = classNames(button ? 'btn-check' : 'form-check-input', { - 'is-invalid': invalid, - 'is-valid': valid, - }); - var labelClassName = classNames(button - ? classNames('btn', buttonVariant ? "btn-" + buttonVariant + "-" + buttonColor : "btn-" + buttonColor, (_c = {}, - _c["btn-" + buttonSize] = buttonSize, - _c.buttonShape = buttonShape, - _c)) - : 'form-check-label'); - var formControl = function () { - return (React__default.createElement(CFormControl, __assign({ type: type, classNameParent: inputClassName, id: id }, rest, { ref: ref }))); - }; - var formLabel = function () { - return (React__default.createElement(CFormLabel, __assign({ classNameParent: labelClassName }, (id && { htmlFor: id })), label)); - }; - return _switch ? (React__default.createElement("div", { className: _className }, - formControl(), - label && formLabel())) : button ? (React__default.createElement(React__default.Fragment, null, - formControl(), - label && formLabel())) : label ? (React__default.createElement("div", { className: _className }, - formControl(), - formLabel())) : (formControl()); -}); -CFormCheck.propTypes = { - button: PropTypes.bool, - buttonColor: colorPropType, - buttonShape: shapePropType, - buttonSize: PropTypes.oneOf(['sm', 'lg']), - buttonVariant: PropTypes.oneOf(['outline', 'ghost']), - className: PropTypes.string, - id: PropTypes.string, - inline: PropTypes.bool, - invalid: PropTypes.bool, - label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - size: PropTypes.oneOf(['lg', 'xl']), - switch: PropTypes.bool, - type: PropTypes.oneOf(['checkbox', 'radio']), - valid: PropTypes.bool, -}; -CFormCheck.displayName = 'CFormCheck'; - -var CFormFeedback = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, _c = _a.component, Component = _c === void 0 ? 'div' : _c, invalid = _a.invalid, tooltip = _a.tooltip, valid = _a.valid, rest = __rest(_a, ["children", "className", "component", "invalid", "tooltip", "valid"]); - var _className = classNames((_b = {}, - _b["invalid-" + (tooltip ? 'tooltip' : 'feedback')] = invalid, - _b["valid-" + (tooltip ? 'tooltip' : 'feedback')] = valid, - _b), className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CFormFeedback.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - invalid: PropTypes.bool, - tooltip: PropTypes.bool, - valid: PropTypes.bool, -}; -CFormFeedback.displayName = 'CFormFeedback'; - -var CFormFloating = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('form-floating', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CFormFloating.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CFormFloating.displayName = 'CFormFloating'; - -var CFormRange = forwardRef(function (_a, ref) { - var className = _a.className, rest = __rest(_a, ["className"]); - var _className = classNames('form-range', className); - return React__default.createElement("input", __assign({ type: "range", className: _className }, rest, { ref: ref })); -}); -CFormRange.propTypes = { - className: PropTypes.string, -}; -CFormRange.displayName = 'CFormRange'; - -var CFormSelect = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, htmlSize = _a.htmlSize, invalid = _a.invalid, size = _a.size, valid = _a.valid, rest = __rest(_a, ["children", "className", "htmlSize", "invalid", "size", "valid"]); - var _className = classNames('form-select', (_b = {}, - _b["form-select-" + size] = size, - _b['is-invalid'] = invalid, - _b['is-valid'] = valid, - _b), className); - return (React__default.createElement("select", __assign({ className: _className, size: htmlSize }, rest, { ref: ref }), children)); -}); -CFormSelect.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - htmlSize: PropTypes.number, - invalid: PropTypes.bool, - size: PropTypes.oneOf(['sm', 'lg']), - valid: PropTypes.bool, -}; -CFormSelect.displayName = 'CFormSelect'; - -var CFormText = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'div' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('form-text', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CFormText.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CFormText.displayName = 'CFormText'; - -var CInputGroup = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, size = _a.size, rest = __rest(_a, ["children", "className", "size"]); - var _className = classNames('input-group', (_b = {}, - _b["input-group-" + size] = size, - _b), className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CInputGroup.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - size: PropTypes.oneOf(['sm', 'lg']), -}; -CInputGroup.displayName = 'CInputGroup'; - -var CInputGroupText = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'span' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('input-group-text', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CInputGroupText.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CInputGroupText.displayName = 'CInputGroupText'; - -var CHeader = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, container = _a.container, position = _a.position, rest = __rest(_a, ["children", "className", "container", "position"]); - var _className = classNames('header', (_b = {}, _b["header-" + position] = position, _b), className); - var content; - if (container) { - content = (React__default.createElement("div", { className: "container" + (container !== true ? '-' + container : '') }, children)); - } - else { - content = children; - } - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), content)); -}); -CHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - container: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf([ - 'sm', - 'md', - 'lg', - 'xl', - 'xxl', - 'fluid', - ]), - ]), - position: PropTypes.oneOf(['fixed', 'sticky']), -}; -CHeader.displayName = 'CHeader'; - -var CHeaderBrand = forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'a' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('header-brand', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CHeaderBrand.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CHeaderBrand.displayName = 'CHeaderBrand'; - -var CHeaderDivider = forwardRef(function (_a, ref) { - var className = _a.className, rest = __rest(_a, ["className"]); - var _className = classNames('header-divider', className); - return React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref })); -}); -CHeaderDivider.propTypes = { - className: PropTypes.string, -}; -CHeaderDivider.displayName = 'CHeaderDivider'; - -var CHeaderNav = forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'ul' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('header-nav', className); - return (React__default.createElement(Component, __assign({ className: _className, role: "navigation" }, rest, { ref: ref }), children)); -}); -CHeaderNav.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CHeaderNav.displayName = 'CHeaderNav'; - -var CHeaderText = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('header-text', className); - return (React__default.createElement("span", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CHeaderText.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CHeaderText.displayName = 'CHeaderText'; - -var CHeaderToggler = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('header-toggler', className); - return (React__default.createElement("button", __assign({ type: "button", className: _className }, rest, { ref: ref }), children ? children : React__default.createElement("span", { className: "header-toggler-icon" }))); -}); -CHeaderToggler.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CHeaderToggler.displayName = 'CHeaderToggler'; - -var CImage = forwardRef(function (_a, ref) { - var _b; - var align = _a.align, className = _a.className, fluid = _a.fluid, rounded = _a.rounded, thumbnail = _a.thumbnail, rest = __rest(_a, ["align", "className", "fluid", "rounded", "thumbnail"]); - var _className = classNames((_b = {}, - _b["float-" + align] = align && (align === 'start' || align === 'end'), - _b['d-block mx-auto'] = align && align === 'center', - _b['img-fluid'] = fluid, - _b.rounded = rounded, - _b['img-thumbnail'] = thumbnail, - _b), className); - return React__default.createElement("img", __assign({ className: _className }, rest, { ref: ref })); -}); -CImage.propTypes = { - align: PropTypes.oneOf(['start', 'center', 'end']), - className: PropTypes.string, - fluid: PropTypes.bool, - rounded: PropTypes.bool, - thumbnail: PropTypes.bool, -}; -CImage.displayName = 'CImage'; - -var CListGroup = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, _c = _a.component, Component = _c === void 0 ? 'ul' : _c, flush = _a.flush, layout = _a.layout; - var _className = classNames('list-group', (_b = { - 'list-group-flush': flush - }, - _b["list-group-" + layout] = layout, - _b), className); - return (React__default.createElement(Component, { className: _className, ref: ref }, children)); -}); -CListGroup.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - flush: PropTypes.bool, - layout: PropTypes.oneOf([ - 'horizontal', - 'horizontal-sm', - 'horizontal-md', - 'horizontal-lg', - 'horizontal-xl', - 'horizontal-xxl', - ]), -}; -CListGroup.displayName = 'CListGroup'; - -var CListGroupItem = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, active = _a.active, className = _a.className, disabled = _a.disabled, color = _a.color, _c = _a.component, component = _c === void 0 ? 'li' : _c, rest = __rest(_a, ["children", "active", "className", "disabled", "color", "component"]); - var _className = classNames('list-group-item', (_b = {}, - _b["list-group-item-" + color] = color, - _b['list-group-item-action'] = component === 'a' || component === 'button', - _b.active = active, - _b.disabled = disabled, - _b), className); - var Component = component === 'a' || component === 'button' ? CLink : component; - rest = __assign(__assign(__assign(__assign({}, ((component === 'a' || component === 'button') && { - active: active, - disabled: disabled, - component: component, - ref: ref, - })), (active && { 'aria-current': true })), (disabled && { 'aria-disabled': true })), rest); - return (React__default.createElement(Component, __assign({ className: _className }, rest), children)); -}); -CListGroupItem.propTypes = { - active: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - component: PropTypes.elementType, - disabled: PropTypes.bool, -}; -CListGroupItem.displayName = 'CListGroupItem'; - -var CModalContent = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('modal-content', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CModalContent.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CModalContent.displayName = 'CModalContent'; - -var CModalDialog = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, alignment = _a.alignment, className = _a.className, fullscreen = _a.fullscreen, scrollable = _a.scrollable, size = _a.size, rest = __rest(_a, ["children", "alignment", "className", "fullscreen", "scrollable", "size"]); - var _className = classNames('modal-dialog', (_b = { - 'modal-dialog-centered': alignment === 'center' - }, - _b[typeof fullscreen === 'boolean' - ? 'modal-fullscreen' - : "modal-fullscreen-" + fullscreen + "-down"] = fullscreen, - _b['modal-dialog-scrollable'] = scrollable, - _b["modal-" + size] = size, - _b), className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CModalDialog.propTypes = { - alignment: PropTypes.oneOf(['top', 'center']), - children: PropTypes.node, - className: PropTypes.string, - fullscreen: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']), - ]), - scrollable: PropTypes.bool, - size: PropTypes.oneOf(['sm', 'lg', 'xl']), -}; -CModalDialog.displayName = 'CModalDialog'; - -var CModal = forwardRef(function (_a, ref) { - var children = _a.children, alignment = _a.alignment, _b = _a.backdrop, backdrop = _b === void 0 ? true : _b, className = _a.className, _c = _a.duration, duration = _c === void 0 ? 150 : _c, fullscreen = _a.fullscreen, _d = _a.keyboard, keyboard = _d === void 0 ? true : _d, onDismiss = _a.onDismiss, _e = _a.portal, portal = _e === void 0 ? true : _e, scrollable = _a.scrollable, size = _a.size, _f = _a.transition, transition = _f === void 0 ? true : _f, visible = _a.visible; - var _g = useState(false), staticBackdrop = _g[0], setStaticBackdrop = _g[1]; - var modalRef = useRef(null); - var forkedRef = useForkedRef(ref, modalRef); - var handleDismiss = function () { - if (typeof onDismiss === 'undefined') { - return setStaticBackdrop(true); - } - return onDismiss && onDismiss(); - }; - useLayoutEffect(function () { - setTimeout(function () { return setStaticBackdrop(false); }, duration); - }, [staticBackdrop]); - var getTransitionClass = function (state) { - return state === 'entering' - ? 'd-block' - : state === 'entered' - ? 'show d-block' - : state === 'exiting' - ? 'd-block' - : ''; - }; - var _className = classNames('modal', { - 'modal-static': staticBackdrop, - fade: transition, - }, className); - // Set focus to modal after open - useLayoutEffect(function () { - if (visible) { - document.body.classList.add('modal-open'); - setTimeout(function () { - modalRef.current && modalRef.current.focus(); - }, !transition ? 0 : duration); - } - else { - document.body.classList.remove('modal-open'); - } - return function () { return document.body.classList.remove('modal-open'); }; - }, [visible]); - var handleKeyDown = useCallback(function (event) { - if (event.key === 'Escape' && keyboard) { - return handleDismiss(); - } - }, [modalRef, handleDismiss]); - var modal = function (ref, transitionClass) { - return (React__default.createElement(React__default.Fragment, null, - React__default.createElement("div", { className: classNames(_className, transitionClass), tabIndex: -1, role: "dialog", ref: ref }, - React__default.createElement(CModalDialog, { alignment: alignment, fullscreen: fullscreen, scrollable: scrollable, size: size, onClick: function (event) { return event.stopPropagation(); } }, - React__default.createElement(CModalContent, null, children))))); - }; - return (React__default.createElement(React__default.Fragment, null, - React__default.createElement("div", { onClick: handleDismiss, onKeyDown: handleKeyDown }, - React__default.createElement(CSSTransition, { in: visible, timeout: !transition ? 0 : duration, onExit: onDismiss, mountOnEnter: true, unmountOnExit: true }, function (state) { - var transitionClass = getTransitionClass(state); - return typeof window !== 'undefined' && portal - ? createPortal(modal(forkedRef, transitionClass), document.body) - : modal(forkedRef, transitionClass); - })), - typeof window !== 'undefined' && portal - ? backdrop && createPortal(React__default.createElement(CBackdrop, { visible: visible }), document.body) - : backdrop && React__default.createElement(CBackdrop, { visible: visible }))); -}); -CModal.propTypes = { - alignment: PropTypes.oneOf(['top', 'center']), - backdrop: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - duration: PropTypes.number, - fullscreen: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']), - ]), - keyboard: PropTypes.bool, - onDismiss: PropTypes.func, - portal: PropTypes.bool, - scrollable: PropTypes.bool, - size: PropTypes.oneOf(['sm', 'lg', 'xl']), - transition: PropTypes.bool, - visible: PropTypes.bool, -}; -CModal.displayName = 'CModal'; - -var CModalBody = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('modal-body', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CModalBody.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CModalBody.displayName = 'CModalBody'; - -var CModalFooter = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('modal-footer', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CModalFooter.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CModalFooter.displayName = 'CModalFooter'; - -var CModalHeader = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, onDismiss = _a.onDismiss, rest = __rest(_a, ["children", "className", "onDismiss"]); - var _className = classNames('modal-header', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), - children, - onDismiss && React__default.createElement(CCloseButton, { onClick: onDismiss }))); -}); -CModalHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - onDismiss: PropTypes.func, -}; -CModalHeader.displayName = 'CModalHeader'; - -var CModalTitle = forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'h5' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('modal-title', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CModalTitle.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CModalTitle.displayName = 'CModalTitle'; - -var CNav = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, _c = _a.component, Component = _c === void 0 ? 'ul' : _c, layout = _a.layout, variant = _a.variant; - var _className = classNames('nav', (_b = {}, - _b["nav-" + layout] = layout, - _b["nav-" + variant] = variant, - _b), className); - return (React__default.createElement(Component, { className: _className, role: "navigation", ref: ref }, children)); -}); -CNav.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - layout: PropTypes.oneOf(['fill', 'justified']), - variant: PropTypes.oneOf(['tabs', 'pills']), -}; -CNav.displayName = 'CNav'; - -var CNavGroupItems = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('nav-group-items', className); - return (React__default.createElement("ul", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CNavGroupItems.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CNavGroupItems.displayName = 'CNavGroupItems'; - -var CNavContext = createContext({}); -var CSidebarNav = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _b = useState(''), visibleGroup = _b[0], setVisibleGroup = _b[1]; - var CNavContextValues = { - visibleGroup: visibleGroup, - setVisibleGroup: setVisibleGroup, - }; - var classes = classNames('sidebar-nav', className); - return (React__default.createElement("ul", __assign({ className: classes, ref: ref }, rest), - React__default.createElement(CNavContext.Provider, { value: CNavContextValues }, React__default.Children.map(children, function (child, index) { - if (React__default.isValidElement(child)) { - return React__default.cloneElement(child, { key: index, idx: "" + index }); - } - return; - })))); -}); -CSidebarNav.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CSidebarNav.displayName = 'CSidebarNav'; - -var CNavGroup = forwardRef(function (_a, ref) { - var children = _a.children, toggler = _a.toggler, className = _a.className, icon = _a.icon, idx = _a.idx, visible = _a.visible, rest = __rest(_a, ["children", "toggler", "className", "icon", "idx", "visible"]); - var _b = useState(), height = _b[0], setHeight = _b[1]; - var navItemsRef = useRef(null); - var style = { - height: 0, - }; - var onEntering = function () { - navItemsRef && navItemsRef.current && setHeight(navItemsRef.current.scrollHeight); - }; - var onEntered = function () { - setHeight('auto'); - }; - var onExit = function () { - navItemsRef && navItemsRef.current && setHeight(navItemsRef.current.scrollHeight); - }; - var onExiting = function () { - // @ts-expect-error reflow is necessary to get correct height of the element - // eslint-disable-next-line @typescript-eslint/no-unused-vars - navItemsRef && navItemsRef.current && navItemsRef.current.offsetHeight; - setHeight(0); - }; - var onExited = function () { - setHeight(0); - }; - var transitionStyles = { - entering: { display: 'block', height: height }, - entered: { display: 'block', height: height }, - exiting: { display: 'block', height: height }, - exited: { height: height }, - }; - var _c = useContext(CNavContext), visibleGroup = _c.visibleGroup, setVisibleGroup = _c.setVisibleGroup; - var _visible = Boolean(visible || (idx && visibleGroup && visibleGroup.toString().startsWith(idx.toString()))); - var _className = classNames('nav-group', { show: _visible }, className); - return (React__default.createElement("li", __assign({ className: _className }, rest, { ref: ref }), - toggler && (React__default.createElement("a", { className: "nav-link nav-group-toggle", onClick: function (event) { - event.preventDefault(); - setVisibleGroup(_visible - ? (idx === null || idx === void 0 ? void 0 : idx.toString().includes('.')) - ? idx.slice(0, idx.lastIndexOf('.')) - : '' - : idx); - } }, - icon && typeof icon === 'string' ? React__default.createElement("i", { className: "nav-icon " + icon }) : icon, - toggler)), - React__default.createElement(Transition, { in: _visible, timeout: 300, onEntering: onEntering, onEntered: onEntered, onExit: onExit, onExiting: onExiting, onExited: onExited }, function (state) { return (React__default.createElement("ul", { className: "nav-group-items", style: __assign(__assign({}, style), transitionStyles[state]), ref: navItemsRef }, React__default.Children.map(children, function (child, index) { - if (React__default.isValidElement(child)) { - return React__default.cloneElement(child, { key: index, idx: idx + "." + index }); - } - return; - }))); }))); -}); -CNavGroup.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - idx: PropTypes.string, - toggler: PropTypes.string, - visible: PropTypes.bool, -}; -CNavGroup.displayName = 'CNavGroup'; - -var CNavLink = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, icon = _a.icon, idx = _a.idx, rest = __rest(_a, ["children", "className", "icon", "idx"]); - var navLinkRef = useRef(null); - var forkedRef = useForkedRef(ref, navLinkRef); - var setVisibleGroup = useContext(CNavContext).setVisibleGroup; - var _className = classNames('nav-link', className); - useEffect(function () { - var _a; - rest.active = (_a = navLinkRef.current) === null || _a === void 0 ? void 0 : _a.classList.contains('active'); - idx && rest.active && setVisibleGroup(idx); - }, [rest.active, className]); - return (React__default.createElement(CLink, __assign({ className: _className }, rest, { ref: forkedRef }), - icon && typeof icon === 'string' ? React__default.createElement("i", { className: "nav-icon " + icon }) : icon, - children)); -}); -CNavLink.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - idx: PropTypes.string, -}; -CNavLink.displayName = 'CNavLink'; - -var CNavItem = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('nav-item', className); - if (rest.href || rest.to) { - children = (React__default.createElement(CNavLink, __assign({ className: className }, rest), children)); - } - return (React__default.createElement("li", { className: _className, ref: ref }, children)); -}); -CNavItem.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CNavItem.displayName = 'CNavItem'; - -var CNavTitle = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('nav-title', className); - return (React__default.createElement("li", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CNavTitle.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CNavTitle.displayName = 'CNavTitle'; - -var CNavbar = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, colorScheme = _a.colorScheme, _c = _a.component, Component = _c === void 0 ? 'nav' : _c, container = _a.container, expand = _a.expand, placement = _a.placement, rest = __rest(_a, ["children", "className", "color", "colorScheme", "component", "container", "expand", "placement"]); - var _className = classNames('navbar', (_b = {}, - _b["bg-" + color] = color, - _b["navbar-" + colorScheme] = colorScheme, - _b[typeof expand === 'boolean' ? 'navbar-expand' : "navbar-expand-" + expand] = expand, - _b), placement, className); - var content; - if (container) { - content = (React__default.createElement("div", { className: "container" + (container !== true ? '-' + container : '') }, children)); - } - else { - content = children; - } - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), content)); -}); -CNavbar.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - colorScheme: PropTypes.oneOf(['dark', 'light']), - component: PropTypes.elementType, - container: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf([ - 'sm', - 'md', - 'lg', - 'xl', - 'xxl', - 'fluid', - ]), - ]), - expand: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']), - ]), - placement: PropTypes.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']), -}; -CNavbar.displayName = 'CNavbar'; - -var CNavbarBrand = forwardRef(function (_a, ref) { - var children = _a.children, component = _a.component, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var Component = component ? component : rest.href ? 'a' : 'span'; - var _className = classNames('navbar-brand', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CNavbarBrand.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CNavbarBrand.displayName = 'CNavbarBrand'; - -var CNavbarNav = forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'ul' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('navbar-nav', className); - return (React__default.createElement(Component, __assign({ className: _className, role: "navigation" }, rest, { ref: ref }), children)); -}); -CNavbarNav.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CNavbarNav.displayName = 'CNavbarNav'; - -var CNavbarText = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('navbar-text', className); - return (React__default.createElement("span", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CNavbarText.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CNavbarText.displayName = 'CNavbarText'; - -var CNavbarToggler = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('navbar-toggler', className); - return (React__default.createElement("button", __assign({ type: "button", className: _className }, rest, { ref: ref }), children ? children : React__default.createElement("span", { className: "navbar-toggler-icon" }))); -}); -CNavbarToggler.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CNavbarToggler.displayName = 'CNavbarToggler'; - -var CPagination = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, size = _a.size, rest = __rest(_a, ["children", "className", "size"]); - var _className = classNames('pagination', (_b = {}, _b["pagination-" + size] = size, _b), className); - return (React__default.createElement("nav", __assign({ ref: ref }, rest), - React__default.createElement("ul", { className: _className }, children))); -}); -CPagination.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - size: PropTypes.oneOf(['sm', 'lg']), -}; -CPagination.displayName = 'CPagination'; - -var CPaginationItem = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, component = _a.component, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('page-item', { - active: rest.active, - disabled: rest.disabled, - }, className); - var Component = component ? component : rest.active ? 'span' : 'a'; - return (React__default.createElement("li", __assign({ className: _className }, (rest.active && { 'aria-current': 'page' })), Component === 'a' ? (React__default.createElement(CLink, __assign({ className: "page-link", component: Component }, rest, { ref: ref }), children)) : (React__default.createElement(Component, { className: "page-link", ref: ref }, children)))); -}); -CPaginationItem.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CPaginationItem.displayName = 'CPaginationItem'; - -var CPopoverContent = forwardRef(function (_a, ref) { - var content = _a.content, title = _a.title, placementClassNamePostfix = _a.placementClassNamePostfix, arrowProps = _a.arrowProps, style = _a.style, transitionClass = _a.transitionClass; - return (React__default.createElement(React__default.Fragment, null, - React__default.createElement("div", { className: classNames("popover bs-popover-" + placementClassNamePostfix, transitionClass), ref: ref, style: style, role: "tooltip" }, - React__default.createElement("div", __assign({ className: "popover-arrow" }, arrowProps)), - React__default.createElement("div", { className: "popover-header" }, title), - React__default.createElement("div", { className: "popover-body" }, content)))); -}); -CPopoverContent.propTypes = { - arrowProps: PropTypes.any, - content: PropTypes.node, - placementClassNamePostfix: PropTypes.string, - style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), - title: PropTypes.string, - transitionClass: PropTypes.string, -}; -CPopoverContent.displayName = 'CPopoverContent'; - -var CPopover = function (_a) { - var children = _a.children, _b = _a.placement, placement = _b === void 0 ? 'top' : _b, _c = _a.offset, offset = _c === void 0 ? [0, 8] : _c, _d = _a.trigger, trigger = _d === void 0 ? 'click' : _d, visible = _a.visible, rest = __rest(_a, ["children", "placement", "offset", "trigger", "visible"]); - var _e = useState(visible), _visible = _e[0], setVisible = _e[1]; - var getTransitionClass = function (state) { - return state === 'entering' - ? 'fade' - : state === 'entered' - ? 'fade show' - : state === 'exiting' - ? 'fade' - : 'fade'; - }; - return (React__default.createElement(Manager, null, - React__default.createElement(Reference, null, function (_a) { - var ref = _a.ref; - return React__default.cloneElement(children, __assign(__assign(__assign({ ref: ref }, ((trigger === 'click' || trigger.includes('click')) && { - onClick: function () { return setVisible(!_visible); }, - })), ((trigger === 'focus' || trigger.includes('focus')) && { - onFocus: function () { return setVisible(true); }, - onBlur: function () { return setVisible(false); }, - })), ((trigger === 'hover' || trigger.includes('hover')) && { - onMouseEnter: function () { return setVisible(true); }, - onMouseLeave: function () { return setVisible(false); }, - }))); - }), - typeof window !== 'undefined' && - createPortal(React__default.createElement(CSSTransition, { in: _visible, timeout: { - enter: 0, - exit: 200, - }, mountOnEnter: true, unmountOnExit: true }, function (state) { - var transitionClass = getTransitionClass(state); - return (React__default.createElement(Popper, { placement: placement, modifiers: [ - { - name: 'offset', - options: { - offset: offset, - }, - }, - ] }, function (p) { return (React__default.createElement(CPopoverContent, __assign({ transitionClass: transitionClass, placementClassNamePostfix: placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement }, rest, p))); })); - }), document.body))); -}; -CPopover.propTypes = { - children: PropTypes.any, - placement: PropTypes.oneOf(['top', 'right', 'bottom', 'left']), - offset: PropTypes.any, - trigger: triggerPropType, - visible: PropTypes.bool, -}; -CPopover.displayName = 'CPopover'; - -var CProgressBar = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, _c = _a.animated, animated = _c === void 0 ? false : _c, className = _a.className, color = _a.color, _d = _a.value, value = _d === void 0 ? 0 : _d, variant = _a.variant, rest = __rest(_a, ["children", "animated", "className", "color", "value", "variant"]); - var _className = classNames('progress-bar', (_b = {}, - _b["bg-" + color] = color, - _b["progress-bar-" + variant] = variant, - _b['progress-bar-animated'] = animated, - _b), className); - return (React__default.createElement("div", __assign({ className: _className, role: "progressbar", style: { width: value + "%" }, "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": 100 }, rest, { ref: ref }), children)); -}); -CProgressBar.propTypes = { - animated: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - value: PropTypes.number, - variant: PropTypes.oneOf(['striped']), -}; -CProgressBar.displayName = 'CProgressBar'; - -var CProgress = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, height = _a.height, thin = _a.thin, _b = _a.value, value = _b === void 0 ? 0 : _b, white = _a.white, rest = __rest(_a, ["children", "className", "height", "thin", "value", "white"]); - var _className = classNames('progress', { - 'progress-thin': thin, - 'progress-white': white, - }, className); - return (React__default.createElement("div", { className: _className, style: height ? { height: height + "px" } : {}, ref: ref }, value ? (React__default.createElement(CProgressBar, __assign({ value: value }, rest), children)) : (children))); -}); -CProgress.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - height: PropTypes.number, - thin: PropTypes.bool, - value: PropTypes.number, - white: PropTypes.bool, -}; -CProgress.displayName = 'CProgress'; - -// TODO: check if element is visible after toggle -var CSidebar = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, narrow = _a.narrow, onHide = _a.onHide, onShow = _a.onShow, overlaid = _a.overlaid, position = _a.position, selfHiding = _a.selfHiding, unfoldable = _a.unfoldable, visible = _a.visible, rest = __rest(_a, ["children", "className", "narrow", "onHide", "onShow", "overlaid", "position", "selfHiding", "unfoldable", "visible"]); - var sidebarRef = useRef(null); - var forkedRef = useForkedRef(ref, sidebarRef); - var _c = useState(false), mobile = _c[0], setMobile = _c[1]; - var _d = useState(visible), _visible = _d[0], setVisible = _d[1]; - var isOnMobile = function (element) { - return Boolean(element.current && getComputedStyle(element.current).getPropertyValue('--cui-is-mobile')); - }; - useLayoutEffect(function () { - setMobile(isOnMobile(sidebarRef)); - }); - useEffect(function () { - setVisible(visible); - setMobile(isOnMobile(sidebarRef)); - }, [visible]); - useEffect(function () { - setMobile(isOnMobile(sidebarRef)); - _visible && onShow && onShow(); - }, [_visible]); - useEffect(function () { - window.addEventListener('mouseup', handleClickOutside); - sidebarRef.current && sidebarRef.current.addEventListener('mouseup', handleOnClick); - window.addEventListener('keyup', handleKeyup); - return function () { - window.removeEventListener('mouseup', handleClickOutside); - sidebarRef.current && sidebarRef.current.removeEventListener('mouseup', handleOnClick); - window.removeEventListener('keyup', handleKeyup); - }; - }); - var handleHide = function () { - if (_visible) { - setVisible(false); - onHide && onHide(); - } - }; - var handleKeyup = function (event) { - if (mobile && - sidebarRef.current && - !sidebarRef.current.contains(event.target)) { - handleHide(); - } - }; - var handleClickOutside = function (event) { - if (mobile && - sidebarRef.current && - !sidebarRef.current.contains(event.target)) { - handleHide(); - } - }; - var handleOnClick = function (event) { - var target = event.target; - target && - target.classList.contains('nav-link') && - !target.classList.contains('nav-group-toggle') && - mobile && - handleHide(); - }; - var _className = classNames('sidebar', (_b = { - 'sidebar-narrow': narrow, - 'sidebar-overlaid': overlaid - }, - _b["sidebar-" + position] = position, - _b["sidebar-self-hiding" + (typeof selfHiding !== 'boolean' && '-' + selfHiding)] = selfHiding, - _b['sidebar-narrow-unfoldable'] = unfoldable, - _b.show = _visible, - _b.hide = !_visible, - _b), className); - return (React__default.createElement(React__default.Fragment, null, - React__default.createElement("div", __assign({ className: _className }, rest, { ref: forkedRef }), children), - typeof window !== 'undefined' && - mobile && - createPortal(React__default.createElement(CBackdrop, { className: "sidebar-backdrop", visible: _visible }), document.body))); -}); -CSidebar.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - narrow: PropTypes.bool, - onHide: PropTypes.func, - onShow: PropTypes.func, - overlaid: PropTypes.bool, - position: PropTypes.oneOf(['fixed', 'sticky']), - selfHiding: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']), - ]), - unfoldable: PropTypes.bool, - visible: PropTypes.bool, -}; -CSidebar.displayName = 'CSidebar'; - -var COffcanvas = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, _c = _a.backdrop, backdrop = _c === void 0 ? true : _c, className = _a.className, _d = _a.keyboard, keyboard = _d === void 0 ? true : _d, onDismiss = _a.onDismiss, placement = _a.placement, _e = _a.portal, portal = _e === void 0 ? true : _e, _f = _a.visible, visible = _f === void 0 ? false : _f, rest = __rest(_a, ["children", "backdrop", "className", "keyboard", "onDismiss", "placement", "portal", "visible"]); - var _g = useState(visible), _visible = _g[0], setVisible = _g[1]; - var offcanvasRef = useRef(null); - var forkedRef = useForkedRef(ref, offcanvasRef); - useEffect(function () { - setVisible(visible); - }, [visible]); - var _className = classNames('offcanvas', (_b = {}, - _b["offcanvas-" + placement] = placement, - _b.show = _visible, - _b), className); - var transitionStyles = { - entering: { visibility: 'visible' }, - entered: { visibility: 'visible' }, - exiting: { visibility: 'visible' }, - exited: { visibility: 'hidden' }, - }; - var handleDismiss = function () { - setVisible(false); - return onDismiss && onDismiss(); - }; - var handleKeyDown = useCallback(function (event) { - if (event.key === 'Escape' && keyboard) { - return handleDismiss(); - } - }, [ref, handleDismiss]); - var offcanvas = function (ref, state) { - return (React__default.createElement(React__default.Fragment, null, - React__default.createElement("div", __assign({ className: _className, style: __assign({}, transitionStyles[state]), tabIndex: -1, onKeyDown: handleKeyDown }, rest, { ref: ref }), children))); - }; - return (React__default.createElement(React__default.Fragment, null, - React__default.createElement(Transition, { in: _visible, timeout: 300, onEntered: function () { var _a; return (_a = offcanvasRef.current) === null || _a === void 0 ? void 0 : _a.focus(); } }, function (state) { - return typeof window !== 'undefined' && portal - ? createPortal(offcanvas(forkedRef, state), document.body) - : offcanvas(forkedRef, state); - }), - typeof window !== 'undefined' && portal - ? backdrop && - createPortal(React__default.createElement(CBackdrop, { visible: visible, onClick: handleDismiss }), document.body) - : backdrop && React__default.createElement(CBackdrop, { visible: visible, onClick: handleDismiss }))); -}); -COffcanvas.propTypes = { - backdrop: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - keyboard: PropTypes.bool, - onDismiss: PropTypes.func, - placement: PropTypes.oneOf(['start', 'end', 'top', 'bottom']) - .isRequired, - portal: PropTypes.bool, - visible: PropTypes.bool, -}; -COffcanvas.displayName = 'COffcanvas'; - -var COffcanvasBody = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('offcanvas-body', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -COffcanvasBody.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -COffcanvasBody.displayName = 'COffcanvasBody'; - -var COffcanvasHeader = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('offcanvas-header', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -COffcanvasHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -COffcanvasHeader.displayName = 'COffcanvasHeader'; - -var COffcanvasTitle = forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'h5' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('offcanvas-title', className); - return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -COffcanvasTitle.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -COffcanvasTitle.displayName = 'COffcanvasTitle'; - -var CSidebarBrand = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('sidebar-brand', className); - return (React__default.createElement("div", __assign({ className: _className, ref: ref }, rest), children)); -}); -CSidebarBrand.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CSidebarBrand.displayName = 'CSidebarBrand'; - -var CSidebarFooter = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('sidebar-footer', className); - return (React__default.createElement("div", __assign({ className: _className, ref: ref }, rest), children)); -}); -CSidebarFooter.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CSidebarFooter.displayName = 'CSidebarFooter'; - -var CSidebarToggler = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('sidebar-toggler', className); - return (React__default.createElement("button", __assign({ className: _className, ref: ref }, rest), children)); -}); -CSidebarToggler.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CSidebarToggler.displayName = 'CSidebarToggler'; - -var CCreateNavItem = function (_a) { - var items = _a.items, idx = _a.idx; - // eslint-disable-next-line @typescript-eslint/no-explicit-any - var renderItem = function (item, index, idx) { - var _component = item._component, as = item.as, anchor = item.anchor, items = item.items, rest = __rest(item, ["_component", "as", "anchor", "items"]); - var components = { CNavGroup: CNavGroup, CNavGroupItems: CNavGroupItems, CNavItem: CNavItem, CNavLink: CNavLink, CNavTitle: CNavTitle }; - var Component = components[_component] || _component; - var children = items ? items.map(function (item, index) { return renderItem(item, index); }) : anchor; - return (React__default.createElement(Component, __assign({ component: as, key: index }, (items && { idx: idx + "." + index, toggler: anchor }), rest), children)); - }; - var generatedItems = useMemo(function () { - return items && items.map(function (item, index) { return renderItem(item, index, idx); }); - }, [JSON.stringify(items)]); - return React__default.createElement(React__default.Fragment, null, generatedItems); -}; -CCreateNavItem.propTypes = { - idx: PropTypes.string, - items: PropTypes.arrayOf(PropTypes.any).isRequired, -}; - -var CSidebarHeader = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('sidebar-header', className); - return (React__default.createElement("div", __assign({ className: _className, ref: ref }, rest), children)); -}); -CSidebarHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CSidebarHeader.displayName = 'CSidebarHeader'; - -var CSpinner = forwardRef(function (_a, ref) { - var className = _a.className, color = _a.color, _b = _a.component, Component = _b === void 0 ? 'div' : _b, size = _a.size, _c = _a.variant, variant = _c === void 0 ? 'border' : _c, rest = __rest(_a, ["className", "color", "component", "size", "variant"]); - var _className = classNames("spinner-" + variant, "text-" + color, size && "spinner-" + variant + "-" + size, className); - return (React__default.createElement(Component, __assign({ className: _className, role: "status" }, rest, { ref: ref }), - React__default.createElement("span", { className: "visually-hidden" }, "Loading..."))); -}); -CSpinner.propTypes = { - className: PropTypes.string, - color: colorPropType, - component: PropTypes.string, - size: PropTypes.oneOf(['sm']), - variant: PropTypes.oneOf(['border', 'grow']), -}; -CSpinner.displayName = 'CSpinner'; - -var CTable = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, align = _a.align, borderColor = _a.borderColor, bordered = _a.bordered, borderless = _a.borderless, caption = _a.caption, className = _a.className, color = _a.color, hover = _a.hover, responsive = _a.responsive, small = _a.small, striped = _a.striped, rest = __rest(_a, ["children", "align", "borderColor", "bordered", "borderless", "caption", "className", "color", "hover", "responsive", "small", "striped"]); - var _className = classNames('table', (_b = {}, - _b["align-" + align] = align, - _b["caption-" + caption] = caption, - _b["border-" + borderColor] = borderColor, - _b['table-bordered'] = bordered, - _b['table-borderless'] = borderless, - _b["table-" + color] = color, - _b['table-hover'] = hover, - _b['table-sm'] = small, - _b['table-striped'] = striped, - _b), className); - return responsive ? (React__default.createElement("div", { className: typeof responsive === 'boolean' ? 'table-responsive' : "table-responsive-" + responsive }, - React__default.createElement("table", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children))) : (React__default.createElement("table", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTable.propTypes = { - align: PropTypes.oneOf(['bottom', 'middle', 'top']), - borderColor: PropTypes.string, - bordered: PropTypes.bool, - borderless: PropTypes.bool, - caption: PropTypes.oneOf(['top']), - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - hover: PropTypes.bool, - responsive: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']), - ]), - small: PropTypes.bool, - striped: PropTypes.bool, -}; -CTable.displayName = 'CTable'; - -var CTableBody = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]); - var _className = classNames((_b = {}, - _b["table-" + color] = color, - _b), className); - return (React__default.createElement("tbody", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableBody.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableBody.displayName = 'CTableBody'; - -var CTableCaption = forwardRef(function (_a, ref) { - var children = _a.children, props = __rest(_a, ["children"]); - return (React__default.createElement("caption", __assign({}, props, { ref: ref }), children)); -}); -CTableCaption.propTypes = { - children: PropTypes.node, -}; -CTableCaption.displayName = 'CTableCaption'; - -var CTableDataCell = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, active = _a.active, align = _a.align, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "active", "align", "className", "color"]); - var _className = classNames((_b = {}, - _b["align-" + align] = align, - _b['table-active'] = active, - _b["table-" + color] = color, - _b), className); - return (React__default.createElement("td", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableDataCell.propTypes = { - active: PropTypes.bool, - align: PropTypes.oneOf(['bottom', 'middle', 'top']), - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableDataCell.displayName = 'CTableDataCell'; - -var CTableFoot = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]); - var _className = classNames((_b = {}, - _b["table-" + color] = color, - _b), className); - return (React__default.createElement("tfoot", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableFoot.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableFoot.displayName = 'CTableFoot'; - -var CTableHead = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]); - var _className = classNames((_b = {}, - _b["table-" + color] = color, - _b), className); - return (React__default.createElement("thead", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableHead.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableHead.displayName = 'CTableHead'; - -var CTableHeaderCell = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]); - var _className = classNames((_b = {}, - _b["table-" + color] = color, - _b), className); - return (React__default.createElement("th", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableHeaderCell.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableHeaderCell.displayName = 'CTableHeaderCell'; - -var CTableRow = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, active = _a.active, align = _a.align, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "active", "align", "className", "color"]); - var _className = classNames((_b = {}, - _b["align-" + align] = align, - _b['table-active'] = active, - _b["table-" + color] = color, - _b), className); - return (React__default.createElement("tr", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableRow.propTypes = { - active: PropTypes.bool, - align: PropTypes.oneOf(['bottom', 'middle', 'top']), - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableRow.displayName = 'CTableRow'; - -var CTabContent = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('tab-content', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CTabContent.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CTabContent.displayName = 'CTabContent'; - -var CTabPane = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, visible = _a.visible, rest = __rest(_a, ["children", "className", "visible"]); - var style = { - transition: "opacity 150ms linear", - }; - var getTransitionClass = function (state) { - return state === 'entering' - ? 'show' - : state === 'entered' - ? 'show active' - : state === 'exiting' - ? 'active' - : ''; - }; - var _className = classNames('tab-pane', 'fade', className); - return (React__default.createElement(Transition, { in: visible, timeout: 350 }, function (state) { - var transitionClass = getTransitionClass(state); - return (React__default.createElement("div", __assign({ className: classNames(_className, transitionClass), style: __assign({}, style) }, rest, { ref: ref }), children)); - })); -}); -CTabPane.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - visible: PropTypes.bool, -}; -CTabPane.displayName = 'CTabPane'; - -var CToastContext = createContext({}); -var CToast = forwardRef(function (_a, ref) { - var _b; - var children = _a.children, _c = _a.autohide, autohide = _c === void 0 ? true : _c, className = _a.className, color = _a.color, _d = _a.delay, delay = _d === void 0 ? 5000 : _d, index = _a.index, key = _a.key, _e = _a.visible, visible = _e === void 0 ? true : _e, onDismiss = _a.onDismiss, rest = __rest(_a, ["children", "autohide", "className", "color", "delay", "index", "key", "visible", "onDismiss"]); - var _f = useState(visible), _visible = _f[0], setVisible = _f[1]; - var timeout = useRef(); - var contextValues = { - visible: _visible, - setVisible: setVisible, - }; - // triggered on mount and destroy - useEffect(function () { return function () { return clearTimeout(timeout.current); }; }, []); - useEffect(function () { - _autohide(); - }, [_visible]); - var _autohide = function () { - if (autohide) { - clearTimeout(timeout.current); - timeout.current = window.setTimeout(function () { - setVisible(false); - }, delay); - } - }; - var _className = classNames('toast fade', (_b = { - show: _visible - }, - _b["bg-" + color] = color, - _b['border-0'] = color, - _b), className); - return (React__default.createElement(CSSTransition, { in: _visible, timeout: 250, onExit: function () { return onDismiss && onDismiss(index ? index : null); }, unmountOnExit: true }, - React__default.createElement(CToastContext.Provider, { value: contextValues }, - React__default.createElement("div", __assign({ className: _className, "aria-live": "assertive", "aria-atomic": "true", role: "alert", onMouseEnter: function () { return clearTimeout(timeout.current); }, onMouseLeave: function () { return _autohide; } }, rest, { key: key, ref: ref }), children)))); -}); -CToast.propTypes = { - autohide: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - delay: PropTypes.number, - index: PropTypes.number, - key: PropTypes.number, - onDismiss: PropTypes.func, - visible: PropTypes.bool, -}; -CToast.displayName = 'CToast'; - -var CToastBody = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('toast-body', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CToastBody.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CToastBody.displayName = 'CToastBody'; - -var CToastClose = forwardRef(function (_a, ref) { - var children = _a.children, Component = _a.component, rest = __rest(_a, ["children", "component"]); - var setVisible = useContext(CToastContext).setVisible; - return Component ? (React__default.createElement(Component, __assign({ onClick: function () { return setVisible(false); } }, rest, { ref: ref }), children)) : (React__default.createElement(CCloseButton, __assign({ onClick: function () { return setVisible(false); } }, rest, { ref: ref }))); -}); -CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component: PropTypes.elementType }); -CToastClose.displayName = 'CToastClose'; - -var CToastHeader = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, close = _a.close, rest = __rest(_a, ["children", "className", "close"]); - var _className = classNames('toast-header', className); - return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), - children, - close && React__default.createElement(CToastClose, null))); -}); -CToastHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - close: PropTypes.bool, -}; -CToastHeader.displayName = 'CToastHeader'; - -var CToaster = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, placement = _a.placement, push = _a.push, rest = __rest(_a, ["children", "className", "placement", "push"]); - var _b = useState([]), toasts = _b[0], setToasts = _b[1]; - var index = useRef(0); - useEffect(function () { - index.current++; - push && addToast(push); - }, [push]); - var addToast = function (push) { - setToasts(function (state) { return __spreadArray(__spreadArray([], state), [ - React__default.cloneElement(push, { - index: index.current, - key: index.current, - onDismiss: function (index) { - return setToasts(function (state) { return state.filter(function (i) { return i.props.index !== index; }); }); - }, - }), - ]); }); - }; - var _className = classNames('toaster toast-container p-3', { - 'position-fixed': placement, - 'top-0': placement && placement.includes('top'), - 'top-50 translate-middle-y': placement && placement.includes('middle'), - 'bottom-0': placement && placement.includes('bottom'), - 'start-0': placement && placement.includes('start'), - 'start-50 translate-middle-x': placement && placement.includes('center'), - 'end-0': placement && placement.includes('end'), - }, className); - var toaster = function (ref) { - return toasts.length > 0 || children ? (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), - children, - toasts.map(function (toast) { return toast; }))) : null; - }; - return typeof window !== 'undefined' && placement - ? createPortal(toaster(ref), document.body) - : toaster(ref); -}); -CToaster.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - placement: PropTypes.oneOfType([ - PropTypes.string, - PropTypes.oneOf([ - 'top-start', - 'top-center', - 'top-end', - 'middle-start', - 'middle-center', - 'middle-end', - 'bottom-start', - 'bottom-center', - 'bottom-end', - ]), - ]), - push: PropTypes.any, -}; -CToaster.displayName = 'CToaster'; - -var CTooltipContent = forwardRef(function (_a, ref) { - var content = _a.content, placementClassNamePostfix = _a.placementClassNamePostfix, arrowProps = _a.arrowProps, transitionClass = _a.transitionClass, style = _a.style; - return (React__default.createElement("div", { className: classNames("tooltip bs-tooltip-" + placementClassNamePostfix, transitionClass), ref: ref, style: style, role: "tooltip" }, - React__default.createElement("div", __assign({ className: "tooltip-arrow" }, arrowProps)), - React__default.createElement("div", { className: "tooltip-inner" }, content))); -}); -CTooltipContent.propTypes = { - arrowProps: PropTypes.any, - content: PropTypes.node, - placementClassNamePostfix: PropTypes.string, - style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), - transitionClass: PropTypes.string, -}; -CTooltipContent.displayName = 'CTooltipContent'; - -var CTooltip = function (_a) { - var children = _a.children, _b = _a.placement, placement = _b === void 0 ? 'top' : _b, _c = _a.trigger, trigger = _c === void 0 ? 'hover' : _c, visible = _a.visible, rest = __rest(_a, ["children", "placement", "trigger", "visible"]); - var _d = useState(visible), _visible = _d[0], setVisible = _d[1]; - var getTransitionClass = function (state) { - return state === 'entering' - ? 'fade' - : state === 'entered' - ? 'fade show' - : state === 'exiting' - ? 'fade' - : 'fade'; - }; - return (React__default.createElement(Manager, null, - React__default.createElement(Reference, null, function (_a) { - var ref = _a.ref; - return React__default.cloneElement(children, __assign(__assign(__assign({ ref: ref }, ((trigger === 'click' || trigger.includes('click')) && { - onClick: function () { return setVisible(!_visible); }, - })), ((trigger === 'focus' || trigger.includes('focus')) && { - onFocus: function () { return setVisible(true); }, - onBlur: function () { return setVisible(false); }, - })), ((trigger === 'hover' || trigger.includes('hover')) && { - onMouseEnter: function () { return setVisible(true); }, - onMouseLeave: function () { return setVisible(false); }, - }))); - }), - typeof window !== 'undefined' && - createPortal(React__default.createElement(CSSTransition, { in: _visible, timeout: { - enter: 0, - exit: 200, - }, mountOnEnter: true, unmountOnExit: true }, function (state) { - var transitionClass = getTransitionClass(state); - return (React__default.createElement(Popper, { placement: placement }, function (p) { return (React__default.createElement(CTooltipContent, __assign({ transitionClass: transitionClass, placementClassNamePostfix: placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement }, rest, p))); })); - }), document.body))); -}; -CTooltip.propTypes = { - children: PropTypes.any, - placement: PropTypes.oneOf(['top', 'right', 'bottom', 'left']), - trigger: triggerPropType, - visible: PropTypes.bool, -}; -CTooltip.displayName = 'CTooltip'; - -var CWidgetBrand = forwardRef(function (_a, ref) { - var _b; - var className = _a.className, color = _a.color, headerChildren = _a.headerChildren, values = _a.values, rest = __rest(_a, ["className", "color", "headerChildren", "values"]); - var _className = classNames(className); - var classNameHeader = classNames('position-relative d-flex justify-content-center align-items-center', (_b = {}, - _b["bg-" + color] = color, - _b)); - var generatedItems = useMemo(function () { - return (values && - // eslint-disable-next-line @typescript-eslint/no-explicit-any - values.map(function (value, index) { - return (React__default.createElement(React__default.Fragment, { key: index }, - index % 2 !== 0 && React__default.createElement("div", { className: "vr" }), - React__default.createElement(CCol, null, - React__default.createElement("div", { className: "fs-5 fw-semibold" }, value[0]), - React__default.createElement("div", { className: "text-uppercase text-medium-emphasis small" }, value[1])))); - })); - }, [JSON.stringify(values)]); - return (React__default.createElement(CCard, __assign({ className: _className }, rest, { ref: ref }), - React__default.createElement(CCardHeader, { className: classNameHeader }, headerChildren), - React__default.createElement(CCardBody, { className: "row text-center" }, generatedItems))); -}); -CWidgetBrand.propTypes = { - className: PropTypes.string, - color: colorPropType, - headerChildren: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - values: PropTypes.arrayOf(PropTypes.any), -}; -CWidgetBrand.displayName = 'CWidgetBrand'; - -var CWidgetDropdown = forwardRef(function (_a, ref) { - var _b; - var action = _a.action, change = _a.change, chart = _a.chart, className = _a.className, color = _a.color, title = _a.title, value = _a.value, rest = __rest(_a, ["action", "change", "chart", "className", "color", "title", "value"]); - var _className = classNames((_b = {}, _b["bg-" + color] = color, _b['text-high-emphasis-inverse'] = color, _b), className); - return (React__default.createElement(CCard, __assign({ className: _className }, rest, { ref: ref }), - React__default.createElement(CCardBody, { className: "pb-0 d-flex justify-content-between align-items-start" }, - React__default.createElement("div", null, - value && (React__default.createElement("div", { className: "fs-4 fw-semibold" }, - value, - " ", - change && React__default.createElement("span", { className: "fs-6 fw-normal" }, change))), - title && React__default.createElement("div", null, title)), - action), - chart)); -}); -CWidgetDropdown.propTypes = { - action: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - change: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - className: PropTypes.string, - color: colorPropType, - title: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}; -CWidgetDropdown.displayName = 'CWidgetDropdown'; - -var CWidgetIcon = forwardRef(function (_a, ref) { - var className = _a.className, color = _a.color, footer = _a.footer, icon = _a.icon, _b = _a.iconPadding, iconPadding = _b === void 0 ? 3 : _b, _c = _a.padding, padding = _c === void 0 ? 3 : _c, title = _a.title, value = _a.value, rest = __rest(_a, ["className", "color", "footer", "icon", "iconPadding", "padding", "title", "value"]); - var _className = classNames(className); - return (React__default.createElement(CCard, __assign({ className: _className }, rest, { ref: ref }), - React__default.createElement(CCardBody, { className: "d-flex align-items-center p-" + padding }, - React__default.createElement("div", { className: "me-3 text-white bg-" + color + " p-" + iconPadding }, icon), - React__default.createElement("div", null, - React__default.createElement("div", { className: "fs-6 fw-semibold text-" + color }, value), - React__default.createElement("div", { className: "text-medium-emphasis text-uppercase fw-semibold small" }, title))), - footer && React__default.createElement(CCardFooter, null, footer))); -}); -CWidgetIcon.propTypes = { - className: PropTypes.string, - color: colorPropType, - footer: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - iconPadding: PropTypes.number, - padding: PropTypes.number, - title: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}; -CWidgetIcon.displayName = 'CWidgetIcon'; - -var CWidgetProgress = forwardRef(function (_a, ref) { - var className = _a.className, color = _a.color, progressColor = _a.progressColor, progressValue = _a.progressValue, progressWhite = _a.progressWhite, text = _a.text, textColor = _a.textColor, title = _a.title, value = _a.value, rest = __rest(_a, ["className", "color", "progressColor", "progressValue", "progressWhite", "text", "textColor", "title", "value"]); - return (React__default.createElement(CCard, __assign({ className: className, color: color, textColor: textColor }, rest, { ref: ref }), - React__default.createElement(CCardBody, null, - value && React__default.createElement("div", { className: "fs-4 fw-semibold" }, value), - title && React__default.createElement("div", null, title), - React__default.createElement(CProgress, { className: "my-2", color: progressColor, height: 4, value: progressValue, white: progressWhite }), - text && (React__default.createElement("small", { className: textColor === 'white' ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis' }, text))))); -}); -CWidgetProgress.propTypes = { - className: PropTypes.string, - color: colorPropType, - progressColor: PropTypes.string, - progressValue: PropTypes.number, - progressWhite: PropTypes.bool, - text: PropTypes.string, - textColor: PropTypes.string, - title: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}; -CWidgetProgress.displayName = 'CWidgetCWidgetProgress'; - -var CWidgetProgressIcon = forwardRef(function (_a, ref) { - var className = _a.className, color = _a.color, icon = _a.icon, progressColor = _a.progressColor, progressValue = _a.progressValue, progressWhite = _a.progressWhite, textColor = _a.textColor, title = _a.title, value = _a.value, rest = __rest(_a, ["className", "color", "icon", "progressColor", "progressValue", "progressWhite", "textColor", "title", "value"]); - return (React__default.createElement(CCard, __assign({ className: className, color: color, textColor: textColor }, rest, { ref: ref }), - React__default.createElement(CCardBody, null, - icon && (React__default.createElement("div", { className: "text-medium-emphasis" + (color ? '-inverse' : '') + " text-end mb-4" }, icon)), - value && (React__default.createElement("div", { className: "text-high-emphasis" + (color ? '-inverse' : '') + " fs-4 fw-semibold" }, value)), - title && (React__default.createElement("div", { className: "text-medium-emphasis" + (color ? '-inverse' : '') + " text-uppercase fw-semibold small" }, title)), - React__default.createElement(CProgress, { className: "mt-3 mb-0", color: progressColor, height: 4, value: progressValue, white: progressWhite })))); -}); -CWidgetProgressIcon.propTypes = { - className: PropTypes.string, - color: colorPropType, - icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - progressColor: PropTypes.string, - progressValue: PropTypes.number, - progressWhite: PropTypes.bool, - textColor: PropTypes.string, - title: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}; -CWidgetProgressIcon.displayName = 'CWidgetCWidgetProgressIcon'; - -var CWidgetSimple = forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, title = _a.title, value = _a.value, rest = __rest(_a, ["children", "className", "title", "value"]); - var _className = classNames(className); - return (React__default.createElement(CCard, __assign({ className: _className }, rest, { ref: ref }), - React__default.createElement(CCardBody, { className: "text-center" }, - title && (React__default.createElement("div", { className: "text-medium-emphasis small text-uppercase fw-semibold" }, title)), - value && React__default.createElement("div", { className: "fs-6 fw-semibold py-3" }, value), - children))); -}); -CWidgetSimple.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - title: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}; -CWidgetSimple.displayName = 'CWidgetSimple'; - -export { CAccordion, CAccordionBody, CAccordionButton, CAccordionCollapse, CAccordionHeader, CAccordionItem, CAlert, CAlertHeading, CAlertLink, CAvatar, CBackdrop, CBadge, CBreadcrumb, CBreadcrumbItem, CButton, CButtonGroup, CButtonToolbar, CCallout, CCard, CCardBody, CCardFooter, CCardGroup, CCardHeader, CCardImage, CCardImageOverlay, CCardLink, CCardSubtitle, CCardText, CCardTitle, CCarousel, CCarouselCaption, CCarouselControl, CCarouselIndicators, CCarouselInner, CCarouselItem, CCloseButton, CCol, CCollapse, CContainer, CCreateNavItem, CDropdown, CDropdownDivider, CDropdownHeader, CDropdownItem, CDropdownItemPlain, CDropdownMenu, CDropdownToggle, CFooter, CForm, CFormCheck, CFormControl, CFormFeedback, CFormFloating, CFormLabel, CFormRange, CFormSelect, CFormText, CHeader, CHeaderBrand, CHeaderDivider, CHeaderNav, CHeaderText, CHeaderToggler, CImage, CInputGroup, CInputGroupText, CLink, CListGroup, CListGroupItem, CModal, CModalBody, CModalContent, CModalDialog, CModalFooter, CModalHeader, CModalTitle, CNav, CNavGroup, CNavGroupItems, CNavItem, CNavLink, CNavTitle, CNavbar, CNavbarBrand, CNavbarNav, CNavbarText, CNavbarToggler, COffcanvas, COffcanvasBody, COffcanvasHeader, COffcanvasTitle, CPagination, CPaginationItem, CPopover, CPopoverContent, CProgress, CProgressBar, CRow, CSidebar, CSidebarBrand, CSidebarFooter, CSidebarHeader, CSidebarNav, CSidebarToggler, CSpinner, CTabContent, CTabPane, CTable, CTableBody, CTableCaption, CTableDataCell, CTableFoot, CTableHead, CTableHeaderCell, CTableRow, CToast, CToastBody, CToastClose, CToastHeader, CToaster, CTooltip, CTooltipContent, CWidgetBrand, CWidgetDropdown, CWidgetIcon, CWidgetProgress, CWidgetProgressIcon, CWidgetSimple }; -//# sourceMappingURL=index.es.js.map diff --git a/dist/index.es.js.map b/dist/index.es.js.map deleted file mode 100644 index bb9c4400..00000000 --- a/dist/index.es.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.es.js","sources":["../node_modules/tslib/tslib.es6.js","../node_modules/react-is/cjs/react-is.production.min.js","../node_modules/react-is/cjs/react-is.development.js","../node_modules/react-is/index.js","../node_modules/object-assign/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/prop-types/checkPropTypes.js","../node_modules/prop-types/factoryWithTypeCheckers.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js","../node_modules/classnames/index.js","../src/components/accordion/CAccordion.tsx","../src/components/accordion/CAccordionBody.tsx","../src/components/accordion/CAccordionButton.tsx","../node_modules/@babel/runtime/helpers/esm/extends.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../node_modules/dom-helpers/esm/hasClass.js","../node_modules/dom-helpers/esm/addClass.js","../node_modules/dom-helpers/esm/removeClass.js","../node_modules/react-transition-group/esm/config.js","../node_modules/react-transition-group/esm/utils/PropTypes.js","../node_modules/react-transition-group/esm/TransitionGroupContext.js","../node_modules/react-transition-group/esm/Transition.js","../node_modules/react-transition-group/esm/CSSTransition.js","../src/utils/hooks/useForkedRef.ts","../src/components/collapse/CCollapse.tsx","../src/components/accordion/CAccordionCollapse.tsx","../src/components/accordion/CAccordionHeader.tsx","../src/components/accordion/CAccordionItem.tsx","../src/components/Types.tsx","../src/components/close-button/CCloseButton.tsx","../src/components/alert/CAlert.tsx","../src/components/alert/CAlertHeading.tsx","../src/components/link/CLink.tsx","../src/components/alert/CAlertLink.tsx","../src/components/avatar/CAvatar.tsx","../src/components/badge/CBadge.tsx","../src/components/backdrop/CBackdrop.tsx","../src/components/breadcrumb/CBreadcrumb.tsx","../src/components/breadcrumb/CBreadcrumbItem.tsx","../src/components/button/CButton.tsx","../src/components/button-group/CButtonGroup.tsx","../src/components/button-group/CButtonToolbar.tsx","../src/components/callout/CCallout.tsx","../src/components/card/CCard.tsx","../src/components/card/CCardBody.tsx","../src/components/card/CCardFooter.tsx","../src/components/card/CCardGroup.tsx","../src/components/card/CCardHeader.tsx","../src/components/card/CCardImage.tsx","../src/components/card/CCardImageOverlay.tsx","../src/components/card/CCardLink.tsx","../src/components/card/CCardSubtitle.tsx","../src/components/card/CCardText.tsx","../src/components/card/CCardTitle.tsx","../src/components/carousel/CCarouselControl.tsx","../src/components/carousel/CCarouselIndicators.tsx","../src/components/carousel/CCarouselInner.tsx","../src/components/carousel/CCarousel.tsx","../src/components/carousel/CCarouselCaption.tsx","../src/components/carousel/CCarouselItem.tsx","../node_modules/react-popper/lib/esm/Manager.js","../node_modules/react-popper/lib/esm/utils.js","../node_modules/@popperjs/core/lib/enums.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../node_modules/@popperjs/core/lib/dom-utils/contains.js","../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../node_modules/@popperjs/core/lib/utils/math.js","../node_modules/@popperjs/core/lib/utils/within.js","../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../node_modules/@popperjs/core/lib/modifiers/arrow.js","../node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../node_modules/@popperjs/core/lib/utils/getVariation.js","../node_modules/@popperjs/core/lib/utils/computeOffsets.js","../node_modules/@popperjs/core/lib/utils/detectOverflow.js","../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../node_modules/@popperjs/core/lib/modifiers/flip.js","../node_modules/@popperjs/core/lib/modifiers/hide.js","../node_modules/@popperjs/core/lib/modifiers/offset.js","../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../node_modules/@popperjs/core/lib/utils/getAltAxis.js","../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../node_modules/@popperjs/core/lib/utils/orderModifiers.js","../node_modules/@popperjs/core/lib/utils/debounce.js","../node_modules/@popperjs/core/lib/utils/format.js","../node_modules/@popperjs/core/lib/utils/validateModifiers.js","../node_modules/@popperjs/core/lib/utils/uniqueBy.js","../node_modules/@popperjs/core/lib/utils/mergeByName.js","../node_modules/@popperjs/core/lib/createPopper.js","../node_modules/@popperjs/core/lib/popper.js","../node_modules/react-fast-compare/index.js","../node_modules/react-popper/lib/esm/usePopper.js","../node_modules/react-popper/lib/esm/Popper.js","../node_modules/warning/warning.js","../node_modules/react-popper/lib/esm/Reference.js","../src/components/dropdown/CDropdown.tsx","../src/components/dropdown/CDropdownDivider.tsx","../src/components/dropdown/CDropdownHeader.tsx","../src/components/dropdown/CDropdownItem.tsx","../src/components/dropdown/CDropdownItemPlain.tsx","../src/components/dropdown/CDropdownMenu.tsx","../src/components/dropdown/CDropdownToggle.tsx","../src/components/grid/CCol.tsx","../src/components/grid/CContainer.tsx","../src/components/grid/CRow.tsx","../src/components/footer/CFooter.tsx","../src/components/form/CForm.tsx","../src/components/form/CFormControl.tsx","../src/components/form/CFormLabel.tsx","../src/components/form/CFormCheck.tsx","../src/components/form/CFormFeedback.tsx","../src/components/form/CFormFloating.tsx","../src/components/form/CFormRange.tsx","../src/components/form/CFormSelect.tsx","../src/components/form/CFormText.tsx","../src/components/form/CInputGroup.tsx","../src/components/form/CInputGroupText.tsx","../src/components/header/CHeader.tsx","../src/components/header/CHeaderBrand.tsx","../src/components/header/CHeaderDivider.tsx","../src/components/header/CHeaderNav.tsx","../src/components/header/CHeaderText.tsx","../src/components/header/CHeaderToggler.tsx","../src/components/image/CImage.tsx","../src/components/list-group/CListGroup.tsx","../src/components/list-group/CListGroupItem.tsx","../src/components/modal/CModalContent.tsx","../src/components/modal/CModalDialog.tsx","../src/components/modal/CModal.tsx","../src/components/modal/CModalBody.tsx","../src/components/modal/CModalFooter.tsx","../src/components/modal/CModalHeader.tsx","../src/components/modal/CModalTitle.tsx","../src/components/nav/CNav.tsx","../src/components/nav/CNavGroupItems.tsx","../src/components/sidebar/CSidebarNav.tsx","../src/components/nav/CNavGroup.tsx","../src/components/nav/CNavLink.tsx","../src/components/nav/CNavItem.tsx","../src/components/nav/CNavTitle.tsx","../src/components/navbar/CNavbar.tsx","../src/components/navbar/CNavbarBrand.tsx","../src/components/navbar/CNavbarNav.tsx","../src/components/navbar/CNavbarText.tsx","../src/components/navbar/CNavbarToggler.tsx","../src/components/pagination/CPagination.tsx","../src/components/pagination/CPaginationItem.tsx","../src/components/popover/CPopoverContent.tsx","../src/components/popover/CPopover.tsx","../src/components/progress/CProgressBar.tsx","../src/components/progress/CProgress.tsx","../src/components/sidebar/CSidebar.tsx","../src/components/offcanvas/COffcanvas.tsx","../src/components/offcanvas/COffcanvasBody.tsx","../src/components/offcanvas/COffcanvasHeader.tsx","../src/components/offcanvas/COffcanvasTitle.tsx","../src/components/sidebar/CSidebarBrand.tsx","../src/components/sidebar/CSidebarFooter.tsx","../src/components/sidebar/CSidebarToggler.tsx","../src/components/sidebar/CCreateNavItem.tsx","../src/components/sidebar/CSidebarHeader.tsx","../src/components/spinner/CSpinner.tsx","../src/components/table/CTable.tsx","../src/components/table/CTableBody.tsx","../src/components/table/CTableCaption.tsx","../src/components/table/CTableDataCell.tsx","../src/components/table/CTableFoot.tsx","../src/components/table/CTableHead.tsx","../src/components/table/CTableHeaderCell.tsx","../src/components/table/CTableRow.tsx","../src/components/tabs/CTabContent.tsx","../src/components/tabs/CTabPane.tsx","../src/components/toast/CToast.tsx","../src/components/toast/CToastBody.tsx","../src/components/toast/CToastClose.tsx","../src/components/toast/CToastHeader.tsx","../src/components/toast/CToaster.tsx","../src/components/tooltip/CTooltipContent.tsx","../src/components/tooltip/CTooltip.tsx","../src/components/widgets/CWidgetBrand.tsx","../src/components/widgets/CWidgetDropdown.tsx","../src/components/widgets/CWidgetIcon.tsx","../src/components/widgets/CWidgetProgress.tsx","../src/components/widgets/CWidgetProgressIcon.tsx","../src/components/widgets/CWidgetSimple.tsx"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from) {\r\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n to[j] = from[i];\r\n return to;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\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\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\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\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-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\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-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\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = Function.call.bind(Object.prototype.hasOwnProperty);\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-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\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar has = Function.call.bind(Object.prototype.hasOwnProperty);\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-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\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-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\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Removes the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container. [docs]\n */\n flush?: boolean\n}\n\nexport const CAccordion = forwardRef(\n ({ children, className, flush, ...rest }, ref) => {\n const _className = classNames('accordion', { 'accordion-flush': flush }, className)\n return (\n
\n {children}\n
\n )\n },\n)\n\nCAccordion.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n flush: PropTypes.bool,\n}\n\nCAccordion.displayName = 'CAccordion'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CAccordionBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('accordion-body', className)\n\n return (\n
\n {children}\n
\n )\n },\n)\n\nCAccordionBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAccordionBody.displayName = 'CAccordionBody'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionButtonProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Set button state to collapsed. [docs]\n */\n collapsed?: boolean\n}\n\nexport const CAccordionButton = forwardRef(\n ({ children, className, collapsed, ...rest }, ref) => {\n const _className = classNames('accordion-button', { collapsed: collapsed }, className)\n\n return (\n \n )\n },\n)\n\nCAccordionButton.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n collapsed: PropTypes.bool,\n}\n\nCAccordionButton.displayName = 'CAccordionButton'\n","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","/**\n * Checks if a given element has a CSS class.\n * \n * @param element the element\n * @param className the CSS class name\n */\nexport default function hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);\n return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}","import hasClass from './hasClass';\n/**\n * Adds a CSS class to a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\nexport default function addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + \" \" + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + \" \" + className);\n}","function replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp(\"(^|\\\\s)\" + classToRemove + \"(?:\\\\s|$)\", 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n/**\n * Removes a CSS class from a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\n\nexport default function removeClass(element, className) {\n if (element.classList) {\n element.classList.remove(className);\n } else if (typeof element.className === 'string') {\n element.className = replaceClassName(element.className, className);\n } else {\n element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n }\n}","export default {\n disabled: false\n};","import PropTypes from 'prop-types';\nexport var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n enter: PropTypes.number,\n exit: PropTypes.number,\n appear: PropTypes.number\n}).isRequired]) : null;\nexport var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string,\n active: PropTypes.string\n}), PropTypes.shape({\n enter: PropTypes.string,\n enterDone: PropTypes.string,\n enterActive: PropTypes.string,\n exit: PropTypes.string,\n exitDone: PropTypes.string,\n exitActive: PropTypes.string\n})]) : null;","import React from 'react';\nexport default React.createContext(null);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * \n * {state => (\n *
\n * I'm a fade Transition!\n *
\n * )}\n *
\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
\n * \n * {state => (\n * // ...\n * )}\n * \n * \n *
\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * \n * {state => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport addOneClass from 'dom-helpers/addClass';\nimport removeOneClass from 'dom-helpers/removeClass';\nimport React from 'react';\nimport Transition from './Transition';\nimport { classNamesShape } from './utils/PropTypes';\n\nvar _addClass = function addClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return addOneClass(node, c);\n });\n};\n\nvar removeClass = function removeClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return removeOneClass(node, c);\n });\n};\n/**\n * A transition component inspired by the excellent\n * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should\n * use it if you're using CSS transitions or animations. It's built upon the\n * [`Transition`](https://reactcommunity.org/react-transition-group/transition)\n * component, so it inherits all of its props.\n *\n * `CSSTransition` applies a pair of class names during the `appear`, `enter`,\n * and `exit` states of the transition. The first class is applied and then a\n * second `*-active` class in order to activate the CSS transition. After the\n * transition, matching `*-done` class names are applied to persist the\n * transition state.\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
\n * \n *
\n * {\"I'll receive my-node-* classes\"}\n *
\n *
\n * \n *
\n * );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n * opacity: 0;\n * }\n * .my-node-enter-active {\n * opacity: 1;\n * transition: opacity 200ms;\n * }\n * .my-node-exit {\n * opacity: 1;\n * }\n * .my-node-exit-active {\n * opacity: 0;\n * transition: opacity 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**, so it's\n * important to add `transition` declaration only to them, otherwise transitions\n * might not behave as intended! This might not be obvious when the transitions\n * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in\n * the example above (minus `transition`), but it becomes apparent in more\n * complex transitions.\n *\n * **Note**: If you're using the\n * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)\n * prop, make sure to define styles for `.appear-*` classes as well.\n */\n\n\nvar CSSTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(CSSTransition, _React$Component);\n\n function CSSTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.appliedClasses = {\n appear: {},\n enter: {},\n exit: {}\n };\n\n _this.onEnter = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument[0],\n appearing = _this$resolveArgument[1];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, appearing ? 'appear' : 'enter', 'base');\n\n if (_this.props.onEnter) {\n _this.props.onEnter(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntering = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument2[0],\n appearing = _this$resolveArgument2[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.addClass(node, type, 'active');\n\n if (_this.props.onEntering) {\n _this.props.onEntering(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntered = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument3[0],\n appearing = _this$resolveArgument3[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.removeClasses(node, type);\n\n _this.addClass(node, type, 'done');\n\n if (_this.props.onEntered) {\n _this.props.onEntered(maybeNode, maybeAppearing);\n }\n };\n\n _this.onExit = function (maybeNode) {\n var _this$resolveArgument4 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument4[0];\n\n _this.removeClasses(node, 'appear');\n\n _this.removeClasses(node, 'enter');\n\n _this.addClass(node, 'exit', 'base');\n\n if (_this.props.onExit) {\n _this.props.onExit(maybeNode);\n }\n };\n\n _this.onExiting = function (maybeNode) {\n var _this$resolveArgument5 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument5[0];\n\n _this.addClass(node, 'exit', 'active');\n\n if (_this.props.onExiting) {\n _this.props.onExiting(maybeNode);\n }\n };\n\n _this.onExited = function (maybeNode) {\n var _this$resolveArgument6 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument6[0];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, 'exit', 'done');\n\n if (_this.props.onExited) {\n _this.props.onExited(maybeNode);\n }\n };\n\n _this.resolveArguments = function (maybeNode, maybeAppearing) {\n return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`\n : [maybeNode, maybeAppearing];\n };\n\n _this.getClassNames = function (type) {\n var classNames = _this.props.classNames;\n var isStringClassNames = typeof classNames === 'string';\n var prefix = isStringClassNames && classNames ? classNames + \"-\" : '';\n var baseClassName = isStringClassNames ? \"\" + prefix + type : classNames[type];\n var activeClassName = isStringClassNames ? baseClassName + \"-active\" : classNames[type + \"Active\"];\n var doneClassName = isStringClassNames ? baseClassName + \"-done\" : classNames[type + \"Done\"];\n return {\n baseClassName: baseClassName,\n activeClassName: activeClassName,\n doneClassName: doneClassName\n };\n };\n\n return _this;\n }\n\n var _proto = CSSTransition.prototype;\n\n _proto.addClass = function addClass(node, type, phase) {\n var className = this.getClassNames(type)[phase + \"ClassName\"];\n\n var _this$getClassNames = this.getClassNames('enter'),\n doneClassName = _this$getClassNames.doneClassName;\n\n if (type === 'appear' && phase === 'done' && doneClassName) {\n className += \" \" + doneClassName;\n } // This is to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n\n\n if (phase === 'active') {\n /* eslint-disable no-unused-expressions */\n node && node.scrollTop;\n }\n\n if (className) {\n this.appliedClasses[type][phase] = className;\n\n _addClass(node, className);\n }\n };\n\n _proto.removeClasses = function removeClasses(node, type) {\n var _this$appliedClasses$ = this.appliedClasses[type],\n baseClassName = _this$appliedClasses$.base,\n activeClassName = _this$appliedClasses$.active,\n doneClassName = _this$appliedClasses$.done;\n this.appliedClasses[type] = {};\n\n if (baseClassName) {\n removeClass(node, baseClassName);\n }\n\n if (activeClassName) {\n removeClass(node, activeClassName);\n }\n\n if (doneClassName) {\n removeClass(node, doneClassName);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n _ = _this$props.classNames,\n props = _objectWithoutPropertiesLoose(_this$props, [\"classNames\"]);\n\n return /*#__PURE__*/React.createElement(Transition, _extends({}, props, {\n onEnter: this.onEnter,\n onEntered: this.onEntered,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }));\n };\n\n return CSSTransition;\n}(React.Component);\n\nCSSTransition.defaultProps = {\n classNames: ''\n};\nCSSTransition.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({}, Transition.propTypes, {\n /**\n * The animation classNames applied to the component as it appears, enters,\n * exits or has finished the transition. A single name can be provided, which\n * will be suffixed for each stage, e.g. `classNames=\"fade\"` applies:\n *\n * - `fade-appear`, `fade-appear-active`, `fade-appear-done`\n * - `fade-enter`, `fade-enter-active`, `fade-enter-done`\n * - `fade-exit`, `fade-exit-active`, `fade-exit-done`\n *\n * A few details to note about how these classes are applied:\n *\n * 1. They are _joined_ with the ones that are already defined on the child\n * component, so if you want to add some base styles, you can use\n * `className` without worrying that it will be overridden.\n *\n * 2. If the transition component mounts with `in={false}`, no classes are\n * applied yet. You might be expecting `*-exit-done`, but if you think\n * about it, a component cannot finish exiting if it hasn't entered yet.\n *\n * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This\n * allows you to define different behavior for when appearing is done and\n * when regular entering is done, using selectors like\n * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply\n * an epic entrance animation when element first appears in the DOM using\n * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can\n * simply use `fade-enter-done` for defining both cases.\n *\n * Each individual classNames can also be specified independently like:\n *\n * ```js\n * classNames={{\n * appear: 'my-appear',\n * appearActive: 'my-active-appear',\n * appearDone: 'my-done-appear',\n * enter: 'my-enter',\n * enterActive: 'my-active-enter',\n * enterDone: 'my-done-enter',\n * exit: 'my-exit',\n * exitActive: 'my-active-exit',\n * exitDone: 'my-done-exit',\n * }}\n * ```\n *\n * If you want to set these classes using CSS Modules:\n *\n * ```js\n * import styles from './styles.css';\n * ```\n *\n * you might want to use camelCase in your CSS file, that way could simply\n * spread them instead of listing them one by one:\n *\n * ```js\n * classNames={{ ...styles }}\n * ```\n *\n * @type {string | {\n * appear?: string,\n * appearActive?: string,\n * appearDone?: string,\n * enter?: string,\n * enterActive?: string,\n * enterDone?: string,\n * exit?: string,\n * exitActive?: string,\n * exitDone?: string,\n * }}\n */\n classNames: classNamesShape,\n\n /**\n * A `` callback fired immediately after the 'enter' or 'appear' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEnter: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'enter-active' or\n * 'appear-active' class is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'enter' or\n * 'appear' classes are **removed** and the `done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntered: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExit: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit-active' is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExiting: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit' classes\n * are **removed** and the `exit-done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExited: PropTypes.func\n}) : {};\nexport default CSSTransition;","// code borrowed from https://github.com/reach/reach-ui\n// problem described https://github.com/facebook/react/issues/13029\n\nimport { useMemo } from 'react'\n\nexport type AssignableRef =\n | {\n bivarianceHack(instance: ValueType | null): void\n }['bivarianceHack']\n | React.MutableRefObject\n\nexport function useForkedRef(\n ...refs: (AssignableRef | null | undefined)[]\n) {\n return useMemo(() => {\n if (refs.every((ref) => ref == null)) {\n return null\n }\n return (node: any) => {\n refs.forEach((ref) => {\n assignRef(ref, node)\n })\n }\n }, refs)\n}\n\nexport function assignRef(\n ref: AssignableRef | null | undefined,\n value: any,\n) {\n if (ref == null) return\n if (isFunction(ref)) {\n ref(value)\n } else {\n try {\n ref.current = value\n } catch (error) {\n throw new Error(`Cannot assign value \"${value}\" to ref \"${ref}\"`)\n }\n }\n}\n\nexport function isFunction(value: any): value is Function {\n return !!(value && {}.toString.call(value) == '[object Function]')\n}\n","import React, { forwardRef, HTMLAttributes, useRef, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CSSTransition } from 'react-transition-group'\n\nimport { useForkedRef } from '../../utils/hooks'\n\nexport interface CCollapseProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Toggle the visibility of component. [docs]\n */\n visible?: boolean\n}\n\nexport const CCollapse = forwardRef(\n ({ children, className, visible, ...rest }, ref) => {\n const [height, setHeight] = useState()\n const collapseRef = useRef(null)\n const forkedRef = useForkedRef(ref, collapseRef)\n\n const getTransitionClass = (state: string) => {\n return state === 'entering'\n ? 'collapsing'\n : state === 'entered'\n ? 'collapse show'\n : state === 'exiting'\n ? 'collapsing'\n : 'collapse'\n }\n\n const onEntering = () => {\n collapseRef && collapseRef.current && setHeight(collapseRef.current.scrollHeight)\n }\n\n const onEntered = () => {\n setHeight(0)\n }\n\n const onExit = () => {\n collapseRef && collapseRef.current && setHeight(collapseRef.current.scrollHeight)\n }\n\n const onExiting = () => {\n setHeight(0)\n }\n\n const onExited = () => {\n setHeight(0)\n }\n\n const _className = classNames(className)\n\n return (\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n const currentHeight = height === 0 ? null : { height }\n return (\n \n {children}\n \n )\n }}\n
\n )\n },\n)\n\nCCollapse.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n visible: PropTypes.bool,\n}\n\nCCollapse.displayName = 'CCollapse'\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport { CCollapse, CCollapseProps } from '../collapse/CCollapse'\n\nexport const CAccordionCollapse = forwardRef(\n ({ children, ...props }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCAccordionCollapse.propTypes = {\n children: PropTypes.node,\n}\n\nCAccordionCollapse.displayName = 'CAccordionCollapse'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CAccordionHeader = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('accordion-header', className)\n\n return (\n
\n {children}\n
\n )\n },\n)\n\nCAccordionHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAccordionHeader.displayName = 'CAccordionHeader'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionItemProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CAccordionItem = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('accordion-item', className)\n\n return (\n
\n {children}\n
\n )\n },\n)\n\nCAccordionItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAccordionItem.displayName = 'CAccordionItem'\n","import PropTypes from 'prop-types'\n\nexport type Breakpoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n\nexport type Colors =\n | 'primary'\n | 'secondary'\n | 'success'\n | 'danger'\n | 'warning'\n | 'info'\n | 'dark'\n | 'light'\n | string\n\nexport const colorPropType = PropTypes.oneOfType([\n PropTypes.oneOf([\n 'primary',\n 'secondary',\n 'success',\n 'danger',\n 'warning',\n 'info',\n 'dark',\n 'light',\n ]),\n PropTypes.string,\n])\n\nexport type Placements =\n | 'auto'\n | 'auto-start'\n | 'auto-end'\n | 'top-end'\n | 'top'\n | 'top-start'\n | 'bottom-end'\n | 'bottom'\n | 'bottom-start'\n | 'right-start'\n | 'right'\n | 'right-end'\n | 'left-start'\n | 'left'\n | 'left-end'\n | undefined\n\nexport const placementPropType = PropTypes.oneOf([\n 'auto',\n 'auto-start',\n 'auto-end',\n 'top-end',\n 'top',\n 'top-start',\n 'bottom-end',\n 'bottom',\n 'bottom-start',\n 'right-start',\n 'right',\n 'right-end',\n 'left-start',\n 'left',\n 'left-end',\n])\n\nexport type Shapes =\n | 'rounded'\n | 'rounded-top'\n | 'rounded-end'\n | 'rounded-bottom'\n | 'rounded-start'\n | 'rounded-circle'\n | 'rounded-pill'\n | 'rounded-0'\n | 'rounded-1'\n | 'rounded-2'\n | 'rounded-3'\n | string\n\nexport const shapePropType = PropTypes.oneOfType([\n PropTypes.oneOf([\n 'rounded',\n 'rounded-top',\n 'rounded-end',\n 'rounded-bottom',\n 'rounded-start',\n 'rounded-circle',\n 'rounded-pill',\n 'rounded-0',\n 'rounded-1',\n 'rounded-2',\n 'rounded-3',\n ]),\n PropTypes.string,\n])\n\nexport type Triggers = 'hover' | 'focus' | 'click'\n\nexport const triggerPropType = PropTypes.oneOf(['hover', 'focus', 'click'])\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CCloseButtonProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n /**\n * Change the default color to white. [docs]\n */\n white?: boolean\n}\n\nexport const CCloseButton = forwardRef(\n ({ className, disabled, white, ...rest }, ref) => {\n const _className = classNames(\n 'btn',\n 'btn-close',\n {\n 'btn-close-white': white,\n },\n disabled,\n className,\n )\n return (\n \n )\n },\n)\n\nCCarouselControl.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n direction: PropTypes.oneOf(['prev', 'next']).isRequired,\n}\n\nCCarouselControl.displayName = 'CCarouselControl'\n","import React, { forwardRef, HTMLAttributes, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CCarouselContext } from './CCarousel'\n\nexport interface CCarouselIndicatorsProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Indicators section user classes. [docs]\n */\n indicatorsClass?: string\n}\n\nexport const CCarouselIndicators = forwardRef(\n ({ className, indicatorsClass = 'carousel-indicators' }, ref) => {\n const { itemsNumber, state, setState, animating } = useContext(CCarouselContext)\n\n const listClasses = classNames(indicatorsClass, className)\n\n const indicators = Array.from({ length: itemsNumber }, (_, i) => i).map((key) => {\n return (\n {\n !animating && key !== state[1] && setState([state[1], key])\n }}\n className={state[1] === key ? 'active' : ''}\n data-coreui-target=\"\"\n />\n )\n })\n\n return (\n
    \n {indicators}\n
\n )\n },\n)\n\nCCarouselIndicators.propTypes = {\n className: PropTypes.string,\n indicatorsClass: PropTypes.string,\n}\n\nCCarouselIndicators.displayName = 'CCarouselIndicators'\n","import React, { Children, forwardRef, HTMLAttributes, useContext, useEffect } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CCarouselContext } from './CCarousel'\n\nexport interface CCarouselInnerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CCarouselInner = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const { setItemsNumber } = useContext(CCarouselContext)\n const _className = classNames('carousel-inner', className)\n\n useEffect(() => {\n setItemsNumber(Children.toArray(children).length)\n })\n\n return (\n
\n {Children.map(children, (child, index) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child, { key: index, idx: index })\n }\n return\n })}\n
\n )\n },\n)\n\nCCarouselInner.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCCarouselInner.displayName = 'CCarouselInner'\n","import React, {\n createContext,\n forwardRef,\n HTMLAttributes,\n useState,\n useEffect,\n useRef,\n} from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CCarouselControl } from './CCarouselControl'\nimport { CCarouselIndicators } from './CCarouselIndicators'\nimport { CCarouselInner } from './CCarouselInner'\n\nexport interface CCarouselProps extends HTMLAttributes {\n /**\n * Set 'animate' variable for created context. [docs]\n */\n animate?: boolean\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Adding in the previous and next controls. [docs]\n */\n controls?: boolean\n /**\n * Add darker controls, indicators, and captions. [docs]\n */\n dark?: boolean\n /**\n * The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle. [docs]\n */\n interval?: boolean | number\n /**\n * index of the active item. [docs]\n */\n index?: number\n /**\n * Adding indicators at the bottom of the carousel for each item. [docs]\n */\n indicators?: boolean\n /**\n * On slide change callback. [docs]\n */\n onSlideChange?: (a: number | string | null) => void\n /**\n * On slide change callback. [docs]\n *\n * @type {'slide' | 'crossfade'}\n * @default 'slide'\n */\n transition?: 'slide' | 'crossfade'\n}\n\ninterface DataType {\n timeout?: null | ReturnType\n}\n\nexport interface ContextProps {\n itemsNumber: number\n state: [number | null, number, string?]\n animating: boolean\n animate?: boolean\n setItemsNumber: (a: number) => void\n setAnimating: (a: boolean) => void\n setState: (a: [number | null, number, string?]) => void\n}\n\nexport const CCarouselContext = createContext({} as ContextProps)\n\nexport const CCarousel = forwardRef(\n (\n {\n children,\n animate = true,\n className,\n controls,\n dark,\n index = 0,\n indicators,\n interval = 5000,\n onSlideChange,\n transition,\n ...rest\n },\n ref,\n ) => {\n const [state, setState] = useState<[number | null, number, string?]>([null, index])\n const [itemsNumber, setItemsNumber] = useState(0)\n const [animating, setAnimating] = useState(false)\n\n const data = useRef({}).current\n\n const cycle = () => {\n pause()\n if (typeof interval === 'number') {\n data.timeout = setTimeout(() => nextItem(), interval)\n }\n }\n const pause = () => data.timeout && clearTimeout(data.timeout)\n const nextItem = () => {\n if (typeof state[1] === 'number')\n setState([state[1], itemsNumber === state[1] + 1 ? 0 : state[1] + 1, 'next'])\n }\n\n useEffect(() => {\n setState([state[1], index])\n }, [index])\n\n useEffect(() => {\n onSlideChange && onSlideChange(state[1])\n cycle()\n return () => {\n pause()\n }\n }, [state])\n\n const _className = classNames(\n 'carousel slide',\n transition === 'crossfade' && 'carousel-fade',\n dark && 'carousel-dark',\n className,\n )\n\n return (\n
\n \n {indicators && }\n {children}\n {controls && (\n <>\n \n \n \n )}\n \n
\n )\n },\n)\n\nCCarousel.propTypes = {\n animate: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n controls: PropTypes.bool,\n dark: PropTypes.bool,\n index: PropTypes.number,\n indicators: PropTypes.bool,\n interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),\n onSlideChange: PropTypes.func,\n transition: PropTypes.oneOf(['slide', 'crossfade']),\n}\n\nCCarousel.displayName = 'CCarousel'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CCarouselCaptionProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CCarouselCaption = forwardRef(\n ({ className, ...rest }, ref) => {\n const _className = classNames('carousel-caption', className)\n\n return
\n },\n)\n\nCCarouselCaption.propTypes = {\n className: PropTypes.string,\n}\n\nCCarouselCaption.displayName = 'CCarouselCaption'\n","import React, { forwardRef, HTMLAttributes, useContext, useState, useEffect } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CSSTransition } from 'react-transition-group'\n\nimport { CCarouselContext } from './CCarousel'\nexport interface CCarouselItemProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * @ignore\n */\n idx?: number\n}\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nconst getDirection = (state: object) => {\n if (state[2]) {\n return state[2] === 'next' ? 'right' : 'left'\n } else {\n return state[1] > state[0] ? 'right' : 'left'\n }\n}\n\nexport const CCarouselItem = forwardRef(\n ({ children, className, idx, ...rest }, ref) => {\n const { animate, state, animating, setAnimating } = useContext(CCarouselContext)\n\n const [isIn, setIsIn] = useState(false)\n\n const onEnter = () => {\n setAnimating(false)\n }\n const onEntering = () => {\n setAnimating(true)\n }\n const onExit = () => {\n setAnimating(false)\n }\n const onExiting = () => {\n setAnimating(true)\n }\n const onExited = () => {\n setAnimating(false)\n }\n\n useEffect(() => {\n setIsIn(state[1] === idx)\n }, [state])\n\n if (!animate || state[0] === null) {\n const itemClasses = classNames('carousel-item', isIn && 'active', className)\n return (\n
\n {children}\n
\n )\n }\n\n return (\n \n {(status) => {\n const direction = getDirection(state)\n const isActive = status === 'entered' || status === 'exiting'\n const directionClassName =\n (status === 'entering' || status === 'exiting') &&\n animating &&\n (direction === 'right' ? 'carousel-item-start' : 'carousel-item-end')\n\n const orderClassName =\n status === 'entering' &&\n (direction === 'right' ? 'carousel-item-next' : 'carousel-item-prev')\n\n const itemClasses = classNames(\n 'carousel-item',\n isActive && 'active',\n orderClassName,\n directionClassName,\n className,\n )\n\n return (\n
\n {children}\n
\n )\n }}\n \n )\n },\n)\n\nCCarouselItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n idx: PropTypes.number,\n}\n\nCCarouselItem.displayName = 'CCarouselItem'\n","import * as React from 'react';\nexport var ManagerReferenceNodeContext = React.createContext();\nexport var ManagerReferenceNodeSetterContext = React.createContext();\nexport function Manager(_ref) {\n var children = _ref.children;\n\n var _React$useState = React.useState(null),\n referenceNode = _React$useState[0],\n setReferenceNode = _React$useState[1];\n\n var hasUnmounted = React.useRef(false);\n React.useEffect(function () {\n return function () {\n hasUnmounted.current = true;\n };\n }, []);\n var handleSetReferenceNode = React.useCallback(function (node) {\n if (!hasUnmounted.current) {\n setReferenceNode(node);\n }\n }, []);\n return /*#__PURE__*/React.createElement(ManagerReferenceNodeContext.Provider, {\n value: referenceNode\n }, /*#__PURE__*/React.createElement(ManagerReferenceNodeSetterContext.Provider, {\n value: handleSetReferenceNode\n }, children));\n}","import * as React from 'react';\n\n/**\n * Takes an argument and if it's an array, returns the first item in the array,\n * otherwise returns the argument. Used for Preact compatibility.\n */\nexport var unwrapArray = function unwrapArray(arg) {\n return Array.isArray(arg) ? arg[0] : arg;\n};\n/**\n * Takes a maybe-undefined function and arbitrary args and invokes the function\n * only if it is defined.\n */\n\nexport var safeInvoke = function safeInvoke(fn) {\n if (typeof fn === 'function') {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return fn.apply(void 0, args);\n }\n};\n/**\n * Sets a ref using either a ref callback or a ref object\n */\n\nexport var setRef = function setRef(ref, node) {\n // if its a function call it\n if (typeof ref === 'function') {\n return safeInvoke(ref, node);\n } // otherwise we should treat it as a ref object\n else if (ref != null) {\n ref.current = node;\n }\n};\n/**\n * Simple ponyfill for Object.fromEntries\n */\n\nexport var fromEntries = function fromEntries(entries) {\n return entries.reduce(function (acc, _ref) {\n var key = _ref[0],\n value = _ref[1];\n acc[key] = value;\n return acc;\n }, {});\n};\n/**\n * Small wrapper around `useLayoutEffect` to get rid of the warning on SSR envs\n */\n\nexport var useIsomorphicLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? React.useLayoutEffect : React.useEffect;","export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","export default function getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}","export default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}","import getWindow from \"./getWindow.js\";\n\nfunction isElement(node) {\n var OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\nfunction isHTMLElement(node) {\n var OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n\n var OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n return placement.split('-')[0];\n}","export default function getBoundingClientRect(element) {\n var rect = element.getBoundingClientRect();\n return {\n width: rect.width,\n height: rect.height,\n top: rect.top,\n right: rect.right,\n bottom: rect.bottom,\n left: rect.left,\n x: rect.left,\n y: rect.top\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\"; // Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\n\nexport default function getLayoutRect(element) {\n var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) <= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) <= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: width,\n height: height\n };\n}","import { isShadowRoot } from \"./instanceOf.js\";\nexport default function contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","import { isElement } from \"./instanceOf.js\";\nexport default function getDocumentElement(element) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n element.document) || window.document).documentElement;\n}","import getNodeName from \"./getNodeName.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport { isShadowRoot } from \"./instanceOf.js\";\nexport default function getParentNode(element) {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || ( // DOM Element detected\n isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n\n );\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\";\nimport getParentNode from \"./getParentNode.js\";\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\n var isIE = navigator.userAgent.indexOf('Trident') !== -1;\n\n if (isIE && isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n var elementCss = getComputedStyle(element);\n\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n var currentNode = getParentNode(element);\n\n while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nexport default function getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}","export default function getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","export var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport default function within(min, value, max) {\n return mathMax(min, mathMin(value, max));\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport within from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (process.env.NODE_ENV !== \"production\") {\n if (!isHTMLElement(arrowElement)) {\n console.error(['Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper', 'element.'].join(' '));\n }\n\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","import { top, left, right, bottom } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref) {\n var x = _ref.x,\n y = _ref.y;\n var win = window;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(round(x * dpr) / dpr) || 0,\n y: round(round(y * dpr) / dpr) || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets;\n\n var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,\n _ref3$x = _ref3.x,\n x = _ref3$x === void 0 ? 0 : _ref3$x,\n _ref3$y = _ref3.y,\n y = _ref3$y === void 0 ? 0 : _ref3$y;\n\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top) {\n sideY = bottom; // $FlowFixMe[prop-missing]\n\n y -= offsetParent[heightProp] - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left) {\n sideX = right; // $FlowFixMe[prop-missing]\n\n x -= offsetParent[widthProp] - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref4) {\n var state = _ref4.state,\n options = _ref4.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n\n if (process.env.NODE_ENV !== \"production\") {\n var transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || '';\n\n if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {\n return transitionProperty.indexOf(property) >= 0;\n })) {\n console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".', '\\n\\n', 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\\n\\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));\n }\n }\n\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};","import getWindow from \"../dom-utils/getWindow.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = getWindow(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n var win = getWindow(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on \n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","import getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nexport default function getViewportRect(element) {\n var win = getWindow(element);\n var html = getDocumentElement(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper\n // can be obscured underneath it.\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\n // if it isn't open, so if this isn't available, the popper will be detected\n // to overflow the bottom of the screen too early.\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number <= 0, usually < -1 when pinch-zoomed\n // Feature detection fails in mobile emulation mode in Chrome.\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <\n // 0.001\n // Fallback here: \"Not Safari\" userAgent\n\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + getWindowScrollBarX(element),\n y: y\n };\n}","import getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nimport { max } from \"../utils/math.js\"; // Gets the entire size of the scrollable document area, even extending outside\n// of the `` and `` rect bounds if horizontally scrollable\n\nexport default function getDocumentRect(element) {\n var _element$ownerDocumen;\n\n var html = getDocumentElement(element);\n var winScroll = getWindowScroll(element);\n var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n var y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}","import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","import getParentNode from \"./getParentNode.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) && isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getWindow from \"./getWindow.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nexport default function listScrollParents(element, list) {\n var _element$ownerDocumen;\n\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = getScrollParent(element);\n var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n var win = getWindow(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}","export default function rectToClientRect(rect) {\n return Object.assign({}, rect, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport contains from \"./contains.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\nimport { max, min } from \"../utils/math.js\";\n\nfunction getInnerBoundingClientRect(element) {\n var rect = getBoundingClientRect(element);\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent) {\n return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = listScrollParents(getParentNode(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? getBasePlacement(placement) : null;\n var variation = placement ? getVariation(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n\n case end:\n offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}","import getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport default function detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n var altContext = elementContext === popper ? reference : popper;\n var referenceElement = state.elements.reference;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);\n var referenceClientRect = getBoundingClientRect(referenceElement);\n var popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === popper && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, \"auto\" cannot be used to allow \"bottom-start\".', 'Use \"auto-start\" instead.'].join(' '));\n }\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\";\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};","export default function getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport within from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\nimport { max as mathMax, min as mathMin } from \"../utils/math.js\";\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = detectOverflow(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = getBasePlacement(state.placement);\n var variation = getVariation(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = getMainAxisFromPlacement(basePlacement);\n var altAxis = getAltAxis(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n placement: state.placement\n })) : tetherOffset;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis || checkAltAxis) {\n var mainSide = mainAxis === 'y' ? top : left;\n var altSide = mainAxis === 'y' ? bottom : right;\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = popperOffsets[mainAxis] + overflow[mainSide];\n var max = popperOffsets[mainAxis] - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === start ? referenceRect[len] : popperRect[len];\n var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;\n var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;\n var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;\n\n if (checkMainAxis) {\n var preventedOffset = within(tether ? mathMin(min, tetherMin) : min, offset, tether ? mathMax(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var _preventedOffset = within(tether ? mathMin(_min, tetherMin) : _min, _offset, tether ? mathMax(_max, tetherMax) : _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n};","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport isScrollParent from \"./isScrollParent.js\"; // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(elementOrVirtualElement);\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nexport default function orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return modifierPhases.reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}","export default function debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}","export default function format(str) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return [].concat(args).reduce(function (p, c) {\n return p.replace(/%s/, c);\n }, str);\n}","import format from \"./format.js\";\nimport { modifierPhases } from \"../enums.js\";\nvar INVALID_MODIFIER_ERROR = 'Popper: modifier \"%s\" provided an invalid %s property, expected %s but got %s';\nvar MISSING_DEPENDENCY_ERROR = 'Popper: modifier \"%s\" requires \"%s\", but \"%s\" modifier is not available';\nvar VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];\nexport default function validateModifiers(modifiers) {\n modifiers.forEach(function (modifier) {\n Object.keys(modifier).forEach(function (key) {\n switch (key) {\n case 'name':\n if (typeof modifier.name !== 'string') {\n console.error(format(INVALID_MODIFIER_ERROR, String(modifier.name), '\"name\"', '\"string\"', \"\\\"\" + String(modifier.name) + \"\\\"\"));\n }\n\n break;\n\n case 'enabled':\n if (typeof modifier.enabled !== 'boolean') {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"enabled\"', '\"boolean\"', \"\\\"\" + String(modifier.enabled) + \"\\\"\"));\n }\n\n case 'phase':\n if (modifierPhases.indexOf(modifier.phase) < 0) {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"phase\"', \"either \" + modifierPhases.join(', '), \"\\\"\" + String(modifier.phase) + \"\\\"\"));\n }\n\n break;\n\n case 'fn':\n if (typeof modifier.fn !== 'function') {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"fn\"', '\"function\"', \"\\\"\" + String(modifier.fn) + \"\\\"\"));\n }\n\n break;\n\n case 'effect':\n if (typeof modifier.effect !== 'function') {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"effect\"', '\"function\"', \"\\\"\" + String(modifier.fn) + \"\\\"\"));\n }\n\n break;\n\n case 'requires':\n if (!Array.isArray(modifier.requires)) {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"requires\"', '\"array\"', \"\\\"\" + String(modifier.requires) + \"\\\"\"));\n }\n\n break;\n\n case 'requiresIfExists':\n if (!Array.isArray(modifier.requiresIfExists)) {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"requiresIfExists\"', '\"array\"', \"\\\"\" + String(modifier.requiresIfExists) + \"\\\"\"));\n }\n\n break;\n\n case 'options':\n case 'data':\n break;\n\n default:\n console.error(\"PopperJS: an invalid property has been provided to the \\\"\" + modifier.name + \"\\\" modifier, valid properties are \" + VALID_PROPERTIES.map(function (s) {\n return \"\\\"\" + s + \"\\\"\";\n }).join(', ') + \"; but \\\"\" + key + \"\\\" was provided.\");\n }\n\n modifier.requires && modifier.requires.forEach(function (requirement) {\n if (modifiers.find(function (mod) {\n return mod.name === requirement;\n }) == null) {\n console.error(format(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement));\n }\n });\n });\n });\n}","export default function uniqueBy(arr, fn) {\n var identifiers = new Set();\n return arr.filter(function (item) {\n var identifier = fn(item);\n\n if (!identifiers.has(identifier)) {\n identifiers.add(identifier);\n return true;\n }\n });\n}","export default function mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign({}, existing, current, {\n options: Object.assign({}, existing.options, current.options),\n data: Object.assign({}, existing.data, current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport getComputedStyle from \"./dom-utils/getComputedStyle.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport validateModifiers from \"./utils/validateModifiers.js\";\nimport uniqueBy from \"./utils/uniqueBy.js\";\nimport getBasePlacement from \"./utils/getBasePlacement.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nimport { auto } from \"./enums.js\";\nvar INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nvar INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nexport function popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(options) {\n cleanupModifierEffects();\n state.options = Object.assign({}, defaultOptions, state.options, options);\n state.scrollParents = {\n reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n popper: listScrollParents(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n }); // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n\n if (process.env.NODE_ENV !== \"production\") {\n var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {\n var name = _ref.name;\n return name;\n });\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n var flipModifier = state.orderedModifiers.find(function (_ref2) {\n var name = _ref2.name;\n return name === 'flip';\n });\n\n if (!flipModifier) {\n console.error(['Popper: \"auto\" placements require the \"flip\" modifier be', 'present and enabled to work.'].join(' '));\n }\n }\n\n var _getComputedStyle = getComputedStyle(popper),\n marginTop = _getComputedStyle.marginTop,\n marginRight = _getComputedStyle.marginRight,\n marginBottom = _getComputedStyle.marginBottom,\n marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n\n\n if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {\n return parseFloat(margin);\n })) {\n console.warn(['Popper: CSS \"margin\" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));\n }\n }\n\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n popper: getLayoutRect(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n var __debug_loops__ = 0;\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (process.env.NODE_ENV !== \"production\") {\n __debug_loops__ += 1;\n\n if (__debug_loops__ > 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref3) {\n var name = _ref3.name,\n _ref3$options = _ref3.options,\n options = _ref3$options === void 0 ? {} : _ref3$options,\n effect = _ref3.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nexport var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\nexport { detectOverflow };","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */\n\nvar hasElementType = typeof Element !== 'undefined';\nvar hasMap = typeof Map === 'function';\nvar hasSet = typeof Set === 'function';\nvar hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;\n\n// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js\n\nfunction equal(a, b) {\n // START: fast-deep-equal es6/index.js 3.1.1\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n // START: Modifications:\n // 1. Extra `has &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n var it;\n if (hasMap && (a instanceof Map) && (b instanceof Map)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n return true;\n }\n\n if (hasSet && (a instanceof Set) && (b instanceof Set)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n return true;\n }\n // END: Modifications\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (a[i] !== b[i]) return false;\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n // END: fast-deep-equal\n\n // START: react-fast-compare\n // custom handling for DOM elements\n if (hasElementType && a instanceof Element) return false;\n\n // custom handling for React/Preact\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n\n continue;\n }\n\n // all other properties should be traversed as usual\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n }\n // END: react-fast-compare\n\n // START: fast-deep-equal\n return true;\n }\n\n return a !== a && b !== b;\n}\n// end fast-deep-equal\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if (((error.message || '').match(/stack|recursion/i))) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n }\n // some other error. we should definitely know about these\n throw error;\n }\n};\n","import * as React from 'react';\nimport { createPopper as defaultCreatePopper } from '@popperjs/core';\nimport isEqual from 'react-fast-compare';\nimport { fromEntries, useIsomorphicLayoutEffect } from './utils';\nvar EMPTY_MODIFIERS = [];\nexport var usePopper = function usePopper(referenceElement, popperElement, options) {\n if (options === void 0) {\n options = {};\n }\n\n var prevOptions = React.useRef(null);\n var optionsWithDefaults = {\n onFirstUpdate: options.onFirstUpdate,\n placement: options.placement || 'bottom',\n strategy: options.strategy || 'absolute',\n modifiers: options.modifiers || EMPTY_MODIFIERS\n };\n\n var _React$useState = React.useState({\n styles: {\n popper: {\n position: optionsWithDefaults.strategy,\n left: '0',\n top: '0'\n },\n arrow: {\n position: 'absolute'\n }\n },\n attributes: {}\n }),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var updateStateModifier = React.useMemo(function () {\n return {\n name: 'updateState',\n enabled: true,\n phase: 'write',\n fn: function fn(_ref) {\n var state = _ref.state;\n var elements = Object.keys(state.elements);\n setState({\n styles: fromEntries(elements.map(function (element) {\n return [element, state.styles[element] || {}];\n })),\n attributes: fromEntries(elements.map(function (element) {\n return [element, state.attributes[element]];\n }))\n });\n },\n requires: ['computeStyles']\n };\n }, []);\n var popperOptions = React.useMemo(function () {\n var newOptions = {\n onFirstUpdate: optionsWithDefaults.onFirstUpdate,\n placement: optionsWithDefaults.placement,\n strategy: optionsWithDefaults.strategy,\n modifiers: [].concat(optionsWithDefaults.modifiers, [updateStateModifier, {\n name: 'applyStyles',\n enabled: false\n }])\n };\n\n if (isEqual(prevOptions.current, newOptions)) {\n return prevOptions.current || newOptions;\n } else {\n prevOptions.current = newOptions;\n return newOptions;\n }\n }, [optionsWithDefaults.onFirstUpdate, optionsWithDefaults.placement, optionsWithDefaults.strategy, optionsWithDefaults.modifiers, updateStateModifier]);\n var popperInstanceRef = React.useRef();\n useIsomorphicLayoutEffect(function () {\n if (popperInstanceRef.current) {\n popperInstanceRef.current.setOptions(popperOptions);\n }\n }, [popperOptions]);\n useIsomorphicLayoutEffect(function () {\n if (referenceElement == null || popperElement == null) {\n return;\n }\n\n var createPopper = options.createPopper || defaultCreatePopper;\n var popperInstance = createPopper(referenceElement, popperElement, popperOptions);\n popperInstanceRef.current = popperInstance;\n return function () {\n popperInstance.destroy();\n popperInstanceRef.current = null;\n };\n }, [referenceElement, popperElement, options.createPopper]);\n return {\n state: popperInstanceRef.current ? popperInstanceRef.current.state : null,\n styles: state.styles,\n attributes: state.attributes,\n update: popperInstanceRef.current ? popperInstanceRef.current.update : null,\n forceUpdate: popperInstanceRef.current ? popperInstanceRef.current.forceUpdate : null\n };\n};","import * as React from 'react';\nimport { ManagerReferenceNodeContext } from './Manager';\nimport { unwrapArray, setRef } from './utils';\nimport { usePopper } from './usePopper';\n\nvar NOOP = function NOOP() {\n return void 0;\n};\n\nvar NOOP_PROMISE = function NOOP_PROMISE() {\n return Promise.resolve(null);\n};\n\nvar EMPTY_MODIFIERS = [];\nexport function Popper(_ref) {\n var _ref$placement = _ref.placement,\n placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,\n _ref$strategy = _ref.strategy,\n strategy = _ref$strategy === void 0 ? 'absolute' : _ref$strategy,\n _ref$modifiers = _ref.modifiers,\n modifiers = _ref$modifiers === void 0 ? EMPTY_MODIFIERS : _ref$modifiers,\n referenceElement = _ref.referenceElement,\n onFirstUpdate = _ref.onFirstUpdate,\n innerRef = _ref.innerRef,\n children = _ref.children;\n var referenceNode = React.useContext(ManagerReferenceNodeContext);\n\n var _React$useState = React.useState(null),\n popperElement = _React$useState[0],\n setPopperElement = _React$useState[1];\n\n var _React$useState2 = React.useState(null),\n arrowElement = _React$useState2[0],\n setArrowElement = _React$useState2[1];\n\n React.useEffect(function () {\n setRef(innerRef, popperElement);\n }, [innerRef, popperElement]);\n var options = React.useMemo(function () {\n return {\n placement: placement,\n strategy: strategy,\n onFirstUpdate: onFirstUpdate,\n modifiers: [].concat(modifiers, [{\n name: 'arrow',\n enabled: arrowElement != null,\n options: {\n element: arrowElement\n }\n }])\n };\n }, [placement, strategy, onFirstUpdate, modifiers, arrowElement]);\n\n var _usePopper = usePopper(referenceElement || referenceNode, popperElement, options),\n state = _usePopper.state,\n styles = _usePopper.styles,\n forceUpdate = _usePopper.forceUpdate,\n update = _usePopper.update;\n\n var childrenProps = React.useMemo(function () {\n return {\n ref: setPopperElement,\n style: styles.popper,\n placement: state ? state.placement : placement,\n hasPopperEscaped: state && state.modifiersData.hide ? state.modifiersData.hide.hasPopperEscaped : null,\n isReferenceHidden: state && state.modifiersData.hide ? state.modifiersData.hide.isReferenceHidden : null,\n arrowProps: {\n style: styles.arrow,\n ref: setArrowElement\n },\n forceUpdate: forceUpdate || NOOP,\n update: update || NOOP_PROMISE\n };\n }, [setPopperElement, setArrowElement, placement, state, styles, update, forceUpdate]);\n return unwrapArray(children)(childrenProps);\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\n'use strict';\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar __DEV__ = process.env.NODE_ENV !== 'production';\n\nvar warning = function() {};\n\nif (__DEV__) {\n var printWarning = function printWarning(format, args) {\n var len = arguments.length;\n args = new Array(len > 1 ? len - 1 : 0);\n for (var key = 1; key < len; key++) {\n args[key - 1] = arguments[key];\n }\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n }\n\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n if (!condition) {\n printWarning.apply(null, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n","import * as React from 'react';\nimport warning from 'warning';\nimport { ManagerReferenceNodeSetterContext } from './Manager';\nimport { safeInvoke, unwrapArray, setRef } from './utils';\nexport function Reference(_ref) {\n var children = _ref.children,\n innerRef = _ref.innerRef;\n var setReferenceNode = React.useContext(ManagerReferenceNodeSetterContext);\n var refHandler = React.useCallback(function (node) {\n setRef(innerRef, node);\n safeInvoke(setReferenceNode, node);\n }, [innerRef, setReferenceNode]); // ran on unmount\n\n React.useEffect(function () {\n return function () {\n return setRef(innerRef, null);\n };\n });\n React.useEffect(function () {\n warning(Boolean(setReferenceNode), '`Reference` should not be used outside of a `Manager` component.');\n }, [setReferenceNode]);\n return unwrapArray(children)({\n ref: refHandler\n });\n}","import React, {\n createContext,\n ElementType,\n forwardRef,\n HTMLAttributes,\n useEffect,\n useRef,\n useState,\n} from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Manager } from 'react-popper'\n\nimport { Placements, placementPropType } from '../Types'\nimport { useForkedRef } from '../../utils/hooks'\n\nexport type Directions = 'start' | 'end'\n\nexport type Breakpoints =\n | { xs: Directions }\n | { sm: Directions }\n | { md: Directions }\n | { lg: Directions }\n | { xl: Directions }\n | { xxl: Directions }\n\nexport type Alignments = Directions | Breakpoints\n\nexport interface CDropdownProps extends HTMLAttributes {\n /**\n * @type { 'start' | 'end' | { xs: 'start' | 'end' } | { sm: 'start' | 'end' } | { md: 'start' | 'end' } | { lg: 'start' | 'end' } | { xl: 'start' | 'end'} | { xxl: 'start' | 'end'} }\n */\n alignment?: Alignments\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'div'\n */\n component?: string | ElementType\n /**\n * Sets a darker color scheme to match a dark navbar.\n */\n dark?: boolean\n /**\n * Sets a specified direction and location of the dropdown menu. [docs]\n *\n * @type 'dropup' | 'dropend' | 'dropstart'\n */\n direction?: 'dropup' | 'dropend' | 'dropstart'\n /**\n * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property. [docs]\n *\n * @type 'auto' | 'top-end' | 'top' | 'top-start' | 'bottom-end' | 'bottom' | 'bottom-start' | 'right-start' | 'right' | 'right-end' | 'left-start' | 'left' | 'left-end'\n * @default 'bottom-start'\n */\n placement?: Placements\n /**\n * If you want to disable dynamic positioning set this property to `true`.\n */\n popper?: boolean\n /**\n * Set the dropdown variant to an btn-group, dropdown, input-group, and nav-item. [docs]\n */\n variant?: 'btn-group' | 'dropdown' | 'input-group' | 'nav-item'\n /**\n * Toggle the visibility of dropdown menu component. [docs]\n *\n * @default false\n */\n visible?: boolean\n}\n\ninterface ContextProps extends CDropdownProps {\n setVisible: React.Dispatch>\n}\n\nexport const CDropdownContext = createContext({} as ContextProps)\n\nexport const CDropdown = forwardRef(\n (\n {\n children,\n alignment,\n className,\n dark,\n direction,\n placement = 'bottom-start',\n popper = true,\n variant = 'btn-group',\n component = 'div',\n visible = false,\n ...rest\n },\n ref,\n ) => {\n const [_visible, setVisible] = useState(visible)\n const dropdownRef = useRef(null)\n const forkedRef = useForkedRef(ref, dropdownRef)\n\n const Component = variant === 'nav-item' ? 'li' : component\n\n // Disable popper if responsive aligment is set.\n if (typeof alignment === 'object') {\n popper = false\n }\n\n const contextValues = {\n alignment,\n dark,\n direction: direction,\n placement: placement,\n popper,\n variant,\n visible: _visible,\n setVisible,\n }\n\n const _className = classNames(\n variant === 'nav-item' ? 'nav-item dropdown' : variant,\n {\n show: _visible,\n },\n direction,\n className,\n )\n\n useEffect(() => {\n window.addEventListener('click', handleClickOutside)\n window.addEventListener('keyup', handleKeyup)\n\n return () => {\n window.removeEventListener('click', handleClickOutside)\n window.removeEventListener('keyup', handleKeyup)\n }\n })\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n const handleKeyup = (event: Event) => {\n if (dropdownRef.current && !dropdownRef.current.contains(event.target as HTMLElement)) {\n setVisible(false)\n }\n }\n const handleClickOutside = (event: Event) => {\n if (dropdownRef.current && !dropdownRef.current.contains(event.target as HTMLElement)) {\n setVisible(false)\n }\n }\n\n return popper ? (\n \n \n {/* TODO: find solution how to handle click outside */}\n {variant === 'input-group' ? (\n <>{children}\n ) : (\n \n {children}\n \n )}\n \n \n ) : (\n \n \n {children}\n \n \n )\n },\n)\n\nconst alignmentDirection = PropTypes.oneOf(['start', 'end'])\n\nCDropdown.propTypes = {\n // @ts-expect-error TODO: we have to find a solution\n alignment: PropTypes.oneOfType([\n alignmentDirection,\n PropTypes.shape({ xs: alignmentDirection }),\n PropTypes.shape({ sm: alignmentDirection }),\n PropTypes.shape({ md: alignmentDirection }),\n PropTypes.shape({ lg: alignmentDirection }),\n PropTypes.shape({ xl: alignmentDirection }),\n PropTypes.shape({ xxl: alignmentDirection }),\n ]),\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n dark: PropTypes.bool,\n direction: PropTypes.oneOf(['dropup', 'dropend', 'dropstart']),\n placement: placementPropType,\n popper: PropTypes.bool,\n variant: PropTypes.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']),\n visible: PropTypes.bool,\n}\n\nCDropdown.displayName = 'CDropdown'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CDropdownDividerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CDropdownDivider = forwardRef(\n ({ className, ...rest }, ref) => {\n const _className = classNames('dropdown-divider', className)\n\n return
\n },\n)\n\nCDropdownDivider.propTypes = {\n className: PropTypes.string,\n}\n\nCDropdownDivider.displayName = 'CDropdownDivider'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CDropdownHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'h6'\n */\n component?: string | ElementType\n}\n\nexport const CDropdownHeader = forwardRef(\n ({ children, className, component: Component = 'h6', ...rest }, ref) => {\n const _className = classNames('dropdown-header', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCDropdownHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownHeader.displayName = 'CDropdownHeader'\n","import React, { ElementType, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLinkProps } from '../link/CLink'\nimport { CLink } from '../link/CLink'\n\nexport interface CDropdownItemProps extends CLinkProps {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'a'\n */\n component?: string | ElementType\n}\n\nexport const CDropdownItem = forwardRef(\n ({ children, className, component = 'a', ...rest }, ref) => {\n const _className = classNames('dropdown-item', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCDropdownItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownItem.displayName = 'CDropdownItem'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CDropdownItemPlainProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'span'\n */\n component?: string | ElementType\n}\n\nexport const CDropdownItemPlain = forwardRef(\n ({ children, className, component: Component = 'span', ...rest }, ref) => {\n const _className = classNames('dropdown-item-text', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCDropdownItemPlain.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownItemPlain.displayName = 'CDropdownItemPlain'\n","import PropTypes from 'prop-types'\nimport React, { ElementType, FC, HTMLAttributes, useContext } from 'react'\nimport classNames from 'classnames'\nimport { Popper, PopperChildrenProps } from 'react-popper'\n\nimport { Placements } from '../Types'\nimport { Alignments, CDropdownContext } from './CDropdown'\n\nexport interface CDropdownMenuProps\n extends HTMLAttributes,\n Omit<\n PopperChildrenProps,\n 'arrowProps' | 'forceUpdate' | 'placement' | 'ref' | 'style' | 'update'\n > {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'ul'\n */\n component?: string | ElementType\n}\n\nexport const CDropdownMenu: FC = ({\n children,\n className,\n component: Component = 'ul',\n ...rest\n}) => {\n const { alignment, dark, direction, placement, popper, visible } = useContext(CDropdownContext)\n\n let _placement: Placements = placement\n\n if (direction === 'dropup') {\n _placement = 'top-start'\n }\n if (direction === 'dropend') {\n _placement = 'right-start'\n }\n if (direction === 'dropstart') {\n _placement = 'left-start'\n }\n if (alignment === 'end') {\n _placement = 'bottom-end'\n }\n\n const alignmentClassNames = (alignment: Alignments) => {\n const classNames: string[] = []\n if (typeof alignment === 'object') {\n Object.keys(alignment).map((key) => {\n classNames.push(`dropdown-menu${key === 'xs' ? '' : `-${key}`}-${alignment[key]}`)\n })\n }\n\n if (typeof alignment === 'string') {\n classNames.push(`dropdown-menu-${alignment}`)\n }\n\n return classNames\n }\n\n const _className = classNames(\n 'dropdown-menu',\n {\n 'dropdown-menu-dark': dark,\n show: visible,\n },\n alignment && alignmentClassNames(alignment),\n className,\n )\n\n const dropdownMenuComponent = (style?: React.CSSProperties, ref?: React.Ref) => {\n return (\n \n {Component === 'ul'\n ? React.Children.map(children, (child, index) => {\n if (React.isValidElement(child)) {\n return
  • {React.cloneElement(child)}
  • \n }\n return\n })\n : children}\n \n )\n }\n\n return popper && visible ? (\n {({ ref, style }) => dropdownMenuComponent(style, ref)}\n ) : (\n dropdownMenuComponent()\n )\n}\n\nCDropdownMenu.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownMenu.displayName = 'CDropdownMenu'\n","import React, { FC, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Reference } from 'react-popper'\n\nimport { Triggers, triggerPropType } from '../Types'\n\nimport { CButton, CButtonProps } from '../button/CButton'\nimport { CDropdownContext } from './CDropdown'\n\nexport interface CDropdownToggleProps extends CButtonProps {\n /**\n * Enables pseudo element caret on toggler. [docs]\n *\n * @default true\n */\n caret?: boolean\n /**\n * Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of `.dropdown-toggle-split` className for proper spacing around the dropdown caret. [docs]\n */\n split?: boolean\n /**\n * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them. [docs]\n */\n trigger?: Triggers | Triggers[]\n}\n\nexport const CDropdownToggle: FC = ({\n children,\n caret = true,\n className,\n split,\n trigger = 'click',\n ...rest\n}) => {\n const { popper, variant, visible, setVisible } = useContext(CDropdownContext)\n const _className = classNames(\n {\n 'dropdown-toggle': caret,\n 'dropdown-toggle-split': split,\n 'nav-link': variant === 'nav-item',\n },\n className,\n )\n\n const triggers = {\n ...((trigger === 'click' || trigger.includes('click')) && {\n onClick: (event: React.MouseEvent) => {\n event.preventDefault()\n setVisible(!visible)\n },\n }),\n ...((trigger === 'focus' || trigger.includes('focus')) && {\n onFocus: () => setVisible(true),\n onBlur: () => setVisible(false),\n }),\n }\n\n const togglerProps = {\n className: _className,\n 'aria-expanded': visible,\n ...triggers,\n }\n\n // We use any because Toggler can be `a` as well as `button`.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const Toggler = (ref?: React.Ref) => {\n return variant === 'nav-item' ? (\n \n {children}\n \n ) : (\n \n {children}\n {split && Toggle Dropdown}\n \n )\n }\n\n return popper ? {({ ref }) => Toggler(ref)} : Toggler()\n}\n\nCDropdownToggle.propTypes = {\n caret: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n split: PropTypes.bool,\n trigger: triggerPropType,\n}\n\nCDropdownToggle.displayName = 'CDropdownToggle'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\ntype Span = 'auto' | number | string | boolean | null\n\ntype BPObject = {\n span?: Span\n offset?: number | string | null\n order?: 'first' | 'last' | number | string | null\n}\n\ntype Col = Span | BPObject\n\nexport interface CColProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * The number of columns/offset/order on extra small devices (<576px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n xs?: Col\n /**\n * The number of columns/offset/order on small devices (<768px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n sm?: Col\n /**\n * The number of columns/offset/order on medium devices (<992px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n md?: Col\n /**\n * The number of columns/offset/order on large devices (<1200px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n lg?: Col\n /**\n * The number of columns/offset/order on X-Large devices (<1400px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n xl?: Col\n /**\n * The number of columns/offset/order on XX-Large devices (≥1400px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n xxl?: Col\n}\n\nconst BREAKPOINTS = [\n 'xxl' as const,\n 'xl' as const,\n 'lg' as const,\n 'md' as const,\n 'sm' as const,\n 'xs' as const,\n]\n\nexport const CCol = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const repsonsiveCLassNames: string[] = []\n\n BREAKPOINTS.forEach((bp) => {\n const breakpoint = rest[bp]\n delete rest[bp]\n\n const infix = bp === 'xs' ? '' : `-${bp}`\n\n if (typeof breakpoint === 'number' || typeof breakpoint === 'string') {\n repsonsiveCLassNames.push(`col${infix}-${breakpoint}`)\n }\n\n if (typeof breakpoint === 'boolean') {\n repsonsiveCLassNames.push(`col${infix}`)\n }\n\n if (breakpoint && typeof breakpoint === 'object') {\n if (typeof breakpoint.span === 'number' || typeof breakpoint.span === 'string') {\n repsonsiveCLassNames.push(`col${infix}-${breakpoint.span}`)\n }\n\n if (typeof breakpoint.span === 'boolean') {\n repsonsiveCLassNames.push(`col${infix}`)\n }\n\n if (typeof breakpoint.order === 'number' || typeof breakpoint.order === 'string') {\n repsonsiveCLassNames.push(`order${infix}-${breakpoint.order}`)\n }\n\n if (typeof breakpoint.offset === 'number') {\n repsonsiveCLassNames.push(`offset${infix}-${breakpoint.offset}`)\n }\n }\n })\n\n const _className = classNames(\n repsonsiveCLassNames.length ? repsonsiveCLassNames : 'col',\n className,\n )\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nconst span = PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.number,\n PropTypes.string,\n PropTypes.oneOf(['auto']),\n])\n\nconst col = PropTypes.oneOfType([\n span,\n PropTypes.shape({\n span: span,\n offset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n order: PropTypes.oneOfType([\n PropTypes.oneOf(['first', 'last']),\n PropTypes.number,\n PropTypes.string,\n ]),\n }),\n])\n\nCCol.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n xs: col,\n sm: col,\n}\n\nCCol.displayName = 'CCol'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CContainerProps extends HTMLAttributes {\n breakpoint?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Set container 100% wide until small breakpoint. [docs]\n */\n sm?: boolean\n /**\n * Set container 100% wide until medium breakpoint. [docs]\n */\n md?: boolean\n /**\n * Set container 100% wide until large breakpoint. [docs]\n */\n lg?: boolean\n /**\n * Set container 100% wide until X-large breakpoint. [docs]\n */\n xl?: boolean\n /**\n * Set container 100% wide until XX-large breakpoint. [docs]\n */\n xxl?: boolean\n /**\n * Set container 100% wide, spanning the entire width of the viewport. [docs]\n */\n fluid?: boolean\n}\n\nconst BREAKPOINTS = [\n 'xxl' as const,\n 'xl' as const,\n 'lg' as const,\n 'md' as const,\n 'sm' as const,\n 'fluid' as const,\n]\n\nexport const CContainer = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const repsonsiveCLassNames: string[] = []\n\n BREAKPOINTS.forEach((bp) => {\n const breakpoint = rest[bp]\n delete rest[bp]\n\n breakpoint && repsonsiveCLassNames.push(`container-${bp}`)\n })\n\n const _className = classNames(\n repsonsiveCLassNames.length ? repsonsiveCLassNames : 'container',\n className,\n )\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCContainer.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n sm: PropTypes.bool,\n md: PropTypes.bool,\n lg: PropTypes.bool,\n xl: PropTypes.bool,\n xxl: PropTypes.bool,\n fluid: PropTypes.bool,\n}\n\nCContainer.displayName = 'CContainer'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport type BPObject = {\n cols?: 'auto' | number | string | null\n gutter?: number | string | null\n gutterX?: number | string | null\n gutterY?: number | string | null\n}\n\nexport interface CRowProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * The number of columns/offset/order on extra small devices (<576px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n xs?: BPObject\n /**\n * The number of columns/offset/order on small devices (<768px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n sm?: BPObject\n /**\n * The number of columns/offset/order on medium devices (<992px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n md?: BPObject\n /**\n * The number of columns/offset/order on large devices (<1200px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n lg?: BPObject\n /**\n * The number of columns/offset/order on X-Large devices (<1400px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n xl?: BPObject\n /**\n * The number of columns/offset/order on XX-Large devices (≥1400px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n xxl?: BPObject\n}\n\nconst BREAKPOINTS = [\n 'xxl' as const,\n 'xl' as const,\n 'lg' as const,\n 'md' as const,\n 'sm' as const,\n 'xs' as const,\n]\n\nexport const CRow = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const repsonsiveCLassNames: string[] = []\n\n BREAKPOINTS.forEach((bp) => {\n const breakpoint = rest[bp]\n delete rest[bp]\n\n const infix = bp === 'xs' ? '' : `-${bp}`\n\n if (typeof breakpoint === 'object') {\n if (breakpoint.cols) {\n repsonsiveCLassNames.push(`row-cols${infix}-${breakpoint.cols}`)\n }\n if (typeof breakpoint.gutter === 'number') {\n repsonsiveCLassNames.push(`g${infix}-${breakpoint.gutter}`)\n }\n if (typeof breakpoint.gutterX === 'number') {\n repsonsiveCLassNames.push(`gx${infix}-${breakpoint.gutterX}`)\n }\n if (typeof breakpoint.gutterY === 'number') {\n repsonsiveCLassNames.push(`gy${infix}-${breakpoint.gutterY}`)\n }\n }\n })\n\n const _className = classNames('row', repsonsiveCLassNames, className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nconst bp = PropTypes.shape({\n cols: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.string]),\n gutter: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n gutterX: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n gutterY: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n})\n\nCRow.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n xs: bp,\n sm: bp,\n md: bp,\n lg: bp,\n xl: bp,\n xxl: bp,\n}\n\nCRow.displayName = 'CRow'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFooterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Place footer in non-static positions. [docs]\n */\n position?: 'fixed' | 'sticky'\n}\n\nexport const CFooter = forwardRef(\n ({ children, className, position, ...rest }, ref) => {\n const _className = classNames('footer', { [`footer-${position}`]: position }, className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCFooter.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n position: PropTypes.oneOf(['fixed', 'sticky']),\n}\n\nCFooter.displayName = 'CFooter'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Mark a form as validated. If you set it `true`, all validation styles will be applied to the forms component.\n */\n validated?: boolean\n}\n\nexport const CForm = forwardRef(\n ({ children, className, validated, ...rest }, ref) => {\n const _className = classNames({ 'was-validated': validated }, className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCForm.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n validated: PropTypes.bool,\n}\n\nCForm.displayName = 'CForm'\n","import React, { ChangeEventHandler, ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormControlProps\n extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n classNameParent?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'input'\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n /**\n * Set component validation state to invalid. [docs]\n */\n invalid?: boolean\n /**\n * Method called immediately after the `value` prop changes. [docs]\n */\n onChange?: ChangeEventHandler\n /**\n * Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use only along side `readonly` [docs]\n */\n plainText?: boolean\n /**\n * Toggle the readonly state for the component. [docs]\n */\n readOnly?: boolean\n /**\n * Size the component small or large. [docs]\n *\n * @type 'sm' | 'lg'\n */\n size?: 'sm' | 'lg'\n /**\n * Specifies the type of component. [docs]\n *\n * @type 'color' | 'file' | 'text' | string\n * @default 'text'\n */\n type?: 'color' | 'file' | 'text' | string\n /**\n * Set component validation state to valid. [docs]\n */\n valid?: boolean\n /**\n * The `value` attribute of component. [docs]\n *\n * @controllable onChange\n * */\n value?: string | string[] | number\n}\n\nexport const CFormControl = forwardRef<\n HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n CFormControlProps\n>(\n (\n {\n children,\n className,\n classNameParent,\n component: Component = 'input',\n invalid,\n plainText,\n size,\n type = 'text',\n valid,\n ...rest\n },\n ref,\n ) => {\n const _className = classNameParent\n ? classNameParent\n : classNames(\n plainText ? 'form-control-plaintext' : 'form-control',\n {\n 'form-control-color': type === 'color',\n 'form-range': type === 'range',\n [`form-control-${size}`]: size,\n 'is-invalid': invalid,\n 'is-valid': valid,\n },\n className,\n )\n return (\n \n {children}\n \n )\n },\n)\n\nCFormControl.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n classNameParent: PropTypes.string,\n component: PropTypes.elementType,\n invalid: PropTypes.bool,\n plainText: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg']),\n type: PropTypes.oneOfType([PropTypes.oneOf(['color', 'file', 'text']), PropTypes.string]),\n valid: PropTypes.bool,\n}\n\nCFormControl.displayName = 'CFormControl'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormLabelProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n classNameParent?: string\n}\n\nexport const CFormLabel = forwardRef(\n ({ children, className, classNameParent, ...rest }, ref) => {\n const _className = classNameParent ? classNameParent : classNames('form-label', className)\n return (\n \n )\n },\n)\n\nCFormLabel.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n classNameParent: PropTypes.string,\n}\n\nCFormLabel.displayName = 'CFormLabel'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, Shapes, colorPropType, shapePropType } from '../Types'\n\nimport { CFormControl } from './CFormControl'\nimport { CFormLabel } from './CFormLabel'\n\nexport interface CFormCheckProps extends HTMLAttributes {\n button?: boolean\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n buttonColor?: Colors\n /**\n * Select the shape of the component. [docs]\n *\n * @type 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string\n */\n buttonShape?: Shapes\n /**\n * Size the component small or large. [docs]\n *\n * @type 'sm' | 'lg'\n */\n buttonSize?: 'sm' | 'lg'\n /**\n * Set the button variant to an outlined button or a ghost button. [docs]\n */\n buttonVariant?: 'outline' | 'ghost'\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * The id global attribute defines an identifier (ID) that must be unique in the whole document. [docs]\n */\n id?: string\n /**\n * Group checkboxes or radios on the same horizontal row by adding. [docs]\n */\n inline?: boolean\n /**\n * Set component validation state to invalid. [docs]\n */\n invalid?: boolean\n /**\n * The element represents a caption for a component. [docs]\n */\n label?: string | ReactNode\n /**\n * Size the component large or extra large. Works only with `switch` [docs]\n *\n * @type 'lg' | 'xl'\n */\n size?: 'lg' | 'xl'\n /**\n * Render component as a toggle switch. [docs]\n */\n switch?: boolean\n /**\n * Specifies the type of component. [docs]\n *\n * @type checkbox' | 'radio'\n * @default 'checkbox'\n */\n type?: 'checkbox' | 'radio'\n /**\n * Set component validation state to valid. [docs]\n */\n valid?: boolean\n}\n\nexport const CFormCheck = forwardRef(\n (\n {\n className,\n button,\n buttonColor = 'primary',\n buttonSize,\n buttonShape,\n buttonVariant,\n id,\n inline,\n invalid,\n label,\n size,\n switch: _switch,\n type = 'checkbox',\n valid,\n ...rest\n },\n ref,\n ) => {\n const _className = classNames(\n 'form-check',\n {\n 'form-switch': _switch,\n [`form-switch-${size}`]: size,\n 'form-check-inline': inline,\n 'is-invalid': invalid,\n 'is-valid': valid,\n },\n className,\n )\n\n const inputClassName = classNames(button ? 'btn-check' : 'form-check-input', {\n 'is-invalid': invalid,\n 'is-valid': valid,\n })\n const labelClassName = classNames(\n button\n ? classNames(\n 'btn',\n buttonVariant ? `btn-${buttonVariant}-${buttonColor}` : `btn-${buttonColor}`,\n {\n [`btn-${buttonSize}`]: buttonSize,\n buttonShape,\n },\n )\n : 'form-check-label',\n )\n\n const formControl = () => {\n return (\n \n )\n }\n\n const formLabel = () => {\n return (\n \n {label}\n \n )\n }\n\n return _switch ? (\n
    \n {formControl()}\n {label && formLabel()}\n
    \n ) : button ? (\n <>\n {formControl()}\n {label && formLabel()}\n \n ) : label ? (\n
    \n {formControl()}\n {formLabel()}\n
    \n ) : (\n formControl()\n )\n },\n)\n\nCFormCheck.propTypes = {\n button: PropTypes.bool,\n buttonColor: colorPropType,\n buttonShape: shapePropType,\n buttonSize: PropTypes.oneOf(['sm', 'lg']),\n buttonVariant: PropTypes.oneOf(['outline', 'ghost']),\n className: PropTypes.string,\n id: PropTypes.string,\n inline: PropTypes.bool,\n invalid: PropTypes.bool,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n size: PropTypes.oneOf(['lg', 'xl']),\n switch: PropTypes.bool,\n type: PropTypes.oneOf(['checkbox', 'radio']),\n valid: PropTypes.bool,\n}\n\nCFormCheck.displayName = 'CFormCheck'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormFeedbackProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'div'\n */\n component?: string | ElementType\n /**\n * Method called immediately after the `value` prop changes. [docs]\n */\n invalid?: boolean\n /**\n * If your form layout allows it, you can display validation feedback in a styled tooltip. [docs]\n */\n tooltip?: boolean\n /**\n * Set component validation state to valid. [docs]\n */\n valid?: boolean\n}\n\nexport const CFormFeedback = forwardRef(\n (\n { children, className, component: Component = 'div', invalid, tooltip, valid, ...rest },\n ref,\n ) => {\n const _className = classNames(\n {\n [`invalid-${tooltip ? 'tooltip' : 'feedback'}`]: invalid,\n [`valid-${tooltip ? 'tooltip' : 'feedback'}`]: valid,\n },\n className,\n )\n return (\n \n {children}\n \n )\n },\n)\n\nCFormFeedback.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n invalid: PropTypes.bool,\n tooltip: PropTypes.bool,\n valid: PropTypes.bool,\n}\n\nCFormFeedback.displayName = 'CFormFeedback'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormFloatingProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CFormFloating = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('form-floating', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCFormFloating.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCFormFloating.displayName = 'CFormFloating'\n","import React, { ChangeEventHandler, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormRangeProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n /**\n * Specifies the maximum value for the component. [docs]\n */\n max?: number\n /**\n * Specifies the minimum value for the component. [docs]\n */\n min?: number\n /**\n * Method called immediately after the `value` prop changes. [docs]\n */\n onChange?: ChangeEventHandler\n /**\n * Toggle the readonly state for the component. [docs]\n */\n readOnly?: boolean\n /**\n * Specifies the interval between legal numbers in the component. [docs]\n */\n steps: number\n /**\n * The `value` attribute of component. [docs]\n *\n * @controllable onChange\n * */\n value?: string | string[] | number\n}\n\nexport const CFormRange = forwardRef(\n ({ className, ...rest }, ref) => {\n const _className = classNames('form-range', className)\n return \n },\n)\n\nCFormRange.propTypes = {\n className: PropTypes.string,\n}\n\nCFormRange.displayName = 'CFormRange'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormSelectProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Specifies the number of visible options in a drop-down list. [docs]\n */\n htmlSize?: number\n /**\n * Set component validation state to invalid. [docs]\n */\n invalid?: boolean\n /**\n * Size the component small or large. [docs]\n *\n * @type 'sm' | 'lg'\n */\n size?: 'sm' | 'lg'\n /**\n * Set component validation state to valid. [docs]\n */\n valid?: boolean\n}\n\nexport const CFormSelect = forwardRef(\n ({ children, className, htmlSize, invalid, size, valid, ...rest }, ref) => {\n const _className = classNames(\n 'form-select',\n {\n [`form-select-${size}`]: size,\n 'is-invalid': invalid,\n 'is-valid': valid,\n },\n className,\n )\n return (\n \n )\n },\n)\n\nCFormSelect.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n htmlSize: PropTypes.number,\n invalid: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg']),\n valid: PropTypes.bool,\n}\n\nCFormSelect.displayName = 'CFormSelect'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormTextProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'div'\n */\n component?: string | ElementType\n}\n\nexport const CFormText = forwardRef(\n ({ children, className, component: Component = 'div', ...rest }, ref) => {\n const _className = classNames('form-text', className)\n return (\n \n {children}\n \n )\n },\n)\n\nCFormText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCFormText.displayName = 'CFormText'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CInputGroupProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Size the component small or large. [docs]\n *\n * @type 'sm' | 'lg'\n */\n size?: 'sm' | 'lg'\n}\n\nexport const CInputGroup = forwardRef(\n ({ children, className, size, ...rest }, ref) => {\n const _className = classNames(\n 'input-group',\n {\n [`input-group-${size}`]: size,\n },\n className,\n )\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCInputGroup.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n size: PropTypes.oneOf(['sm', 'lg']),\n}\n\nCInputGroup.displayName = 'CInputGroup'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CInputGroupTextProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'span'\n */\n component?: string | ElementType\n}\n\nexport const CInputGroupText = forwardRef(\n ({ children, className, component: Component = 'span', ...rest }, ref) => {\n const _className = classNames('input-group-text', className)\n return (\n \n {children}\n \n )\n },\n)\n\nCInputGroupText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCInputGroupText.displayName = 'CInputGroupText'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Defines optional container wrapping children elements.\n *\n * @type boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n */\n container?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n /**\n * Place header in non-static positions. [docs]\n */\n position?: 'fixed' | 'sticky'\n}\n\nexport const CHeader = forwardRef(\n ({ children, className, container, position, ...rest }, ref) => {\n const _className = classNames('header', { [`header-${position}`]: position }, className)\n\n let content\n if (container) {\n content = (\n
    {children}
    \n )\n } else {\n content = children\n }\n\n return (\n
    \n {content}\n
    \n )\n },\n)\n\nCHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n container: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'>([\n 'sm',\n 'md',\n 'lg',\n 'xl',\n 'xxl',\n 'fluid',\n ]),\n ]),\n position: PropTypes.oneOf(['fixed', 'sticky']),\n}\n\nCHeader.displayName = 'CHeader'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderBrandProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'a'\n */\n component?: string | ElementType\n}\n\nexport const CHeaderBrand = forwardRef(\n ({ children, component: Component = 'a', className, ...rest }, ref) => {\n const _className = classNames('header-brand', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCHeaderBrand.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCHeaderBrand.displayName = 'CHeaderBrand'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderDividerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CHeaderDivider = forwardRef(\n ({ className, ...rest }, ref) => {\n const _className = classNames('header-divider', className)\n\n return
    \n },\n)\n\nCHeaderDivider.propTypes = {\n className: PropTypes.string,\n}\n\nCHeaderDivider.displayName = 'CHeaderDivider'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderNavProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'ul'\n */\n component?: string | ElementType\n}\n\nexport const CHeaderNav = forwardRef(\n ({ children, component: Component = 'ul', className, ...rest }, ref) => {\n const _className = classNames('header-nav', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCHeaderNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCHeaderNav.displayName = 'CHeaderNav'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderTextProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CHeaderText = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('header-text', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCHeaderText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCHeaderText.displayName = 'CHeaderText'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderTogglerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CHeaderToggler = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('header-toggler', className)\n\n return (\n \n )\n },\n)\n\nCHeaderToggler.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCHeaderToggler.displayName = 'CHeaderToggler'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CImageProps extends HTMLAttributes {\n align?: 'start' | 'center' | 'end'\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Make image responsive. [docs]\n */\n fluid?: boolean\n /**\n * Make image rounded. [docs]\n */\n rounded?: boolean\n /**\n * Give an image a rounded 1px border appearance. [docs]\n */\n thumbnail?: boolean\n}\n\nexport const CImage = forwardRef(\n ({ align, className, fluid, rounded, thumbnail, ...rest }, ref) => {\n const _className = classNames(\n {\n [`float-${align}`]: align && (align === 'start' || align === 'end'),\n 'd-block mx-auto': align && align === 'center',\n 'img-fluid': fluid,\n rounded: rounded,\n 'img-thumbnail': thumbnail,\n },\n className,\n )\n return \n },\n)\n\nCImage.propTypes = {\n align: PropTypes.oneOf(['start', 'center', 'end']),\n className: PropTypes.string,\n fluid: PropTypes.bool,\n rounded: PropTypes.bool,\n thumbnail: PropTypes.bool,\n}\n\nCImage.displayName = 'CImage'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CListGroupProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'ul'\n */\n component?: string | ElementType\n /**\n * Remove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., ) [docs]\n */\n flush?: boolean\n /**\n * Specify a layout type. [docs]\n */\n layout?:\n | 'horizontal'\n | 'horizontal-sm'\n | 'horizontal-md'\n | 'horizontal-lg'\n | 'horizontal-xl'\n | 'horizontal-xxl'\n}\n\nexport const CListGroup = forwardRef(\n ({ children, className, component: Component = 'ul', flush, layout }, ref) => {\n const _className = classNames(\n 'list-group',\n {\n 'list-group-flush': flush,\n [`list-group-${layout}`]: layout,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCListGroup.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n flush: PropTypes.bool,\n layout: PropTypes.oneOf([\n 'horizontal',\n 'horizontal-sm',\n 'horizontal-md',\n 'horizontal-lg',\n 'horizontal-xl',\n 'horizontal-xxl',\n ]),\n}\n\nCListGroup.displayName = 'CListGroup'\n","import React, { ElementType, HTMLAttributes, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\nimport { CLink } from '../link/CLink'\n\nexport interface CListGroupItemProps\n extends HTMLAttributes {\n /**\n * Toggle the active state for the component. [docs]\n */\n active?: boolean\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'li'\n */\n component?: string | ElementType\n}\n\nexport const CListGroupItem = forwardRef<\n HTMLLIElement | HTMLAnchorElement | HTMLButtonElement,\n CListGroupItemProps\n>(({ children, active, className, disabled, color, component = 'li', ...rest }, ref) => {\n const _className = classNames(\n 'list-group-item',\n {\n [`list-group-item-${color}`]: color,\n 'list-group-item-action': component === 'a' || component === 'button',\n active,\n disabled,\n },\n className,\n )\n\n const Component = component === 'a' || component === 'button' ? CLink : component\n\n rest = {\n ...((component === 'a' || component === 'button') && {\n active,\n disabled,\n component,\n ref: ref,\n }),\n ...(active && { 'aria-current': true }),\n ...(disabled && { 'aria-disabled': true }),\n ...rest,\n }\n\n return (\n \n {children}\n \n )\n})\n\nCListGroupItem.propTypes = {\n active: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n component: PropTypes.elementType,\n disabled: PropTypes.bool,\n}\n\nCListGroupItem.displayName = 'CListGroupItem'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalContentProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CModalContent = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('modal-content', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCModalContent.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCModalContent.displayName = 'CModalContent'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalDialogProps extends HTMLAttributes {\n /**\n * Align the modal in the center or top of the screen. [docs]\n *\n * @default 'top'\n */\n alignment?: 'top' | 'center'\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Set modal to covers the entire user viewport. [docs]\n */\n fullscreen?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Does the modal dialog itself scroll, or does the whole dialog scroll within the window. [docs]\n */\n scrollable?: boolean\n /**\n * Size the component small, large, or extra large. [docs]\n */\n size?: 'sm' | 'lg' | 'xl'\n}\n\nexport const CModalDialog = forwardRef(\n ({ children, alignment, className, fullscreen, scrollable, size, ...rest }, ref) => {\n const _className = classNames(\n 'modal-dialog',\n {\n 'modal-dialog-centered': alignment === 'center',\n [typeof fullscreen === 'boolean'\n ? 'modal-fullscreen'\n : `modal-fullscreen-${fullscreen}-down`]: fullscreen,\n 'modal-dialog-scrollable': scrollable,\n [`modal-${size}`]: size,\n },\n className,\n )\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCModalDialog.propTypes = {\n alignment: PropTypes.oneOf(['top', 'center']),\n children: PropTypes.node,\n className: PropTypes.string,\n fullscreen: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n scrollable: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg', 'xl']),\n}\n\nCModalDialog.displayName = 'CModalDialog'\n","import React, {\n forwardRef,\n HTMLAttributes,\n useCallback,\n useLayoutEffect,\n useRef,\n useState,\n} from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CSSTransition } from 'react-transition-group'\n\nimport { useForkedRef } from '../../utils/hooks'\n\nimport { CBackdrop } from '../backdrop/CBackdrop'\nimport { CModalContent } from './CModalContent'\nimport { CModalDialog } from './CModalDialog'\n\nexport interface CModalProps extends HTMLAttributes {\n /**\n * Align the modal in the center or top of the screen. [docs]\n *\n * @default 'top'\n */\n alignment?: 'top' | 'center'\n /**\n * Apply a backdrop on body while modal is open. [docs]\n * @default true\n */\n backdrop?: boolean\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * @ignore\n */\n duration?: number\n /**\n * Set modal to covers the entire user viewport. [docs]\n */\n fullscreen?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Closes the modal when escape key is pressed. [docs]\n * @default true\n */\n keyboard?: boolean\n /**\n * Method called before the dissmiss animation has started. [docs]\n */\n onDismiss?: () => void\n /**\n * Generates modal using createPortal. [docs]\n */\n portal?: boolean\n /**\n * Create a scrollable modal that allows scrolling the modal body. [docs]\n */\n scrollable?: boolean\n /**\n * Size the component small, large, or extra large. [docs]\n */\n size?: 'sm' | 'lg' | 'xl'\n /**\n * Remove animation to create modal that simply appear rather than fade in to view. [docs]\n */\n transition?: boolean\n /**\n * Toggle the visibility of modal component. [docs]\n */\n visible?: boolean\n}\n\nexport const CModal = forwardRef(\n (\n {\n children,\n alignment,\n backdrop = true,\n className,\n duration = 150,\n fullscreen,\n keyboard = true,\n onDismiss,\n portal = true,\n scrollable,\n size,\n transition = true,\n visible,\n },\n ref,\n ) => {\n const [staticBackdrop, setStaticBackdrop] = useState(false)\n\n const modalRef = useRef(null)\n const forkedRef = useForkedRef(ref, modalRef)\n\n const handleDismiss = () => {\n if (typeof onDismiss === 'undefined') {\n return setStaticBackdrop(true)\n }\n return onDismiss && onDismiss()\n }\n\n useLayoutEffect(() => {\n setTimeout(() => setStaticBackdrop(false), duration)\n }, [staticBackdrop])\n\n const getTransitionClass = (state: string) => {\n return state === 'entering'\n ? 'd-block'\n : state === 'entered'\n ? 'show d-block'\n : state === 'exiting'\n ? 'd-block'\n : ''\n }\n const _className = classNames(\n 'modal',\n {\n 'modal-static': staticBackdrop,\n fade: transition,\n },\n className,\n )\n\n // Set focus to modal after open\n useLayoutEffect(() => {\n if (visible) {\n document.body.classList.add('modal-open')\n setTimeout(\n () => {\n modalRef.current && modalRef.current.focus()\n },\n !transition ? 0 : duration,\n )\n } else {\n document.body.classList.remove('modal-open')\n }\n return () => document.body.classList.remove('modal-open')\n }, [visible])\n\n const handleKeyDown = useCallback(\n (event) => {\n if (event.key === 'Escape' && keyboard) {\n return handleDismiss()\n }\n },\n [modalRef, handleDismiss],\n )\n\n const modal = (ref?: React.Ref, transitionClass?: string) => {\n return (\n <>\n \n event.stopPropagation()}\n >\n {children}\n \n
    \n \n )\n }\n\n return (\n <>\n
    \n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return typeof window !== 'undefined' && portal\n ? createPortal(modal(forkedRef, transitionClass), document.body)\n : modal(forkedRef, transitionClass)\n }}\n \n
    \n {typeof window !== 'undefined' && portal\n ? backdrop && createPortal(, document.body)\n : backdrop && }\n \n )\n },\n)\n\nCModal.propTypes = {\n alignment: PropTypes.oneOf(['top', 'center']),\n backdrop: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n duration: PropTypes.number,\n fullscreen: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n keyboard: PropTypes.bool,\n onDismiss: PropTypes.func,\n portal: PropTypes.bool,\n scrollable: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg', 'xl']),\n transition: PropTypes.bool,\n visible: PropTypes.bool,\n}\n\nCModal.displayName = 'CModal'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CModalBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('modal-body', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCModalBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCModalBody.displayName = 'CModalBody'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalFooterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CModalFooter = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('modal-footer', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCModalFooter.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCModalFooter.displayName = 'CModalFooter'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport { CCloseButton } from '../close-button/CCloseButton'\nimport classNames from 'classnames'\n\nexport interface CModalHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Add a close button component to the header which will call the provided handler when clicked. [docs]\n */\n onDismiss?: () => void\n}\n\nexport const CModalHeader = forwardRef(\n ({ children, className, onDismiss, ...rest }, ref) => {\n const _className = classNames('modal-header', className)\n\n return (\n
    \n {children}\n {onDismiss && }\n
    \n )\n },\n)\n\nCModalHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n onDismiss: PropTypes.func,\n}\n\nCModalHeader.displayName = 'CModalHeader'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalTitleProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'h5'\n */\n component?: string | ElementType\n}\n\nexport const CModalTitle = forwardRef(\n ({ children, component: Component = 'h5', className, ...rest }, ref) => {\n const _className = classNames('modal-title', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCModalTitle.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCModalTitle.displayName = 'CModalTitle'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavProps\n extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'ul'\n */\n component?: string | ElementType\n /**\n * Specify a layout type for component. [docs]\n */\n layout?: 'fill' | 'justified'\n /**\n * Set the nav variant to tabs or pills. [docs]\n */\n variant?: 'tabs' | 'pills'\n}\n\nexport const CNav = forwardRef(\n ({ children, className, component: Component = 'ul', layout, variant }, ref) => {\n const _className = classNames(\n 'nav',\n {\n [`nav-${layout}`]: layout,\n [`nav-${variant}`]: variant,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n layout: PropTypes.oneOf(['fill', 'justified']),\n variant: PropTypes.oneOf(['tabs', 'pills']),\n}\n\nCNav.displayName = 'CNav'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavGroupItemsProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CNavGroupItems = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('nav-group-items', className)\n return (\n
      \n {children}\n
    \n )\n },\n)\n\nCNavGroupItems.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavGroupItems.displayName = 'CNavGroupItems'\n","import React, { createContext, forwardRef, HTMLAttributes, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarNavProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\ninterface ContextProps {\n visibleGroup: string\n setVisibleGroup: React.Dispatch>\n}\n\nexport const CNavContext = createContext({} as ContextProps)\n\nexport const CSidebarNav = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const [visibleGroup, setVisibleGroup] = useState('')\n const CNavContextValues = {\n visibleGroup,\n setVisibleGroup,\n }\n const classes = classNames('sidebar-nav', className)\n return (\n
      \n \n {React.Children.map(children, (child, index) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child, { key: index, idx: `${index}` })\n }\n return\n })}\n \n
    \n )\n },\n)\n\nCSidebarNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarNav.displayName = 'CSidebarNav'\n","import React, { CSSProperties, forwardRef, ReactNode, useContext, useRef, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nimport { CNavContext } from '../sidebar/CSidebarNav'\nexport interface CNavGroupProps {\n children?: ReactNode\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Set component's icon. [docs]\n */\n icon?: string | ReactNode\n /**\n * Set group toggler label. [docs]\n */\n toggler?: string\n /**\n * Show nav group items. [docs]\n */\n visible?: boolean\n /**\n * @ignore\n */\n idx?: string\n}\n\nexport const CNavGroup = forwardRef(\n ({ children, toggler, className, icon, idx, visible, ...rest }, ref) => {\n const [height, setHeight] = useState()\n const navItemsRef = useRef(null)\n\n const style: CSSProperties = {\n height: 0,\n }\n\n const onEntering = () => {\n navItemsRef && navItemsRef.current && setHeight(navItemsRef.current.scrollHeight)\n }\n\n const onEntered = () => {\n setHeight('auto')\n }\n\n const onExit = () => {\n navItemsRef && navItemsRef.current && setHeight(navItemsRef.current.scrollHeight)\n }\n\n const onExiting = () => {\n // @ts-expect-error reflow is necessary to get correct height of the element\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const reflow = navItemsRef && navItemsRef.current && navItemsRef.current.offsetHeight\n setHeight(0)\n }\n\n const onExited = () => {\n setHeight(0)\n }\n\n const transitionStyles = {\n entering: { display: 'block', height: height },\n entered: { display: 'block', height: height },\n exiting: { display: 'block', height: height },\n exited: { height: height },\n }\n\n const { visibleGroup, setVisibleGroup } = useContext(CNavContext)\n\n const _visible = Boolean(\n visible || (idx && visibleGroup && visibleGroup.toString().startsWith(idx.toString())),\n )\n\n const _className = classNames('nav-group', { show: _visible }, className)\n\n return (\n
  • \n {toggler && (\n {\n event.preventDefault()\n setVisibleGroup(\n _visible\n ? idx?.toString().includes('.')\n ? idx.slice(0, idx.lastIndexOf('.'))\n : ''\n : idx,\n )\n }}\n >\n {icon && typeof icon === 'string' ? : icon}\n {toggler}\n \n )}\n \n {(state) => (\n \n {React.Children.map(children, (child, index) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child, { key: index, idx: `${idx}.${index}` })\n }\n return\n })}\n \n )}\n \n
  • \n )\n },\n)\n\nCNavGroup.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n idx: PropTypes.string,\n toggler: PropTypes.string,\n visible: PropTypes.bool,\n}\n\nCNavGroup.displayName = 'CNavGroup'\n","import React, { ElementType, forwardRef, ReactNode, useContext, useEffect, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { useForkedRef } from '../../utils/hooks'\n\nimport { CNavContext } from '../sidebar/CSidebarNav'\nimport { CLinkProps, CLink } from '../link/CLink'\nexport interface CNavLinkProps extends Omit {\n /**\n * Toggle the active state for the component. [docs]\n */\n active?: boolean\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'a'\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n /**\n * Set component's icon. [docs]\n */\n icon?: string | ReactNode\n\n /**\n * @ignore\n */\n idx?: string\n /**\n * @ignore\n */\n to?: string\n}\n\nexport const CNavLink = forwardRef<\n HTMLButtonElement | HTMLAnchorElement | HTMLLIElement,\n CNavLinkProps\n>(({ children, className, icon, idx, ...rest }, ref) => {\n const navLinkRef = useRef(null)\n const forkedRef = useForkedRef(ref, navLinkRef)\n\n const { setVisibleGroup } = useContext(CNavContext)\n const _className = classNames('nav-link', className)\n\n useEffect(() => {\n rest.active = navLinkRef.current?.classList.contains('active')\n idx && rest.active && setVisibleGroup(idx)\n }, [rest.active, className])\n\n return (\n \n {icon && typeof icon === 'string' ? : icon}\n {children}\n \n )\n})\n\nCNavLink.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n idx: PropTypes.string,\n}\n\nCNavLink.displayName = 'CNavLink'\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CNavLink, CNavLinkProps } from './CNavLink'\n\nexport const CNavItem = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('nav-item', className)\n if (rest.href || rest.to) {\n children = (\n \n {children}\n \n )\n }\n return (\n
  • \n {children}\n
  • \n )\n },\n)\n\nCNavItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavItem.displayName = 'CNavItem'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavTitleProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CNavTitle = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('nav-title', className)\n return (\n
  • \n {children}\n
  • \n )\n },\n)\n\nCNavTitle.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavTitle.displayName = 'CNavTitle'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CNavbarProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Sets if the color of text should be colored for a light or dark dark background. [docs]\n *\n * @type 'dark' | 'light'\n */\n colorScheme?: 'dark' | 'light'\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'nav'\n */\n component?: string | ElementType\n /**\n * Defines optional container wrapping children elements.\n *\n * @type boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n */\n container?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n /**\n * Defines the responsive breakpoint to determine when content collapses. [docs]\n */\n expand?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Place component in non-static positions. [docs]\n *\n * @type 'fixed-top' | 'fixed-bottom' | 'sticky-top'\n */\n placement?: 'fixed-top' | 'fixed-bottom' | 'sticky-top'\n}\n\nexport const CNavbar = forwardRef(\n (\n {\n children,\n className,\n color,\n colorScheme,\n component: Component = 'nav',\n container,\n expand,\n placement,\n ...rest\n },\n ref,\n ) => {\n const _className = classNames(\n 'navbar',\n {\n [`bg-${color}`]: color,\n [`navbar-${colorScheme}`]: colorScheme,\n [typeof expand === 'boolean' ? 'navbar-expand' : `navbar-expand-${expand}`]: expand,\n },\n placement,\n className,\n )\n\n let content\n if (container) {\n content = (\n
    {children}
    \n )\n } else {\n content = children\n }\n\n return (\n \n {content}\n \n )\n },\n)\n\nCNavbar.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n colorScheme: PropTypes.oneOf(['dark', 'light']),\n component: PropTypes.elementType,\n container: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'>([\n 'sm',\n 'md',\n 'lg',\n 'xl',\n 'xxl',\n 'fluid',\n ]),\n ]),\n expand: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n placement: PropTypes.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']),\n}\n\nCNavbar.displayName = 'CNavbar'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarBrandProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n */\n component?: string | ElementType\n /**\n * The href attribute specifies the URL of the page the link goes to. [docs]\n */\n href?: string\n}\n\nexport const CNavbarBrand = forwardRef(\n ({ children, component, className, ...rest }, ref) => {\n const Component = component ? component : rest.href ? 'a' : 'span'\n const _className = classNames('navbar-brand', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCNavbarBrand.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCNavbarBrand.displayName = 'CNavbarBrand'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarNavProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'ul'\n */\n component?: string | ElementType\n}\n\nexport const CNavbarNav = forwardRef(\n ({ children, component: Component = 'ul', className, ...rest }, ref) => {\n const _className = classNames('navbar-nav', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCNavbarNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCNavbarNav.displayName = 'CNavbarNav'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarTextProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CNavbarText = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('navbar-text', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCNavbarText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavbarText.displayName = 'CNavbarText'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarTogglerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CNavbarToggler = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('navbar-toggler', className)\n\n return (\n \n )\n },\n)\n\nCNavbarToggler.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavbarToggler.displayName = 'CNavbarToggler'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CPaginationProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Size the component small or large. [docs]\n */\n size?: 'sm' | 'lg'\n}\n\nexport const CPagination = forwardRef(\n ({ children, className, size, ...rest }, ref) => {\n const _className = classNames('pagination', { [`pagination-${size}`]: size }, className)\n return (\n \n )\n },\n)\n\nCPagination.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n size: PropTypes.oneOf(['sm', 'lg']),\n}\n\nCPagination.displayName = 'CPagination'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLink } from '../link/CLink'\n\nexport interface CPaginationItemProps extends HTMLAttributes {\n /**\n * Define a string that labels the current element. Use it in cases where a text label is not visible on the screen. [docs]\n */\n ariaLabel?: string\n /**\n * Toggle the active state for the component. [docs]\n */\n active?: boolean\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n}\n\nexport const CPaginationItem = forwardRef(\n ({ children, className, component, ...rest }, ref) => {\n const _className = classNames(\n 'page-item',\n {\n active: rest.active,\n disabled: rest.disabled,\n },\n className,\n )\n\n const Component = component ? component : rest.active ? 'span' : 'a'\n\n return (\n
  • \n {Component === 'a' ? (\n \n {children}\n \n ) : (\n \n {children}\n \n )}\n
  • \n )\n },\n)\n\nCPaginationItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCPaginationItem.displayName = 'CPaginationItem'\n","import React, { CSSProperties, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CPopoverProps } from './CPopover'\nimport { PopperChildrenProps } from 'react-popper'\n\ninterface CPopoverContentProps\n extends Omit,\n Omit {\n transitionClass?: string\n style?: CSSProperties\n placementClassNamePostfix?: string\n}\n\nexport const CPopoverContent = forwardRef(\n ({ content, title, placementClassNamePostfix, arrowProps, style, transitionClass }, ref) => (\n <>\n \n
    \n
    {title}
    \n
    {content}
    \n
    \n \n ),\n)\n\nCPopoverContent.propTypes = {\n arrowProps: PropTypes.any,\n content: PropTypes.node,\n placementClassNamePostfix: PropTypes.string,\n style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),\n title: PropTypes.string,\n transitionClass: PropTypes.string,\n}\n\nCPopoverContent.displayName = 'CPopoverContent'\n","import React, { FC, ReactElement, ReactNode, useState } from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\nimport { Manager, Popper, Reference } from 'react-popper'\nimport { CSSTransition } from 'react-transition-group'\n\nimport { CPopoverContent } from './CPopoverContent'\nimport { Triggers, triggerPropType } from '../Types'\n\nexport interface CPopoverProps {\n children: ReactElement\n /**\n * Content node for your component. [docs]\n */\n content: ReactNode\n /**\n * Offset of the popover relative to its target. [docs]\n * @default '[0, 8]'\n */\n offset?: [number, number]\n /**\n * Title node for your component. [docs]\n */\n title?: ReactNode\n /**\n * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them. [docs]\n */\n trigger?: Triggers | Triggers[]\n /**\n * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property. [docs]\n *\n * @type 'top' | 'right' | 'bottom' | 'left'\n * @default 'top'\n */\n placement?: 'top' | 'right' | 'bottom' | 'left'\n /**\n * Toggle the visibility of popover component. [docs]\n *\n * @default true\n */\n visible?: boolean\n}\n\nexport const CPopover: FC = ({\n children,\n placement = 'top',\n offset = [0, 8],\n trigger = 'click',\n visible,\n ...rest\n}) => {\n const [_visible, setVisible] = useState(visible)\n\n const getTransitionClass = (state: string) => {\n return state === 'entering'\n ? 'fade'\n : state === 'entered'\n ? 'fade show'\n : state === 'exiting'\n ? 'fade'\n : 'fade'\n }\n\n return (\n \n \n {({ ref }) =>\n React.cloneElement(children, {\n ref: ref,\n ...((trigger === 'click' || trigger.includes('click')) && {\n onClick: () => setVisible(!_visible),\n }),\n ...((trigger === 'focus' || trigger.includes('focus')) && {\n onFocus: () => setVisible(true),\n onBlur: () => setVisible(false),\n }),\n ...((trigger === 'hover' || trigger.includes('hover')) && {\n onMouseEnter: () => setVisible(true),\n onMouseLeave: () => setVisible(false),\n }),\n })\n }\n \n {typeof window !== 'undefined' &&\n createPortal(\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return (\n \n {(p) => (\n \n )}\n \n )\n }}\n
    ,\n document.body,\n )}\n \n )\n}\n\nCPopover.propTypes = {\n children: PropTypes.any,\n placement: PropTypes.oneOf(['top', 'right', 'bottom', 'left']),\n offset: PropTypes.any, // TODO: find good proptype\n trigger: triggerPropType,\n visible: PropTypes.bool,\n}\n\nCPopover.displayName = 'CPopover'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\nexport interface CProgressBarProps extends HTMLAttributes {\n /**\n * Use to animate the stripes right to left via CSS3 animations. [docs]\n *\n * @default false\n */\n animated?: boolean\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * The percent to progress the ProgressBar. [docs]\n *\n * @default 0\n */\n value?: number\n /**\n * Set the progress bar variant to optional striped. [docs]\n */\n variant?: 'striped'\n}\n\nexport const CProgressBar = forwardRef(\n ({ children, animated = false, className, color, value = 0, variant, ...rest }, ref) => {\n const _className = classNames(\n 'progress-bar',\n {\n [`bg-${color}`]: color,\n [`progress-bar-${variant}`]: variant,\n 'progress-bar-animated': animated,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\nCProgressBar.propTypes = {\n animated: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n value: PropTypes.number,\n variant: PropTypes.oneOf(['striped']),\n}\n\nCProgressBar.displayName = 'CProgressBar'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CProgressBar, CProgressBarProps } from './CProgressBar'\n\nexport interface CProgressProps\n extends Omit, 'color'>,\n CProgressBarProps {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the height of the component. If you set that value the inner will automatically resize accordingly. [docs]\n *\n * @default 'undefined'\n */\n height?: number\n /**\n * Makes progress bar thinner. [docs]\n */\n thin?: boolean\n /**\n * The percent to progress the ProgressBar (out of 100). [docs]\n * @default 0\n */\n value?: number\n /**\n * Change the default color to white. [docs]\n */\n white?: boolean\n}\n\nexport const CProgress = forwardRef(\n ({ children, className, height, thin, value = 0, white, ...rest }, ref) => {\n const _className = classNames(\n 'progress',\n {\n 'progress-thin': thin,\n 'progress-white': white,\n },\n className,\n )\n\n return (\n
    \n {value ? (\n \n {children}\n \n ) : (\n children\n )}\n
    \n )\n },\n)\n\nCProgress.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n height: PropTypes.number,\n thin: PropTypes.bool,\n value: PropTypes.number,\n white: PropTypes.bool,\n}\n\nCProgress.displayName = 'CProgress'\n","// TODO: check if element is visible after toggle\n\nimport React, {\n forwardRef,\n HTMLAttributes,\n useEffect,\n useLayoutEffect,\n useRef,\n useState,\n} from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Breakpoints } from '../Types'\nimport { useForkedRef } from '../../utils/hooks'\nimport { CBackdrop } from '../backdrop/CBackdrop'\n\nexport interface CSidebarProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Make sidebar narrow. [docs]\n */\n narrow?: boolean\n /**\n * Method called before the hide animation has started. [docs]\n */\n onHide?: () => void\n /**\n * Method called before the show animation has started. [docs]\n */\n onShow?: () => void\n /**\n * Set sidebar to narrow variant. [docs]\n */\n overlaid?: boolean\n /**\n * Place sidebar in non-static positions. [docs]\n */\n position?: 'fixed' | 'sticky'\n /**\n * Make any sidebar self hiding across all viewports or pick a maximum breakpoint with which to have a self hiding up to. [docs]\n */\n selfHiding?: Breakpoints | boolean\n /**\n * Expand narrowed sidebar on hover. [docs]\n */\n unfoldable?: boolean\n /**\n * Toggle the visibility of sidebar component. [docs]\n */\n visible?: boolean\n}\n\nexport const CSidebar = forwardRef(\n (\n {\n children,\n className,\n narrow,\n onHide,\n onShow,\n overlaid,\n position,\n selfHiding,\n unfoldable,\n visible,\n ...rest\n },\n ref,\n ) => {\n const sidebarRef = useRef(null)\n const forkedRef = useForkedRef(ref, sidebarRef)\n const [mobile, setMobile] = useState(false)\n const [_visible, setVisible] = useState(visible)\n\n const isOnMobile = (element: React.RefObject) =>\n Boolean(\n element.current && getComputedStyle(element.current).getPropertyValue('--cui-is-mobile'),\n )\n\n useLayoutEffect(() => {\n setMobile(isOnMobile(sidebarRef))\n })\n\n useEffect(() => {\n setVisible(visible)\n setMobile(isOnMobile(sidebarRef))\n }, [visible])\n\n useEffect(() => {\n setMobile(isOnMobile(sidebarRef))\n _visible && onShow && onShow()\n }, [_visible])\n\n useEffect(() => {\n window.addEventListener('mouseup', handleClickOutside)\n sidebarRef.current && sidebarRef.current.addEventListener('mouseup', handleOnClick)\n window.addEventListener('keyup', handleKeyup)\n\n return () => {\n window.removeEventListener('mouseup', handleClickOutside)\n sidebarRef.current && sidebarRef.current.removeEventListener('mouseup', handleOnClick)\n window.removeEventListener('keyup', handleKeyup)\n }\n })\n\n const handleHide = () => {\n if (_visible) {\n setVisible(false)\n onHide && onHide()\n }\n }\n\n const handleKeyup = (event: Event) => {\n if (\n mobile &&\n sidebarRef.current &&\n !sidebarRef.current.contains(event.target as HTMLElement)\n ) {\n handleHide()\n }\n }\n const handleClickOutside = (event: Event) => {\n if (\n mobile &&\n sidebarRef.current &&\n !sidebarRef.current.contains(event.target as HTMLElement)\n ) {\n handleHide()\n }\n }\n\n const handleOnClick = (event: Event) => {\n const target = event.target as HTMLAnchorElement\n target &&\n target.classList.contains('nav-link') &&\n !target.classList.contains('nav-group-toggle') &&\n mobile &&\n handleHide()\n }\n\n const _className = classNames(\n 'sidebar',\n {\n 'sidebar-narrow': narrow,\n 'sidebar-overlaid': overlaid,\n [`sidebar-${position}`]: position,\n [`sidebar-self-hiding${typeof selfHiding !== 'boolean' && '-' + selfHiding}`]: selfHiding,\n 'sidebar-narrow-unfoldable': unfoldable,\n show: _visible,\n hide: !_visible,\n },\n className,\n )\n\n return (\n <>\n
    \n {children}\n
    \n {typeof window !== 'undefined' &&\n mobile &&\n createPortal(\n ,\n document.body,\n )}\n \n )\n },\n)\n\nCSidebar.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n narrow: PropTypes.bool,\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n overlaid: PropTypes.bool,\n position: PropTypes.oneOf(['fixed', 'sticky']),\n selfHiding: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n unfoldable: PropTypes.bool,\n visible: PropTypes.bool,\n}\n\nCSidebar.displayName = 'CSidebar'\n","import PropTypes from 'prop-types'\nimport React, { forwardRef, HTMLAttributes, useCallback, useEffect, useRef, useState } from 'react'\nimport { createPortal } from 'react-dom'\nimport { Transition } from 'react-transition-group'\nimport classNames from 'classnames'\n\nimport { useForkedRef } from '../../utils/hooks'\nimport { CBackdrop } from '../backdrop/CBackdrop'\n\nexport interface COffcanvasProps extends HTMLAttributes {\n /**\n * Apply a backdrop on body while offcanvas is open. [docs]\n * @default true\n */\n backdrop?: boolean\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Closes the offcanvas when escape key is pressed [docs]\n * @default true\n */\n keyboard?: boolean\n /**\n * Method called before the dissmiss animation has started. [docs]\n */\n onDismiss?: () => void\n /**\n * Components placement, there’s no default placement. [docs]\n * @type 'start' | 'end' | 'top' | 'bottom'\n */\n placement: 'start' | 'end' | 'top' | 'bottom'\n /**\n * Generates modal using createPortal. [docs]\n */\n portal?: boolean\n /**\n * Toggle the visibility of offcanvas component. [docs]\n */\n visible?: boolean\n}\n\nexport const COffcanvas = forwardRef(\n (\n {\n children,\n backdrop = true,\n className,\n keyboard = true,\n onDismiss,\n placement,\n portal = true,\n visible = false,\n ...rest\n },\n ref,\n ) => {\n const [_visible, setVisible] = useState(visible)\n const offcanvasRef = useRef(null)\n const forkedRef = useForkedRef(ref, offcanvasRef)\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n const _className = classNames(\n 'offcanvas',\n {\n [`offcanvas-${placement}`]: placement,\n show: _visible,\n },\n className,\n )\n\n const transitionStyles = {\n entering: { visibility: 'visible' },\n entered: { visibility: 'visible' },\n exiting: { visibility: 'visible' },\n exited: { visibility: 'hidden' },\n }\n\n const handleDismiss = () => {\n setVisible(false)\n return onDismiss && onDismiss()\n }\n\n const handleKeyDown = useCallback(\n (event) => {\n if (event.key === 'Escape' && keyboard) {\n return handleDismiss()\n }\n },\n [ref, handleDismiss],\n )\n\n const offcanvas = (ref: React.Ref, state: string) => {\n return (\n <>\n \n {children}\n \n \n )\n }\n\n return (\n <>\n offcanvasRef.current?.focus()}>\n {(state) => {\n return typeof window !== 'undefined' && portal\n ? createPortal(offcanvas(forkedRef, state), document.body)\n : offcanvas(forkedRef, state)\n }}\n \n {typeof window !== 'undefined' && portal\n ? backdrop &&\n createPortal(, document.body)\n : backdrop && }\n \n )\n },\n)\n\nCOffcanvas.propTypes = {\n backdrop: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n keyboard: PropTypes.bool,\n onDismiss: PropTypes.func,\n placement: PropTypes.oneOf<'start' | 'end' | 'top' | 'bottom'>(['start', 'end', 'top', 'bottom'])\n .isRequired,\n portal: PropTypes.bool,\n visible: PropTypes.bool,\n}\n\nCOffcanvas.displayName = 'COffcanvas'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface COffcanvasBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const COffcanvasBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('offcanvas-body', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCOffcanvasBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCOffcanvasBody.displayName = 'COffcanvasBody'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface COffcanvasHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const COffcanvasHeader = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('offcanvas-header', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCOffcanvasHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCOffcanvasHeader.displayName = 'COffcanvasHeader'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface COffcanvasTitleProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'h5'\n */\n component?: string | ElementType\n}\n\nexport const COffcanvasTitle = forwardRef(\n ({ children, component: Component = 'h5', className, ...rest }, ref) => {\n const _className = classNames('offcanvas-title', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCOffcanvasTitle.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCOffcanvasTitle.displayName = 'COffcanvasTitle'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarBrandProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CSidebarBrand = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('sidebar-brand', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCSidebarBrand.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarBrand.displayName = 'CSidebarBrand'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarFooterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CSidebarFooter = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('sidebar-footer', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCSidebarFooter.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarFooter.displayName = 'CSidebarFooter'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarTogglerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CSidebarToggler = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('sidebar-toggler', className)\n return (\n \n )\n },\n)\n\nCSidebarToggler.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarToggler.displayName = 'CSidebarToggler'\n","import PropTypes from 'prop-types'\nimport React, { FC, ElementType, useMemo } from 'react'\nimport { CNavGroup } from '../nav/CNavGroup'\nimport { CNavGroupItems } from '../nav/CNavGroupItems'\nimport { CNavItem } from '../nav/CNavItem'\nimport { CNavLink, CNavLinkProps } from '../nav/CNavLink'\nimport { CNavTitle } from '../nav/CNavTitle'\n\nexport interface CSidebarNavItemGeneratorProps {\n anchor: string\n as: string | ElementType\n _component: string\n items?: CNavLinkProps[]\n idx?: string\n}\n\ninterface CCreateNavItemProps {\n idx?: string\n items: CNavLinkProps[]\n}\n\nexport const CCreateNavItem: FC = ({ items, idx }) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const renderItem = (item: any, index: number, idx?: string) => {\n const { _component, as, anchor, items, ...rest }: CSidebarNavItemGeneratorProps = item\n const components = { CNavGroup, CNavGroupItems, CNavItem, CNavLink, CNavTitle }\n\n const Component = components[_component] || _component\n\n const children = items ? items.map((item, index) => renderItem(item, index)) : anchor\n\n return (\n \n {children}\n \n )\n }\n\n const generatedItems = useMemo(() => {\n return items && items.map((item, index) => renderItem(item, index, idx))\n }, [JSON.stringify(items)])\n\n return {generatedItems}\n}\n\nCCreateNavItem.propTypes = {\n idx: PropTypes.string,\n items: PropTypes.arrayOf(PropTypes.any).isRequired,\n}\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CSidebarHeader = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('sidebar-header', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCSidebarHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarHeader.displayName = 'CSidebarHeader'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CSpinnerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n *\n * @default 'undefined'\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type {'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string }\n */\n color?: Colors\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'div'\n */\n component?: string | ElementType\n /**\n * Size the component small. [docs]\n *\n * @default 'undefined'\n */\n size?: 'sm'\n /**\n * Set the button variant to an outlined button or a ghost button. [docs]\n *\n * @default 'border'\n */\n variant?: 'border' | 'grow'\n}\n\nexport const CSpinner = forwardRef(\n ({ className, color, component: Component = 'div', size, variant = 'border', ...rest }, ref) => {\n const _className = classNames(\n `spinner-${variant}`,\n `text-${color}`,\n size && `spinner-${variant}-${size}`,\n className,\n )\n\n return (\n \n Loading...\n \n )\n },\n)\n\nCSpinner.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n component: PropTypes.string,\n size: PropTypes.oneOf(['sm']),\n variant: PropTypes.oneOf(['border', 'grow']),\n}\n\nCSpinner.displayName = 'CSpinner'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableProps extends HTMLAttributes {\n /**\n * Set the vertical aligment. [docs]\n */\n align?: 'bottom' | 'middle' | 'top'\n /**\n * Sets the border color of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n borderColor?: Colors\n /**\n * Add borders on all sides of the table and cells. [docs]\n */\n bordered?: boolean\n /**\n * Remove borders on all sides of the table and cells. [docs]\n */\n borderless?: boolean\n /**\n * Put the on the top of the table. [docs]\n */\n caption?: 'top'\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Enable a hover state on table rows within a ``. [docs]\n */\n hover?: boolean\n /**\n * Make any table responsive across all viewports or pick a maximum breakpoint with which to have a responsive table up to. [docs]\n */\n responsive?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Make table more compact by cutting all cell `padding` in half. [docs]\n */\n small?: boolean\n /**\n * Add zebra-striping to any table row within the ``. [docs]\n */\n striped?: boolean\n}\n\nexport const CTable = forwardRef(\n (\n {\n children,\n align,\n borderColor,\n bordered,\n borderless,\n caption,\n className,\n color,\n hover,\n responsive,\n small,\n striped,\n ...rest\n },\n ref,\n ) => {\n const _className = classNames(\n 'table',\n {\n [`align-${align}`]: align,\n [`caption-${caption}`]: caption,\n [`border-${borderColor}`]: borderColor,\n 'table-bordered': bordered,\n 'table-borderless': borderless,\n [`table-${color}`]: color,\n 'table-hover': hover,\n 'table-sm': small,\n 'table-striped': striped,\n },\n className,\n )\n\n return responsive ? (\n \n \n {children}\n
    \n \n ) : (\n \n {children}\n
    \n )\n },\n)\n\nCTable.propTypes = {\n align: PropTypes.oneOf(['bottom', 'middle', 'top']),\n borderColor: PropTypes.string,\n bordered: PropTypes.bool,\n borderless: PropTypes.bool,\n caption: PropTypes.oneOf(['top']),\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n hover: PropTypes.bool,\n responsive: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n small: PropTypes.bool,\n striped: PropTypes.bool,\n}\n\nCTable.displayName = 'CTable'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableBody = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableBody.displayName = 'CTableBody'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\n\nexport const CTableCaption = forwardRef<\n HTMLTableCaptionElement,\n HTMLAttributes\n>(({ children, ...props }, ref) => {\n return (\n \n {children}\n \n )\n})\n\nCTableCaption.propTypes = {\n children: PropTypes.node,\n}\n\nCTableCaption.displayName = 'CTableCaption'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableDataCellProps extends HTMLAttributes {\n /**\n * Highlight a table row or cell. [docs]\n */\n active?: boolean\n /**\n * Set the vertical aligment. [docs]\n */\n align?: 'bottom' | 'middle' | 'top'\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableDataCell = forwardRef(\n ({ children, active, align, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`align-${align}`]: align,\n 'table-active': active,\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableDataCell.propTypes = {\n active: PropTypes.bool,\n align: PropTypes.oneOf(['bottom', 'middle', 'top']),\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableDataCell.displayName = 'CTableDataCell'\n","import PropTypes from 'prop-types'\nimport React, { forwardRef, HTMLAttributes } from 'react'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableFootProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableFoot = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableFoot.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableFoot.displayName = 'CTableFoot'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableHeadProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableHead = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableHead.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableHead.displayName = 'CTableHead'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableHeaderCellProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableHeaderCell = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableHeaderCell.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableHeaderCell.displayName = 'CTableHeaderCell'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableRowProps extends HTMLAttributes {\n /**\n * Highlight a table row or cell.. [docs]\n */\n active?: boolean\n /**\n * Set the vertical aligment. [docs]\n */\n align?: 'bottom' | 'middle' | 'top'\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableRow = forwardRef(\n ({ children, active, align, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`align-${align}`]: align,\n 'table-active': active,\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableRow.propTypes = {\n active: PropTypes.bool,\n align: PropTypes.oneOf(['bottom', 'middle', 'top']),\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableRow.displayName = 'CTableRow'\n","import React, { HTMLAttributes, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CTabContentProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CTabContent = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('tab-content', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCTabContent.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCTabContent.displayName = 'CTabContent'\n","import React, { HTMLAttributes, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nexport interface CTabPaneProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Toggle the visibility of component. [docs]\n */\n visible?: boolean\n}\n\nexport const CTabPane = forwardRef(\n ({ children, className, visible, ...rest }, ref) => {\n const style = {\n transition: `opacity 150ms linear`,\n }\n\n const getTransitionClass = (state: string) => {\n return state === 'entering'\n ? 'show'\n : state === 'entered'\n ? 'show active'\n : state === 'exiting'\n ? 'active'\n : ''\n }\n\n const _className = classNames('tab-pane', 'fade', className)\n return (\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return (\n \n {children}\n \n )\n }}\n \n )\n },\n)\n\nCTabPane.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n visible: PropTypes.bool,\n}\n\nCTabPane.displayName = 'CTabPane'\n","import React, {\n createContext,\n forwardRef,\n HTMLAttributes,\n useEffect,\n useRef,\n useState,\n} from 'react'\nimport { CSSTransition } from 'react-transition-group'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CToastProps extends Omit, 'title'> {\n /**\n * Auto hide the toast. [docs]\n *\n * @default true\n */\n autohide?: boolean\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Delay hiding the toast (ms). [docs]\n */\n delay?: number\n /**\n * @ignore\n */\n index?: number\n /**\n * @ignore\n */\n key?: number\n /**\n * Toggle the visibility of component. [docs]\n *\n * @default true\n */\n visible?: boolean\n /**\n * Method called before the dissmiss animation has started. [docs]\n */\n onDismiss?: (index: number | null) => void\n}\n\ninterface ContextProps extends CToastProps {\n visible?: boolean\n setVisible: React.Dispatch>\n}\n\nexport const CToastContext = createContext({} as ContextProps)\n\nexport const CToast = forwardRef(\n (\n {\n children,\n autohide = true,\n className,\n color,\n delay = 5000,\n index,\n key,\n visible = true,\n onDismiss,\n ...rest\n },\n ref,\n ) => {\n const [_visible, setVisible] = useState(visible)\n const timeout = useRef()\n\n const contextValues = {\n visible: _visible,\n setVisible,\n }\n\n // triggered on mount and destroy\n useEffect(() => () => clearTimeout(timeout.current), [])\n\n useEffect(() => {\n _autohide()\n }, [_visible])\n\n const _autohide = () => {\n if (autohide) {\n clearTimeout(timeout.current)\n timeout.current = window.setTimeout(() => {\n setVisible(false)\n }, delay)\n }\n }\n\n const _className = classNames(\n 'toast fade',\n {\n show: _visible,\n [`bg-${color}`]: color,\n 'border-0': color,\n },\n className,\n )\n return (\n onDismiss && onDismiss(index ? index : null)}\n unmountOnExit\n >\n \n clearTimeout(timeout.current)}\n onMouseLeave={() => _autohide}\n {...rest}\n key={key}\n ref={ref}\n >\n {children}\n \n \n \n )\n },\n)\n\nCToast.propTypes = {\n autohide: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n delay: PropTypes.number,\n index: PropTypes.number,\n key: PropTypes.number,\n onDismiss: PropTypes.func,\n visible: PropTypes.bool,\n}\n\nCToast.displayName = 'CToast'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CToastBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CToastBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('toast-body', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCToastBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCToastBody.displayName = 'CToastBody'\n","import React, { ElementType, forwardRef, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport { CToastContext } from './CToast'\nimport { CCloseButton, CCloseButtonProps } from '../close-button/CCloseButton'\n\nexport interface CToastCloseProps extends CCloseButtonProps {\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n */\n component?: string | ElementType\n}\n\nexport const CToastClose = forwardRef(\n ({ children, component: Component, ...rest }, ref) => {\n const { setVisible } = useContext(CToastContext)\n return Component ? (\n setVisible(false)} {...rest} ref={ref}>\n {children}\n \n ) : (\n setVisible(false)} {...rest} ref={ref} />\n )\n },\n)\n\nCToastClose.propTypes = {\n ...CCloseButton.propTypes,\n component: PropTypes.elementType,\n}\n\nCToastClose.displayName = 'CToastClose'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CToastClose } from './CToastClose'\n\nexport interface CToastHeaderProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Automatically add a close button to the header.\n */\n close?: boolean\n}\n\nexport const CToastHeader = forwardRef(\n ({ children, className, close, ...rest }, ref) => {\n const _className = classNames('toast-header', className)\n return (\n
    \n {children}\n {close && }\n
    \n )\n },\n)\n\nCToastHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n close: PropTypes.bool,\n}\n\nCToastHeader.displayName = 'CToastHeader'\n","import React, { forwardRef, HTMLAttributes, useEffect, useState, useRef, ReactElement } from 'react'\nimport PropTypes from 'prop-types'\nimport { createPortal } from 'react-dom'\nimport classNames from 'classnames'\nexport interface CToasterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Describes the placement of your component. [docs]\n *\n * @type 'top-start' | 'top' | 'top-end' | 'middle-start' | 'middle' | 'middle-end' | 'bottom-start' | 'bottom' | 'bottom-end' | string\n */\n placement?:\n | 'top-start'\n | 'top-center'\n | 'top-end'\n | 'middle-start'\n | 'middle-center'\n | 'middle-end'\n | 'bottom-start'\n | 'bottom-center'\n | 'bottom-end'\n | string\n /**\n * Adds new `CToast` to `CToaster`. [docs]\n */\n push?: ReactElement\n}\n\nexport const CToaster = forwardRef(\n ({ children, className, placement, push, ...rest }, ref) => {\n const [toasts, setToasts] = useState([])\n const index = useRef(0)\n\n useEffect(() => {\n index.current++\n push && addToast(push)\n }, [push])\n\n const addToast = (push: ReactElement) => {\n setToasts((state) => [\n ...state,\n React.cloneElement(push, {\n index: index.current,\n key: index.current,\n onDismiss: (index: number) =>\n setToasts((state) => state.filter((i) => i.props.index !== index)),\n }),\n ])\n }\n\n const _className = classNames(\n 'toaster toast-container p-3',\n {\n 'position-fixed': placement,\n 'top-0': placement && placement.includes('top'),\n 'top-50 translate-middle-y': placement && placement.includes('middle'),\n 'bottom-0': placement && placement.includes('bottom'),\n 'start-0': placement && placement.includes('start'),\n 'start-50 translate-middle-x': placement && placement.includes('center'),\n 'end-0': placement && placement.includes('end'),\n },\n className,\n )\n\n const toaster = (ref?: React.Ref) => {\n return toasts.length > 0 || children ? (\n
    \n {children}\n {toasts.map((toast) => toast)}\n
    \n ) : null\n }\n\n return typeof window !== 'undefined' && placement\n ? createPortal(toaster(ref), document.body)\n : toaster(ref)\n },\n)\n\nCToaster.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n placement: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.oneOf([\n 'top-start',\n 'top-center',\n 'top-end',\n 'middle-start',\n 'middle-center',\n 'middle-end',\n 'bottom-start',\n 'bottom-center',\n 'bottom-end',\n ]),\n ]),\n push: PropTypes.any,\n}\n\nCToaster.displayName = 'CToaster'\n","import React, { CSSProperties, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CTooltipProps } from './CTooltip'\nimport { PopperChildrenProps } from 'react-popper'\n\ninterface CTooltipContentProps\n extends Omit,\n Omit {\n transitionClass?: string\n style?: CSSProperties\n placementClassNamePostfix?: string\n}\n\nexport const CTooltipContent = forwardRef(\n ({ content, placementClassNamePostfix, arrowProps, transitionClass, style }, ref) => (\n \n
    \n
    {content}
    \n \n ),\n)\n\nCTooltipContent.propTypes = {\n arrowProps: PropTypes.any,\n content: PropTypes.node,\n placementClassNamePostfix: PropTypes.string,\n style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),\n transitionClass: PropTypes.string,\n}\n\nCTooltipContent.displayName = 'CTooltipContent'\n","import React, { FC, ReactElement, ReactNode, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport { createPortal } from 'react-dom'\nimport { Manager, Popper, Reference } from 'react-popper'\nimport { CSSTransition } from 'react-transition-group'\n\nimport { CTooltipContent } from './CTooltipContent'\nimport { Triggers, triggerPropType } from '../Types'\n\nexport interface CTooltipProps {\n children: ReactElement\n /**\n * Content node for your component. [docs]\n */\n content: ReactNode\n /**\n * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them. [docs]\n */\n trigger?: Triggers | Triggers[]\n /**\n * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property. [docs]\n *\n * @type 'top' | 'right' | 'bottom' | 'left'\n * @default 'top'\n */\n placement?: 'top' | 'right' | 'bottom' | 'left'\n /**\n * Toggle the visibility of popover component. [docs]\n *\n * @default true\n */\n visible?: boolean\n}\n\nexport const CTooltip: FC = ({\n children,\n placement = 'top',\n trigger = 'hover',\n visible,\n ...rest\n}) => {\n const [_visible, setVisible] = useState(visible)\n\n const getTransitionClass = (state: string) => {\n return state === 'entering'\n ? 'fade'\n : state === 'entered'\n ? 'fade show'\n : state === 'exiting'\n ? 'fade'\n : 'fade'\n }\n\n return (\n \n \n {({ ref }) =>\n React.cloneElement(children, {\n ref: ref,\n ...((trigger === 'click' || trigger.includes('click')) && {\n onClick: () => setVisible(!_visible),\n }),\n ...((trigger === 'focus' || trigger.includes('focus')) && {\n onFocus: () => setVisible(true),\n onBlur: () => setVisible(false),\n }),\n ...((trigger === 'hover' || trigger.includes('hover')) && {\n onMouseEnter: () => setVisible(true),\n onMouseLeave: () => setVisible(false),\n }),\n })\n }\n \n {typeof window !== 'undefined' &&\n createPortal(\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return (\n \n {(p) => (\n \n )}\n \n )\n }}\n ,\n document.body,\n )}\n \n )\n}\n\nCTooltip.propTypes = {\n children: PropTypes.any,\n placement: PropTypes.oneOf(['top', 'right', 'bottom', 'left']),\n trigger: triggerPropType,\n visible: PropTypes.bool,\n}\n\nCTooltip.displayName = 'CTooltip'\n","import React, { forwardRef, HTMLAttributes, ReactNode, useMemo } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\nimport { CCardHeader } from '../card/CCardHeader'\nimport { CCol } from '../grid/CCol'\n\ntype Values = number[] | string[]\n\nexport interface CWidgetBrandProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n headerChildren?: string | ReactNode\n values?: Values | Values[]\n}\n\nexport const CWidgetBrand = forwardRef(\n ({ className, color, headerChildren, values, ...rest }, ref) => {\n const _className = classNames(className)\n const classNameHeader = classNames(\n 'position-relative d-flex justify-content-center align-items-center',\n {\n [`bg-${color}`]: color,\n },\n )\n\n const generatedItems = useMemo(() => {\n return (\n values &&\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n values.map((value: any, index: number) => {\n return (\n \n {index % 2 !== 0 &&
    }\n \n
    {value[0]}
    \n
    {value[1]}
    \n
    \n
    \n )\n })\n )\n }, [JSON.stringify(values)])\n\n return (\n \n {headerChildren}\n {generatedItems}\n \n )\n },\n)\n\nCWidgetBrand.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n headerChildren: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n values: PropTypes.arrayOf(PropTypes.any),\n}\n\nCWidgetBrand.displayName = 'CWidgetBrand'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\n\nexport interface CWidgetDropdownProps extends HTMLAttributes {\n action?: string | ReactNode\n change?: string | ReactNode\n chart?: string | ReactNode\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n title?: string\n value?: string | number\n}\n\nexport const CWidgetDropdown = forwardRef(\n ({ action, change, chart, className, color, title, value, ...rest }, ref) => {\n const _className = classNames(\n { [`bg-${color}`]: color, 'text-high-emphasis-inverse': color },\n className,\n )\n\n return (\n \n \n
    \n {value && (\n
    \n {value} {change && {change}}\n
    \n )}\n {title &&
    {title}
    }\n
    \n {action}\n
    \n {chart}\n
    \n )\n },\n)\n\nCWidgetDropdown.propTypes = {\n action: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n change: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n className: PropTypes.string,\n color: colorPropType,\n title: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n}\n\nCWidgetDropdown.displayName = 'CWidgetDropdown'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\nimport { CCardFooter } from '../card/CCardFooter'\n\nexport interface CWidgetIconProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n footer?: string | ReactNode\n icon?: string | ReactNode\n iconPadding?: number\n padding?: number\n title?: string\n value?: string | number\n}\n\nexport const CWidgetIcon = forwardRef(\n (\n { className, color, footer, icon, iconPadding = 3, padding = 3, title, value, ...rest },\n ref,\n ) => {\n const _className = classNames(className)\n\n return (\n \n \n
    {icon}
    \n
    \n
    {value}
    \n
    {title}
    \n
    \n
    \n {footer && {footer}}\n
    \n )\n },\n)\n\nCWidgetIcon.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n footer: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n iconPadding: PropTypes.number,\n padding: PropTypes.number,\n title: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n}\n\nCWidgetIcon.displayName = 'CWidgetIcon'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { Colors, colorPropType } from '../Types'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\nimport { CProgress } from '../progress/CProgress'\n\nexport interface CWidgetProgressProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Sets the color context of the progress bar to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n progressColor?: Colors\n progressValue?: number\n progressWhite?: boolean\n title?: string\n text?: string\n /**\n * Sets the text color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'white' | 'muted' | string\n */\n textColor?: string\n value?: string | number\n}\n\nexport const CWidgetProgress = forwardRef(\n (\n {\n className,\n color,\n progressColor,\n progressValue,\n progressWhite,\n text,\n textColor,\n title,\n value,\n ...rest\n },\n ref,\n ) => {\n return (\n \n \n {value &&
    {value}
    }\n {title &&
    {title}
    }\n \n {text && (\n \n {text}\n \n )}\n
    \n
    \n )\n },\n)\n\nCWidgetProgress.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n progressColor: PropTypes.string,\n progressValue: PropTypes.number,\n progressWhite: PropTypes.bool,\n text: PropTypes.string,\n textColor: PropTypes.string,\n title: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n}\n\nCWidgetProgress.displayName = 'CWidgetCWidgetProgress'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { Colors, colorPropType } from '../Types'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\nimport { CProgress } from '../progress/CProgress'\n\nexport interface CWidgetProgressIconProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n icon?: string | ReactNode\n /**\n * Sets the color context of the progress bar to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n progressColor?: Colors\n progressValue?: number\n progressWhite?: boolean\n title?: string\n /**\n * Sets the text color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'white' | 'muted' | string\n */\n textColor?: string\n value?: string | number\n}\n\nexport const CWidgetProgressIcon = forwardRef(\n (\n {\n className,\n color,\n icon,\n progressColor,\n progressValue,\n progressWhite,\n textColor,\n title,\n value,\n ...rest\n },\n ref,\n ) => {\n return (\n \n \n {icon && (\n
    \n {icon}\n
    \n )}\n {value && (\n
    \n {value}\n
    \n )}\n {title && (\n \n {title}\n \n )}\n \n
    \n
    \n )\n },\n)\n\nCWidgetProgressIcon.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n progressColor: PropTypes.string,\n progressValue: PropTypes.number,\n progressWhite: PropTypes.bool,\n textColor: PropTypes.string,\n title: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n}\n\nCWidgetProgressIcon.displayName = 'CWidgetCWidgetProgressIcon'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\n\nexport interface CWidgetSimpleProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n title?: string\n value?: string | number\n}\n\nexport const CWidgetSimple = forwardRef(\n ({ children, className, title, value, ...rest }, ref) => {\n const _className = classNames(className)\n\n return (\n \n \n {title && (\n
    {title}
    \n )}\n {value &&
    {value}
    }\n {children}\n
    \n
    \n )\n },\n)\n\nCWidgetSimple.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n title: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n}\n\nCWidgetSimple.displayName = 'CWidgetSimple'\n"],"names":["reactIsModule","require$$0","require$$1","ReactPropTypesSecret","printWarning","has","checkPropTypes","ReactIs","require$$2","require$$3","propTypesModule","React","setPrototypeOf","removeClass","addClass","addOneClass","removeOneClass","effect","getComputedStyle","min","max","mathMax","mathMin","hash","allPlacements","placements","popperOffsets","computeStyles","applyStyles","offset","flip","preventOverflow","arrow","hide","EMPTY_MODIFIERS","isEqual","createPopper","defaultCreatePopper","warning","BREAKPOINTS"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAiBA;AACO,IAAI,QAAQ,GAA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AAC;AACR,GAAG,CAAC;AACJ;AACA,EAAE,OAAO,aAAa,CAAC;AACvB,CAAC,CAACA,cAAK,CAAC,SAAS,CAAC,CAAC;AACnB;AACA,aAAa,CAAC,YAAY,GAAG;AAC7B,EAAE,UAAU,EAAE,EAAE;AAChB,CAAC,CAAC;AACF,aAAa,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,GAAG,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAC,SAAS,EAAE;AACrG;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,EAAE,UAAU,EAAE,eAAe;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,OAAO,EAAE,SAAS,CAAC,IAAI;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU,EAAE,SAAS,CAAC,IAAI;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,SAAS,EAAE,SAAS,CAAC,IAAI;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,MAAM,EAAE,SAAS,CAAC,IAAI;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,SAAS,EAAE,SAAS,CAAC,IAAI;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,QAAQ,EAAE,SAAS,CAAC,IAAI;AAC1B,CAAC,CAAC,GAAG,EAAE;;AC1ZP;SAW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CAAC,MAAM;IAC/B,aAAa,EAAE,SAAS,CAAC,MAAM;IAC/B,aAAa,EAAE,SAAS,CAAC,IAAI;IAC7B,SAAS,EAAE,SAAS,CAAC,MAAM;IAC3B,KAAK,EAAE,SAAS,CAAC,MAAM;IACvB,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CACjE,CAAA;AAED,mBAAmB,CAAC,WAAW,GAAG,4BAA4B;;ICjFjD,aAAa,GAAG,UAAU,CACrC,UAAC,EAA8C,EAAE,GAAG;IAAjD,IAAA,QAAQ,cAAA,EAAE,SAAS,eAAA,EAAE,KAAK,WAAA,EAAE,KAAK,WAAA,EAAK,IAAI,cAA5C,2CAA8C,CAAF;IAC3C,IAAM,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC,CAAA;IAExC,QACEA,6BAAC,KAAK,aAAC,SAAS,EAAE,UAAU,IAAM,IAAI,IAAE,GAAG,EAAE,GAAG;QAC9CA,6BAAC,SAAS,IAAC,SAAS,EAAC,aAAa;YAC/B,KAAK,KACJA,sCAAK,SAAS,EAAC,uDAAuD,IAAE,KAAK,CAAO,CACrF;YACA,KAAK,IAAIA,sCAAK,SAAS,EAAC,uBAAuB,IAAE,KAAK,CAAO;YAC7D,QAAQ,CACC,CACN,EACT;AACH,CAAC,EACF;AAED,aAAa,CAAC,SAAS,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAC,IAAI;IACxB,SAAS,EAAE,SAAS,CAAC,MAAM;IAC3B,KAAK,EAAE,SAAS,CAAC,MAAM;IACvB,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CACjE,CAAA;AAED,aAAa,CAAC,WAAW,GAAG,eAAe;;;;"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js deleted file mode 100644 index 7ee68375..00000000 --- a/dist/index.js +++ /dev/null @@ -1,7624 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -var React = require('react'); -var ReactDOM = require('react-dom'); - -function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } - -function _interopNamespace(e) { - if (e && e.__esModule) return e; - var n = Object.create(null); - if (e) { - Object.keys(e).forEach(function (k) { - if (k !== 'default') { - var d = Object.getOwnPropertyDescriptor(e, k); - Object.defineProperty(n, k, d.get ? d : { - enumerable: true, - get: function () { - return e[k]; - } - }); - } - }); - } - n['default'] = e; - return Object.freeze(n); -} - -var React__default = /*#__PURE__*/_interopDefaultLegacy(React); -var React__namespace = /*#__PURE__*/_interopNamespace(React); -var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM); - -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ - -var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; - -function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; -} - -function __spreadArray(to, from) { - for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) - to[j] = from[i]; - return to; -} - -var propTypes = {exports: {}}; - -var reactIs = {exports: {}}; - -var reactIs_production_min = {}; - -/** @license React v16.13.1 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b? -Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119; -function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d; -reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t}; -reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p}; -reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z; - -var reactIs_development = {}; - -/** @license React v16.13.1 - * react-is.development.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - - - -if (process.env.NODE_ENV !== "production") { - (function() { - -// The Symbol used to tag the ReactElement-like types. If there is no native Symbol -// nor polyfill, then a plain number is used for performance. -var hasSymbol = typeof Symbol === 'function' && Symbol.for; -var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7; -var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca; -var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb; -var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc; -var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2; -var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd; -var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary -// (unstable) APIs that have been removed. Can we remove the symbols? - -var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf; -var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf; -var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0; -var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1; -var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8; -var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3; -var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4; -var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9; -var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5; -var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6; -var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7; - -function isValidElementType(type) { - return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE); -} - -function typeOf(object) { - if (typeof object === 'object' && object !== null) { - var $$typeof = object.$$typeof; - - switch ($$typeof) { - case REACT_ELEMENT_TYPE: - var type = object.type; - - switch (type) { - case REACT_ASYNC_MODE_TYPE: - case REACT_CONCURRENT_MODE_TYPE: - case REACT_FRAGMENT_TYPE: - case REACT_PROFILER_TYPE: - case REACT_STRICT_MODE_TYPE: - case REACT_SUSPENSE_TYPE: - return type; - - default: - var $$typeofType = type && type.$$typeof; - - switch ($$typeofType) { - case REACT_CONTEXT_TYPE: - case REACT_FORWARD_REF_TYPE: - case REACT_LAZY_TYPE: - case REACT_MEMO_TYPE: - case REACT_PROVIDER_TYPE: - return $$typeofType; - - default: - return $$typeof; - } - - } - - case REACT_PORTAL_TYPE: - return $$typeof; - } - } - - return undefined; -} // AsyncMode is deprecated along with isAsyncMode - -var AsyncMode = REACT_ASYNC_MODE_TYPE; -var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE; -var ContextConsumer = REACT_CONTEXT_TYPE; -var ContextProvider = REACT_PROVIDER_TYPE; -var Element = REACT_ELEMENT_TYPE; -var ForwardRef = REACT_FORWARD_REF_TYPE; -var Fragment = REACT_FRAGMENT_TYPE; -var Lazy = REACT_LAZY_TYPE; -var Memo = REACT_MEMO_TYPE; -var Portal = REACT_PORTAL_TYPE; -var Profiler = REACT_PROFILER_TYPE; -var StrictMode = REACT_STRICT_MODE_TYPE; -var Suspense = REACT_SUSPENSE_TYPE; -var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated - -function isAsyncMode(object) { - { - if (!hasWarnedAboutDeprecatedIsAsyncMode) { - hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint - - console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.'); - } - } - - return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE; -} -function isConcurrentMode(object) { - return typeOf(object) === REACT_CONCURRENT_MODE_TYPE; -} -function isContextConsumer(object) { - return typeOf(object) === REACT_CONTEXT_TYPE; -} -function isContextProvider(object) { - return typeOf(object) === REACT_PROVIDER_TYPE; -} -function isElement(object) { - return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; -} -function isForwardRef(object) { - return typeOf(object) === REACT_FORWARD_REF_TYPE; -} -function isFragment(object) { - return typeOf(object) === REACT_FRAGMENT_TYPE; -} -function isLazy(object) { - return typeOf(object) === REACT_LAZY_TYPE; -} -function isMemo(object) { - return typeOf(object) === REACT_MEMO_TYPE; -} -function isPortal(object) { - return typeOf(object) === REACT_PORTAL_TYPE; -} -function isProfiler(object) { - return typeOf(object) === REACT_PROFILER_TYPE; -} -function isStrictMode(object) { - return typeOf(object) === REACT_STRICT_MODE_TYPE; -} -function isSuspense(object) { - return typeOf(object) === REACT_SUSPENSE_TYPE; -} - -reactIs_development.AsyncMode = AsyncMode; -reactIs_development.ConcurrentMode = ConcurrentMode; -reactIs_development.ContextConsumer = ContextConsumer; -reactIs_development.ContextProvider = ContextProvider; -reactIs_development.Element = Element; -reactIs_development.ForwardRef = ForwardRef; -reactIs_development.Fragment = Fragment; -reactIs_development.Lazy = Lazy; -reactIs_development.Memo = Memo; -reactIs_development.Portal = Portal; -reactIs_development.Profiler = Profiler; -reactIs_development.StrictMode = StrictMode; -reactIs_development.Suspense = Suspense; -reactIs_development.isAsyncMode = isAsyncMode; -reactIs_development.isConcurrentMode = isConcurrentMode; -reactIs_development.isContextConsumer = isContextConsumer; -reactIs_development.isContextProvider = isContextProvider; -reactIs_development.isElement = isElement; -reactIs_development.isForwardRef = isForwardRef; -reactIs_development.isFragment = isFragment; -reactIs_development.isLazy = isLazy; -reactIs_development.isMemo = isMemo; -reactIs_development.isPortal = isPortal; -reactIs_development.isProfiler = isProfiler; -reactIs_development.isStrictMode = isStrictMode; -reactIs_development.isSuspense = isSuspense; -reactIs_development.isValidElementType = isValidElementType; -reactIs_development.typeOf = typeOf; - })(); -} - -if (process.env.NODE_ENV === 'production') { - reactIs.exports = reactIs_production_min; -} else { - reactIs.exports = reactIs_development; -} - -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/ -/* eslint-disable no-unused-vars */ -var getOwnPropertySymbols = Object.getOwnPropertySymbols; -var hasOwnProperty = Object.prototype.hasOwnProperty; -var propIsEnumerable = Object.prototype.propertyIsEnumerable; - -function toObject(val) { - if (val === null || val === undefined) { - throw new TypeError('Object.assign cannot be called with null or undefined'); - } - - return Object(val); -} - -function shouldUseNative() { - try { - if (!Object.assign) { - return false; - } - - // Detect buggy property enumeration order in older V8 versions. - - // https://bugs.chromium.org/p/v8/issues/detail?id=4118 - var test1 = new String('abc'); // eslint-disable-line no-new-wrappers - test1[5] = 'de'; - if (Object.getOwnPropertyNames(test1)[0] === '5') { - return false; - } - - // https://bugs.chromium.org/p/v8/issues/detail?id=3056 - var test2 = {}; - for (var i = 0; i < 10; i++) { - test2['_' + String.fromCharCode(i)] = i; - } - var order2 = Object.getOwnPropertyNames(test2).map(function (n) { - return test2[n]; - }); - if (order2.join('') !== '0123456789') { - return false; - } - - // https://bugs.chromium.org/p/v8/issues/detail?id=3056 - var test3 = {}; - 'abcdefghijklmnopqrst'.split('').forEach(function (letter) { - test3[letter] = letter; - }); - if (Object.keys(Object.assign({}, test3)).join('') !== - 'abcdefghijklmnopqrst') { - return false; - } - - return true; - } catch (err) { - // We don't expect any of the above to throw, but better to be safe. - return false; - } -} - -var objectAssign = shouldUseNative() ? Object.assign : function (target, source) { - var from; - var to = toObject(target); - var symbols; - - for (var s = 1; s < arguments.length; s++) { - from = Object(arguments[s]); - - for (var key in from) { - if (hasOwnProperty.call(from, key)) { - to[key] = from[key]; - } - } - - if (getOwnPropertySymbols) { - symbols = getOwnPropertySymbols(from); - for (var i = 0; i < symbols.length; i++) { - if (propIsEnumerable.call(from, symbols[i])) { - to[symbols[i]] = from[symbols[i]]; - } - } - } - } - - return to; -}; - -/** - * Copyright (c) 2013-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 ReactPropTypesSecret$3 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; - -var ReactPropTypesSecret_1 = ReactPropTypesSecret$3; - -/** - * Copyright (c) 2013-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 printWarning$2 = function() {}; - -if (process.env.NODE_ENV !== 'production') { - var ReactPropTypesSecret$2 = ReactPropTypesSecret_1; - var loggedTypeFailures = {}; - var has$1 = Function.call.bind(Object.prototype.hasOwnProperty); - - printWarning$2 = function(text) { - var message = 'Warning: ' + text; - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; -} - -/** - * Assert that the values match with the type specs. - * Error messages are memorized and will only be shown once. - * - * @param {object} typeSpecs Map of name to a ReactPropType - * @param {object} values Runtime values that need to be type-checked - * @param {string} location e.g. "prop", "context", "child context" - * @param {string} componentName Name of the component for error messages. - * @param {?Function} getStack Returns the component stack. - * @private - */ -function checkPropTypes$1(typeSpecs, values, location, componentName, getStack) { - if (process.env.NODE_ENV !== 'production') { - for (var typeSpecName in typeSpecs) { - if (has$1(typeSpecs, typeSpecName)) { - var error; - // Prop type validation may throw. In case they do, we don't want to - // fail the render phase where it didn't fail before. So we log it. - // After these have been cleaned up, we'll let them throw. - try { - // This is intentionally an invariant that gets caught. It's the same - // behavior as without this statement except with a better message. - if (typeof typeSpecs[typeSpecName] !== 'function') { - var err = Error( - (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + - 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' - ); - err.name = 'Invariant Violation'; - throw err; - } - error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$2); - } catch (ex) { - error = ex; - } - if (error && !(error instanceof Error)) { - printWarning$2( - (componentName || 'React class') + ': type specification of ' + - location + ' `' + typeSpecName + '` is invalid; the type checker ' + - 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + - 'You may have forgotten to pass an argument to the type checker ' + - 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + - 'shape all require an argument).' - ); - } - if (error instanceof Error && !(error.message in loggedTypeFailures)) { - // Only monitor this failure once because there tends to be a lot of the - // same error. - loggedTypeFailures[error.message] = true; - - var stack = getStack ? getStack() : ''; - - printWarning$2( - 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '') - ); - } - } - } - } -} - -/** - * Resets warning cache when testing. - * - * @private - */ -checkPropTypes$1.resetWarningCache = function() { - if (process.env.NODE_ENV !== 'production') { - loggedTypeFailures = {}; - } -}; - -var checkPropTypes_1 = checkPropTypes$1; - -/** - * Copyright (c) 2013-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 ReactIs$1 = reactIs.exports; -var assign = objectAssign; - -var ReactPropTypesSecret$1 = ReactPropTypesSecret_1; -var checkPropTypes = checkPropTypes_1; - -var has = Function.call.bind(Object.prototype.hasOwnProperty); -var printWarning$1 = function() {}; - -if (process.env.NODE_ENV !== 'production') { - printWarning$1 = function(text) { - var message = 'Warning: ' + text; - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; -} - -function emptyFunctionThatReturnsNull() { - return null; -} - -var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) { - /* global Symbol */ - var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; - var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec. - - /** - * Returns the iterator method function contained on the iterable object. - * - * Be sure to invoke the function with the iterable as context: - * - * var iteratorFn = getIteratorFn(myIterable); - * if (iteratorFn) { - * var iterator = iteratorFn.call(myIterable); - * ... - * } - * - * @param {?object} maybeIterable - * @return {?function} - */ - function getIteratorFn(maybeIterable) { - var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]); - if (typeof iteratorFn === 'function') { - return iteratorFn; - } - } - - /** - * Collection of methods that allow declaration and validation of props that are - * supplied to React components. Example usage: - * - * var Props = require('ReactPropTypes'); - * var MyArticle = React.createClass({ - * propTypes: { - * // An optional string prop named "description". - * description: Props.string, - * - * // A required enum prop named "category". - * category: Props.oneOf(['News','Photos']).isRequired, - * - * // A prop named "dialog" that requires an instance of Dialog. - * dialog: Props.instanceOf(Dialog).isRequired - * }, - * render: function() { ... } - * }); - * - * A more formal specification of how these methods are used: - * - * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...) - * decl := ReactPropTypes.{type}(.isRequired)? - * - * Each and every declaration produces a function with the same signature. This - * allows the creation of custom validation functions. For example: - * - * var MyLink = React.createClass({ - * propTypes: { - * // An optional string or URI prop named "href". - * href: function(props, propName, componentName) { - * var propValue = props[propName]; - * if (propValue != null && typeof propValue !== 'string' && - * !(propValue instanceof URI)) { - * return new Error( - * 'Expected a string or an URI for ' + propName + ' in ' + - * componentName - * ); - * } - * } - * }, - * render: function() {...} - * }); - * - * @internal - */ - - var ANONYMOUS = '<>'; - - // Important! - // Keep this list in sync with production version in `./factoryWithThrowingShims.js`. - var ReactPropTypes = { - array: createPrimitiveTypeChecker('array'), - bool: createPrimitiveTypeChecker('boolean'), - func: createPrimitiveTypeChecker('function'), - number: createPrimitiveTypeChecker('number'), - object: createPrimitiveTypeChecker('object'), - string: createPrimitiveTypeChecker('string'), - symbol: createPrimitiveTypeChecker('symbol'), - - any: createAnyTypeChecker(), - arrayOf: createArrayOfTypeChecker, - element: createElementTypeChecker(), - elementType: createElementTypeTypeChecker(), - instanceOf: createInstanceTypeChecker, - node: createNodeChecker(), - objectOf: createObjectOfTypeChecker, - oneOf: createEnumTypeChecker, - oneOfType: createUnionTypeChecker, - shape: createShapeTypeChecker, - exact: createStrictShapeTypeChecker, - }; - - /** - * inlined Object.is polyfill to avoid requiring consumers ship their own - * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is - */ - /*eslint-disable no-self-compare*/ - function is(x, y) { - // SameValue algorithm - if (x === y) { - // Steps 1-5, 7-10 - // Steps 6.b-6.e: +0 != -0 - return x !== 0 || 1 / x === 1 / y; - } else { - // Step 6.a: NaN == NaN - return x !== x && y !== y; - } - } - /*eslint-enable no-self-compare*/ - - /** - * We use an Error-like object for backward compatibility as people may call - * PropTypes directly and inspect their output. However, we don't use real - * Errors anymore. We don't inspect their stack anyway, and creating them - * is prohibitively expensive if they are created too often, such as what - * happens in oneOfType() for any type before the one that matched. - */ - function PropTypeError(message) { - this.message = message; - this.stack = ''; - } - // Make `instanceof Error` still work for returned errors. - PropTypeError.prototype = Error.prototype; - - function createChainableTypeChecker(validate) { - if (process.env.NODE_ENV !== 'production') { - var manualPropTypeCallCache = {}; - var manualPropTypeWarningCount = 0; - } - function checkType(isRequired, props, propName, componentName, location, propFullName, secret) { - componentName = componentName || ANONYMOUS; - propFullName = propFullName || propName; - - if (secret !== ReactPropTypesSecret$1) { - if (throwOnDirectAccess) { - // New behavior only for users of `prop-types` package - var err = new Error( - 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + - 'Use `PropTypes.checkPropTypes()` to call them. ' + - 'Read more at http://fb.me/use-check-prop-types' - ); - err.name = 'Invariant Violation'; - throw err; - } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') { - // Old behavior for people using React.PropTypes - var cacheKey = componentName + ':' + propName; - if ( - !manualPropTypeCallCache[cacheKey] && - // Avoid spamming the console because they are often not actionable except for lib authors - manualPropTypeWarningCount < 3 - ) { - printWarning$1( - 'You are manually calling a React.PropTypes validation ' + - 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' + - 'and will throw in the standalone `prop-types` package. ' + - 'You may be seeing this warning due to a third-party PropTypes ' + - 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.' - ); - manualPropTypeCallCache[cacheKey] = true; - manualPropTypeWarningCount++; - } - } - } - if (props[propName] == null) { - if (isRequired) { - if (props[propName] === null) { - return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.')); - } - return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.')); - } - return null; - } else { - return validate(props, propName, componentName, location, propFullName); - } - } - - var chainedCheckType = checkType.bind(null, false); - chainedCheckType.isRequired = checkType.bind(null, true); - - return chainedCheckType; - } - - function createPrimitiveTypeChecker(expectedType) { - function validate(props, propName, componentName, location, propFullName, secret) { - var propValue = props[propName]; - var propType = getPropType(propValue); - if (propType !== expectedType) { - // `propValue` being instance of, say, date/regexp, pass the 'object' - // check, but we can offer a more precise error message here rather than - // 'of type `object`'. - var preciseType = getPreciseType(propValue); - - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.')); - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createAnyTypeChecker() { - return createChainableTypeChecker(emptyFunctionThatReturnsNull); - } - - function createArrayOfTypeChecker(typeChecker) { - function validate(props, propName, componentName, location, propFullName) { - if (typeof typeChecker !== 'function') { - return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.'); - } - var propValue = props[propName]; - if (!Array.isArray(propValue)) { - var propType = getPropType(propValue); - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.')); - } - for (var i = 0; i < propValue.length; i++) { - var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret$1); - if (error instanceof Error) { - return error; - } - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createElementTypeChecker() { - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - if (!isValidElement(propValue)) { - var propType = getPropType(propValue); - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.')); - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createElementTypeTypeChecker() { - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - if (!ReactIs$1.isValidElementType(propValue)) { - var propType = getPropType(propValue); - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.')); - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createInstanceTypeChecker(expectedClass) { - function validate(props, propName, componentName, location, propFullName) { - if (!(props[propName] instanceof expectedClass)) { - var expectedClassName = expectedClass.name || ANONYMOUS; - var actualClassName = getClassName(props[propName]); - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.')); - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createEnumTypeChecker(expectedValues) { - if (!Array.isArray(expectedValues)) { - if (process.env.NODE_ENV !== 'production') { - if (arguments.length > 1) { - printWarning$1( - 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + - 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).' - ); - } else { - printWarning$1('Invalid argument supplied to oneOf, expected an array.'); - } - } - return emptyFunctionThatReturnsNull; - } - - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - for (var i = 0; i < expectedValues.length; i++) { - if (is(propValue, expectedValues[i])) { - return null; - } - } - - var valuesString = JSON.stringify(expectedValues, function replacer(key, value) { - var type = getPreciseType(value); - if (type === 'symbol') { - return String(value); - } - return value; - }); - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.')); - } - return createChainableTypeChecker(validate); - } - - function createObjectOfTypeChecker(typeChecker) { - function validate(props, propName, componentName, location, propFullName) { - if (typeof typeChecker !== 'function') { - return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.'); - } - var propValue = props[propName]; - var propType = getPropType(propValue); - if (propType !== 'object') { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.')); - } - for (var key in propValue) { - if (has(propValue, key)) { - var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1); - if (error instanceof Error) { - return error; - } - } - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createUnionTypeChecker(arrayOfTypeCheckers) { - if (!Array.isArray(arrayOfTypeCheckers)) { - process.env.NODE_ENV !== 'production' ? printWarning$1('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0; - return emptyFunctionThatReturnsNull; - } - - for (var i = 0; i < arrayOfTypeCheckers.length; i++) { - var checker = arrayOfTypeCheckers[i]; - if (typeof checker !== 'function') { - printWarning$1( - 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + - 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.' - ); - return emptyFunctionThatReturnsNull; - } - } - - function validate(props, propName, componentName, location, propFullName) { - for (var i = 0; i < arrayOfTypeCheckers.length; i++) { - var checker = arrayOfTypeCheckers[i]; - if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1) == null) { - return null; - } - } - - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.')); - } - return createChainableTypeChecker(validate); - } - - function createNodeChecker() { - function validate(props, propName, componentName, location, propFullName) { - if (!isNode(props[propName])) { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.')); - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createShapeTypeChecker(shapeTypes) { - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - var propType = getPropType(propValue); - if (propType !== 'object') { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.')); - } - for (var key in shapeTypes) { - var checker = shapeTypes[key]; - if (!checker) { - continue; - } - var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1); - if (error) { - return error; - } - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createStrictShapeTypeChecker(shapeTypes) { - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - var propType = getPropType(propValue); - if (propType !== 'object') { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.')); - } - // We need to check all keys in case some are required but missing from - // props. - var allKeys = assign({}, props[propName], shapeTypes); - for (var key in allKeys) { - var checker = shapeTypes[key]; - if (!checker) { - return new PropTypeError( - 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + - '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + - '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ') - ); - } - var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1); - if (error) { - return error; - } - } - return null; - } - - return createChainableTypeChecker(validate); - } - - function isNode(propValue) { - switch (typeof propValue) { - case 'number': - case 'string': - case 'undefined': - return true; - case 'boolean': - return !propValue; - case 'object': - if (Array.isArray(propValue)) { - return propValue.every(isNode); - } - if (propValue === null || isValidElement(propValue)) { - return true; - } - - var iteratorFn = getIteratorFn(propValue); - if (iteratorFn) { - var iterator = iteratorFn.call(propValue); - var step; - if (iteratorFn !== propValue.entries) { - while (!(step = iterator.next()).done) { - if (!isNode(step.value)) { - return false; - } - } - } else { - // Iterator will provide entry [k,v] tuples rather than values. - while (!(step = iterator.next()).done) { - var entry = step.value; - if (entry) { - if (!isNode(entry[1])) { - return false; - } - } - } - } - } else { - return false; - } - - return true; - default: - return false; - } - } - - function isSymbol(propType, propValue) { - // Native Symbol. - if (propType === 'symbol') { - return true; - } - - // falsy value can't be a Symbol - if (!propValue) { - return false; - } - - // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol' - if (propValue['@@toStringTag'] === 'Symbol') { - return true; - } - - // Fallback for non-spec compliant Symbols which are polyfilled. - if (typeof Symbol === 'function' && propValue instanceof Symbol) { - return true; - } - - return false; - } - - // Equivalent of `typeof` but with special handling for array and regexp. - function getPropType(propValue) { - var propType = typeof propValue; - if (Array.isArray(propValue)) { - return 'array'; - } - if (propValue instanceof RegExp) { - // Old webkits (at least until Android 4.0) return 'function' rather than - // 'object' for typeof a RegExp. We'll normalize this here so that /bla/ - // passes PropTypes.object. - return 'object'; - } - if (isSymbol(propType, propValue)) { - return 'symbol'; - } - return propType; - } - - // This handles more types than `getPropType`. Only used for error messages. - // See `createPrimitiveTypeChecker`. - function getPreciseType(propValue) { - if (typeof propValue === 'undefined' || propValue === null) { - return '' + propValue; - } - var propType = getPropType(propValue); - if (propType === 'object') { - if (propValue instanceof Date) { - return 'date'; - } else if (propValue instanceof RegExp) { - return 'regexp'; - } - } - return propType; - } - - // Returns a string that is postfixed to a warning about an invalid type. - // For example, "undefined" or "of type array" - function getPostfixForTypeWarning(value) { - var type = getPreciseType(value); - switch (type) { - case 'array': - case 'object': - return 'an ' + type; - case 'boolean': - case 'date': - case 'regexp': - return 'a ' + type; - default: - return type; - } - } - - // Returns class name of the object, if any. - function getClassName(propValue) { - if (!propValue.constructor || !propValue.constructor.name) { - return ANONYMOUS; - } - return propValue.constructor.name; - } - - ReactPropTypes.checkPropTypes = checkPropTypes; - ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache; - ReactPropTypes.PropTypes = ReactPropTypes; - - return ReactPropTypes; -}; - -/** - * Copyright (c) 2013-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 ReactPropTypesSecret = ReactPropTypesSecret_1; - -function emptyFunction() {} -function emptyFunctionWithReset() {} -emptyFunctionWithReset.resetWarningCache = emptyFunction; - -var factoryWithThrowingShims = function() { - function shim(props, propName, componentName, location, propFullName, secret) { - if (secret === ReactPropTypesSecret) { - // It is still safe when called from React. - return; - } - var err = new Error( - 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + - 'Use PropTypes.checkPropTypes() to call them. ' + - 'Read more at http://fb.me/use-check-prop-types' - ); - err.name = 'Invariant Violation'; - throw err; - } shim.isRequired = shim; - function getShim() { - return shim; - } // Important! - // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. - var ReactPropTypes = { - array: shim, - bool: shim, - func: shim, - number: shim, - object: shim, - string: shim, - symbol: shim, - - any: shim, - arrayOf: getShim, - element: shim, - elementType: shim, - instanceOf: getShim, - node: shim, - objectOf: getShim, - oneOf: getShim, - oneOfType: getShim, - shape: getShim, - exact: getShim, - - checkPropTypes: emptyFunctionWithReset, - resetWarningCache: emptyFunction - }; - - ReactPropTypes.PropTypes = ReactPropTypes; - - return ReactPropTypes; -}; - -/** - * Copyright (c) 2013-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. - */ - -if (process.env.NODE_ENV !== 'production') { - var ReactIs = reactIs.exports; - - // By explicitly using `prop-types` you are opting into new development behavior. - // http://fb.me/prop-types-in-prod - var throwOnDirectAccess = true; - propTypes.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess); -} else { - // By explicitly using `prop-types` you are opting into new production behavior. - // http://fb.me/prop-types-in-prod - propTypes.exports = factoryWithThrowingShims(); -} - -var PropTypes = propTypes.exports; - -var classnames = {exports: {}}; - -/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/ - -(function (module) { -/* global define */ - -(function () { - - var hasOwn = {}.hasOwnProperty; - - function classNames() { - var classes = []; - - for (var i = 0; i < arguments.length; i++) { - var arg = arguments[i]; - if (!arg) continue; - - var argType = typeof arg; - - if (argType === 'string' || argType === 'number') { - classes.push(arg); - } else if (Array.isArray(arg)) { - if (arg.length) { - var inner = classNames.apply(null, arg); - if (inner) { - classes.push(inner); - } - } - } else if (argType === 'object') { - if (arg.toString === Object.prototype.toString) { - for (var key in arg) { - if (hasOwn.call(arg, key) && arg[key]) { - classes.push(key); - } - } - } else { - classes.push(arg.toString()); - } - } - } - - return classes.join(' '); - } - - if (module.exports) { - classNames.default = classNames; - module.exports = classNames; - } else { - window.classNames = classNames; - } -}()); -}(classnames)); - -var classNames = classnames.exports; - -var CAccordion = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, flush = _a.flush, rest = __rest(_a, ["children", "className", "flush"]); - var _className = classNames('accordion', { 'accordion-flush': flush }, className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CAccordion.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - flush: PropTypes.bool, -}; -CAccordion.displayName = 'CAccordion'; - -var CAccordionBody = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('accordion-body', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CAccordionBody.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CAccordionBody.displayName = 'CAccordionBody'; - -var CAccordionButton = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, collapsed = _a.collapsed, rest = __rest(_a, ["children", "className", "collapsed"]); - var _className = classNames('accordion-button', { collapsed: collapsed }, className); - return (React__default['default'].createElement("button", __assign({ className: _className }, rest, { "aria-expanded": !collapsed, ref: ref }), children)); -}); -CAccordionButton.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - collapsed: PropTypes.bool, -}; -CAccordionButton.displayName = 'CAccordionButton'; - -function _extends() { - _extends = Object.assign || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - - return target; - }; - - return _extends.apply(this, arguments); -} - -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - - return _setPrototypeOf(o, p); -} - -function _inheritsLoose(subClass, superClass) { - subClass.prototype = Object.create(superClass.prototype); - subClass.prototype.constructor = subClass; - _setPrototypeOf(subClass, superClass); -} - -/** - * Checks if a given element has a CSS class. - * - * @param element the element - * @param className the CSS class name - */ -function hasClass(element, className) { - if (element.classList) return !!className && element.classList.contains(className); - return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1; -} - -/** - * Adds a CSS class to a given element. - * - * @param element the element - * @param className the CSS class name - */ - -function addClass(element, className) { - if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + " " + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + " " + className); -} - -function replaceClassName(origClass, classToRemove) { - return origClass.replace(new RegExp("(^|\\s)" + classToRemove + "(?:\\s|$)", 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, ''); -} -/** - * Removes a CSS class from a given element. - * - * @param element the element - * @param className the CSS class name - */ - - -function removeClass$1(element, className) { - if (element.classList) { - element.classList.remove(className); - } else if (typeof element.className === 'string') { - element.className = replaceClassName(element.className, className); - } else { - element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className)); - } -} - -var config = { - disabled: false -}; - -var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({ - enter: PropTypes.number, - exit: PropTypes.number, - appear: PropTypes.number -}).isRequired]) : null; -var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({ - enter: PropTypes.string, - exit: PropTypes.string, - active: PropTypes.string -}), PropTypes.shape({ - enter: PropTypes.string, - enterDone: PropTypes.string, - enterActive: PropTypes.string, - exit: PropTypes.string, - exitDone: PropTypes.string, - exitActive: PropTypes.string -})]) : null; - -var TransitionGroupContext = React__default['default'].createContext(null); - -var UNMOUNTED = 'unmounted'; -var EXITED = 'exited'; -var ENTERING = 'entering'; -var ENTERED = 'entered'; -var EXITING = 'exiting'; -/** - * The Transition component lets you describe a transition from one component - * state to another _over time_ with a simple declarative API. Most commonly - * it's used to animate the mounting and unmounting of a component, but can also - * be used to describe in-place transition states as well. - * - * --- - * - * **Note**: `Transition` is a platform-agnostic base component. If you're using - * transitions in CSS, you'll probably want to use - * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition) - * instead. It inherits all the features of `Transition`, but contains - * additional features necessary to play nice with CSS transitions (hence the - * name of the component). - * - * --- - * - * By default the `Transition` component does not alter the behavior of the - * component it renders, it only tracks "enter" and "exit" states for the - * components. It's up to you to give meaning and effect to those states. For - * example we can add styles to a component when it enters or exits: - * - * ```jsx - * import { Transition } from 'react-transition-group'; - * - * const duration = 300; - * - * const defaultStyle = { - * transition: `opacity ${duration}ms ease-in-out`, - * opacity: 0, - * } - * - * const transitionStyles = { - * entering: { opacity: 1 }, - * entered: { opacity: 1 }, - * exiting: { opacity: 0 }, - * exited: { opacity: 0 }, - * }; - * - * const Fade = ({ in: inProp }) => ( - * - * {state => ( - *
    - * I'm a fade Transition! - *
    - * )} - *
    - * ); - * ``` - * - * There are 4 main states a Transition can be in: - * - `'entering'` - * - `'entered'` - * - `'exiting'` - * - `'exited'` - * - * Transition state is toggled via the `in` prop. When `true` the component - * begins the "Enter" stage. During this stage, the component will shift from - * its current transition state, to `'entering'` for the duration of the - * transition and then to the `'entered'` stage once it's complete. Let's take - * the following example (we'll use the - * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook): - * - * ```jsx - * function App() { - * const [inProp, setInProp] = useState(false); - * return ( - *
    - * - * {state => ( - * // ... - * )} - * - * - *
    - * ); - * } - * ``` - * - * When the button is clicked the component will shift to the `'entering'` state - * and stay there for 500ms (the value of `timeout`) before it finally switches - * to `'entered'`. - * - * When `in` is `false` the same thing happens except the state moves from - * `'exiting'` to `'exited'`. - */ - -var Transition = /*#__PURE__*/function (_React$Component) { - _inheritsLoose(Transition, _React$Component); - - function Transition(props, context) { - var _this; - - _this = _React$Component.call(this, props, context) || this; - var parentGroup = context; // In the context of a TransitionGroup all enters are really appears - - var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear; - var initialStatus; - _this.appearStatus = null; - - if (props.in) { - if (appear) { - initialStatus = EXITED; - _this.appearStatus = ENTERING; - } else { - initialStatus = ENTERED; - } - } else { - if (props.unmountOnExit || props.mountOnEnter) { - initialStatus = UNMOUNTED; - } else { - initialStatus = EXITED; - } - } - - _this.state = { - status: initialStatus - }; - _this.nextCallback = null; - return _this; - } - - Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) { - var nextIn = _ref.in; - - if (nextIn && prevState.status === UNMOUNTED) { - return { - status: EXITED - }; - } - - return null; - } // getSnapshotBeforeUpdate(prevProps) { - // let nextStatus = null - // if (prevProps !== this.props) { - // const { status } = this.state - // if (this.props.in) { - // if (status !== ENTERING && status !== ENTERED) { - // nextStatus = ENTERING - // } - // } else { - // if (status === ENTERING || status === ENTERED) { - // nextStatus = EXITING - // } - // } - // } - // return { nextStatus } - // } - ; - - var _proto = Transition.prototype; - - _proto.componentDidMount = function componentDidMount() { - this.updateStatus(true, this.appearStatus); - }; - - _proto.componentDidUpdate = function componentDidUpdate(prevProps) { - var nextStatus = null; - - if (prevProps !== this.props) { - var status = this.state.status; - - if (this.props.in) { - if (status !== ENTERING && status !== ENTERED) { - nextStatus = ENTERING; - } - } else { - if (status === ENTERING || status === ENTERED) { - nextStatus = EXITING; - } - } - } - - this.updateStatus(false, nextStatus); - }; - - _proto.componentWillUnmount = function componentWillUnmount() { - this.cancelNextCallback(); - }; - - _proto.getTimeouts = function getTimeouts() { - var timeout = this.props.timeout; - var exit, enter, appear; - exit = enter = appear = timeout; - - if (timeout != null && typeof timeout !== 'number') { - exit = timeout.exit; - enter = timeout.enter; // TODO: remove fallback for next major - - appear = timeout.appear !== undefined ? timeout.appear : enter; - } - - return { - exit: exit, - enter: enter, - appear: appear - }; - }; - - _proto.updateStatus = function updateStatus(mounting, nextStatus) { - if (mounting === void 0) { - mounting = false; - } - - if (nextStatus !== null) { - // nextStatus will always be ENTERING or EXITING. - this.cancelNextCallback(); - - if (nextStatus === ENTERING) { - this.performEnter(mounting); - } else { - this.performExit(); - } - } else if (this.props.unmountOnExit && this.state.status === EXITED) { - this.setState({ - status: UNMOUNTED - }); - } - }; - - _proto.performEnter = function performEnter(mounting) { - var _this2 = this; - - var enter = this.props.enter; - var appearing = this.context ? this.context.isMounting : mounting; - - var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM__default['default'].findDOMNode(this), appearing], - maybeNode = _ref2[0], - maybeAppearing = _ref2[1]; - - var timeouts = this.getTimeouts(); - var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED - // if we are mounting and running this it means appear _must_ be set - - if (!mounting && !enter || config.disabled) { - this.safeSetState({ - status: ENTERED - }, function () { - _this2.props.onEntered(maybeNode); - }); - return; - } - - this.props.onEnter(maybeNode, maybeAppearing); - this.safeSetState({ - status: ENTERING - }, function () { - _this2.props.onEntering(maybeNode, maybeAppearing); - - _this2.onTransitionEnd(enterTimeout, function () { - _this2.safeSetState({ - status: ENTERED - }, function () { - _this2.props.onEntered(maybeNode, maybeAppearing); - }); - }); - }); - }; - - _proto.performExit = function performExit() { - var _this3 = this; - - var exit = this.props.exit; - var timeouts = this.getTimeouts(); - var maybeNode = this.props.nodeRef ? undefined : ReactDOM__default['default'].findDOMNode(this); // no exit animation skip right to EXITED - - if (!exit || config.disabled) { - this.safeSetState({ - status: EXITED - }, function () { - _this3.props.onExited(maybeNode); - }); - return; - } - - this.props.onExit(maybeNode); - this.safeSetState({ - status: EXITING - }, function () { - _this3.props.onExiting(maybeNode); - - _this3.onTransitionEnd(timeouts.exit, function () { - _this3.safeSetState({ - status: EXITED - }, function () { - _this3.props.onExited(maybeNode); - }); - }); - }); - }; - - _proto.cancelNextCallback = function cancelNextCallback() { - if (this.nextCallback !== null) { - this.nextCallback.cancel(); - this.nextCallback = null; - } - }; - - _proto.safeSetState = function safeSetState(nextState, callback) { - // This shouldn't be necessary, but there are weird race conditions with - // setState callbacks and unmounting in testing, so always make sure that - // we can cancel any pending setState callbacks after we unmount. - callback = this.setNextCallback(callback); - this.setState(nextState, callback); - }; - - _proto.setNextCallback = function setNextCallback(callback) { - var _this4 = this; - - var active = true; - - this.nextCallback = function (event) { - if (active) { - active = false; - _this4.nextCallback = null; - callback(event); - } - }; - - this.nextCallback.cancel = function () { - active = false; - }; - - return this.nextCallback; - }; - - _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) { - this.setNextCallback(handler); - var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM__default['default'].findDOMNode(this); - var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener; - - if (!node || doesNotHaveTimeoutOrListener) { - setTimeout(this.nextCallback, 0); - return; - } - - if (this.props.addEndListener) { - var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback], - maybeNode = _ref3[0], - maybeNextCallback = _ref3[1]; - - this.props.addEndListener(maybeNode, maybeNextCallback); - } - - if (timeout != null) { - setTimeout(this.nextCallback, timeout); - } - }; - - _proto.render = function render() { - var status = this.state.status; - - if (status === UNMOUNTED) { - return null; - } - - var _this$props = this.props, - children = _this$props.children; - _this$props.in; - _this$props.mountOnEnter; - _this$props.unmountOnExit; - _this$props.appear; - _this$props.enter; - _this$props.exit; - _this$props.timeout; - _this$props.addEndListener; - _this$props.onEnter; - _this$props.onEntering; - _this$props.onEntered; - _this$props.onExit; - _this$props.onExiting; - _this$props.onExited; - _this$props.nodeRef; - var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]); - - return ( - /*#__PURE__*/ - // allows for nested Transitions - React__default['default'].createElement(TransitionGroupContext.Provider, { - value: null - }, typeof children === 'function' ? children(status, childProps) : React__default['default'].cloneElement(React__default['default'].Children.only(children), childProps)) - ); - }; - - return Transition; -}(React__default['default'].Component); - -Transition.contextType = TransitionGroupContext; -Transition.propTypes = process.env.NODE_ENV !== "production" ? { - /** - * A React reference to DOM element that need to transition: - * https://stackoverflow.com/a/51127130/4671932 - * - * - When `nodeRef` prop is used, `node` is not passed to callback functions - * (e.g. `onEnter`) because user already has direct access to the node. - * - When changing `key` prop of `Transition` in a `TransitionGroup` a new - * `nodeRef` need to be provided to `Transition` with changed `key` prop - * (see - * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)). - */ - nodeRef: PropTypes.shape({ - current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) { - var value = propValue[key]; - return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret); - } - }), - - /** - * A `function` child can be used instead of a React element. This function is - * called with the current transition status (`'entering'`, `'entered'`, - * `'exiting'`, `'exited'`), which can be used to apply context - * specific props to a component. - * - * ```jsx - * - * {state => ( - * - * )} - * - * ``` - */ - children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired, - - /** - * Show the component; triggers the enter or exit states - */ - in: PropTypes.bool, - - /** - * By default the child component is mounted immediately along with - * the parent `Transition` component. If you want to "lazy mount" the component on the - * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay - * mounted, even on "exited", unless you also specify `unmountOnExit`. - */ - mountOnEnter: PropTypes.bool, - - /** - * By default the child component stays mounted after it reaches the `'exited'` state. - * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting. - */ - unmountOnExit: PropTypes.bool, - - /** - * By default the child component does not perform the enter transition when - * it first mounts, regardless of the value of `in`. If you want this - * behavior, set both `appear` and `in` to `true`. - * - * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop - * > only adds an additional enter transition. However, in the - * > `` component that first enter transition does result in - * > additional `.appear-*` classes, that way you can choose to style it - * > differently. - */ - appear: PropTypes.bool, - - /** - * Enable or disable enter transitions. - */ - enter: PropTypes.bool, - - /** - * Enable or disable exit transitions. - */ - exit: PropTypes.bool, - - /** - * The duration of the transition, in milliseconds. - * Required unless `addEndListener` is provided. - * - * You may specify a single timeout for all transitions: - * - * ```jsx - * timeout={500} - * ``` - * - * or individually: - * - * ```jsx - * timeout={{ - * appear: 500, - * enter: 300, - * exit: 500, - * }} - * ``` - * - * - `appear` defaults to the value of `enter` - * - `enter` defaults to `0` - * - `exit` defaults to `0` - * - * @type {number | { enter?: number, exit?: number, appear?: number }} - */ - timeout: function timeout(props) { - var pt = timeoutsShape; - if (!props.addEndListener) pt = pt.isRequired; - - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - return pt.apply(void 0, [props].concat(args)); - }, - - /** - * Add a custom transition end trigger. Called with the transitioning - * DOM node and a `done` callback. Allows for more fine grained transition end - * logic. Timeouts are still used as a fallback if provided. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * ```jsx - * addEndListener={(node, done) => { - * // use the css transitionend event to mark the finish of a transition - * node.addEventListener('transitionend', done, false); - * }} - * ``` - */ - addEndListener: PropTypes.func, - - /** - * Callback fired before the "entering" status is applied. An extra parameter - * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) -> void - */ - onEnter: PropTypes.func, - - /** - * Callback fired after the "entering" status is applied. An extra parameter - * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) - */ - onEntering: PropTypes.func, - - /** - * Callback fired after the "entered" status is applied. An extra parameter - * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) -> void - */ - onEntered: PropTypes.func, - - /** - * Callback fired before the "exiting" status is applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement) -> void - */ - onExit: PropTypes.func, - - /** - * Callback fired after the "exiting" status is applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement) -> void - */ - onExiting: PropTypes.func, - - /** - * Callback fired after the "exited" status is applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed - * - * @type Function(node: HtmlElement) -> void - */ - onExited: PropTypes.func -} : {}; // Name the function so it is clearer in the documentation - -function noop() {} - -Transition.defaultProps = { - in: false, - mountOnEnter: false, - unmountOnExit: false, - appear: false, - enter: true, - exit: true, - onEnter: noop, - onEntering: noop, - onEntered: noop, - onExit: noop, - onExiting: noop, - onExited: noop -}; -Transition.UNMOUNTED = UNMOUNTED; -Transition.EXITED = EXITED; -Transition.ENTERING = ENTERING; -Transition.ENTERED = ENTERED; -Transition.EXITING = EXITING; - -var _addClass = function addClass$1(node, classes) { - return node && classes && classes.split(' ').forEach(function (c) { - return addClass(node, c); - }); -}; - -var removeClass = function removeClass(node, classes) { - return node && classes && classes.split(' ').forEach(function (c) { - return removeClass$1(node, c); - }); -}; -/** - * A transition component inspired by the excellent - * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should - * use it if you're using CSS transitions or animations. It's built upon the - * [`Transition`](https://reactcommunity.org/react-transition-group/transition) - * component, so it inherits all of its props. - * - * `CSSTransition` applies a pair of class names during the `appear`, `enter`, - * and `exit` states of the transition. The first class is applied and then a - * second `*-active` class in order to activate the CSS transition. After the - * transition, matching `*-done` class names are applied to persist the - * transition state. - * - * ```jsx - * function App() { - * const [inProp, setInProp] = useState(false); - * return ( - *
    - * - *
    - * {"I'll receive my-node-* classes"} - *
    - *
    - * - *
    - * ); - * } - * ``` - * - * When the `in` prop is set to `true`, the child component will first receive - * the class `example-enter`, then the `example-enter-active` will be added in - * the next tick. `CSSTransition` [forces a - * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215) - * between before adding the `example-enter-active`. This is an important trick - * because it allows us to transition between `example-enter` and - * `example-enter-active` even though they were added immediately one after - * another. Most notably, this is what makes it possible for us to animate - * _appearance_. - * - * ```css - * .my-node-enter { - * opacity: 0; - * } - * .my-node-enter-active { - * opacity: 1; - * transition: opacity 200ms; - * } - * .my-node-exit { - * opacity: 1; - * } - * .my-node-exit-active { - * opacity: 0; - * transition: opacity 200ms; - * } - * ``` - * - * `*-active` classes represent which styles you want to animate **to**, so it's - * important to add `transition` declaration only to them, otherwise transitions - * might not behave as intended! This might not be obvious when the transitions - * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in - * the example above (minus `transition`), but it becomes apparent in more - * complex transitions. - * - * **Note**: If you're using the - * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear) - * prop, make sure to define styles for `.appear-*` classes as well. - */ - - -var CSSTransition = /*#__PURE__*/function (_React$Component) { - _inheritsLoose(CSSTransition, _React$Component); - - function CSSTransition() { - var _this; - - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; - _this.appliedClasses = { - appear: {}, - enter: {}, - exit: {} - }; - - _this.onEnter = function (maybeNode, maybeAppearing) { - var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing), - node = _this$resolveArgument[0], - appearing = _this$resolveArgument[1]; - - _this.removeClasses(node, 'exit'); - - _this.addClass(node, appearing ? 'appear' : 'enter', 'base'); - - if (_this.props.onEnter) { - _this.props.onEnter(maybeNode, maybeAppearing); - } - }; - - _this.onEntering = function (maybeNode, maybeAppearing) { - var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing), - node = _this$resolveArgument2[0], - appearing = _this$resolveArgument2[1]; - - var type = appearing ? 'appear' : 'enter'; - - _this.addClass(node, type, 'active'); - - if (_this.props.onEntering) { - _this.props.onEntering(maybeNode, maybeAppearing); - } - }; - - _this.onEntered = function (maybeNode, maybeAppearing) { - var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing), - node = _this$resolveArgument3[0], - appearing = _this$resolveArgument3[1]; - - var type = appearing ? 'appear' : 'enter'; - - _this.removeClasses(node, type); - - _this.addClass(node, type, 'done'); - - if (_this.props.onEntered) { - _this.props.onEntered(maybeNode, maybeAppearing); - } - }; - - _this.onExit = function (maybeNode) { - var _this$resolveArgument4 = _this.resolveArguments(maybeNode), - node = _this$resolveArgument4[0]; - - _this.removeClasses(node, 'appear'); - - _this.removeClasses(node, 'enter'); - - _this.addClass(node, 'exit', 'base'); - - if (_this.props.onExit) { - _this.props.onExit(maybeNode); - } - }; - - _this.onExiting = function (maybeNode) { - var _this$resolveArgument5 = _this.resolveArguments(maybeNode), - node = _this$resolveArgument5[0]; - - _this.addClass(node, 'exit', 'active'); - - if (_this.props.onExiting) { - _this.props.onExiting(maybeNode); - } - }; - - _this.onExited = function (maybeNode) { - var _this$resolveArgument6 = _this.resolveArguments(maybeNode), - node = _this$resolveArgument6[0]; - - _this.removeClasses(node, 'exit'); - - _this.addClass(node, 'exit', 'done'); - - if (_this.props.onExited) { - _this.props.onExited(maybeNode); - } - }; - - _this.resolveArguments = function (maybeNode, maybeAppearing) { - return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing` - : [maybeNode, maybeAppearing]; - }; - - _this.getClassNames = function (type) { - var classNames = _this.props.classNames; - var isStringClassNames = typeof classNames === 'string'; - var prefix = isStringClassNames && classNames ? classNames + "-" : ''; - var baseClassName = isStringClassNames ? "" + prefix + type : classNames[type]; - var activeClassName = isStringClassNames ? baseClassName + "-active" : classNames[type + "Active"]; - var doneClassName = isStringClassNames ? baseClassName + "-done" : classNames[type + "Done"]; - return { - baseClassName: baseClassName, - activeClassName: activeClassName, - doneClassName: doneClassName - }; - }; - - return _this; - } - - var _proto = CSSTransition.prototype; - - _proto.addClass = function addClass(node, type, phase) { - var className = this.getClassNames(type)[phase + "ClassName"]; - - var _this$getClassNames = this.getClassNames('enter'), - doneClassName = _this$getClassNames.doneClassName; - - if (type === 'appear' && phase === 'done' && doneClassName) { - className += " " + doneClassName; - } // This is to force a repaint, - // which is necessary in order to transition styles when adding a class name. - - - if (phase === 'active') { - /* eslint-disable no-unused-expressions */ - node && node.scrollTop; - } - - if (className) { - this.appliedClasses[type][phase] = className; - - _addClass(node, className); - } - }; - - _proto.removeClasses = function removeClasses(node, type) { - var _this$appliedClasses$ = this.appliedClasses[type], - baseClassName = _this$appliedClasses$.base, - activeClassName = _this$appliedClasses$.active, - doneClassName = _this$appliedClasses$.done; - this.appliedClasses[type] = {}; - - if (baseClassName) { - removeClass(node, baseClassName); - } - - if (activeClassName) { - removeClass(node, activeClassName); - } - - if (doneClassName) { - removeClass(node, doneClassName); - } - }; - - _proto.render = function render() { - var _this$props = this.props; - _this$props.classNames; - var props = _objectWithoutPropertiesLoose(_this$props, ["classNames"]); - - return /*#__PURE__*/React__default['default'].createElement(Transition, _extends({}, props, { - onEnter: this.onEnter, - onEntered: this.onEntered, - onEntering: this.onEntering, - onExit: this.onExit, - onExiting: this.onExiting, - onExited: this.onExited - })); - }; - - return CSSTransition; -}(React__default['default'].Component); - -CSSTransition.defaultProps = { - classNames: '' -}; -CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, Transition.propTypes, { - /** - * The animation classNames applied to the component as it appears, enters, - * exits or has finished the transition. A single name can be provided, which - * will be suffixed for each stage, e.g. `classNames="fade"` applies: - * - * - `fade-appear`, `fade-appear-active`, `fade-appear-done` - * - `fade-enter`, `fade-enter-active`, `fade-enter-done` - * - `fade-exit`, `fade-exit-active`, `fade-exit-done` - * - * A few details to note about how these classes are applied: - * - * 1. They are _joined_ with the ones that are already defined on the child - * component, so if you want to add some base styles, you can use - * `className` without worrying that it will be overridden. - * - * 2. If the transition component mounts with `in={false}`, no classes are - * applied yet. You might be expecting `*-exit-done`, but if you think - * about it, a component cannot finish exiting if it hasn't entered yet. - * - * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This - * allows you to define different behavior for when appearing is done and - * when regular entering is done, using selectors like - * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply - * an epic entrance animation when element first appears in the DOM using - * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can - * simply use `fade-enter-done` for defining both cases. - * - * Each individual classNames can also be specified independently like: - * - * ```js - * classNames={{ - * appear: 'my-appear', - * appearActive: 'my-active-appear', - * appearDone: 'my-done-appear', - * enter: 'my-enter', - * enterActive: 'my-active-enter', - * enterDone: 'my-done-enter', - * exit: 'my-exit', - * exitActive: 'my-active-exit', - * exitDone: 'my-done-exit', - * }} - * ``` - * - * If you want to set these classes using CSS Modules: - * - * ```js - * import styles from './styles.css'; - * ``` - * - * you might want to use camelCase in your CSS file, that way could simply - * spread them instead of listing them one by one: - * - * ```js - * classNames={{ ...styles }} - * ``` - * - * @type {string | { - * appear?: string, - * appearActive?: string, - * appearDone?: string, - * enter?: string, - * enterActive?: string, - * enterDone?: string, - * exit?: string, - * exitActive?: string, - * exitDone?: string, - * }} - */ - classNames: classNamesShape, - - /** - * A `` callback fired immediately after the 'enter' or 'appear' class is - * applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) - */ - onEnter: PropTypes.func, - - /** - * A `` callback fired immediately after the 'enter-active' or - * 'appear-active' class is applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) - */ - onEntering: PropTypes.func, - - /** - * A `` callback fired immediately after the 'enter' or - * 'appear' classes are **removed** and the `done` class is added to the DOM node. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed. - * - * @type Function(node: HtmlElement, isAppearing: bool) - */ - onEntered: PropTypes.func, - - /** - * A `` callback fired immediately after the 'exit' class is - * applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed - * - * @type Function(node: HtmlElement) - */ - onExit: PropTypes.func, - - /** - * A `` callback fired immediately after the 'exit-active' is applied. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed - * - * @type Function(node: HtmlElement) - */ - onExiting: PropTypes.func, - - /** - * A `` callback fired immediately after the 'exit' classes - * are **removed** and the `exit-done` class is added to the DOM node. - * - * **Note**: when `nodeRef` prop is passed, `node` is not passed - * - * @type Function(node: HtmlElement) - */ - onExited: PropTypes.func -}) : {}; - -// code borrowed from https://github.com/reach/reach-ui -function useForkedRef() { - var refs = []; - for (var _i = 0; _i < arguments.length; _i++) { - refs[_i] = arguments[_i]; - } - return React.useMemo(function () { - if (refs.every(function (ref) { return ref == null; })) { - return null; - } - return function (node) { - refs.forEach(function (ref) { - assignRef(ref, node); - }); - }; - }, refs); -} -function assignRef(ref, value) { - if (ref == null) - return; - if (isFunction(ref)) { - ref(value); - } - else { - try { - ref.current = value; - } - catch (error) { - throw new Error("Cannot assign value \"" + value + "\" to ref \"" + ref + "\""); - } - } -} -function isFunction(value) { - return !!(value && {}.toString.call(value) == '[object Function]'); -} - -var CCollapse = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, visible = _a.visible, rest = __rest(_a, ["children", "className", "visible"]); - var _b = React.useState(), height = _b[0], setHeight = _b[1]; - var collapseRef = React.useRef(null); - var forkedRef = useForkedRef(ref, collapseRef); - var getTransitionClass = function (state) { - return state === 'entering' - ? 'collapsing' - : state === 'entered' - ? 'collapse show' - : state === 'exiting' - ? 'collapsing' - : 'collapse'; - }; - var onEntering = function () { - collapseRef && collapseRef.current && setHeight(collapseRef.current.scrollHeight); - }; - var onEntered = function () { - setHeight(0); - }; - var onExit = function () { - collapseRef && collapseRef.current && setHeight(collapseRef.current.scrollHeight); - }; - var onExiting = function () { - setHeight(0); - }; - var onExited = function () { - setHeight(0); - }; - var _className = classNames(className); - return (React__default['default'].createElement(CSSTransition, { in: visible, timeout: 350, onEntering: onEntering, onEntered: onEntered, onExit: onExit, onExiting: onExiting, onExited: onExited }, function (state) { - var transitionClass = getTransitionClass(state); - var currentHeight = height === 0 ? null : { height: height }; - return (React__default['default'].createElement("div", __assign({ className: classNames(_className, transitionClass), style: __assign({}, currentHeight) }, rest, { ref: forkedRef }), children)); - })); -}); -CCollapse.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - visible: PropTypes.bool, -}; -CCollapse.displayName = 'CCollapse'; - -var CAccordionCollapse = React.forwardRef(function (_a, ref) { - var children = _a.children, props = __rest(_a, ["children"]); - return (React__default['default'].createElement(CCollapse, __assign({ className: "accordion-collapse" }, props, { ref: ref }), children)); -}); -CAccordionCollapse.propTypes = { - children: PropTypes.node, -}; -CAccordionCollapse.displayName = 'CAccordionCollapse'; - -var CAccordionHeader = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('accordion-header', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CAccordionHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CAccordionHeader.displayName = 'CAccordionHeader'; - -var CAccordionItem = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('accordion-item', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CAccordionItem.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CAccordionItem.displayName = 'CAccordionItem'; - -var colorPropType = PropTypes.oneOfType([ - PropTypes.oneOf([ - 'primary', - 'secondary', - 'success', - 'danger', - 'warning', - 'info', - 'dark', - 'light', - ]), - PropTypes.string, -]); -var placementPropType = PropTypes.oneOf([ - 'auto', - 'auto-start', - 'auto-end', - 'top-end', - 'top', - 'top-start', - 'bottom-end', - 'bottom', - 'bottom-start', - 'right-start', - 'right', - 'right-end', - 'left-start', - 'left', - 'left-end', -]); -var shapePropType = PropTypes.oneOfType([ - PropTypes.oneOf([ - 'rounded', - 'rounded-top', - 'rounded-end', - 'rounded-bottom', - 'rounded-start', - 'rounded-circle', - 'rounded-pill', - 'rounded-0', - 'rounded-1', - 'rounded-2', - 'rounded-3', - ]), - PropTypes.string, -]); -var triggerPropType = PropTypes.oneOf(['hover', 'focus', 'click']); - -var CCloseButton = React.forwardRef(function (_a, ref) { - var className = _a.className, disabled = _a.disabled, white = _a.white, rest = __rest(_a, ["className", "disabled", "white"]); - var _className = classNames('btn', 'btn-close', { - 'btn-close-white': white, - }, disabled, className); - return (React__default['default'].createElement("button", __assign({ className: _className, "aria-label": "Close", disabled: disabled }, rest, { ref: ref }))); -}); -CCloseButton.propTypes = { - className: PropTypes.string, - disabled: PropTypes.bool, - white: PropTypes.bool, -}; -CCloseButton.displayName = 'CCloseButton'; - -var CAlert = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.color, color = _b === void 0 ? 'primary' : _b, dismissible = _a.dismissible, variant = _a.variant, _c = _a.visible, visible = _c === void 0 ? true : _c, onDismiss = _a.onDismiss, onDismissed = _a.onDismissed, rest = __rest(_a, ["children", "className", "color", "dismissible", "variant", "visible", "onDismiss", "onDismissed"]); - var _d = React.useState(visible), _visible = _d[0], setVisible = _d[1]; - var _className = classNames('alert', variant === 'solid' ? "bg-" + color + " text-white" : "alert-" + color, { - 'alert-dismissible fade': dismissible, - show: _visible && dismissible, - }, className); - return (React__default['default'].createElement(CSSTransition, { in: _visible, timeout: 150, onExit: onDismiss, onExited: onDismissed, unmountOnExit: true }, - React__default['default'].createElement("div", __assign({ className: _className, role: "alert" }, rest, { ref: ref }), - children, - dismissible && React__default['default'].createElement(CCloseButton, { onClick: function () { return setVisible(false); } })))); -}); -CAlert.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType.isRequired, - dismissible: PropTypes.bool, - onDismiss: PropTypes.func, - onDismissed: PropTypes.func, - variant: PropTypes.string, - visible: PropTypes.bool, -}; -CAlert.displayName = 'CAlert'; - -var CAlertHeading = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'h4' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('alert-heading', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CAlertHeading.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CAlertHeading.displayName = 'CAlertHeading'; - -var CLink = React.forwardRef(function (_a, ref) { - var children = _a.children, active = _a.active, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'a' : _b, disabled = _a.disabled, rest = __rest(_a, ["children", "active", "className", "component", "disabled"]); - // TODO: remove duplicated classes ex. `active active` in `` - var _className = classNames(className, { active: active, disabled: disabled }); - return (React__default['default'].createElement(Component, __assign({ className: _className }, (active && { 'aria-current': 'page' }), (Component === 'a' && disabled && { 'aria-disabled': true, tabIndex: -1 }), ((Component === 'a' || Component === 'button') && { - onClick: function (event) { - event.preventDefault; - !disabled && rest.onClick && rest.onClick(event); - }, - }), { disabled: disabled }, rest, { ref: ref }), children)); -}); -CLink.propTypes = { - active: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - disabled: PropTypes.bool, -}; -CLink.displayName = 'CLink'; - -var CAlertLink = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('alert-link', className); - return (React__default['default'].createElement(CLink, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CAlertLink.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CAlertLink.displayName = 'CAlertLink'; - -var CAvatar = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, shape = _a.shape, size = _a.size, src = _a.src, status = _a.status, textColor = _a.textColor, rest = __rest(_a, ["children", "className", "color", "shape", "size", "src", "status", "textColor"]); - var _className = classNames('avatar', (_b = {}, - _b["bg-" + color] = color, - _b["avatar-" + size] = size, - _b["text-" + textColor] = textColor, - _b), shape, className); - var statusClassName = status && classNames('avatar-status', "bg-" + status); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), - src ? React__default['default'].createElement("img", { src: src, className: "avatar-img" }) : children, - status && React__default['default'].createElement("span", { className: statusClassName }))); -}); -CAvatar.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - shape: shapePropType, - size: PropTypes.string, - src: PropTypes.string, - status: PropTypes.string, - textColor: PropTypes.string, -}; -CAvatar.displayName = 'CAvatar'; - -var CBadge = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, _c = _a.component, Component = _c === void 0 ? 'span' : _c, shape = _a.shape, size = _a.size, textColor = _a.textColor, rest = __rest(_a, ["children", "className", "color", "component", "shape", "size", "textColor"]); - var _className = classNames('badge', (_b = {}, - _b["bg-" + color] = color, - _b["text-" + textColor] = color, - _b["badge-" + size] = size, - _b), shape, className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CBadge.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - component: PropTypes.string, - shape: shapePropType, - size: PropTypes.oneOf(['sm']), - textColor: PropTypes.string, -}; -CBadge.displayName = 'CBadge'; - -var CBackdrop = React.forwardRef(function (_a, ref) { - var _b = _a.className, className = _b === void 0 ? 'modal-backdrop' : _b, visible = _a.visible, rest = __rest(_a, ["className", "visible"]); - var _className = classNames(className, 'fade'); - var getTransitionClass = function (state) { - return state === 'entered' && 'show'; - }; - return (React__default['default'].createElement(CSSTransition, { in: visible, timeout: 150, mountOnEnter: true, unmountOnExit: true }, function (state) { - var transitionClass = getTransitionClass(state); - return React__default['default'].createElement("div", __assign({ className: classNames(_className, transitionClass) }, rest, { ref: ref })); - })); -}); -CBackdrop.propTypes = { - className: PropTypes.string, - visible: PropTypes.bool, -}; -CBackdrop.displayName = 'CBackdrop'; - -var CBreadcrumb = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('breadcrumb', className); - return (React__default['default'].createElement("nav", { "aria-label": "breadcrumb" }, - React__default['default'].createElement("ol", __assign({ className: _className }, rest, { ref: ref }), children))); -}); -CBreadcrumb.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CBreadcrumb.displayName = 'CBreadcrumb'; - -var CBreadcrumbItem = React.forwardRef(function (_a, ref) { - var children = _a.children, active = _a.active, className = _a.className, href = _a.href, rest = __rest(_a, ["children", "active", "className", "href"]); - return (React__default['default'].createElement("li", __assign({ className: classNames('breadcrumb-item', active ? 'active' : false, className) }, (active && { 'aria-current': 'page' }), rest, { ref: ref }), href ? React__default['default'].createElement(CLink, { href: href }, children) : children)); -}); -CBreadcrumbItem.propTypes = { - active: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - href: PropTypes.string, -}; -CBreadcrumbItem.displayName = 'CBreadcrumbItem'; - -var CButton = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, _c = _a.color, color = _c === void 0 ? 'primary' : _c, _d = _a.component, component = _d === void 0 ? 'button' : _d, shape = _a.shape, size = _a.size, _e = _a.type, type = _e === void 0 ? 'button' : _e, variant = _a.variant, rest = __rest(_a, ["children", "className", "color", "component", "shape", "size", "type", "variant"]); - var _className = classNames('btn', variant ? "btn-" + variant + "-" + color : "btn-" + color, (_b = {}, _b["btn-" + size] = size, _b), shape, className); - return (React__default['default'].createElement(CLink, __assign({ component: rest.href ? 'a' : component, type: type, className: _className }, rest, { ref: ref }), children)); -}); -CButton.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - component: PropTypes.elementType, - shape: PropTypes.string, - size: PropTypes.oneOf(['sm', 'lg']), - type: PropTypes.oneOf(['button', 'submit', 'reset']), - variant: PropTypes.oneOf(['outline', 'ghost']), -}; -CButton.displayName = 'CButton'; - -var CButtonGroup = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, size = _a.size, vertical = _a.vertical, rest = __rest(_a, ["children", "className", "size", "vertical"]); - var _className = classNames(vertical ? 'btn-group-vertical' : 'btn-group', (_b = {}, _b["btn-group-" + size] = size, _b), className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CButtonGroup.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - size: PropTypes.oneOf(['sm', 'lg']), - vertical: PropTypes.bool, -}; -CButtonGroup.displayName = 'CButtonGroup'; - -var CButtonToolbar = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('btn-toolbar', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CButtonToolbar.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CButtonToolbar.displayName = 'CButtonToolbar'; - -var CCallout = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]); - var _className = classNames('callout', (_b = {}, - _b["callout-" + color] = color, - _b), className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCallout.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CCallout.displayName = 'CCallout'; - -var CCard = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, textColor = _a.textColor, rest = __rest(_a, ["children", "className", "color", "textColor"]); - var _className = classNames('card', (_b = {}, - _b["bg-" + color] = color, - _b["text-" + textColor] = textColor, - _b), className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCard.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - textColor: PropTypes.string, -}; -CCard.displayName = 'CCard'; - -var CCardBody = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('card-body', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardBody.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCardBody.displayName = 'CCardBody'; - -var CCardFooter = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('card-footer', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardFooter.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCardFooter.displayName = 'CCardFooter'; - -var CCardGroup = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('card-group', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardGroup.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCardGroup.displayName = 'CCardGroup'; - -var CCardHeader = React.forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'div' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('card-header', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CCardHeader.displayName = 'CCardHeader'; - -var CCardImage = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'img' : _b, orientation = _a.orientation, rest = __rest(_a, ["children", "className", "component", "orientation"]); - var _className = classNames(orientation ? "card-img-" + orientation : 'card-img', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardImage.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - orientation: PropTypes.oneOf(['top', 'bottom']), -}; -CCardImage.displayName = 'CCardImage'; - -var CCardImageOverlay = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('card-img-overlay', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardImageOverlay.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCardImageOverlay.displayName = 'CCardImageOverlay'; - -var CCardLink = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('card-link', className); - return (React__default['default'].createElement(CLink, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardLink.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCardLink.displayName = 'CCardLink'; - -var CCardSubtitle = React.forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'h6' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('card-subtitle', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardSubtitle.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CCardSubtitle.displayName = 'CCardSubtitle'; - -var CCardText = React.forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'p' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('card-text', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardText.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CCardText.displayName = 'CCardText'; - -var CCardTitle = React.forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'h5' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('card-title', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CCardTitle.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CCardTitle.displayName = 'CCardTitle'; - -var CCarouselControl = React.forwardRef(function (_a, ref) { - var className = _a.className, children = _a.children, direction = _a.direction, rest = __rest(_a, ["className", "children", "direction"]); - var _b = React.useContext(CCarouselContext), state = _b.state, setState = _b.setState, itemsNumber = _b.itemsNumber, animating = _b.animating; - var onClick = function () { - if (animating) { - return; - } - var newIdx; - if (direction === 'next') { - newIdx = itemsNumber === state[1] + 1 ? 0 : state[1] + 1; - } - else { - newIdx = state[1] === 0 ? itemsNumber - 1 : state[1] - 1; - } - setState([state[1], newIdx, direction]); - }; - var anchorClasses = classNames("carousel-control-" + direction, className); - return (React__default['default'].createElement("button", __assign({ className: anchorClasses }, rest, { onClick: onClick, ref: ref }), children || (React__default['default'].createElement("span", { className: "carousel-control-" + direction + "-icon", "aria-label": direction })))); -}); -CCarouselControl.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - direction: PropTypes.oneOf(['prev', 'next']).isRequired, -}; -CCarouselControl.displayName = 'CCarouselControl'; - -var CCarouselIndicators = React.forwardRef(function (_a, ref) { - var className = _a.className, _b = _a.indicatorsClass, indicatorsClass = _b === void 0 ? 'carousel-indicators' : _b; - var _c = React.useContext(CCarouselContext), itemsNumber = _c.itemsNumber, state = _c.state, setState = _c.setState, animating = _c.animating; - var listClasses = classNames(indicatorsClass, className); - var indicators = Array.from({ length: itemsNumber }, function (_, i) { return i; }).map(function (key) { - return (React__default['default'].createElement("li", { key: "indicator" + key, onClick: function () { - !animating && key !== state[1] && setState([state[1], key]); - }, className: state[1] === key ? 'active' : '', "data-coreui-target": "" })); - }); - return (React__default['default'].createElement("ol", { className: listClasses, ref: ref }, indicators)); -}); -CCarouselIndicators.propTypes = { - className: PropTypes.string, - indicatorsClass: PropTypes.string, -}; -CCarouselIndicators.displayName = 'CCarouselIndicators'; - -var CCarouselInner = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var setItemsNumber = React.useContext(CCarouselContext).setItemsNumber; - var _className = classNames('carousel-inner', className); - React.useEffect(function () { - setItemsNumber(React.Children.toArray(children).length); - }); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), React.Children.map(children, function (child, index) { - if (React__default['default'].isValidElement(child)) { - return React__default['default'].cloneElement(child, { key: index, idx: index }); - } - return; - }))); -}); -CCarouselInner.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CCarouselInner.displayName = 'CCarouselInner'; - -var CCarouselContext = React.createContext({}); -var CCarousel = React.forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.animate, animate = _b === void 0 ? true : _b, className = _a.className, controls = _a.controls, dark = _a.dark, _c = _a.index, index = _c === void 0 ? 0 : _c, indicators = _a.indicators, _d = _a.interval, interval = _d === void 0 ? 5000 : _d, onSlideChange = _a.onSlideChange, transition = _a.transition, rest = __rest(_a, ["children", "animate", "className", "controls", "dark", "index", "indicators", "interval", "onSlideChange", "transition"]); - var _e = React.useState([null, index]), state = _e[0], setState = _e[1]; - var _f = React.useState(0), itemsNumber = _f[0], setItemsNumber = _f[1]; - var _g = React.useState(false), animating = _g[0], setAnimating = _g[1]; - var data = React.useRef({}).current; - var cycle = function () { - pause(); - if (typeof interval === 'number') { - data.timeout = setTimeout(function () { return nextItem(); }, interval); - } - }; - var pause = function () { return data.timeout && clearTimeout(data.timeout); }; - var nextItem = function () { - if (typeof state[1] === 'number') - setState([state[1], itemsNumber === state[1] + 1 ? 0 : state[1] + 1, 'next']); - }; - React.useEffect(function () { - setState([state[1], index]); - }, [index]); - React.useEffect(function () { - onSlideChange && onSlideChange(state[1]); - cycle(); - return function () { - pause(); - }; - }, [state]); - var _className = classNames('carousel slide', transition === 'crossfade' && 'carousel-fade', dark && 'carousel-dark', className); - return (React__default['default'].createElement("div", __assign({ className: _className, onMouseEnter: pause, onMouseLeave: cycle }, rest, { ref: ref }), - React__default['default'].createElement(CCarouselContext.Provider, { value: { - state: state, - setState: setState, - animate: animate, - itemsNumber: itemsNumber, - setItemsNumber: setItemsNumber, - animating: animating, - setAnimating: setAnimating, - } }, - indicators && React__default['default'].createElement(CCarouselIndicators, null), - React__default['default'].createElement(CCarouselInner, null, children), - controls && (React__default['default'].createElement(React__default['default'].Fragment, null, - React__default['default'].createElement(CCarouselControl, { direction: "prev" }), - React__default['default'].createElement(CCarouselControl, { direction: "next" })))))); -}); -CCarousel.propTypes = { - animate: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - controls: PropTypes.bool, - dark: PropTypes.bool, - index: PropTypes.number, - indicators: PropTypes.bool, - interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]), - onSlideChange: PropTypes.func, - transition: PropTypes.oneOf(['slide', 'crossfade']), -}; -CCarousel.displayName = 'CCarousel'; - -var CCarouselCaption = React.forwardRef(function (_a, ref) { - var className = _a.className, rest = __rest(_a, ["className"]); - var _className = classNames('carousel-caption', className); - return React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref })); -}); -CCarouselCaption.propTypes = { - className: PropTypes.string, -}; -CCarouselCaption.displayName = 'CCarouselCaption'; - -// eslint-disable-next-line @typescript-eslint/ban-types -var getDirection = function (state) { - if (state[2]) { - return state[2] === 'next' ? 'right' : 'left'; - } - else { - return state[1] > state[0] ? 'right' : 'left'; - } -}; -var CCarouselItem = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, idx = _a.idx, rest = __rest(_a, ["children", "className", "idx"]); - var _b = React.useContext(CCarouselContext), animate = _b.animate, state = _b.state, animating = _b.animating, setAnimating = _b.setAnimating; - var _c = React.useState(false), isIn = _c[0], setIsIn = _c[1]; - var onEnter = function () { - setAnimating(false); - }; - var onEntering = function () { - setAnimating(true); - }; - var onExit = function () { - setAnimating(false); - }; - var onExiting = function () { - setAnimating(true); - }; - var onExited = function () { - setAnimating(false); - }; - React.useEffect(function () { - setIsIn(state[1] === idx); - }, [state]); - if (!animate || state[0] === null) { - var itemClasses = classNames('carousel-item', isIn && 'active', className); - return (React__default['default'].createElement("div", __assign({ className: itemClasses, ref: ref }, rest), children)); - } - return (React__default['default'].createElement(CSSTransition, { timeout: 600, in: isIn, onEnter: onEnter, onEntering: onEntering, onExit: onExit, onExiting: onExiting, onExited: onExited, nodeRef: ref }, function (status) { - var direction = getDirection(state); - var isActive = status === 'entered' || status === 'exiting'; - var directionClassName = (status === 'entering' || status === 'exiting') && - animating && - (direction === 'right' ? 'carousel-item-start' : 'carousel-item-end'); - var orderClassName = status === 'entering' && - (direction === 'right' ? 'carousel-item-next' : 'carousel-item-prev'); - var itemClasses = classNames('carousel-item', isActive && 'active', orderClassName, directionClassName, className); - return (React__default['default'].createElement("div", __assign({ className: itemClasses, ref: ref }, rest), children)); - })); -}); -CCarouselItem.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - idx: PropTypes.number, -}; -CCarouselItem.displayName = 'CCarouselItem'; - -var ManagerReferenceNodeContext = React__namespace.createContext(); -var ManagerReferenceNodeSetterContext = React__namespace.createContext(); -function Manager(_ref) { - var children = _ref.children; - - var _React$useState = React__namespace.useState(null), - referenceNode = _React$useState[0], - setReferenceNode = _React$useState[1]; - - var hasUnmounted = React__namespace.useRef(false); - React__namespace.useEffect(function () { - return function () { - hasUnmounted.current = true; - }; - }, []); - var handleSetReferenceNode = React__namespace.useCallback(function (node) { - if (!hasUnmounted.current) { - setReferenceNode(node); - } - }, []); - return /*#__PURE__*/React__namespace.createElement(ManagerReferenceNodeContext.Provider, { - value: referenceNode - }, /*#__PURE__*/React__namespace.createElement(ManagerReferenceNodeSetterContext.Provider, { - value: handleSetReferenceNode - }, children)); -} - -/** - * Takes an argument and if it's an array, returns the first item in the array, - * otherwise returns the argument. Used for Preact compatibility. - */ -var unwrapArray = function unwrapArray(arg) { - return Array.isArray(arg) ? arg[0] : arg; -}; -/** - * Takes a maybe-undefined function and arbitrary args and invokes the function - * only if it is defined. - */ - -var safeInvoke = function safeInvoke(fn) { - if (typeof fn === 'function') { - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - return fn.apply(void 0, args); - } -}; -/** - * Sets a ref using either a ref callback or a ref object - */ - -var setRef = function setRef(ref, node) { - // if its a function call it - if (typeof ref === 'function') { - return safeInvoke(ref, node); - } // otherwise we should treat it as a ref object - else if (ref != null) { - ref.current = node; - } -}; -/** - * Simple ponyfill for Object.fromEntries - */ - -var fromEntries = function fromEntries(entries) { - return entries.reduce(function (acc, _ref) { - var key = _ref[0], - value = _ref[1]; - acc[key] = value; - return acc; - }, {}); -}; -/** - * Small wrapper around `useLayoutEffect` to get rid of the warning on SSR envs - */ - -var useIsomorphicLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? React__namespace.useLayoutEffect : React__namespace.useEffect; - -var top = 'top'; -var bottom = 'bottom'; -var right = 'right'; -var left = 'left'; -var auto = 'auto'; -var basePlacements = [top, bottom, right, left]; -var start = 'start'; -var end = 'end'; -var clippingParents = 'clippingParents'; -var viewport = 'viewport'; -var popper = 'popper'; -var reference = 'reference'; -var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) { - return acc.concat([placement + "-" + start, placement + "-" + end]); -}, []); -var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) { - return acc.concat([placement, placement + "-" + start, placement + "-" + end]); -}, []); // modifiers that need to read the DOM - -var beforeRead = 'beforeRead'; -var read = 'read'; -var afterRead = 'afterRead'; // pure-logic modifiers - -var beforeMain = 'beforeMain'; -var main = 'main'; -var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state) - -var beforeWrite = 'beforeWrite'; -var write = 'write'; -var afterWrite = 'afterWrite'; -var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite]; - -function getNodeName(element) { - return element ? (element.nodeName || '').toLowerCase() : null; -} - -function getWindow(node) { - if (node == null) { - return window; - } - - if (node.toString() !== '[object Window]') { - var ownerDocument = node.ownerDocument; - return ownerDocument ? ownerDocument.defaultView || window : window; - } - - return node; -} - -function isElement(node) { - var OwnElement = getWindow(node).Element; - return node instanceof OwnElement || node instanceof Element; -} - -function isHTMLElement(node) { - var OwnElement = getWindow(node).HTMLElement; - return node instanceof OwnElement || node instanceof HTMLElement; -} - -function isShadowRoot(node) { - // IE 11 has no ShadowRoot - if (typeof ShadowRoot === 'undefined') { - return false; - } - - var OwnElement = getWindow(node).ShadowRoot; - return node instanceof OwnElement || node instanceof ShadowRoot; -} - -// and applies them to the HTMLElements such as popper and arrow - -function applyStyles(_ref) { - var state = _ref.state; - Object.keys(state.elements).forEach(function (name) { - var style = state.styles[name] || {}; - var attributes = state.attributes[name] || {}; - var element = state.elements[name]; // arrow is optional + virtual elements - - if (!isHTMLElement(element) || !getNodeName(element)) { - return; - } // Flow doesn't support to extend this property, but it's the most - // effective way to apply styles to an HTMLElement - // $FlowFixMe[cannot-write] - - - Object.assign(element.style, style); - Object.keys(attributes).forEach(function (name) { - var value = attributes[name]; - - if (value === false) { - element.removeAttribute(name); - } else { - element.setAttribute(name, value === true ? '' : value); - } - }); - }); -} - -function effect$2(_ref2) { - var state = _ref2.state; - var initialStyles = { - popper: { - position: state.options.strategy, - left: '0', - top: '0', - margin: '0' - }, - arrow: { - position: 'absolute' - }, - reference: {} - }; - Object.assign(state.elements.popper.style, initialStyles.popper); - state.styles = initialStyles; - - if (state.elements.arrow) { - Object.assign(state.elements.arrow.style, initialStyles.arrow); - } - - return function () { - Object.keys(state.elements).forEach(function (name) { - var element = state.elements[name]; - var attributes = state.attributes[name] || {}; - var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them - - var style = styleProperties.reduce(function (style, property) { - style[property] = ''; - return style; - }, {}); // arrow is optional + virtual elements - - if (!isHTMLElement(element) || !getNodeName(element)) { - return; - } - - Object.assign(element.style, style); - Object.keys(attributes).forEach(function (attribute) { - element.removeAttribute(attribute); - }); - }); - }; -} // eslint-disable-next-line import/no-unused-modules - - -var applyStyles$1 = { - name: 'applyStyles', - enabled: true, - phase: 'write', - fn: applyStyles, - effect: effect$2, - requires: ['computeStyles'] -}; - -function getBasePlacement(placement) { - return placement.split('-')[0]; -} - -function getBoundingClientRect(element) { - var rect = element.getBoundingClientRect(); - return { - width: rect.width, - height: rect.height, - top: rect.top, - right: rect.right, - bottom: rect.bottom, - left: rect.left, - x: rect.left, - y: rect.top - }; -} - -// means it doesn't take into account transforms. - -function getLayoutRect(element) { - var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed. - // Fixes https://github.com/popperjs/popper-core/issues/1223 - - var width = element.offsetWidth; - var height = element.offsetHeight; - - if (Math.abs(clientRect.width - width) <= 1) { - width = clientRect.width; - } - - if (Math.abs(clientRect.height - height) <= 1) { - height = clientRect.height; - } - - return { - x: element.offsetLeft, - y: element.offsetTop, - width: width, - height: height - }; -} - -function contains(parent, child) { - var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method - - if (parent.contains(child)) { - return true; - } // then fallback to custom implementation with Shadow DOM support - else if (rootNode && isShadowRoot(rootNode)) { - var next = child; - - do { - if (next && parent.isSameNode(next)) { - return true; - } // $FlowFixMe[prop-missing]: need a better way to handle this... - - - next = next.parentNode || next.host; - } while (next); - } // Give up, the result is false - - - return false; -} - -function getComputedStyle$1(element) { - return getWindow(element).getComputedStyle(element); -} - -function isTableElement(element) { - return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0; -} - -function getDocumentElement(element) { - // $FlowFixMe[incompatible-return]: assume body is always available - return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing] - element.document) || window.document).documentElement; -} - -function getParentNode(element) { - if (getNodeName(element) === 'html') { - return element; - } - - return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle - // $FlowFixMe[incompatible-return] - // $FlowFixMe[prop-missing] - element.assignedSlot || // step into the shadow DOM of the parent of a slotted node - element.parentNode || ( // DOM Element detected - isShadowRoot(element) ? element.host : null) || // ShadowRoot detected - // $FlowFixMe[incompatible-call]: HTMLElement is a Node - getDocumentElement(element) // fallback - - ); -} - -function getTrueOffsetParent(element) { - if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837 - getComputedStyle$1(element).position === 'fixed') { - return null; - } - - return element.offsetParent; -} // `.offsetParent` reports `null` for fixed elements, while absolute elements -// return the containing block - - -function getContainingBlock(element) { - var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1; - var isIE = navigator.userAgent.indexOf('Trident') !== -1; - - if (isIE && isHTMLElement(element)) { - // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport - var elementCss = getComputedStyle$1(element); - - if (elementCss.position === 'fixed') { - return null; - } - } - - var currentNode = getParentNode(element); - - while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) { - var css = getComputedStyle$1(currentNode); // This is non-exhaustive but covers the most common CSS properties that - // create a containing block. - // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block - - if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') { - return currentNode; - } else { - currentNode = currentNode.parentNode; - } - } - - return null; -} // Gets the closest ancestor positioned element. Handles some edge cases, -// such as table ancestors and cross browser bugs. - - -function getOffsetParent(element) { - var window = getWindow(element); - var offsetParent = getTrueOffsetParent(element); - - while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') { - offsetParent = getTrueOffsetParent(offsetParent); - } - - if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static')) { - return window; - } - - return offsetParent || getContainingBlock(element) || window; -} - -function getMainAxisFromPlacement(placement) { - return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y'; -} - -var max = Math.max; -var min = Math.min; -var round = Math.round; - -function within(min$1, value, max$1) { - return max(min$1, min(value, max$1)); -} - -function getFreshSideObject() { - return { - top: 0, - right: 0, - bottom: 0, - left: 0 - }; -} - -function mergePaddingObject(paddingObject) { - return Object.assign({}, getFreshSideObject(), paddingObject); -} - -function expandToHashMap(value, keys) { - return keys.reduce(function (hashMap, key) { - hashMap[key] = value; - return hashMap; - }, {}); -} - -var toPaddingObject = function toPaddingObject(padding, state) { - padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, { - placement: state.placement - })) : padding; - return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements)); -}; - -function arrow(_ref) { - var _state$modifiersData$; - - var state = _ref.state, - name = _ref.name, - options = _ref.options; - var arrowElement = state.elements.arrow; - var popperOffsets = state.modifiersData.popperOffsets; - var basePlacement = getBasePlacement(state.placement); - var axis = getMainAxisFromPlacement(basePlacement); - var isVertical = [left, right].indexOf(basePlacement) >= 0; - var len = isVertical ? 'height' : 'width'; - - if (!arrowElement || !popperOffsets) { - return; - } - - var paddingObject = toPaddingObject(options.padding, state); - var arrowRect = getLayoutRect(arrowElement); - var minProp = axis === 'y' ? top : left; - var maxProp = axis === 'y' ? bottom : right; - var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len]; - var startDiff = popperOffsets[axis] - state.rects.reference[axis]; - var arrowOffsetParent = getOffsetParent(arrowElement); - var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0; - var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is - // outside of the popper bounds - - var min = paddingObject[minProp]; - var max = clientSize - arrowRect[len] - paddingObject[maxProp]; - var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference; - var offset = within(min, center, max); // Prevents breaking syntax highlighting... - - var axisProp = axis; - state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$); -} - -function effect$1(_ref2) { - var state = _ref2.state, - options = _ref2.options; - var _options$element = options.element, - arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element; - - if (arrowElement == null) { - return; - } // CSS selector - - - if (typeof arrowElement === 'string') { - arrowElement = state.elements.popper.querySelector(arrowElement); - - if (!arrowElement) { - return; - } - } - - if (process.env.NODE_ENV !== "production") { - if (!isHTMLElement(arrowElement)) { - console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' ')); - } - } - - if (!contains(state.elements.popper, arrowElement)) { - if (process.env.NODE_ENV !== "production") { - console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' ')); - } - - return; - } - - state.elements.arrow = arrowElement; -} // eslint-disable-next-line import/no-unused-modules - - -var arrow$1 = { - name: 'arrow', - enabled: true, - phase: 'main', - fn: arrow, - effect: effect$1, - requires: ['popperOffsets'], - requiresIfExists: ['preventOverflow'] -}; - -var unsetSides = { - top: 'auto', - right: 'auto', - bottom: 'auto', - left: 'auto' -}; // Round the offsets to the nearest suitable subpixel based on the DPR. -// Zooming can change the DPR, but it seems to report a value that will -// cleanly divide the values into the appropriate subpixels. - -function roundOffsetsByDPR(_ref) { - var x = _ref.x, - y = _ref.y; - var win = window; - var dpr = win.devicePixelRatio || 1; - return { - x: round(round(x * dpr) / dpr) || 0, - y: round(round(y * dpr) / dpr) || 0 - }; -} - -function mapToStyles(_ref2) { - var _Object$assign2; - - var popper = _ref2.popper, - popperRect = _ref2.popperRect, - placement = _ref2.placement, - offsets = _ref2.offsets, - position = _ref2.position, - gpuAcceleration = _ref2.gpuAcceleration, - adaptive = _ref2.adaptive, - roundOffsets = _ref2.roundOffsets; - - var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets, - _ref3$x = _ref3.x, - x = _ref3$x === void 0 ? 0 : _ref3$x, - _ref3$y = _ref3.y, - y = _ref3$y === void 0 ? 0 : _ref3$y; - - var hasX = offsets.hasOwnProperty('x'); - var hasY = offsets.hasOwnProperty('y'); - var sideX = left; - var sideY = top; - var win = window; - - if (adaptive) { - var offsetParent = getOffsetParent(popper); - var heightProp = 'clientHeight'; - var widthProp = 'clientWidth'; - - if (offsetParent === getWindow(popper)) { - offsetParent = getDocumentElement(popper); - - if (getComputedStyle$1(offsetParent).position !== 'static') { - heightProp = 'scrollHeight'; - widthProp = 'scrollWidth'; - } - } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it - - - offsetParent = offsetParent; - - if (placement === top) { - sideY = bottom; // $FlowFixMe[prop-missing] - - y -= offsetParent[heightProp] - popperRect.height; - y *= gpuAcceleration ? 1 : -1; - } - - if (placement === left) { - sideX = right; // $FlowFixMe[prop-missing] - - x -= offsetParent[widthProp] - popperRect.width; - x *= gpuAcceleration ? 1 : -1; - } - } - - var commonStyles = Object.assign({ - position: position - }, adaptive && unsetSides); - - if (gpuAcceleration) { - var _Object$assign; - - return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign)); - } - - return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2)); -} - -function computeStyles(_ref4) { - var state = _ref4.state, - options = _ref4.options; - var _options$gpuAccelerat = options.gpuAcceleration, - gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat, - _options$adaptive = options.adaptive, - adaptive = _options$adaptive === void 0 ? true : _options$adaptive, - _options$roundOffsets = options.roundOffsets, - roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets; - - if (process.env.NODE_ENV !== "production") { - var transitionProperty = getComputedStyle$1(state.elements.popper).transitionProperty || ''; - - if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) { - return transitionProperty.indexOf(property) >= 0; - })) { - console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: "transform", "top", "right", "bottom", "left".', '\n\n', 'Disable the "computeStyles" modifier\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\n\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' ')); - } - } - - var commonStyles = { - placement: getBasePlacement(state.placement), - popper: state.elements.popper, - popperRect: state.rects.popper, - gpuAcceleration: gpuAcceleration - }; - - if (state.modifiersData.popperOffsets != null) { - state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, { - offsets: state.modifiersData.popperOffsets, - position: state.options.strategy, - adaptive: adaptive, - roundOffsets: roundOffsets - }))); - } - - if (state.modifiersData.arrow != null) { - state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, { - offsets: state.modifiersData.arrow, - position: 'absolute', - adaptive: false, - roundOffsets: roundOffsets - }))); - } - - state.attributes.popper = Object.assign({}, state.attributes.popper, { - 'data-popper-placement': state.placement - }); -} // eslint-disable-next-line import/no-unused-modules - - -var computeStyles$1 = { - name: 'computeStyles', - enabled: true, - phase: 'beforeWrite', - fn: computeStyles, - data: {} -}; - -var passive = { - passive: true -}; - -function effect(_ref) { - var state = _ref.state, - instance = _ref.instance, - options = _ref.options; - var _options$scroll = options.scroll, - scroll = _options$scroll === void 0 ? true : _options$scroll, - _options$resize = options.resize, - resize = _options$resize === void 0 ? true : _options$resize; - var window = getWindow(state.elements.popper); - var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper); - - if (scroll) { - scrollParents.forEach(function (scrollParent) { - scrollParent.addEventListener('scroll', instance.update, passive); - }); - } - - if (resize) { - window.addEventListener('resize', instance.update, passive); - } - - return function () { - if (scroll) { - scrollParents.forEach(function (scrollParent) { - scrollParent.removeEventListener('scroll', instance.update, passive); - }); - } - - if (resize) { - window.removeEventListener('resize', instance.update, passive); - } - }; -} // eslint-disable-next-line import/no-unused-modules - - -var eventListeners = { - name: 'eventListeners', - enabled: true, - phase: 'write', - fn: function fn() {}, - effect: effect, - data: {} -}; - -var hash$1 = { - left: 'right', - right: 'left', - bottom: 'top', - top: 'bottom' -}; -function getOppositePlacement(placement) { - return placement.replace(/left|right|bottom|top/g, function (matched) { - return hash$1[matched]; - }); -} - -var hash = { - start: 'end', - end: 'start' -}; -function getOppositeVariationPlacement(placement) { - return placement.replace(/start|end/g, function (matched) { - return hash[matched]; - }); -} - -function getWindowScroll(node) { - var win = getWindow(node); - var scrollLeft = win.pageXOffset; - var scrollTop = win.pageYOffset; - return { - scrollLeft: scrollLeft, - scrollTop: scrollTop - }; -} - -function getWindowScrollBarX(element) { - // If has a CSS width greater than the viewport, then this will be - // incorrect for RTL. - // Popper 1 is broken in this case and never had a bug report so let's assume - // it's not an issue. I don't think anyone ever specifies width on - // anyway. - // Browsers where the left scrollbar doesn't cause an issue report `0` for - // this (e.g. Edge 2019, IE11, Safari) - return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft; -} - -function getViewportRect(element) { - var win = getWindow(element); - var html = getDocumentElement(element); - var visualViewport = win.visualViewport; - var width = html.clientWidth; - var height = html.clientHeight; - var x = 0; - var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper - // can be obscured underneath it. - // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even - // if it isn't open, so if this isn't available, the popper will be detected - // to overflow the bottom of the screen too early. - - if (visualViewport) { - width = visualViewport.width; - height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently) - // In Chrome, it returns a value very close to 0 (+/-) but contains rounding - // errors due to floating point numbers, so we need to check precision. - // Safari returns a number <= 0, usually < -1 when pinch-zoomed - // Feature detection fails in mobile emulation mode in Chrome. - // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) < - // 0.001 - // Fallback here: "Not Safari" userAgent - - if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) { - x = visualViewport.offsetLeft; - y = visualViewport.offsetTop; - } - } - - return { - width: width, - height: height, - x: x + getWindowScrollBarX(element), - y: y - }; -} - -// of the `` and `` rect bounds if horizontally scrollable - -function getDocumentRect(element) { - var _element$ownerDocumen; - - var html = getDocumentElement(element); - var winScroll = getWindowScroll(element); - var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body; - var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0); - var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0); - var x = -winScroll.scrollLeft + getWindowScrollBarX(element); - var y = -winScroll.scrollTop; - - if (getComputedStyle$1(body || html).direction === 'rtl') { - x += max(html.clientWidth, body ? body.clientWidth : 0) - width; - } - - return { - width: width, - height: height, - x: x, - y: y - }; -} - -function isScrollParent(element) { - // Firefox wants us to check `-x` and `-y` variations as well - var _getComputedStyle = getComputedStyle$1(element), - overflow = _getComputedStyle.overflow, - overflowX = _getComputedStyle.overflowX, - overflowY = _getComputedStyle.overflowY; - - return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX); -} - -function getScrollParent(node) { - if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) { - // $FlowFixMe[incompatible-return]: assume body is always available - return node.ownerDocument.body; - } - - if (isHTMLElement(node) && isScrollParent(node)) { - return node; - } - - return getScrollParent(getParentNode(node)); -} - -/* -given a DOM element, return the list of all scroll parents, up the list of ancesors -until we get to the top window object. This list is what we attach scroll listeners -to, because if any of these parent elements scroll, we'll need to re-calculate the -reference element's position. -*/ - -function listScrollParents(element, list) { - var _element$ownerDocumen; - - if (list === void 0) { - list = []; - } - - var scrollParent = getScrollParent(element); - var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body); - var win = getWindow(scrollParent); - var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent; - var updatedList = list.concat(target); - return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here - updatedList.concat(listScrollParents(getParentNode(target))); -} - -function rectToClientRect(rect) { - return Object.assign({}, rect, { - left: rect.x, - top: rect.y, - right: rect.x + rect.width, - bottom: rect.y + rect.height - }); -} - -function getInnerBoundingClientRect(element) { - var rect = getBoundingClientRect(element); - rect.top = rect.top + element.clientTop; - rect.left = rect.left + element.clientLeft; - rect.bottom = rect.top + element.clientHeight; - rect.right = rect.left + element.clientWidth; - rect.width = element.clientWidth; - rect.height = element.clientHeight; - rect.x = rect.left; - rect.y = rect.top; - return rect; -} - -function getClientRectFromMixedType(element, clippingParent) { - return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element))); -} // A "clipping parent" is an overflowable container with the characteristic of -// clipping (or hiding) overflowing elements with a position different from -// `initial` - - -function getClippingParents(element) { - var clippingParents = listScrollParents(getParentNode(element)); - var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$1(element).position) >= 0; - var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element; - - if (!isElement(clipperElement)) { - return []; - } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414 - - - return clippingParents.filter(function (clippingParent) { - return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body'; - }); -} // Gets the maximum area that the element is visible in due to any number of -// clipping parents - - -function getClippingRect(element, boundary, rootBoundary) { - var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary); - var clippingParents = [].concat(mainClippingParents, [rootBoundary]); - var firstClippingParent = clippingParents[0]; - var clippingRect = clippingParents.reduce(function (accRect, clippingParent) { - var rect = getClientRectFromMixedType(element, clippingParent); - accRect.top = max(rect.top, accRect.top); - accRect.right = min(rect.right, accRect.right); - accRect.bottom = min(rect.bottom, accRect.bottom); - accRect.left = max(rect.left, accRect.left); - return accRect; - }, getClientRectFromMixedType(element, firstClippingParent)); - clippingRect.width = clippingRect.right - clippingRect.left; - clippingRect.height = clippingRect.bottom - clippingRect.top; - clippingRect.x = clippingRect.left; - clippingRect.y = clippingRect.top; - return clippingRect; -} - -function getVariation(placement) { - return placement.split('-')[1]; -} - -function computeOffsets(_ref) { - var reference = _ref.reference, - element = _ref.element, - placement = _ref.placement; - var basePlacement = placement ? getBasePlacement(placement) : null; - var variation = placement ? getVariation(placement) : null; - var commonX = reference.x + reference.width / 2 - element.width / 2; - var commonY = reference.y + reference.height / 2 - element.height / 2; - var offsets; - - switch (basePlacement) { - case top: - offsets = { - x: commonX, - y: reference.y - element.height - }; - break; - - case bottom: - offsets = { - x: commonX, - y: reference.y + reference.height - }; - break; - - case right: - offsets = { - x: reference.x + reference.width, - y: commonY - }; - break; - - case left: - offsets = { - x: reference.x - element.width, - y: commonY - }; - break; - - default: - offsets = { - x: reference.x, - y: reference.y - }; - } - - var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null; - - if (mainAxis != null) { - var len = mainAxis === 'y' ? 'height' : 'width'; - - switch (variation) { - case start: - offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2); - break; - - case end: - offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2); - break; - } - } - - return offsets; -} - -function detectOverflow(state, options) { - if (options === void 0) { - options = {}; - } - - var _options = options, - _options$placement = _options.placement, - placement = _options$placement === void 0 ? state.placement : _options$placement, - _options$boundary = _options.boundary, - boundary = _options$boundary === void 0 ? clippingParents : _options$boundary, - _options$rootBoundary = _options.rootBoundary, - rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary, - _options$elementConte = _options.elementContext, - elementContext = _options$elementConte === void 0 ? popper : _options$elementConte, - _options$altBoundary = _options.altBoundary, - altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, - _options$padding = _options.padding, - padding = _options$padding === void 0 ? 0 : _options$padding; - var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements)); - var altContext = elementContext === popper ? reference : popper; - var referenceElement = state.elements.reference; - var popperRect = state.rects.popper; - var element = state.elements[altBoundary ? altContext : elementContext]; - var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary); - var referenceClientRect = getBoundingClientRect(referenceElement); - var popperOffsets = computeOffsets({ - reference: referenceClientRect, - element: popperRect, - strategy: 'absolute', - placement: placement - }); - var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets)); - var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect - // 0 or negative = within the clipping rect - - var overflowOffsets = { - top: clippingClientRect.top - elementClientRect.top + paddingObject.top, - bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom, - left: clippingClientRect.left - elementClientRect.left + paddingObject.left, - right: elementClientRect.right - clippingClientRect.right + paddingObject.right - }; - var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element - - if (elementContext === popper && offsetData) { - var offset = offsetData[placement]; - Object.keys(overflowOffsets).forEach(function (key) { - var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1; - var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x'; - overflowOffsets[key] += offset[axis] * multiply; - }); - } - - return overflowOffsets; -} - -function computeAutoPlacement(state, options) { - if (options === void 0) { - options = {}; - } - - var _options = options, - placement = _options.placement, - boundary = _options.boundary, - rootBoundary = _options.rootBoundary, - padding = _options.padding, - flipVariations = _options.flipVariations, - _options$allowedAutoP = _options.allowedAutoPlacements, - allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP; - var variation = getVariation(placement); - var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) { - return getVariation(placement) === variation; - }) : basePlacements; - var allowedPlacements = placements$1.filter(function (placement) { - return allowedAutoPlacements.indexOf(placement) >= 0; - }); - - if (allowedPlacements.length === 0) { - allowedPlacements = placements$1; - - if (process.env.NODE_ENV !== "production") { - console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(' ')); - } - } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions... - - - var overflows = allowedPlacements.reduce(function (acc, placement) { - acc[placement] = detectOverflow(state, { - placement: placement, - boundary: boundary, - rootBoundary: rootBoundary, - padding: padding - })[getBasePlacement(placement)]; - return acc; - }, {}); - return Object.keys(overflows).sort(function (a, b) { - return overflows[a] - overflows[b]; - }); -} - -function getExpandedFallbackPlacements(placement) { - if (getBasePlacement(placement) === auto) { - return []; - } - - var oppositePlacement = getOppositePlacement(placement); - return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)]; -} - -function flip(_ref) { - var state = _ref.state, - options = _ref.options, - name = _ref.name; - - if (state.modifiersData[name]._skip) { - return; - } - - var _options$mainAxis = options.mainAxis, - checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, - _options$altAxis = options.altAxis, - checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis, - specifiedFallbackPlacements = options.fallbackPlacements, - padding = options.padding, - boundary = options.boundary, - rootBoundary = options.rootBoundary, - altBoundary = options.altBoundary, - _options$flipVariatio = options.flipVariations, - flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio, - allowedAutoPlacements = options.allowedAutoPlacements; - var preferredPlacement = state.options.placement; - var basePlacement = getBasePlacement(preferredPlacement); - var isBasePlacement = basePlacement === preferredPlacement; - var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement)); - var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) { - return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, { - placement: placement, - boundary: boundary, - rootBoundary: rootBoundary, - padding: padding, - flipVariations: flipVariations, - allowedAutoPlacements: allowedAutoPlacements - }) : placement); - }, []); - var referenceRect = state.rects.reference; - var popperRect = state.rects.popper; - var checksMap = new Map(); - var makeFallbackChecks = true; - var firstFittingPlacement = placements[0]; - - for (var i = 0; i < placements.length; i++) { - var placement = placements[i]; - - var _basePlacement = getBasePlacement(placement); - - var isStartVariation = getVariation(placement) === start; - var isVertical = [top, bottom].indexOf(_basePlacement) >= 0; - var len = isVertical ? 'width' : 'height'; - var overflow = detectOverflow(state, { - placement: placement, - boundary: boundary, - rootBoundary: rootBoundary, - altBoundary: altBoundary, - padding: padding - }); - var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top; - - if (referenceRect[len] > popperRect[len]) { - mainVariationSide = getOppositePlacement(mainVariationSide); - } - - var altVariationSide = getOppositePlacement(mainVariationSide); - var checks = []; - - if (checkMainAxis) { - checks.push(overflow[_basePlacement] <= 0); - } - - if (checkAltAxis) { - checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0); - } - - if (checks.every(function (check) { - return check; - })) { - firstFittingPlacement = placement; - makeFallbackChecks = false; - break; - } - - checksMap.set(placement, checks); - } - - if (makeFallbackChecks) { - // `2` may be desired in some cases – research later - var numberOfChecks = flipVariations ? 3 : 1; - - var _loop = function _loop(_i) { - var fittingPlacement = placements.find(function (placement) { - var checks = checksMap.get(placement); - - if (checks) { - return checks.slice(0, _i).every(function (check) { - return check; - }); - } - }); - - if (fittingPlacement) { - firstFittingPlacement = fittingPlacement; - return "break"; - } - }; - - for (var _i = numberOfChecks; _i > 0; _i--) { - var _ret = _loop(_i); - - if (_ret === "break") break; - } - } - - if (state.placement !== firstFittingPlacement) { - state.modifiersData[name]._skip = true; - state.placement = firstFittingPlacement; - state.reset = true; - } -} // eslint-disable-next-line import/no-unused-modules - - -var flip$1 = { - name: 'flip', - enabled: true, - phase: 'main', - fn: flip, - requiresIfExists: ['offset'], - data: { - _skip: false - } -}; - -function getSideOffsets(overflow, rect, preventedOffsets) { - if (preventedOffsets === void 0) { - preventedOffsets = { - x: 0, - y: 0 - }; - } - - return { - top: overflow.top - rect.height - preventedOffsets.y, - right: overflow.right - rect.width + preventedOffsets.x, - bottom: overflow.bottom - rect.height + preventedOffsets.y, - left: overflow.left - rect.width - preventedOffsets.x - }; -} - -function isAnySideFullyClipped(overflow) { - return [top, right, bottom, left].some(function (side) { - return overflow[side] >= 0; - }); -} - -function hide(_ref) { - var state = _ref.state, - name = _ref.name; - var referenceRect = state.rects.reference; - var popperRect = state.rects.popper; - var preventedOffsets = state.modifiersData.preventOverflow; - var referenceOverflow = detectOverflow(state, { - elementContext: 'reference' - }); - var popperAltOverflow = detectOverflow(state, { - altBoundary: true - }); - var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect); - var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets); - var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets); - var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets); - state.modifiersData[name] = { - referenceClippingOffsets: referenceClippingOffsets, - popperEscapeOffsets: popperEscapeOffsets, - isReferenceHidden: isReferenceHidden, - hasPopperEscaped: hasPopperEscaped - }; - state.attributes.popper = Object.assign({}, state.attributes.popper, { - 'data-popper-reference-hidden': isReferenceHidden, - 'data-popper-escaped': hasPopperEscaped - }); -} // eslint-disable-next-line import/no-unused-modules - - -var hide$1 = { - name: 'hide', - enabled: true, - phase: 'main', - requiresIfExists: ['preventOverflow'], - fn: hide -}; - -function distanceAndSkiddingToXY(placement, rects, offset) { - var basePlacement = getBasePlacement(placement); - var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1; - - var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, { - placement: placement - })) : offset, - skidding = _ref[0], - distance = _ref[1]; - - skidding = skidding || 0; - distance = (distance || 0) * invertDistance; - return [left, right].indexOf(basePlacement) >= 0 ? { - x: distance, - y: skidding - } : { - x: skidding, - y: distance - }; -} - -function offset(_ref2) { - var state = _ref2.state, - options = _ref2.options, - name = _ref2.name; - var _options$offset = options.offset, - offset = _options$offset === void 0 ? [0, 0] : _options$offset; - var data = placements.reduce(function (acc, placement) { - acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset); - return acc; - }, {}); - var _data$state$placement = data[state.placement], - x = _data$state$placement.x, - y = _data$state$placement.y; - - if (state.modifiersData.popperOffsets != null) { - state.modifiersData.popperOffsets.x += x; - state.modifiersData.popperOffsets.y += y; - } - - state.modifiersData[name] = data; -} // eslint-disable-next-line import/no-unused-modules - - -var offset$1 = { - name: 'offset', - enabled: true, - phase: 'main', - requires: ['popperOffsets'], - fn: offset -}; - -function popperOffsets(_ref) { - var state = _ref.state, - name = _ref.name; - // Offsets are the actual position the popper needs to have to be - // properly positioned near its reference element - // This is the most basic placement, and will be adjusted by - // the modifiers in the next step - state.modifiersData[name] = computeOffsets({ - reference: state.rects.reference, - element: state.rects.popper, - strategy: 'absolute', - placement: state.placement - }); -} // eslint-disable-next-line import/no-unused-modules - - -var popperOffsets$1 = { - name: 'popperOffsets', - enabled: true, - phase: 'read', - fn: popperOffsets, - data: {} -}; - -function getAltAxis(axis) { - return axis === 'x' ? 'y' : 'x'; -} - -function preventOverflow(_ref) { - var state = _ref.state, - options = _ref.options, - name = _ref.name; - var _options$mainAxis = options.mainAxis, - checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, - _options$altAxis = options.altAxis, - checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis, - boundary = options.boundary, - rootBoundary = options.rootBoundary, - altBoundary = options.altBoundary, - padding = options.padding, - _options$tether = options.tether, - tether = _options$tether === void 0 ? true : _options$tether, - _options$tetherOffset = options.tetherOffset, - tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset; - var overflow = detectOverflow(state, { - boundary: boundary, - rootBoundary: rootBoundary, - padding: padding, - altBoundary: altBoundary - }); - var basePlacement = getBasePlacement(state.placement); - var variation = getVariation(state.placement); - var isBasePlacement = !variation; - var mainAxis = getMainAxisFromPlacement(basePlacement); - var altAxis = getAltAxis(mainAxis); - var popperOffsets = state.modifiersData.popperOffsets; - var referenceRect = state.rects.reference; - var popperRect = state.rects.popper; - var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, { - placement: state.placement - })) : tetherOffset; - var data = { - x: 0, - y: 0 - }; - - if (!popperOffsets) { - return; - } - - if (checkMainAxis || checkAltAxis) { - var mainSide = mainAxis === 'y' ? top : left; - var altSide = mainAxis === 'y' ? bottom : right; - var len = mainAxis === 'y' ? 'height' : 'width'; - var offset = popperOffsets[mainAxis]; - var min$1 = popperOffsets[mainAxis] + overflow[mainSide]; - var max$1 = popperOffsets[mainAxis] - overflow[altSide]; - var additive = tether ? -popperRect[len] / 2 : 0; - var minLen = variation === start ? referenceRect[len] : popperRect[len]; - var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go - // outside the reference bounds - - var arrowElement = state.elements.arrow; - var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : { - width: 0, - height: 0 - }; - var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject(); - var arrowPaddingMin = arrowPaddingObject[mainSide]; - var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want - // to include its full size in the calculation. If the reference is small - // and near the edge of a boundary, the popper can overflow even if the - // reference is not overflowing as well (e.g. virtual elements with no - // width or height) - - var arrowLen = within(0, referenceRect[len], arrowRect[len]); - var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue; - var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue; - var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow); - var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0; - var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0; - var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset; - var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue; - - if (checkMainAxis) { - var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1); - popperOffsets[mainAxis] = preventedOffset; - data[mainAxis] = preventedOffset - offset; - } - - if (checkAltAxis) { - var _mainSide = mainAxis === 'x' ? top : left; - - var _altSide = mainAxis === 'x' ? bottom : right; - - var _offset = popperOffsets[altAxis]; - - var _min = _offset + overflow[_mainSide]; - - var _max = _offset - overflow[_altSide]; - - var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max); - - popperOffsets[altAxis] = _preventedOffset; - data[altAxis] = _preventedOffset - _offset; - } - } - - state.modifiersData[name] = data; -} // eslint-disable-next-line import/no-unused-modules - - -var preventOverflow$1 = { - name: 'preventOverflow', - enabled: true, - phase: 'main', - fn: preventOverflow, - requiresIfExists: ['offset'] -}; - -function getHTMLElementScroll(element) { - return { - scrollLeft: element.scrollLeft, - scrollTop: element.scrollTop - }; -} - -function getNodeScroll(node) { - if (node === getWindow(node) || !isHTMLElement(node)) { - return getWindowScroll(node); - } else { - return getHTMLElementScroll(node); - } -} - -// Composite means it takes into account transforms as well as layout. - -function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) { - if (isFixed === void 0) { - isFixed = false; - } - - var documentElement = getDocumentElement(offsetParent); - var rect = getBoundingClientRect(elementOrVirtualElement); - var isOffsetParentAnElement = isHTMLElement(offsetParent); - var scroll = { - scrollLeft: 0, - scrollTop: 0 - }; - var offsets = { - x: 0, - y: 0 - }; - - if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) { - if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078 - isScrollParent(documentElement)) { - scroll = getNodeScroll(offsetParent); - } - - if (isHTMLElement(offsetParent)) { - offsets = getBoundingClientRect(offsetParent); - offsets.x += offsetParent.clientLeft; - offsets.y += offsetParent.clientTop; - } else if (documentElement) { - offsets.x = getWindowScrollBarX(documentElement); - } - } - - return { - x: rect.left + scroll.scrollLeft - offsets.x, - y: rect.top + scroll.scrollTop - offsets.y, - width: rect.width, - height: rect.height - }; -} - -function order(modifiers) { - var map = new Map(); - var visited = new Set(); - var result = []; - modifiers.forEach(function (modifier) { - map.set(modifier.name, modifier); - }); // On visiting object, check for its dependencies and visit them recursively - - function sort(modifier) { - visited.add(modifier.name); - var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []); - requires.forEach(function (dep) { - if (!visited.has(dep)) { - var depModifier = map.get(dep); - - if (depModifier) { - sort(depModifier); - } - } - }); - result.push(modifier); - } - - modifiers.forEach(function (modifier) { - if (!visited.has(modifier.name)) { - // check for visited object - sort(modifier); - } - }); - return result; -} - -function orderModifiers(modifiers) { - // order based on dependencies - var orderedModifiers = order(modifiers); // order based on phase - - return modifierPhases.reduce(function (acc, phase) { - return acc.concat(orderedModifiers.filter(function (modifier) { - return modifier.phase === phase; - })); - }, []); -} - -function debounce(fn) { - var pending; - return function () { - if (!pending) { - pending = new Promise(function (resolve) { - Promise.resolve().then(function () { - pending = undefined; - resolve(fn()); - }); - }); - } - - return pending; - }; -} - -function format(str) { - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - return [].concat(args).reduce(function (p, c) { - return p.replace(/%s/, c); - }, str); -} - -var INVALID_MODIFIER_ERROR = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s'; -var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available'; -var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options']; -function validateModifiers(modifiers) { - modifiers.forEach(function (modifier) { - Object.keys(modifier).forEach(function (key) { - switch (key) { - case 'name': - if (typeof modifier.name !== 'string') { - console.error(format(INVALID_MODIFIER_ERROR, String(modifier.name), '"name"', '"string"', "\"" + String(modifier.name) + "\"")); - } - - break; - - case 'enabled': - if (typeof modifier.enabled !== 'boolean') { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\"")); - } - - case 'phase': - if (modifierPhases.indexOf(modifier.phase) < 0) { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\"")); - } - - break; - - case 'fn': - if (typeof modifier.fn !== 'function') { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"fn"', '"function"', "\"" + String(modifier.fn) + "\"")); - } - - break; - - case 'effect': - if (typeof modifier.effect !== 'function') { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\"")); - } - - break; - - case 'requires': - if (!Array.isArray(modifier.requires)) { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\"")); - } - - break; - - case 'requiresIfExists': - if (!Array.isArray(modifier.requiresIfExists)) { - console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requiresIfExists"', '"array"', "\"" + String(modifier.requiresIfExists) + "\"")); - } - - break; - - case 'options': - case 'data': - break; - - default: - console.error("PopperJS: an invalid property has been provided to the \"" + modifier.name + "\" modifier, valid properties are " + VALID_PROPERTIES.map(function (s) { - return "\"" + s + "\""; - }).join(', ') + "; but \"" + key + "\" was provided."); - } - - modifier.requires && modifier.requires.forEach(function (requirement) { - if (modifiers.find(function (mod) { - return mod.name === requirement; - }) == null) { - console.error(format(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement)); - } - }); - }); - }); -} - -function uniqueBy(arr, fn) { - var identifiers = new Set(); - return arr.filter(function (item) { - var identifier = fn(item); - - if (!identifiers.has(identifier)) { - identifiers.add(identifier); - return true; - } - }); -} - -function mergeByName(modifiers) { - var merged = modifiers.reduce(function (merged, current) { - var existing = merged[current.name]; - merged[current.name] = existing ? Object.assign({}, existing, current, { - options: Object.assign({}, existing.options, current.options), - data: Object.assign({}, existing.data, current.data) - }) : current; - return merged; - }, {}); // IE11 does not support Object.values - - return Object.keys(merged).map(function (key) { - return merged[key]; - }); -} - -var INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.'; -var INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.'; -var DEFAULT_OPTIONS = { - placement: 'bottom', - modifiers: [], - strategy: 'absolute' -}; - -function areValidElements() { - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - return !args.some(function (element) { - return !(element && typeof element.getBoundingClientRect === 'function'); - }); -} - -function popperGenerator(generatorOptions) { - if (generatorOptions === void 0) { - generatorOptions = {}; - } - - var _generatorOptions = generatorOptions, - _generatorOptions$def = _generatorOptions.defaultModifiers, - defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def, - _generatorOptions$def2 = _generatorOptions.defaultOptions, - defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2; - return function createPopper(reference, popper, options) { - if (options === void 0) { - options = defaultOptions; - } - - var state = { - placement: 'bottom', - orderedModifiers: [], - options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions), - modifiersData: {}, - elements: { - reference: reference, - popper: popper - }, - attributes: {}, - styles: {} - }; - var effectCleanupFns = []; - var isDestroyed = false; - var instance = { - state: state, - setOptions: function setOptions(options) { - cleanupModifierEffects(); - state.options = Object.assign({}, defaultOptions, state.options, options); - state.scrollParents = { - reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [], - popper: listScrollParents(popper) - }; // Orders the modifiers based on their dependencies and `phase` - // properties - - var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers - - state.orderedModifiers = orderedModifiers.filter(function (m) { - return m.enabled; - }); // Validate the provided modifiers so that the consumer will get warned - // if one of the modifiers is invalid for any reason - - if (process.env.NODE_ENV !== "production") { - var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) { - var name = _ref.name; - return name; - }); - validateModifiers(modifiers); - - if (getBasePlacement(state.options.placement) === auto) { - var flipModifier = state.orderedModifiers.find(function (_ref2) { - var name = _ref2.name; - return name === 'flip'; - }); - - if (!flipModifier) { - console.error(['Popper: "auto" placements require the "flip" modifier be', 'present and enabled to work.'].join(' ')); - } - } - - var _getComputedStyle = getComputedStyle$1(popper), - marginTop = _getComputedStyle.marginTop, - marginRight = _getComputedStyle.marginRight, - marginBottom = _getComputedStyle.marginBottom, - marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can - // cause bugs with positioning, so we'll warn the consumer - - - if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) { - return parseFloat(margin); - })) { - console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' ')); - } - } - - runModifierEffects(); - return instance.update(); - }, - // Sync update – it will always be executed, even if not necessary. This - // is useful for low frequency updates where sync behavior simplifies the - // logic. - // For high frequency updates (e.g. `resize` and `scroll` events), always - // prefer the async Popper#update method - forceUpdate: function forceUpdate() { - if (isDestroyed) { - return; - } - - var _state$elements = state.elements, - reference = _state$elements.reference, - popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements - // anymore - - if (!areValidElements(reference, popper)) { - if (process.env.NODE_ENV !== "production") { - console.error(INVALID_ELEMENT_ERROR); - } - - return; - } // Store the reference and popper rects to be read by modifiers - - - state.rects = { - reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'), - popper: getLayoutRect(popper) - }; // Modifiers have the ability to reset the current update cycle. The - // most common use case for this is the `flip` modifier changing the - // placement, which then needs to re-run all the modifiers, because the - // logic was previously ran for the previous placement and is therefore - // stale/incorrect - - state.reset = false; - state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier - // is filled with the initial data specified by the modifier. This means - // it doesn't persist and is fresh on each update. - // To ensure persistent data, use `${name}#persistent` - - state.orderedModifiers.forEach(function (modifier) { - return state.modifiersData[modifier.name] = Object.assign({}, modifier.data); - }); - var __debug_loops__ = 0; - - for (var index = 0; index < state.orderedModifiers.length; index++) { - if (process.env.NODE_ENV !== "production") { - __debug_loops__ += 1; - - if (__debug_loops__ > 100) { - console.error(INFINITE_LOOP_ERROR); - break; - } - } - - if (state.reset === true) { - state.reset = false; - index = -1; - continue; - } - - var _state$orderedModifie = state.orderedModifiers[index], - fn = _state$orderedModifie.fn, - _state$orderedModifie2 = _state$orderedModifie.options, - _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, - name = _state$orderedModifie.name; - - if (typeof fn === 'function') { - state = fn({ - state: state, - options: _options, - name: name, - instance: instance - }) || state; - } - } - }, - // Async and optimistically optimized update – it will not be executed if - // not necessary (debounced to run at most once-per-tick) - update: debounce(function () { - return new Promise(function (resolve) { - instance.forceUpdate(); - resolve(state); - }); - }), - destroy: function destroy() { - cleanupModifierEffects(); - isDestroyed = true; - } - }; - - if (!areValidElements(reference, popper)) { - if (process.env.NODE_ENV !== "production") { - console.error(INVALID_ELEMENT_ERROR); - } - - return instance; - } - - instance.setOptions(options).then(function (state) { - if (!isDestroyed && options.onFirstUpdate) { - options.onFirstUpdate(state); - } - }); // Modifiers have the ability to execute arbitrary code before the first - // update cycle runs. They will be executed in the same order as the update - // cycle. This is useful when a modifier adds some persistent data that - // other modifiers need to use, but the modifier is run after the dependent - // one. - - function runModifierEffects() { - state.orderedModifiers.forEach(function (_ref3) { - var name = _ref3.name, - _ref3$options = _ref3.options, - options = _ref3$options === void 0 ? {} : _ref3$options, - effect = _ref3.effect; - - if (typeof effect === 'function') { - var cleanupFn = effect({ - state: state, - name: name, - instance: instance, - options: options - }); - - var noopFn = function noopFn() {}; - - effectCleanupFns.push(cleanupFn || noopFn); - } - }); - } - - function cleanupModifierEffects() { - effectCleanupFns.forEach(function (fn) { - return fn(); - }); - effectCleanupFns = []; - } - - return instance; - }; -} - -var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1]; -var createPopper = /*#__PURE__*/popperGenerator({ - defaultModifiers: defaultModifiers -}); // eslint-disable-next-line import/no-unused-modules - -/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */ - -var hasElementType = typeof Element !== 'undefined'; -var hasMap = typeof Map === 'function'; -var hasSet = typeof Set === 'function'; -var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView; - -// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js - -function equal(a, b) { - // START: fast-deep-equal es6/index.js 3.1.1 - if (a === b) return true; - - if (a && b && typeof a == 'object' && typeof b == 'object') { - if (a.constructor !== b.constructor) return false; - - var length, i, keys; - if (Array.isArray(a)) { - length = a.length; - if (length != b.length) return false; - for (i = length; i-- !== 0;) - if (!equal(a[i], b[i])) return false; - return true; - } - - // START: Modifications: - // 1. Extra `has &&` helpers in initial condition allow es6 code - // to co-exist with es5. - // 2. Replace `for of` with es5 compliant iteration using `for`. - // Basically, take: - // - // ```js - // for (i of a.entries()) - // if (!b.has(i[0])) return false; - // ``` - // - // ... and convert to: - // - // ```js - // it = a.entries(); - // while (!(i = it.next()).done) - // if (!b.has(i.value[0])) return false; - // ``` - // - // **Note**: `i` access switches to `i.value`. - var it; - if (hasMap && (a instanceof Map) && (b instanceof Map)) { - if (a.size !== b.size) return false; - it = a.entries(); - while (!(i = it.next()).done) - if (!b.has(i.value[0])) return false; - it = a.entries(); - while (!(i = it.next()).done) - if (!equal(i.value[1], b.get(i.value[0]))) return false; - return true; - } - - if (hasSet && (a instanceof Set) && (b instanceof Set)) { - if (a.size !== b.size) return false; - it = a.entries(); - while (!(i = it.next()).done) - if (!b.has(i.value[0])) return false; - return true; - } - // END: Modifications - - if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) { - length = a.length; - if (length != b.length) return false; - for (i = length; i-- !== 0;) - if (a[i] !== b[i]) return false; - return true; - } - - if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags; - if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf(); - if (a.toString !== Object.prototype.toString) return a.toString() === b.toString(); - - keys = Object.keys(a); - length = keys.length; - if (length !== Object.keys(b).length) return false; - - for (i = length; i-- !== 0;) - if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false; - // END: fast-deep-equal - - // START: react-fast-compare - // custom handling for DOM elements - if (hasElementType && a instanceof Element) return false; - - // custom handling for React/Preact - for (i = length; i-- !== 0;) { - if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) { - // React-specific: avoid traversing React elements' _owner - // Preact-specific: avoid traversing Preact elements' __v and __o - // __v = $_original / $_vnode - // __o = $_owner - // These properties contain circular references and are not needed when - // comparing the actual elements (and not their owners) - // .$$typeof and ._store on just reasonable markers of elements - - continue; - } - - // all other properties should be traversed as usual - if (!equal(a[keys[i]], b[keys[i]])) return false; - } - // END: react-fast-compare - - // START: fast-deep-equal - return true; - } - - return a !== a && b !== b; -} -// end fast-deep-equal - -var reactFastCompare = function isEqual(a, b) { - try { - return equal(a, b); - } catch (error) { - if (((error.message || '').match(/stack|recursion/i))) { - // warn on circular references, don't crash - // browsers give this different errors name and messages: - // chrome/safari: "RangeError", "Maximum call stack size exceeded" - // firefox: "InternalError", too much recursion" - // edge: "Error", "Out of stack space" - console.warn('react-fast-compare cannot handle circular refs'); - return false; - } - // some other error. we should definitely know about these - throw error; - } -}; - -var EMPTY_MODIFIERS$1 = []; -var usePopper = function usePopper(referenceElement, popperElement, options) { - if (options === void 0) { - options = {}; - } - - var prevOptions = React__namespace.useRef(null); - var optionsWithDefaults = { - onFirstUpdate: options.onFirstUpdate, - placement: options.placement || 'bottom', - strategy: options.strategy || 'absolute', - modifiers: options.modifiers || EMPTY_MODIFIERS$1 - }; - - var _React$useState = React__namespace.useState({ - styles: { - popper: { - position: optionsWithDefaults.strategy, - left: '0', - top: '0' - }, - arrow: { - position: 'absolute' - } - }, - attributes: {} - }), - state = _React$useState[0], - setState = _React$useState[1]; - - var updateStateModifier = React__namespace.useMemo(function () { - return { - name: 'updateState', - enabled: true, - phase: 'write', - fn: function fn(_ref) { - var state = _ref.state; - var elements = Object.keys(state.elements); - setState({ - styles: fromEntries(elements.map(function (element) { - return [element, state.styles[element] || {}]; - })), - attributes: fromEntries(elements.map(function (element) { - return [element, state.attributes[element]]; - })) - }); - }, - requires: ['computeStyles'] - }; - }, []); - var popperOptions = React__namespace.useMemo(function () { - var newOptions = { - onFirstUpdate: optionsWithDefaults.onFirstUpdate, - placement: optionsWithDefaults.placement, - strategy: optionsWithDefaults.strategy, - modifiers: [].concat(optionsWithDefaults.modifiers, [updateStateModifier, { - name: 'applyStyles', - enabled: false - }]) - }; - - if (reactFastCompare(prevOptions.current, newOptions)) { - return prevOptions.current || newOptions; - } else { - prevOptions.current = newOptions; - return newOptions; - } - }, [optionsWithDefaults.onFirstUpdate, optionsWithDefaults.placement, optionsWithDefaults.strategy, optionsWithDefaults.modifiers, updateStateModifier]); - var popperInstanceRef = React__namespace.useRef(); - useIsomorphicLayoutEffect(function () { - if (popperInstanceRef.current) { - popperInstanceRef.current.setOptions(popperOptions); - } - }, [popperOptions]); - useIsomorphicLayoutEffect(function () { - if (referenceElement == null || popperElement == null) { - return; - } - - var createPopper$1 = options.createPopper || createPopper; - var popperInstance = createPopper$1(referenceElement, popperElement, popperOptions); - popperInstanceRef.current = popperInstance; - return function () { - popperInstance.destroy(); - popperInstanceRef.current = null; - }; - }, [referenceElement, popperElement, options.createPopper]); - return { - state: popperInstanceRef.current ? popperInstanceRef.current.state : null, - styles: state.styles, - attributes: state.attributes, - update: popperInstanceRef.current ? popperInstanceRef.current.update : null, - forceUpdate: popperInstanceRef.current ? popperInstanceRef.current.forceUpdate : null - }; -}; - -var NOOP = function NOOP() { - return void 0; -}; - -var NOOP_PROMISE = function NOOP_PROMISE() { - return Promise.resolve(null); -}; - -var EMPTY_MODIFIERS = []; -function Popper(_ref) { - var _ref$placement = _ref.placement, - placement = _ref$placement === void 0 ? 'bottom' : _ref$placement, - _ref$strategy = _ref.strategy, - strategy = _ref$strategy === void 0 ? 'absolute' : _ref$strategy, - _ref$modifiers = _ref.modifiers, - modifiers = _ref$modifiers === void 0 ? EMPTY_MODIFIERS : _ref$modifiers, - referenceElement = _ref.referenceElement, - onFirstUpdate = _ref.onFirstUpdate, - innerRef = _ref.innerRef, - children = _ref.children; - var referenceNode = React__namespace.useContext(ManagerReferenceNodeContext); - - var _React$useState = React__namespace.useState(null), - popperElement = _React$useState[0], - setPopperElement = _React$useState[1]; - - var _React$useState2 = React__namespace.useState(null), - arrowElement = _React$useState2[0], - setArrowElement = _React$useState2[1]; - - React__namespace.useEffect(function () { - setRef(innerRef, popperElement); - }, [innerRef, popperElement]); - var options = React__namespace.useMemo(function () { - return { - placement: placement, - strategy: strategy, - onFirstUpdate: onFirstUpdate, - modifiers: [].concat(modifiers, [{ - name: 'arrow', - enabled: arrowElement != null, - options: { - element: arrowElement - } - }]) - }; - }, [placement, strategy, onFirstUpdate, modifiers, arrowElement]); - - var _usePopper = usePopper(referenceElement || referenceNode, popperElement, options), - state = _usePopper.state, - styles = _usePopper.styles, - forceUpdate = _usePopper.forceUpdate, - update = _usePopper.update; - - var childrenProps = React__namespace.useMemo(function () { - return { - ref: setPopperElement, - style: styles.popper, - placement: state ? state.placement : placement, - hasPopperEscaped: state && state.modifiersData.hide ? state.modifiersData.hide.hasPopperEscaped : null, - isReferenceHidden: state && state.modifiersData.hide ? state.modifiersData.hide.isReferenceHidden : null, - arrowProps: { - style: styles.arrow, - ref: setArrowElement - }, - forceUpdate: forceUpdate || NOOP, - update: update || NOOP_PROMISE - }; - }, [setPopperElement, setArrowElement, placement, state, styles, update, forceUpdate]); - return unwrapArray(children)(childrenProps); -} - -/** - * 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. - */ - -/** - * Similar to invariant but only logs a warning if the condition is not met. - * This can be used to log issues in development environments in critical - * paths. Removing the logging code for production environments will keep the - * same logic and follow the same code paths. - */ - -var __DEV__ = process.env.NODE_ENV !== 'production'; - -var warning = function() {}; - -if (__DEV__) { - var printWarning = function printWarning(format, args) { - var len = arguments.length; - args = new Array(len > 1 ? len - 1 : 0); - for (var key = 1; key < len; key++) { - args[key - 1] = arguments[key]; - } - var argIndex = 0; - var message = 'Warning: ' + - format.replace(/%s/g, function() { - return args[argIndex++]; - }); - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; - - warning = function(condition, format, args) { - var len = arguments.length; - args = new Array(len > 2 ? len - 2 : 0); - for (var key = 2; key < len; key++) { - args[key - 2] = arguments[key]; - } - if (format === undefined) { - throw new Error( - '`warning(condition, format, ...args)` requires a warning ' + - 'message argument' - ); - } - if (!condition) { - printWarning.apply(null, [format].concat(args)); - } - }; -} - -var warning_1 = warning; - -function Reference(_ref) { - var children = _ref.children, - innerRef = _ref.innerRef; - var setReferenceNode = React__namespace.useContext(ManagerReferenceNodeSetterContext); - var refHandler = React__namespace.useCallback(function (node) { - setRef(innerRef, node); - safeInvoke(setReferenceNode, node); - }, [innerRef, setReferenceNode]); // ran on unmount - - React__namespace.useEffect(function () { - return function () { - return setRef(innerRef, null); - }; - }); - React__namespace.useEffect(function () { - warning_1(Boolean(setReferenceNode), '`Reference` should not be used outside of a `Manager` component.'); - }, [setReferenceNode]); - return unwrapArray(children)({ - ref: refHandler - }); -} - -var CDropdownContext = React.createContext({}); -var CDropdown = React.forwardRef(function (_a, ref) { - var children = _a.children, alignment = _a.alignment, className = _a.className, dark = _a.dark, direction = _a.direction, _b = _a.placement, placement = _b === void 0 ? 'bottom-start' : _b, _c = _a.popper, popper = _c === void 0 ? true : _c, _d = _a.variant, variant = _d === void 0 ? 'btn-group' : _d, _e = _a.component, component = _e === void 0 ? 'div' : _e, _f = _a.visible, visible = _f === void 0 ? false : _f, rest = __rest(_a, ["children", "alignment", "className", "dark", "direction", "placement", "popper", "variant", "component", "visible"]); - var _g = React.useState(visible), _visible = _g[0], setVisible = _g[1]; - var dropdownRef = React.useRef(null); - var forkedRef = useForkedRef(ref, dropdownRef); - var Component = variant === 'nav-item' ? 'li' : component; - // Disable popper if responsive aligment is set. - if (typeof alignment === 'object') { - popper = false; - } - var contextValues = { - alignment: alignment, - dark: dark, - direction: direction, - placement: placement, - popper: popper, - variant: variant, - visible: _visible, - setVisible: setVisible, - }; - var _className = classNames(variant === 'nav-item' ? 'nav-item dropdown' : variant, { - show: _visible, - }, direction, className); - React.useEffect(function () { - window.addEventListener('click', handleClickOutside); - window.addEventListener('keyup', handleKeyup); - return function () { - window.removeEventListener('click', handleClickOutside); - window.removeEventListener('keyup', handleKeyup); - }; - }); - React.useEffect(function () { - setVisible(visible); - }, [visible]); - var handleKeyup = function (event) { - if (dropdownRef.current && !dropdownRef.current.contains(event.target)) { - setVisible(false); - } - }; - var handleClickOutside = function (event) { - if (dropdownRef.current && !dropdownRef.current.contains(event.target)) { - setVisible(false); - } - }; - return popper ? (React__default['default'].createElement(CDropdownContext.Provider, { value: contextValues }, - React__default['default'].createElement(Manager, null, variant === 'input-group' ? (React__default['default'].createElement(React__default['default'].Fragment, null, children)) : (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: forkedRef }), children))))) : (React__default['default'].createElement(CDropdownContext.Provider, { value: contextValues }, - React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: forkedRef }), children))); -}); -var alignmentDirection = PropTypes.oneOf(['start', 'end']); -CDropdown.propTypes = { - // @ts-expect-error TODO: we have to find a solution - alignment: PropTypes.oneOfType([ - alignmentDirection, - PropTypes.shape({ xs: alignmentDirection }), - PropTypes.shape({ sm: alignmentDirection }), - PropTypes.shape({ md: alignmentDirection }), - PropTypes.shape({ lg: alignmentDirection }), - PropTypes.shape({ xl: alignmentDirection }), - PropTypes.shape({ xxl: alignmentDirection }), - ]), - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - dark: PropTypes.bool, - direction: PropTypes.oneOf(['dropup', 'dropend', 'dropstart']), - placement: placementPropType, - popper: PropTypes.bool, - variant: PropTypes.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']), - visible: PropTypes.bool, -}; -CDropdown.displayName = 'CDropdown'; - -var CDropdownDivider = React.forwardRef(function (_a, ref) { - var className = _a.className, rest = __rest(_a, ["className"]); - var _className = classNames('dropdown-divider', className); - return React__default['default'].createElement("hr", __assign({ className: _className }, rest, { ref: ref })); -}); -CDropdownDivider.propTypes = { - className: PropTypes.string, -}; -CDropdownDivider.displayName = 'CDropdownDivider'; - -var CDropdownHeader = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'h6' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('dropdown-header', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CDropdownHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CDropdownHeader.displayName = 'CDropdownHeader'; - -var CDropdownItem = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, component = _b === void 0 ? 'a' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('dropdown-item', className); - return (React__default['default'].createElement(CLink, __assign({ component: component }, rest, { className: _className, ref: ref }), children)); -}); -CDropdownItem.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CDropdownItem.displayName = 'CDropdownItem'; - -var CDropdownItemPlain = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'span' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('dropdown-item-text', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CDropdownItemPlain.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CDropdownItemPlain.displayName = 'CDropdownItemPlain'; - -var CDropdownMenu = function (_a) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'ul' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _c = React.useContext(CDropdownContext), alignment = _c.alignment, dark = _c.dark, direction = _c.direction, placement = _c.placement, popper = _c.popper, visible = _c.visible; - var _placement = placement; - if (direction === 'dropup') { - _placement = 'top-start'; - } - if (direction === 'dropend') { - _placement = 'right-start'; - } - if (direction === 'dropstart') { - _placement = 'left-start'; - } - if (alignment === 'end') { - _placement = 'bottom-end'; - } - var alignmentClassNames = function (alignment) { - var classNames = []; - if (typeof alignment === 'object') { - Object.keys(alignment).map(function (key) { - classNames.push("dropdown-menu" + (key === 'xs' ? '' : "-" + key) + "-" + alignment[key]); - }); - } - if (typeof alignment === 'string') { - classNames.push("dropdown-menu-" + alignment); - } - return classNames; - }; - var _className = classNames('dropdown-menu', { - 'dropdown-menu-dark': dark, - show: visible, - }, alignment && alignmentClassNames(alignment), className); - var dropdownMenuComponent = function (style, ref) { - return (React__default['default'].createElement(Component, __assign({ className: _className, ref: ref, style: style, role: "menu", "aria-hidden": !visible }, (!popper && { 'data-coreui-popper': 'static' }), rest), Component === 'ul' - ? React__default['default'].Children.map(children, function (child, index) { - if (React__default['default'].isValidElement(child)) { - return React__default['default'].createElement("li", { key: index }, React__default['default'].cloneElement(child)); - } - return; - }) - : children)); - }; - return popper && visible ? (React__default['default'].createElement(Popper, { placement: _placement }, function (_a) { - var ref = _a.ref, style = _a.style; - return dropdownMenuComponent(style, ref); - })) : (dropdownMenuComponent()); -}; -CDropdownMenu.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CDropdownMenu.displayName = 'CDropdownMenu'; - -var CDropdownToggle = function (_a) { - var children = _a.children, _b = _a.caret, caret = _b === void 0 ? true : _b, className = _a.className, split = _a.split, _c = _a.trigger, trigger = _c === void 0 ? 'click' : _c, rest = __rest(_a, ["children", "caret", "className", "split", "trigger"]); - var _d = React.useContext(CDropdownContext), popper = _d.popper, variant = _d.variant, visible = _d.visible, setVisible = _d.setVisible; - var _className = classNames({ - 'dropdown-toggle': caret, - 'dropdown-toggle-split': split, - 'nav-link': variant === 'nav-item', - }, className); - var triggers = __assign(__assign({}, ((trigger === 'click' || trigger.includes('click')) && { - onClick: function (event) { - event.preventDefault(); - setVisible(!visible); - }, - })), ((trigger === 'focus' || trigger.includes('focus')) && { - onFocus: function () { return setVisible(true); }, - onBlur: function () { return setVisible(false); }, - })); - var togglerProps = __assign({ className: _className, 'aria-expanded': visible }, triggers); - // We use any because Toggler can be `a` as well as `button`. - // eslint-disable-next-line @typescript-eslint/no-explicit-any - var Toggler = function (ref) { - return variant === 'nav-item' ? (React__default['default'].createElement("a", __assign({ href: "#" }, togglerProps, { ref: ref }), children)) : (React__default['default'].createElement(CButton, __assign({}, togglerProps, { tabIndex: 0 }, rest, { ref: ref }), - children, - split && React__default['default'].createElement("span", { className: "visually-hidden" }, "Toggle Dropdown"))); - }; - return popper ? React__default['default'].createElement(Reference, null, function (_a) { - var ref = _a.ref; - return Toggler(ref); - }) : Toggler(); -}; -CDropdownToggle.propTypes = { - caret: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - split: PropTypes.bool, - trigger: triggerPropType, -}; -CDropdownToggle.displayName = 'CDropdownToggle'; - -var BREAKPOINTS$2 = [ - 'xxl', - 'xl', - 'lg', - 'md', - 'sm', - 'xs', -]; -var CCol = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var repsonsiveCLassNames = []; - BREAKPOINTS$2.forEach(function (bp) { - var breakpoint = rest[bp]; - delete rest[bp]; - var infix = bp === 'xs' ? '' : "-" + bp; - if (typeof breakpoint === 'number' || typeof breakpoint === 'string') { - repsonsiveCLassNames.push("col" + infix + "-" + breakpoint); - } - if (typeof breakpoint === 'boolean') { - repsonsiveCLassNames.push("col" + infix); - } - if (breakpoint && typeof breakpoint === 'object') { - if (typeof breakpoint.span === 'number' || typeof breakpoint.span === 'string') { - repsonsiveCLassNames.push("col" + infix + "-" + breakpoint.span); - } - if (typeof breakpoint.span === 'boolean') { - repsonsiveCLassNames.push("col" + infix); - } - if (typeof breakpoint.order === 'number' || typeof breakpoint.order === 'string') { - repsonsiveCLassNames.push("order" + infix + "-" + breakpoint.order); - } - if (typeof breakpoint.offset === 'number') { - repsonsiveCLassNames.push("offset" + infix + "-" + breakpoint.offset); - } - } - }); - var _className = classNames(repsonsiveCLassNames.length ? repsonsiveCLassNames : 'col', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -var span = PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.number, - PropTypes.string, - PropTypes.oneOf(['auto']), -]); -var col = PropTypes.oneOfType([ - span, - PropTypes.shape({ - span: span, - offset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), - order: PropTypes.oneOfType([ - PropTypes.oneOf(['first', 'last']), - PropTypes.number, - PropTypes.string, - ]), - }), -]); -CCol.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - xs: col, - sm: col, -}; -CCol.displayName = 'CCol'; - -var BREAKPOINTS$1 = [ - 'xxl', - 'xl', - 'lg', - 'md', - 'sm', - 'fluid', -]; -var CContainer = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var repsonsiveCLassNames = []; - BREAKPOINTS$1.forEach(function (bp) { - var breakpoint = rest[bp]; - delete rest[bp]; - breakpoint && repsonsiveCLassNames.push("container-" + bp); - }); - var _className = classNames(repsonsiveCLassNames.length ? repsonsiveCLassNames : 'container', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CContainer.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - sm: PropTypes.bool, - md: PropTypes.bool, - lg: PropTypes.bool, - xl: PropTypes.bool, - xxl: PropTypes.bool, - fluid: PropTypes.bool, -}; -CContainer.displayName = 'CContainer'; - -var BREAKPOINTS = [ - 'xxl', - 'xl', - 'lg', - 'md', - 'sm', - 'xs', -]; -var CRow = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var repsonsiveCLassNames = []; - BREAKPOINTS.forEach(function (bp) { - var breakpoint = rest[bp]; - delete rest[bp]; - var infix = bp === 'xs' ? '' : "-" + bp; - if (typeof breakpoint === 'object') { - if (breakpoint.cols) { - repsonsiveCLassNames.push("row-cols" + infix + "-" + breakpoint.cols); - } - if (typeof breakpoint.gutter === 'number') { - repsonsiveCLassNames.push("g" + infix + "-" + breakpoint.gutter); - } - if (typeof breakpoint.gutterX === 'number') { - repsonsiveCLassNames.push("gx" + infix + "-" + breakpoint.gutterX); - } - if (typeof breakpoint.gutterY === 'number') { - repsonsiveCLassNames.push("gy" + infix + "-" + breakpoint.gutterY); - } - } - }); - var _className = classNames('row', repsonsiveCLassNames, className); - return (React__default['default'].createElement("div", { className: _className, ref: ref }, children)); -}); -var bp = PropTypes.shape({ - cols: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.string]), - gutter: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - gutterX: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - gutterY: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}); -CRow.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - xs: bp, - sm: bp, - md: bp, - lg: bp, - xl: bp, - xxl: bp, -}; -CRow.displayName = 'CRow'; - -var CFooter = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, position = _a.position, rest = __rest(_a, ["children", "className", "position"]); - var _className = classNames('footer', (_b = {}, _b["footer-" + position] = position, _b), className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CFooter.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - position: PropTypes.oneOf(['fixed', 'sticky']), -}; -CFooter.displayName = 'CFooter'; - -var CForm = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, validated = _a.validated, rest = __rest(_a, ["children", "className", "validated"]); - var _className = classNames({ 'was-validated': validated }, className); - return (React__default['default'].createElement("form", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CForm.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - validated: PropTypes.bool, -}; -CForm.displayName = 'CForm'; - -var CFormControl = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, classNameParent = _a.classNameParent, _c = _a.component, Component = _c === void 0 ? 'input' : _c, invalid = _a.invalid, plainText = _a.plainText, size = _a.size, _d = _a.type, type = _d === void 0 ? 'text' : _d, valid = _a.valid, rest = __rest(_a, ["children", "className", "classNameParent", "component", "invalid", "plainText", "size", "type", "valid"]); - var _className = classNameParent - ? classNameParent - : classNames(plainText ? 'form-control-plaintext' : 'form-control', (_b = { - 'form-control-color': type === 'color', - 'form-range': type === 'range' - }, - _b["form-control-" + size] = size, - _b['is-invalid'] = invalid, - _b['is-valid'] = valid, - _b), className); - return (React__default['default'].createElement(Component, __assign({}, (Component === 'input' && { type: type }), { className: _className }, rest, { ref: ref }), children)); -}); -CFormControl.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - classNameParent: PropTypes.string, - component: PropTypes.elementType, - invalid: PropTypes.bool, - plainText: PropTypes.bool, - size: PropTypes.oneOf(['sm', 'lg']), - type: PropTypes.oneOfType([PropTypes.oneOf(['color', 'file', 'text']), PropTypes.string]), - valid: PropTypes.bool, -}; -CFormControl.displayName = 'CFormControl'; - -var CFormLabel = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, classNameParent = _a.classNameParent, rest = __rest(_a, ["children", "className", "classNameParent"]); - var _className = classNameParent ? classNameParent : classNames('form-label', className); - return (React__default['default'].createElement("label", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CFormLabel.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - classNameParent: PropTypes.string, -}; -CFormLabel.displayName = 'CFormLabel'; - -var CFormCheck = React.forwardRef(function (_a, ref) { - var _b, _c; - var className = _a.className, button = _a.button, _d = _a.buttonColor, buttonColor = _d === void 0 ? 'primary' : _d, buttonSize = _a.buttonSize, buttonShape = _a.buttonShape, buttonVariant = _a.buttonVariant, id = _a.id, inline = _a.inline, invalid = _a.invalid, label = _a.label, size = _a.size, _switch = _a.switch, _e = _a.type, type = _e === void 0 ? 'checkbox' : _e, valid = _a.valid, rest = __rest(_a, ["className", "button", "buttonColor", "buttonSize", "buttonShape", "buttonVariant", "id", "inline", "invalid", "label", "size", "switch", "type", "valid"]); - var _className = classNames('form-check', (_b = { - 'form-switch': _switch - }, - _b["form-switch-" + size] = size, - _b['form-check-inline'] = inline, - _b['is-invalid'] = invalid, - _b['is-valid'] = valid, - _b), className); - var inputClassName = classNames(button ? 'btn-check' : 'form-check-input', { - 'is-invalid': invalid, - 'is-valid': valid, - }); - var labelClassName = classNames(button - ? classNames('btn', buttonVariant ? "btn-" + buttonVariant + "-" + buttonColor : "btn-" + buttonColor, (_c = {}, - _c["btn-" + buttonSize] = buttonSize, - _c.buttonShape = buttonShape, - _c)) - : 'form-check-label'); - var formControl = function () { - return (React__default['default'].createElement(CFormControl, __assign({ type: type, classNameParent: inputClassName, id: id }, rest, { ref: ref }))); - }; - var formLabel = function () { - return (React__default['default'].createElement(CFormLabel, __assign({ classNameParent: labelClassName }, (id && { htmlFor: id })), label)); - }; - return _switch ? (React__default['default'].createElement("div", { className: _className }, - formControl(), - label && formLabel())) : button ? (React__default['default'].createElement(React__default['default'].Fragment, null, - formControl(), - label && formLabel())) : label ? (React__default['default'].createElement("div", { className: _className }, - formControl(), - formLabel())) : (formControl()); -}); -CFormCheck.propTypes = { - button: PropTypes.bool, - buttonColor: colorPropType, - buttonShape: shapePropType, - buttonSize: PropTypes.oneOf(['sm', 'lg']), - buttonVariant: PropTypes.oneOf(['outline', 'ghost']), - className: PropTypes.string, - id: PropTypes.string, - inline: PropTypes.bool, - invalid: PropTypes.bool, - label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - size: PropTypes.oneOf(['lg', 'xl']), - switch: PropTypes.bool, - type: PropTypes.oneOf(['checkbox', 'radio']), - valid: PropTypes.bool, -}; -CFormCheck.displayName = 'CFormCheck'; - -var CFormFeedback = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, _c = _a.component, Component = _c === void 0 ? 'div' : _c, invalid = _a.invalid, tooltip = _a.tooltip, valid = _a.valid, rest = __rest(_a, ["children", "className", "component", "invalid", "tooltip", "valid"]); - var _className = classNames((_b = {}, - _b["invalid-" + (tooltip ? 'tooltip' : 'feedback')] = invalid, - _b["valid-" + (tooltip ? 'tooltip' : 'feedback')] = valid, - _b), className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CFormFeedback.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - invalid: PropTypes.bool, - tooltip: PropTypes.bool, - valid: PropTypes.bool, -}; -CFormFeedback.displayName = 'CFormFeedback'; - -var CFormFloating = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('form-floating', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CFormFloating.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CFormFloating.displayName = 'CFormFloating'; - -var CFormRange = React.forwardRef(function (_a, ref) { - var className = _a.className, rest = __rest(_a, ["className"]); - var _className = classNames('form-range', className); - return React__default['default'].createElement("input", __assign({ type: "range", className: _className }, rest, { ref: ref })); -}); -CFormRange.propTypes = { - className: PropTypes.string, -}; -CFormRange.displayName = 'CFormRange'; - -var CFormSelect = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, htmlSize = _a.htmlSize, invalid = _a.invalid, size = _a.size, valid = _a.valid, rest = __rest(_a, ["children", "className", "htmlSize", "invalid", "size", "valid"]); - var _className = classNames('form-select', (_b = {}, - _b["form-select-" + size] = size, - _b['is-invalid'] = invalid, - _b['is-valid'] = valid, - _b), className); - return (React__default['default'].createElement("select", __assign({ className: _className, size: htmlSize }, rest, { ref: ref }), children)); -}); -CFormSelect.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - htmlSize: PropTypes.number, - invalid: PropTypes.bool, - size: PropTypes.oneOf(['sm', 'lg']), - valid: PropTypes.bool, -}; -CFormSelect.displayName = 'CFormSelect'; - -var CFormText = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'div' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('form-text', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CFormText.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CFormText.displayName = 'CFormText'; - -var CInputGroup = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, size = _a.size, rest = __rest(_a, ["children", "className", "size"]); - var _className = classNames('input-group', (_b = {}, - _b["input-group-" + size] = size, - _b), className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CInputGroup.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - size: PropTypes.oneOf(['sm', 'lg']), -}; -CInputGroup.displayName = 'CInputGroup'; - -var CInputGroupText = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'span' : _b, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('input-group-text', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CInputGroupText.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CInputGroupText.displayName = 'CInputGroupText'; - -var CHeader = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, container = _a.container, position = _a.position, rest = __rest(_a, ["children", "className", "container", "position"]); - var _className = classNames('header', (_b = {}, _b["header-" + position] = position, _b), className); - var content; - if (container) { - content = (React__default['default'].createElement("div", { className: "container" + (container !== true ? '-' + container : '') }, children)); - } - else { - content = children; - } - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), content)); -}); -CHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - container: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf([ - 'sm', - 'md', - 'lg', - 'xl', - 'xxl', - 'fluid', - ]), - ]), - position: PropTypes.oneOf(['fixed', 'sticky']), -}; -CHeader.displayName = 'CHeader'; - -var CHeaderBrand = React.forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'a' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('header-brand', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CHeaderBrand.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CHeaderBrand.displayName = 'CHeaderBrand'; - -var CHeaderDivider = React.forwardRef(function (_a, ref) { - var className = _a.className, rest = __rest(_a, ["className"]); - var _className = classNames('header-divider', className); - return React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref })); -}); -CHeaderDivider.propTypes = { - className: PropTypes.string, -}; -CHeaderDivider.displayName = 'CHeaderDivider'; - -var CHeaderNav = React.forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'ul' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('header-nav', className); - return (React__default['default'].createElement(Component, __assign({ className: _className, role: "navigation" }, rest, { ref: ref }), children)); -}); -CHeaderNav.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CHeaderNav.displayName = 'CHeaderNav'; - -var CHeaderText = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('header-text', className); - return (React__default['default'].createElement("span", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CHeaderText.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CHeaderText.displayName = 'CHeaderText'; - -var CHeaderToggler = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('header-toggler', className); - return (React__default['default'].createElement("button", __assign({ type: "button", className: _className }, rest, { ref: ref }), children ? children : React__default['default'].createElement("span", { className: "header-toggler-icon" }))); -}); -CHeaderToggler.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CHeaderToggler.displayName = 'CHeaderToggler'; - -var CImage = React.forwardRef(function (_a, ref) { - var _b; - var align = _a.align, className = _a.className, fluid = _a.fluid, rounded = _a.rounded, thumbnail = _a.thumbnail, rest = __rest(_a, ["align", "className", "fluid", "rounded", "thumbnail"]); - var _className = classNames((_b = {}, - _b["float-" + align] = align && (align === 'start' || align === 'end'), - _b['d-block mx-auto'] = align && align === 'center', - _b['img-fluid'] = fluid, - _b.rounded = rounded, - _b['img-thumbnail'] = thumbnail, - _b), className); - return React__default['default'].createElement("img", __assign({ className: _className }, rest, { ref: ref })); -}); -CImage.propTypes = { - align: PropTypes.oneOf(['start', 'center', 'end']), - className: PropTypes.string, - fluid: PropTypes.bool, - rounded: PropTypes.bool, - thumbnail: PropTypes.bool, -}; -CImage.displayName = 'CImage'; - -var CListGroup = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, _c = _a.component, Component = _c === void 0 ? 'ul' : _c, flush = _a.flush, layout = _a.layout; - var _className = classNames('list-group', (_b = { - 'list-group-flush': flush - }, - _b["list-group-" + layout] = layout, - _b), className); - return (React__default['default'].createElement(Component, { className: _className, ref: ref }, children)); -}); -CListGroup.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - flush: PropTypes.bool, - layout: PropTypes.oneOf([ - 'horizontal', - 'horizontal-sm', - 'horizontal-md', - 'horizontal-lg', - 'horizontal-xl', - 'horizontal-xxl', - ]), -}; -CListGroup.displayName = 'CListGroup'; - -var CListGroupItem = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, active = _a.active, className = _a.className, disabled = _a.disabled, color = _a.color, _c = _a.component, component = _c === void 0 ? 'li' : _c, rest = __rest(_a, ["children", "active", "className", "disabled", "color", "component"]); - var _className = classNames('list-group-item', (_b = {}, - _b["list-group-item-" + color] = color, - _b['list-group-item-action'] = component === 'a' || component === 'button', - _b.active = active, - _b.disabled = disabled, - _b), className); - var Component = component === 'a' || component === 'button' ? CLink : component; - rest = __assign(__assign(__assign(__assign({}, ((component === 'a' || component === 'button') && { - active: active, - disabled: disabled, - component: component, - ref: ref, - })), (active && { 'aria-current': true })), (disabled && { 'aria-disabled': true })), rest); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest), children)); -}); -CListGroupItem.propTypes = { - active: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - component: PropTypes.elementType, - disabled: PropTypes.bool, -}; -CListGroupItem.displayName = 'CListGroupItem'; - -var CModalContent = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('modal-content', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CModalContent.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CModalContent.displayName = 'CModalContent'; - -var CModalDialog = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, alignment = _a.alignment, className = _a.className, fullscreen = _a.fullscreen, scrollable = _a.scrollable, size = _a.size, rest = __rest(_a, ["children", "alignment", "className", "fullscreen", "scrollable", "size"]); - var _className = classNames('modal-dialog', (_b = { - 'modal-dialog-centered': alignment === 'center' - }, - _b[typeof fullscreen === 'boolean' - ? 'modal-fullscreen' - : "modal-fullscreen-" + fullscreen + "-down"] = fullscreen, - _b['modal-dialog-scrollable'] = scrollable, - _b["modal-" + size] = size, - _b), className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CModalDialog.propTypes = { - alignment: PropTypes.oneOf(['top', 'center']), - children: PropTypes.node, - className: PropTypes.string, - fullscreen: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']), - ]), - scrollable: PropTypes.bool, - size: PropTypes.oneOf(['sm', 'lg', 'xl']), -}; -CModalDialog.displayName = 'CModalDialog'; - -var CModal = React.forwardRef(function (_a, ref) { - var children = _a.children, alignment = _a.alignment, _b = _a.backdrop, backdrop = _b === void 0 ? true : _b, className = _a.className, _c = _a.duration, duration = _c === void 0 ? 150 : _c, fullscreen = _a.fullscreen, _d = _a.keyboard, keyboard = _d === void 0 ? true : _d, onDismiss = _a.onDismiss, _e = _a.portal, portal = _e === void 0 ? true : _e, scrollable = _a.scrollable, size = _a.size, _f = _a.transition, transition = _f === void 0 ? true : _f, visible = _a.visible; - var _g = React.useState(false), staticBackdrop = _g[0], setStaticBackdrop = _g[1]; - var modalRef = React.useRef(null); - var forkedRef = useForkedRef(ref, modalRef); - var handleDismiss = function () { - if (typeof onDismiss === 'undefined') { - return setStaticBackdrop(true); - } - return onDismiss && onDismiss(); - }; - React.useLayoutEffect(function () { - setTimeout(function () { return setStaticBackdrop(false); }, duration); - }, [staticBackdrop]); - var getTransitionClass = function (state) { - return state === 'entering' - ? 'd-block' - : state === 'entered' - ? 'show d-block' - : state === 'exiting' - ? 'd-block' - : ''; - }; - var _className = classNames('modal', { - 'modal-static': staticBackdrop, - fade: transition, - }, className); - // Set focus to modal after open - React.useLayoutEffect(function () { - if (visible) { - document.body.classList.add('modal-open'); - setTimeout(function () { - modalRef.current && modalRef.current.focus(); - }, !transition ? 0 : duration); - } - else { - document.body.classList.remove('modal-open'); - } - return function () { return document.body.classList.remove('modal-open'); }; - }, [visible]); - var handleKeyDown = React.useCallback(function (event) { - if (event.key === 'Escape' && keyboard) { - return handleDismiss(); - } - }, [modalRef, handleDismiss]); - var modal = function (ref, transitionClass) { - return (React__default['default'].createElement(React__default['default'].Fragment, null, - React__default['default'].createElement("div", { className: classNames(_className, transitionClass), tabIndex: -1, role: "dialog", ref: ref }, - React__default['default'].createElement(CModalDialog, { alignment: alignment, fullscreen: fullscreen, scrollable: scrollable, size: size, onClick: function (event) { return event.stopPropagation(); } }, - React__default['default'].createElement(CModalContent, null, children))))); - }; - return (React__default['default'].createElement(React__default['default'].Fragment, null, - React__default['default'].createElement("div", { onClick: handleDismiss, onKeyDown: handleKeyDown }, - React__default['default'].createElement(CSSTransition, { in: visible, timeout: !transition ? 0 : duration, onExit: onDismiss, mountOnEnter: true, unmountOnExit: true }, function (state) { - var transitionClass = getTransitionClass(state); - return typeof window !== 'undefined' && portal - ? ReactDOM.createPortal(modal(forkedRef, transitionClass), document.body) - : modal(forkedRef, transitionClass); - })), - typeof window !== 'undefined' && portal - ? backdrop && ReactDOM.createPortal(React__default['default'].createElement(CBackdrop, { visible: visible }), document.body) - : backdrop && React__default['default'].createElement(CBackdrop, { visible: visible }))); -}); -CModal.propTypes = { - alignment: PropTypes.oneOf(['top', 'center']), - backdrop: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - duration: PropTypes.number, - fullscreen: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']), - ]), - keyboard: PropTypes.bool, - onDismiss: PropTypes.func, - portal: PropTypes.bool, - scrollable: PropTypes.bool, - size: PropTypes.oneOf(['sm', 'lg', 'xl']), - transition: PropTypes.bool, - visible: PropTypes.bool, -}; -CModal.displayName = 'CModal'; - -var CModalBody = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('modal-body', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CModalBody.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CModalBody.displayName = 'CModalBody'; - -var CModalFooter = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('modal-footer', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CModalFooter.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CModalFooter.displayName = 'CModalFooter'; - -var CModalHeader = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, onDismiss = _a.onDismiss, rest = __rest(_a, ["children", "className", "onDismiss"]); - var _className = classNames('modal-header', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), - children, - onDismiss && React__default['default'].createElement(CCloseButton, { onClick: onDismiss }))); -}); -CModalHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - onDismiss: PropTypes.func, -}; -CModalHeader.displayName = 'CModalHeader'; - -var CModalTitle = React.forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'h5' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('modal-title', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CModalTitle.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CModalTitle.displayName = 'CModalTitle'; - -var CNav = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, _c = _a.component, Component = _c === void 0 ? 'ul' : _c, layout = _a.layout, variant = _a.variant; - var _className = classNames('nav', (_b = {}, - _b["nav-" + layout] = layout, - _b["nav-" + variant] = variant, - _b), className); - return (React__default['default'].createElement(Component, { className: _className, role: "navigation", ref: ref }, children)); -}); -CNav.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, - layout: PropTypes.oneOf(['fill', 'justified']), - variant: PropTypes.oneOf(['tabs', 'pills']), -}; -CNav.displayName = 'CNav'; - -var CNavGroupItems = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('nav-group-items', className); - return (React__default['default'].createElement("ul", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CNavGroupItems.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CNavGroupItems.displayName = 'CNavGroupItems'; - -var CNavContext = React.createContext({}); -var CSidebarNav = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _b = React.useState(''), visibleGroup = _b[0], setVisibleGroup = _b[1]; - var CNavContextValues = { - visibleGroup: visibleGroup, - setVisibleGroup: setVisibleGroup, - }; - var classes = classNames('sidebar-nav', className); - return (React__default['default'].createElement("ul", __assign({ className: classes, ref: ref }, rest), - React__default['default'].createElement(CNavContext.Provider, { value: CNavContextValues }, React__default['default'].Children.map(children, function (child, index) { - if (React__default['default'].isValidElement(child)) { - return React__default['default'].cloneElement(child, { key: index, idx: "" + index }); - } - return; - })))); -}); -CSidebarNav.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CSidebarNav.displayName = 'CSidebarNav'; - -var CNavGroup = React.forwardRef(function (_a, ref) { - var children = _a.children, toggler = _a.toggler, className = _a.className, icon = _a.icon, idx = _a.idx, visible = _a.visible, rest = __rest(_a, ["children", "toggler", "className", "icon", "idx", "visible"]); - var _b = React.useState(), height = _b[0], setHeight = _b[1]; - var navItemsRef = React.useRef(null); - var style = { - height: 0, - }; - var onEntering = function () { - navItemsRef && navItemsRef.current && setHeight(navItemsRef.current.scrollHeight); - }; - var onEntered = function () { - setHeight('auto'); - }; - var onExit = function () { - navItemsRef && navItemsRef.current && setHeight(navItemsRef.current.scrollHeight); - }; - var onExiting = function () { - // @ts-expect-error reflow is necessary to get correct height of the element - // eslint-disable-next-line @typescript-eslint/no-unused-vars - navItemsRef && navItemsRef.current && navItemsRef.current.offsetHeight; - setHeight(0); - }; - var onExited = function () { - setHeight(0); - }; - var transitionStyles = { - entering: { display: 'block', height: height }, - entered: { display: 'block', height: height }, - exiting: { display: 'block', height: height }, - exited: { height: height }, - }; - var _c = React.useContext(CNavContext), visibleGroup = _c.visibleGroup, setVisibleGroup = _c.setVisibleGroup; - var _visible = Boolean(visible || (idx && visibleGroup && visibleGroup.toString().startsWith(idx.toString()))); - var _className = classNames('nav-group', { show: _visible }, className); - return (React__default['default'].createElement("li", __assign({ className: _className }, rest, { ref: ref }), - toggler && (React__default['default'].createElement("a", { className: "nav-link nav-group-toggle", onClick: function (event) { - event.preventDefault(); - setVisibleGroup(_visible - ? (idx === null || idx === void 0 ? void 0 : idx.toString().includes('.')) - ? idx.slice(0, idx.lastIndexOf('.')) - : '' - : idx); - } }, - icon && typeof icon === 'string' ? React__default['default'].createElement("i", { className: "nav-icon " + icon }) : icon, - toggler)), - React__default['default'].createElement(Transition, { in: _visible, timeout: 300, onEntering: onEntering, onEntered: onEntered, onExit: onExit, onExiting: onExiting, onExited: onExited }, function (state) { return (React__default['default'].createElement("ul", { className: "nav-group-items", style: __assign(__assign({}, style), transitionStyles[state]), ref: navItemsRef }, React__default['default'].Children.map(children, function (child, index) { - if (React__default['default'].isValidElement(child)) { - return React__default['default'].cloneElement(child, { key: index, idx: idx + "." + index }); - } - return; - }))); }))); -}); -CNavGroup.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - idx: PropTypes.string, - toggler: PropTypes.string, - visible: PropTypes.bool, -}; -CNavGroup.displayName = 'CNavGroup'; - -var CNavLink = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, icon = _a.icon, idx = _a.idx, rest = __rest(_a, ["children", "className", "icon", "idx"]); - var navLinkRef = React.useRef(null); - var forkedRef = useForkedRef(ref, navLinkRef); - var setVisibleGroup = React.useContext(CNavContext).setVisibleGroup; - var _className = classNames('nav-link', className); - React.useEffect(function () { - var _a; - rest.active = (_a = navLinkRef.current) === null || _a === void 0 ? void 0 : _a.classList.contains('active'); - idx && rest.active && setVisibleGroup(idx); - }, [rest.active, className]); - return (React__default['default'].createElement(CLink, __assign({ className: _className }, rest, { ref: forkedRef }), - icon && typeof icon === 'string' ? React__default['default'].createElement("i", { className: "nav-icon " + icon }) : icon, - children)); -}); -CNavLink.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - idx: PropTypes.string, -}; -CNavLink.displayName = 'CNavLink'; - -var CNavItem = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('nav-item', className); - if (rest.href || rest.to) { - children = (React__default['default'].createElement(CNavLink, __assign({ className: className }, rest), children)); - } - return (React__default['default'].createElement("li", { className: _className, ref: ref }, children)); -}); -CNavItem.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CNavItem.displayName = 'CNavItem'; - -var CNavTitle = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('nav-title', className); - return (React__default['default'].createElement("li", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CNavTitle.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CNavTitle.displayName = 'CNavTitle'; - -var CNavbar = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, colorScheme = _a.colorScheme, _c = _a.component, Component = _c === void 0 ? 'nav' : _c, container = _a.container, expand = _a.expand, placement = _a.placement, rest = __rest(_a, ["children", "className", "color", "colorScheme", "component", "container", "expand", "placement"]); - var _className = classNames('navbar', (_b = {}, - _b["bg-" + color] = color, - _b["navbar-" + colorScheme] = colorScheme, - _b[typeof expand === 'boolean' ? 'navbar-expand' : "navbar-expand-" + expand] = expand, - _b), placement, className); - var content; - if (container) { - content = (React__default['default'].createElement("div", { className: "container" + (container !== true ? '-' + container : '') }, children)); - } - else { - content = children; - } - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), content)); -}); -CNavbar.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - colorScheme: PropTypes.oneOf(['dark', 'light']), - component: PropTypes.elementType, - container: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf([ - 'sm', - 'md', - 'lg', - 'xl', - 'xxl', - 'fluid', - ]), - ]), - expand: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']), - ]), - placement: PropTypes.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']), -}; -CNavbar.displayName = 'CNavbar'; - -var CNavbarBrand = React.forwardRef(function (_a, ref) { - var children = _a.children, component = _a.component, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var Component = component ? component : rest.href ? 'a' : 'span'; - var _className = classNames('navbar-brand', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CNavbarBrand.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CNavbarBrand.displayName = 'CNavbarBrand'; - -var CNavbarNav = React.forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'ul' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('navbar-nav', className); - return (React__default['default'].createElement(Component, __assign({ className: _className, role: "navigation" }, rest, { ref: ref }), children)); -}); -CNavbarNav.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CNavbarNav.displayName = 'CNavbarNav'; - -var CNavbarText = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('navbar-text', className); - return (React__default['default'].createElement("span", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CNavbarText.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CNavbarText.displayName = 'CNavbarText'; - -var CNavbarToggler = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('navbar-toggler', className); - return (React__default['default'].createElement("button", __assign({ type: "button", className: _className }, rest, { ref: ref }), children ? children : React__default['default'].createElement("span", { className: "navbar-toggler-icon" }))); -}); -CNavbarToggler.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CNavbarToggler.displayName = 'CNavbarToggler'; - -var CPagination = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, size = _a.size, rest = __rest(_a, ["children", "className", "size"]); - var _className = classNames('pagination', (_b = {}, _b["pagination-" + size] = size, _b), className); - return (React__default['default'].createElement("nav", __assign({ ref: ref }, rest), - React__default['default'].createElement("ul", { className: _className }, children))); -}); -CPagination.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - size: PropTypes.oneOf(['sm', 'lg']), -}; -CPagination.displayName = 'CPagination'; - -var CPaginationItem = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, component = _a.component, rest = __rest(_a, ["children", "className", "component"]); - var _className = classNames('page-item', { - active: rest.active, - disabled: rest.disabled, - }, className); - var Component = component ? component : rest.active ? 'span' : 'a'; - return (React__default['default'].createElement("li", __assign({ className: _className }, (rest.active && { 'aria-current': 'page' })), Component === 'a' ? (React__default['default'].createElement(CLink, __assign({ className: "page-link", component: Component }, rest, { ref: ref }), children)) : (React__default['default'].createElement(Component, { className: "page-link", ref: ref }, children)))); -}); -CPaginationItem.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -CPaginationItem.displayName = 'CPaginationItem'; - -var CPopoverContent = React.forwardRef(function (_a, ref) { - var content = _a.content, title = _a.title, placementClassNamePostfix = _a.placementClassNamePostfix, arrowProps = _a.arrowProps, style = _a.style, transitionClass = _a.transitionClass; - return (React__default['default'].createElement(React__default['default'].Fragment, null, - React__default['default'].createElement("div", { className: classNames("popover bs-popover-" + placementClassNamePostfix, transitionClass), ref: ref, style: style, role: "tooltip" }, - React__default['default'].createElement("div", __assign({ className: "popover-arrow" }, arrowProps)), - React__default['default'].createElement("div", { className: "popover-header" }, title), - React__default['default'].createElement("div", { className: "popover-body" }, content)))); -}); -CPopoverContent.propTypes = { - arrowProps: PropTypes.any, - content: PropTypes.node, - placementClassNamePostfix: PropTypes.string, - style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), - title: PropTypes.string, - transitionClass: PropTypes.string, -}; -CPopoverContent.displayName = 'CPopoverContent'; - -var CPopover = function (_a) { - var children = _a.children, _b = _a.placement, placement = _b === void 0 ? 'top' : _b, _c = _a.offset, offset = _c === void 0 ? [0, 8] : _c, _d = _a.trigger, trigger = _d === void 0 ? 'click' : _d, visible = _a.visible, rest = __rest(_a, ["children", "placement", "offset", "trigger", "visible"]); - var _e = React.useState(visible), _visible = _e[0], setVisible = _e[1]; - var getTransitionClass = function (state) { - return state === 'entering' - ? 'fade' - : state === 'entered' - ? 'fade show' - : state === 'exiting' - ? 'fade' - : 'fade'; - }; - return (React__default['default'].createElement(Manager, null, - React__default['default'].createElement(Reference, null, function (_a) { - var ref = _a.ref; - return React__default['default'].cloneElement(children, __assign(__assign(__assign({ ref: ref }, ((trigger === 'click' || trigger.includes('click')) && { - onClick: function () { return setVisible(!_visible); }, - })), ((trigger === 'focus' || trigger.includes('focus')) && { - onFocus: function () { return setVisible(true); }, - onBlur: function () { return setVisible(false); }, - })), ((trigger === 'hover' || trigger.includes('hover')) && { - onMouseEnter: function () { return setVisible(true); }, - onMouseLeave: function () { return setVisible(false); }, - }))); - }), - typeof window !== 'undefined' && - ReactDOM.createPortal(React__default['default'].createElement(CSSTransition, { in: _visible, timeout: { - enter: 0, - exit: 200, - }, mountOnEnter: true, unmountOnExit: true }, function (state) { - var transitionClass = getTransitionClass(state); - return (React__default['default'].createElement(Popper, { placement: placement, modifiers: [ - { - name: 'offset', - options: { - offset: offset, - }, - }, - ] }, function (p) { return (React__default['default'].createElement(CPopoverContent, __assign({ transitionClass: transitionClass, placementClassNamePostfix: placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement }, rest, p))); })); - }), document.body))); -}; -CPopover.propTypes = { - children: PropTypes.any, - placement: PropTypes.oneOf(['top', 'right', 'bottom', 'left']), - offset: PropTypes.any, - trigger: triggerPropType, - visible: PropTypes.bool, -}; -CPopover.displayName = 'CPopover'; - -var CProgressBar = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, _c = _a.animated, animated = _c === void 0 ? false : _c, className = _a.className, color = _a.color, _d = _a.value, value = _d === void 0 ? 0 : _d, variant = _a.variant, rest = __rest(_a, ["children", "animated", "className", "color", "value", "variant"]); - var _className = classNames('progress-bar', (_b = {}, - _b["bg-" + color] = color, - _b["progress-bar-" + variant] = variant, - _b['progress-bar-animated'] = animated, - _b), className); - return (React__default['default'].createElement("div", __assign({ className: _className, role: "progressbar", style: { width: value + "%" }, "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": 100 }, rest, { ref: ref }), children)); -}); -CProgressBar.propTypes = { - animated: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - value: PropTypes.number, - variant: PropTypes.oneOf(['striped']), -}; -CProgressBar.displayName = 'CProgressBar'; - -var CProgress = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, height = _a.height, thin = _a.thin, _b = _a.value, value = _b === void 0 ? 0 : _b, white = _a.white, rest = __rest(_a, ["children", "className", "height", "thin", "value", "white"]); - var _className = classNames('progress', { - 'progress-thin': thin, - 'progress-white': white, - }, className); - return (React__default['default'].createElement("div", { className: _className, style: height ? { height: height + "px" } : {}, ref: ref }, value ? (React__default['default'].createElement(CProgressBar, __assign({ value: value }, rest), children)) : (children))); -}); -CProgress.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - height: PropTypes.number, - thin: PropTypes.bool, - value: PropTypes.number, - white: PropTypes.bool, -}; -CProgress.displayName = 'CProgress'; - -// TODO: check if element is visible after toggle -var CSidebar = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, narrow = _a.narrow, onHide = _a.onHide, onShow = _a.onShow, overlaid = _a.overlaid, position = _a.position, selfHiding = _a.selfHiding, unfoldable = _a.unfoldable, visible = _a.visible, rest = __rest(_a, ["children", "className", "narrow", "onHide", "onShow", "overlaid", "position", "selfHiding", "unfoldable", "visible"]); - var sidebarRef = React.useRef(null); - var forkedRef = useForkedRef(ref, sidebarRef); - var _c = React.useState(false), mobile = _c[0], setMobile = _c[1]; - var _d = React.useState(visible), _visible = _d[0], setVisible = _d[1]; - var isOnMobile = function (element) { - return Boolean(element.current && getComputedStyle(element.current).getPropertyValue('--cui-is-mobile')); - }; - React.useLayoutEffect(function () { - setMobile(isOnMobile(sidebarRef)); - }); - React.useEffect(function () { - setVisible(visible); - setMobile(isOnMobile(sidebarRef)); - }, [visible]); - React.useEffect(function () { - setMobile(isOnMobile(sidebarRef)); - _visible && onShow && onShow(); - }, [_visible]); - React.useEffect(function () { - window.addEventListener('mouseup', handleClickOutside); - sidebarRef.current && sidebarRef.current.addEventListener('mouseup', handleOnClick); - window.addEventListener('keyup', handleKeyup); - return function () { - window.removeEventListener('mouseup', handleClickOutside); - sidebarRef.current && sidebarRef.current.removeEventListener('mouseup', handleOnClick); - window.removeEventListener('keyup', handleKeyup); - }; - }); - var handleHide = function () { - if (_visible) { - setVisible(false); - onHide && onHide(); - } - }; - var handleKeyup = function (event) { - if (mobile && - sidebarRef.current && - !sidebarRef.current.contains(event.target)) { - handleHide(); - } - }; - var handleClickOutside = function (event) { - if (mobile && - sidebarRef.current && - !sidebarRef.current.contains(event.target)) { - handleHide(); - } - }; - var handleOnClick = function (event) { - var target = event.target; - target && - target.classList.contains('nav-link') && - !target.classList.contains('nav-group-toggle') && - mobile && - handleHide(); - }; - var _className = classNames('sidebar', (_b = { - 'sidebar-narrow': narrow, - 'sidebar-overlaid': overlaid - }, - _b["sidebar-" + position] = position, - _b["sidebar-self-hiding" + (typeof selfHiding !== 'boolean' && '-' + selfHiding)] = selfHiding, - _b['sidebar-narrow-unfoldable'] = unfoldable, - _b.show = _visible, - _b.hide = !_visible, - _b), className); - return (React__default['default'].createElement(React__default['default'].Fragment, null, - React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: forkedRef }), children), - typeof window !== 'undefined' && - mobile && - ReactDOM.createPortal(React__default['default'].createElement(CBackdrop, { className: "sidebar-backdrop", visible: _visible }), document.body))); -}); -CSidebar.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - narrow: PropTypes.bool, - onHide: PropTypes.func, - onShow: PropTypes.func, - overlaid: PropTypes.bool, - position: PropTypes.oneOf(['fixed', 'sticky']), - selfHiding: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']), - ]), - unfoldable: PropTypes.bool, - visible: PropTypes.bool, -}; -CSidebar.displayName = 'CSidebar'; - -var COffcanvas = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, _c = _a.backdrop, backdrop = _c === void 0 ? true : _c, className = _a.className, _d = _a.keyboard, keyboard = _d === void 0 ? true : _d, onDismiss = _a.onDismiss, placement = _a.placement, _e = _a.portal, portal = _e === void 0 ? true : _e, _f = _a.visible, visible = _f === void 0 ? false : _f, rest = __rest(_a, ["children", "backdrop", "className", "keyboard", "onDismiss", "placement", "portal", "visible"]); - var _g = React.useState(visible), _visible = _g[0], setVisible = _g[1]; - var offcanvasRef = React.useRef(null); - var forkedRef = useForkedRef(ref, offcanvasRef); - React.useEffect(function () { - setVisible(visible); - }, [visible]); - var _className = classNames('offcanvas', (_b = {}, - _b["offcanvas-" + placement] = placement, - _b.show = _visible, - _b), className); - var transitionStyles = { - entering: { visibility: 'visible' }, - entered: { visibility: 'visible' }, - exiting: { visibility: 'visible' }, - exited: { visibility: 'hidden' }, - }; - var handleDismiss = function () { - setVisible(false); - return onDismiss && onDismiss(); - }; - var handleKeyDown = React.useCallback(function (event) { - if (event.key === 'Escape' && keyboard) { - return handleDismiss(); - } - }, [ref, handleDismiss]); - var offcanvas = function (ref, state) { - return (React__default['default'].createElement(React__default['default'].Fragment, null, - React__default['default'].createElement("div", __assign({ className: _className, style: __assign({}, transitionStyles[state]), tabIndex: -1, onKeyDown: handleKeyDown }, rest, { ref: ref }), children))); - }; - return (React__default['default'].createElement(React__default['default'].Fragment, null, - React__default['default'].createElement(Transition, { in: _visible, timeout: 300, onEntered: function () { var _a; return (_a = offcanvasRef.current) === null || _a === void 0 ? void 0 : _a.focus(); } }, function (state) { - return typeof window !== 'undefined' && portal - ? ReactDOM.createPortal(offcanvas(forkedRef, state), document.body) - : offcanvas(forkedRef, state); - }), - typeof window !== 'undefined' && portal - ? backdrop && - ReactDOM.createPortal(React__default['default'].createElement(CBackdrop, { visible: visible, onClick: handleDismiss }), document.body) - : backdrop && React__default['default'].createElement(CBackdrop, { visible: visible, onClick: handleDismiss }))); -}); -COffcanvas.propTypes = { - backdrop: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - keyboard: PropTypes.bool, - onDismiss: PropTypes.func, - placement: PropTypes.oneOf(['start', 'end', 'top', 'bottom']) - .isRequired, - portal: PropTypes.bool, - visible: PropTypes.bool, -}; -COffcanvas.displayName = 'COffcanvas'; - -var COffcanvasBody = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('offcanvas-body', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -COffcanvasBody.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -COffcanvasBody.displayName = 'COffcanvasBody'; - -var COffcanvasHeader = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('offcanvas-header', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -COffcanvasHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -COffcanvasHeader.displayName = 'COffcanvasHeader'; - -var COffcanvasTitle = React.forwardRef(function (_a, ref) { - var children = _a.children, _b = _a.component, Component = _b === void 0 ? 'h5' : _b, className = _a.className, rest = __rest(_a, ["children", "component", "className"]); - var _className = classNames('offcanvas-title', className); - return (React__default['default'].createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children)); -}); -COffcanvasTitle.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - component: PropTypes.elementType, -}; -COffcanvasTitle.displayName = 'COffcanvasTitle'; - -var CSidebarBrand = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('sidebar-brand', className); - return (React__default['default'].createElement("div", __assign({ className: _className, ref: ref }, rest), children)); -}); -CSidebarBrand.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CSidebarBrand.displayName = 'CSidebarBrand'; - -var CSidebarFooter = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('sidebar-footer', className); - return (React__default['default'].createElement("div", __assign({ className: _className, ref: ref }, rest), children)); -}); -CSidebarFooter.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CSidebarFooter.displayName = 'CSidebarFooter'; - -var CSidebarToggler = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('sidebar-toggler', className); - return (React__default['default'].createElement("button", __assign({ className: _className, ref: ref }, rest), children)); -}); -CSidebarToggler.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CSidebarToggler.displayName = 'CSidebarToggler'; - -var CCreateNavItem = function (_a) { - var items = _a.items, idx = _a.idx; - // eslint-disable-next-line @typescript-eslint/no-explicit-any - var renderItem = function (item, index, idx) { - var _component = item._component, as = item.as, anchor = item.anchor, items = item.items, rest = __rest(item, ["_component", "as", "anchor", "items"]); - var components = { CNavGroup: CNavGroup, CNavGroupItems: CNavGroupItems, CNavItem: CNavItem, CNavLink: CNavLink, CNavTitle: CNavTitle }; - var Component = components[_component] || _component; - var children = items ? items.map(function (item, index) { return renderItem(item, index); }) : anchor; - return (React__default['default'].createElement(Component, __assign({ component: as, key: index }, (items && { idx: idx + "." + index, toggler: anchor }), rest), children)); - }; - var generatedItems = React.useMemo(function () { - return items && items.map(function (item, index) { return renderItem(item, index, idx); }); - }, [JSON.stringify(items)]); - return React__default['default'].createElement(React__default['default'].Fragment, null, generatedItems); -}; -CCreateNavItem.propTypes = { - idx: PropTypes.string, - items: PropTypes.arrayOf(PropTypes.any).isRequired, -}; - -var CSidebarHeader = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('sidebar-header', className); - return (React__default['default'].createElement("div", __assign({ className: _className, ref: ref }, rest), children)); -}); -CSidebarHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CSidebarHeader.displayName = 'CSidebarHeader'; - -var CSpinner = React.forwardRef(function (_a, ref) { - var className = _a.className, color = _a.color, _b = _a.component, Component = _b === void 0 ? 'div' : _b, size = _a.size, _c = _a.variant, variant = _c === void 0 ? 'border' : _c, rest = __rest(_a, ["className", "color", "component", "size", "variant"]); - var _className = classNames("spinner-" + variant, "text-" + color, size && "spinner-" + variant + "-" + size, className); - return (React__default['default'].createElement(Component, __assign({ className: _className, role: "status" }, rest, { ref: ref }), - React__default['default'].createElement("span", { className: "visually-hidden" }, "Loading..."))); -}); -CSpinner.propTypes = { - className: PropTypes.string, - color: colorPropType, - component: PropTypes.string, - size: PropTypes.oneOf(['sm']), - variant: PropTypes.oneOf(['border', 'grow']), -}; -CSpinner.displayName = 'CSpinner'; - -var CTable = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, align = _a.align, borderColor = _a.borderColor, bordered = _a.bordered, borderless = _a.borderless, caption = _a.caption, className = _a.className, color = _a.color, hover = _a.hover, responsive = _a.responsive, small = _a.small, striped = _a.striped, rest = __rest(_a, ["children", "align", "borderColor", "bordered", "borderless", "caption", "className", "color", "hover", "responsive", "small", "striped"]); - var _className = classNames('table', (_b = {}, - _b["align-" + align] = align, - _b["caption-" + caption] = caption, - _b["border-" + borderColor] = borderColor, - _b['table-bordered'] = bordered, - _b['table-borderless'] = borderless, - _b["table-" + color] = color, - _b['table-hover'] = hover, - _b['table-sm'] = small, - _b['table-striped'] = striped, - _b), className); - return responsive ? (React__default['default'].createElement("div", { className: typeof responsive === 'boolean' ? 'table-responsive' : "table-responsive-" + responsive }, - React__default['default'].createElement("table", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children))) : (React__default['default'].createElement("table", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTable.propTypes = { - align: PropTypes.oneOf(['bottom', 'middle', 'top']), - borderColor: PropTypes.string, - bordered: PropTypes.bool, - borderless: PropTypes.bool, - caption: PropTypes.oneOf(['top']), - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - hover: PropTypes.bool, - responsive: PropTypes.oneOfType([ - PropTypes.bool, - PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']), - ]), - small: PropTypes.bool, - striped: PropTypes.bool, -}; -CTable.displayName = 'CTable'; - -var CTableBody = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]); - var _className = classNames((_b = {}, - _b["table-" + color] = color, - _b), className); - return (React__default['default'].createElement("tbody", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableBody.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableBody.displayName = 'CTableBody'; - -var CTableCaption = React.forwardRef(function (_a, ref) { - var children = _a.children, props = __rest(_a, ["children"]); - return (React__default['default'].createElement("caption", __assign({}, props, { ref: ref }), children)); -}); -CTableCaption.propTypes = { - children: PropTypes.node, -}; -CTableCaption.displayName = 'CTableCaption'; - -var CTableDataCell = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, active = _a.active, align = _a.align, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "active", "align", "className", "color"]); - var _className = classNames((_b = {}, - _b["align-" + align] = align, - _b['table-active'] = active, - _b["table-" + color] = color, - _b), className); - return (React__default['default'].createElement("td", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableDataCell.propTypes = { - active: PropTypes.bool, - align: PropTypes.oneOf(['bottom', 'middle', 'top']), - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableDataCell.displayName = 'CTableDataCell'; - -var CTableFoot = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]); - var _className = classNames((_b = {}, - _b["table-" + color] = color, - _b), className); - return (React__default['default'].createElement("tfoot", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableFoot.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableFoot.displayName = 'CTableFoot'; - -var CTableHead = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]); - var _className = classNames((_b = {}, - _b["table-" + color] = color, - _b), className); - return (React__default['default'].createElement("thead", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableHead.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableHead.displayName = 'CTableHead'; - -var CTableHeaderCell = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]); - var _className = classNames((_b = {}, - _b["table-" + color] = color, - _b), className); - return (React__default['default'].createElement("th", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableHeaderCell.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableHeaderCell.displayName = 'CTableHeaderCell'; - -var CTableRow = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, active = _a.active, align = _a.align, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "active", "align", "className", "color"]); - var _className = classNames((_b = {}, - _b["align-" + align] = align, - _b['table-active'] = active, - _b["table-" + color] = color, - _b), className); - return (React__default['default'].createElement("tr", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children)); -}); -CTableRow.propTypes = { - active: PropTypes.bool, - align: PropTypes.oneOf(['bottom', 'middle', 'top']), - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, -}; -CTableRow.displayName = 'CTableRow'; - -var CTabContent = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('tab-content', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CTabContent.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CTabContent.displayName = 'CTabContent'; - -var CTabPane = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, visible = _a.visible, rest = __rest(_a, ["children", "className", "visible"]); - var style = { - transition: "opacity 150ms linear", - }; - var getTransitionClass = function (state) { - return state === 'entering' - ? 'show' - : state === 'entered' - ? 'show active' - : state === 'exiting' - ? 'active' - : ''; - }; - var _className = classNames('tab-pane', 'fade', className); - return (React__default['default'].createElement(Transition, { in: visible, timeout: 350 }, function (state) { - var transitionClass = getTransitionClass(state); - return (React__default['default'].createElement("div", __assign({ className: classNames(_className, transitionClass), style: __assign({}, style) }, rest, { ref: ref }), children)); - })); -}); -CTabPane.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - visible: PropTypes.bool, -}; -CTabPane.displayName = 'CTabPane'; - -var CToastContext = React.createContext({}); -var CToast = React.forwardRef(function (_a, ref) { - var _b; - var children = _a.children, _c = _a.autohide, autohide = _c === void 0 ? true : _c, className = _a.className, color = _a.color, _d = _a.delay, delay = _d === void 0 ? 5000 : _d, index = _a.index, key = _a.key, _e = _a.visible, visible = _e === void 0 ? true : _e, onDismiss = _a.onDismiss, rest = __rest(_a, ["children", "autohide", "className", "color", "delay", "index", "key", "visible", "onDismiss"]); - var _f = React.useState(visible), _visible = _f[0], setVisible = _f[1]; - var timeout = React.useRef(); - var contextValues = { - visible: _visible, - setVisible: setVisible, - }; - // triggered on mount and destroy - React.useEffect(function () { return function () { return clearTimeout(timeout.current); }; }, []); - React.useEffect(function () { - _autohide(); - }, [_visible]); - var _autohide = function () { - if (autohide) { - clearTimeout(timeout.current); - timeout.current = window.setTimeout(function () { - setVisible(false); - }, delay); - } - }; - var _className = classNames('toast fade', (_b = { - show: _visible - }, - _b["bg-" + color] = color, - _b['border-0'] = color, - _b), className); - return (React__default['default'].createElement(CSSTransition, { in: _visible, timeout: 250, onExit: function () { return onDismiss && onDismiss(index ? index : null); }, unmountOnExit: true }, - React__default['default'].createElement(CToastContext.Provider, { value: contextValues }, - React__default['default'].createElement("div", __assign({ className: _className, "aria-live": "assertive", "aria-atomic": "true", role: "alert", onMouseEnter: function () { return clearTimeout(timeout.current); }, onMouseLeave: function () { return _autohide; } }, rest, { key: key, ref: ref }), children)))); -}); -CToast.propTypes = { - autohide: PropTypes.bool, - children: PropTypes.node, - className: PropTypes.string, - color: colorPropType, - delay: PropTypes.number, - index: PropTypes.number, - key: PropTypes.number, - onDismiss: PropTypes.func, - visible: PropTypes.bool, -}; -CToast.displayName = 'CToast'; - -var CToastBody = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]); - var _className = classNames('toast-body', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)); -}); -CToastBody.propTypes = { - children: PropTypes.node, - className: PropTypes.string, -}; -CToastBody.displayName = 'CToastBody'; - -var CToastClose = React.forwardRef(function (_a, ref) { - var children = _a.children, Component = _a.component, rest = __rest(_a, ["children", "component"]); - var setVisible = React.useContext(CToastContext).setVisible; - return Component ? (React__default['default'].createElement(Component, __assign({ onClick: function () { return setVisible(false); } }, rest, { ref: ref }), children)) : (React__default['default'].createElement(CCloseButton, __assign({ onClick: function () { return setVisible(false); } }, rest, { ref: ref }))); -}); -CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component: PropTypes.elementType }); -CToastClose.displayName = 'CToastClose'; - -var CToastHeader = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, close = _a.close, rest = __rest(_a, ["children", "className", "close"]); - var _className = classNames('toast-header', className); - return (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), - children, - close && React__default['default'].createElement(CToastClose, null))); -}); -CToastHeader.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - close: PropTypes.bool, -}; -CToastHeader.displayName = 'CToastHeader'; - -var CToaster = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, placement = _a.placement, push = _a.push, rest = __rest(_a, ["children", "className", "placement", "push"]); - var _b = React.useState([]), toasts = _b[0], setToasts = _b[1]; - var index = React.useRef(0); - React.useEffect(function () { - index.current++; - push && addToast(push); - }, [push]); - var addToast = function (push) { - setToasts(function (state) { return __spreadArray(__spreadArray([], state), [ - React__default['default'].cloneElement(push, { - index: index.current, - key: index.current, - onDismiss: function (index) { - return setToasts(function (state) { return state.filter(function (i) { return i.props.index !== index; }); }); - }, - }), - ]); }); - }; - var _className = classNames('toaster toast-container p-3', { - 'position-fixed': placement, - 'top-0': placement && placement.includes('top'), - 'top-50 translate-middle-y': placement && placement.includes('middle'), - 'bottom-0': placement && placement.includes('bottom'), - 'start-0': placement && placement.includes('start'), - 'start-50 translate-middle-x': placement && placement.includes('center'), - 'end-0': placement && placement.includes('end'), - }, className); - var toaster = function (ref) { - return toasts.length > 0 || children ? (React__default['default'].createElement("div", __assign({ className: _className }, rest, { ref: ref }), - children, - toasts.map(function (toast) { return toast; }))) : null; - }; - return typeof window !== 'undefined' && placement - ? ReactDOM.createPortal(toaster(ref), document.body) - : toaster(ref); -}); -CToaster.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - placement: PropTypes.oneOfType([ - PropTypes.string, - PropTypes.oneOf([ - 'top-start', - 'top-center', - 'top-end', - 'middle-start', - 'middle-center', - 'middle-end', - 'bottom-start', - 'bottom-center', - 'bottom-end', - ]), - ]), - push: PropTypes.any, -}; -CToaster.displayName = 'CToaster'; - -var CTooltipContent = React.forwardRef(function (_a, ref) { - var content = _a.content, placementClassNamePostfix = _a.placementClassNamePostfix, arrowProps = _a.arrowProps, transitionClass = _a.transitionClass, style = _a.style; - return (React__default['default'].createElement("div", { className: classNames("tooltip bs-tooltip-" + placementClassNamePostfix, transitionClass), ref: ref, style: style, role: "tooltip" }, - React__default['default'].createElement("div", __assign({ className: "tooltip-arrow" }, arrowProps)), - React__default['default'].createElement("div", { className: "tooltip-inner" }, content))); -}); -CTooltipContent.propTypes = { - arrowProps: PropTypes.any, - content: PropTypes.node, - placementClassNamePostfix: PropTypes.string, - style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), - transitionClass: PropTypes.string, -}; -CTooltipContent.displayName = 'CTooltipContent'; - -var CTooltip = function (_a) { - var children = _a.children, _b = _a.placement, placement = _b === void 0 ? 'top' : _b, _c = _a.trigger, trigger = _c === void 0 ? 'hover' : _c, visible = _a.visible, rest = __rest(_a, ["children", "placement", "trigger", "visible"]); - var _d = React.useState(visible), _visible = _d[0], setVisible = _d[1]; - var getTransitionClass = function (state) { - return state === 'entering' - ? 'fade' - : state === 'entered' - ? 'fade show' - : state === 'exiting' - ? 'fade' - : 'fade'; - }; - return (React__default['default'].createElement(Manager, null, - React__default['default'].createElement(Reference, null, function (_a) { - var ref = _a.ref; - return React__default['default'].cloneElement(children, __assign(__assign(__assign({ ref: ref }, ((trigger === 'click' || trigger.includes('click')) && { - onClick: function () { return setVisible(!_visible); }, - })), ((trigger === 'focus' || trigger.includes('focus')) && { - onFocus: function () { return setVisible(true); }, - onBlur: function () { return setVisible(false); }, - })), ((trigger === 'hover' || trigger.includes('hover')) && { - onMouseEnter: function () { return setVisible(true); }, - onMouseLeave: function () { return setVisible(false); }, - }))); - }), - typeof window !== 'undefined' && - ReactDOM.createPortal(React__default['default'].createElement(CSSTransition, { in: _visible, timeout: { - enter: 0, - exit: 200, - }, mountOnEnter: true, unmountOnExit: true }, function (state) { - var transitionClass = getTransitionClass(state); - return (React__default['default'].createElement(Popper, { placement: placement }, function (p) { return (React__default['default'].createElement(CTooltipContent, __assign({ transitionClass: transitionClass, placementClassNamePostfix: placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement }, rest, p))); })); - }), document.body))); -}; -CTooltip.propTypes = { - children: PropTypes.any, - placement: PropTypes.oneOf(['top', 'right', 'bottom', 'left']), - trigger: triggerPropType, - visible: PropTypes.bool, -}; -CTooltip.displayName = 'CTooltip'; - -var CWidgetBrand = React.forwardRef(function (_a, ref) { - var _b; - var className = _a.className, color = _a.color, headerChildren = _a.headerChildren, values = _a.values, rest = __rest(_a, ["className", "color", "headerChildren", "values"]); - var _className = classNames(className); - var classNameHeader = classNames('position-relative d-flex justify-content-center align-items-center', (_b = {}, - _b["bg-" + color] = color, - _b)); - var generatedItems = React.useMemo(function () { - return (values && - // eslint-disable-next-line @typescript-eslint/no-explicit-any - values.map(function (value, index) { - return (React__default['default'].createElement(React__default['default'].Fragment, { key: index }, - index % 2 !== 0 && React__default['default'].createElement("div", { className: "vr" }), - React__default['default'].createElement(CCol, null, - React__default['default'].createElement("div", { className: "fs-5 fw-semibold" }, value[0]), - React__default['default'].createElement("div", { className: "text-uppercase text-medium-emphasis small" }, value[1])))); - })); - }, [JSON.stringify(values)]); - return (React__default['default'].createElement(CCard, __assign({ className: _className }, rest, { ref: ref }), - React__default['default'].createElement(CCardHeader, { className: classNameHeader }, headerChildren), - React__default['default'].createElement(CCardBody, { className: "row text-center" }, generatedItems))); -}); -CWidgetBrand.propTypes = { - className: PropTypes.string, - color: colorPropType, - headerChildren: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - values: PropTypes.arrayOf(PropTypes.any), -}; -CWidgetBrand.displayName = 'CWidgetBrand'; - -var CWidgetDropdown = React.forwardRef(function (_a, ref) { - var _b; - var action = _a.action, change = _a.change, chart = _a.chart, className = _a.className, color = _a.color, title = _a.title, value = _a.value, rest = __rest(_a, ["action", "change", "chart", "className", "color", "title", "value"]); - var _className = classNames((_b = {}, _b["bg-" + color] = color, _b['text-high-emphasis-inverse'] = color, _b), className); - return (React__default['default'].createElement(CCard, __assign({ className: _className }, rest, { ref: ref }), - React__default['default'].createElement(CCardBody, { className: "pb-0 d-flex justify-content-between align-items-start" }, - React__default['default'].createElement("div", null, - value && (React__default['default'].createElement("div", { className: "fs-4 fw-semibold" }, - value, - " ", - change && React__default['default'].createElement("span", { className: "fs-6 fw-normal" }, change))), - title && React__default['default'].createElement("div", null, title)), - action), - chart)); -}); -CWidgetDropdown.propTypes = { - action: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - change: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - className: PropTypes.string, - color: colorPropType, - title: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}; -CWidgetDropdown.displayName = 'CWidgetDropdown'; - -var CWidgetIcon = React.forwardRef(function (_a, ref) { - var className = _a.className, color = _a.color, footer = _a.footer, icon = _a.icon, _b = _a.iconPadding, iconPadding = _b === void 0 ? 3 : _b, _c = _a.padding, padding = _c === void 0 ? 3 : _c, title = _a.title, value = _a.value, rest = __rest(_a, ["className", "color", "footer", "icon", "iconPadding", "padding", "title", "value"]); - var _className = classNames(className); - return (React__default['default'].createElement(CCard, __assign({ className: _className }, rest, { ref: ref }), - React__default['default'].createElement(CCardBody, { className: "d-flex align-items-center p-" + padding }, - React__default['default'].createElement("div", { className: "me-3 text-white bg-" + color + " p-" + iconPadding }, icon), - React__default['default'].createElement("div", null, - React__default['default'].createElement("div", { className: "fs-6 fw-semibold text-" + color }, value), - React__default['default'].createElement("div", { className: "text-medium-emphasis text-uppercase fw-semibold small" }, title))), - footer && React__default['default'].createElement(CCardFooter, null, footer))); -}); -CWidgetIcon.propTypes = { - className: PropTypes.string, - color: colorPropType, - footer: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - iconPadding: PropTypes.number, - padding: PropTypes.number, - title: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}; -CWidgetIcon.displayName = 'CWidgetIcon'; - -var CWidgetProgress = React.forwardRef(function (_a, ref) { - var className = _a.className, color = _a.color, progressColor = _a.progressColor, progressValue = _a.progressValue, progressWhite = _a.progressWhite, text = _a.text, textColor = _a.textColor, title = _a.title, value = _a.value, rest = __rest(_a, ["className", "color", "progressColor", "progressValue", "progressWhite", "text", "textColor", "title", "value"]); - return (React__default['default'].createElement(CCard, __assign({ className: className, color: color, textColor: textColor }, rest, { ref: ref }), - React__default['default'].createElement(CCardBody, null, - value && React__default['default'].createElement("div", { className: "fs-4 fw-semibold" }, value), - title && React__default['default'].createElement("div", null, title), - React__default['default'].createElement(CProgress, { className: "my-2", color: progressColor, height: 4, value: progressValue, white: progressWhite }), - text && (React__default['default'].createElement("small", { className: textColor === 'white' ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis' }, text))))); -}); -CWidgetProgress.propTypes = { - className: PropTypes.string, - color: colorPropType, - progressColor: PropTypes.string, - progressValue: PropTypes.number, - progressWhite: PropTypes.bool, - text: PropTypes.string, - textColor: PropTypes.string, - title: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}; -CWidgetProgress.displayName = 'CWidgetCWidgetProgress'; - -var CWidgetProgressIcon = React.forwardRef(function (_a, ref) { - var className = _a.className, color = _a.color, icon = _a.icon, progressColor = _a.progressColor, progressValue = _a.progressValue, progressWhite = _a.progressWhite, textColor = _a.textColor, title = _a.title, value = _a.value, rest = __rest(_a, ["className", "color", "icon", "progressColor", "progressValue", "progressWhite", "textColor", "title", "value"]); - return (React__default['default'].createElement(CCard, __assign({ className: className, color: color, textColor: textColor }, rest, { ref: ref }), - React__default['default'].createElement(CCardBody, null, - icon && (React__default['default'].createElement("div", { className: "text-medium-emphasis" + (color ? '-inverse' : '') + " text-end mb-4" }, icon)), - value && (React__default['default'].createElement("div", { className: "text-high-emphasis" + (color ? '-inverse' : '') + " fs-4 fw-semibold" }, value)), - title && (React__default['default'].createElement("div", { className: "text-medium-emphasis" + (color ? '-inverse' : '') + " text-uppercase fw-semibold small" }, title)), - React__default['default'].createElement(CProgress, { className: "mt-3 mb-0", color: progressColor, height: 4, value: progressValue, white: progressWhite })))); -}); -CWidgetProgressIcon.propTypes = { - className: PropTypes.string, - color: colorPropType, - icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), - progressColor: PropTypes.string, - progressValue: PropTypes.number, - progressWhite: PropTypes.bool, - textColor: PropTypes.string, - title: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}; -CWidgetProgressIcon.displayName = 'CWidgetCWidgetProgressIcon'; - -var CWidgetSimple = React.forwardRef(function (_a, ref) { - var children = _a.children, className = _a.className, title = _a.title, value = _a.value, rest = __rest(_a, ["children", "className", "title", "value"]); - var _className = classNames(className); - return (React__default['default'].createElement(CCard, __assign({ className: _className }, rest, { ref: ref }), - React__default['default'].createElement(CCardBody, { className: "text-center" }, - title && (React__default['default'].createElement("div", { className: "text-medium-emphasis small text-uppercase fw-semibold" }, title)), - value && React__default['default'].createElement("div", { className: "fs-6 fw-semibold py-3" }, value), - children))); -}); -CWidgetSimple.propTypes = { - children: PropTypes.node, - className: PropTypes.string, - title: PropTypes.string, - value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), -}; -CWidgetSimple.displayName = 'CWidgetSimple'; - -exports.CAccordion = CAccordion; -exports.CAccordionBody = CAccordionBody; -exports.CAccordionButton = CAccordionButton; -exports.CAccordionCollapse = CAccordionCollapse; -exports.CAccordionHeader = CAccordionHeader; -exports.CAccordionItem = CAccordionItem; -exports.CAlert = CAlert; -exports.CAlertHeading = CAlertHeading; -exports.CAlertLink = CAlertLink; -exports.CAvatar = CAvatar; -exports.CBackdrop = CBackdrop; -exports.CBadge = CBadge; -exports.CBreadcrumb = CBreadcrumb; -exports.CBreadcrumbItem = CBreadcrumbItem; -exports.CButton = CButton; -exports.CButtonGroup = CButtonGroup; -exports.CButtonToolbar = CButtonToolbar; -exports.CCallout = CCallout; -exports.CCard = CCard; -exports.CCardBody = CCardBody; -exports.CCardFooter = CCardFooter; -exports.CCardGroup = CCardGroup; -exports.CCardHeader = CCardHeader; -exports.CCardImage = CCardImage; -exports.CCardImageOverlay = CCardImageOverlay; -exports.CCardLink = CCardLink; -exports.CCardSubtitle = CCardSubtitle; -exports.CCardText = CCardText; -exports.CCardTitle = CCardTitle; -exports.CCarousel = CCarousel; -exports.CCarouselCaption = CCarouselCaption; -exports.CCarouselControl = CCarouselControl; -exports.CCarouselIndicators = CCarouselIndicators; -exports.CCarouselInner = CCarouselInner; -exports.CCarouselItem = CCarouselItem; -exports.CCloseButton = CCloseButton; -exports.CCol = CCol; -exports.CCollapse = CCollapse; -exports.CContainer = CContainer; -exports.CCreateNavItem = CCreateNavItem; -exports.CDropdown = CDropdown; -exports.CDropdownDivider = CDropdownDivider; -exports.CDropdownHeader = CDropdownHeader; -exports.CDropdownItem = CDropdownItem; -exports.CDropdownItemPlain = CDropdownItemPlain; -exports.CDropdownMenu = CDropdownMenu; -exports.CDropdownToggle = CDropdownToggle; -exports.CFooter = CFooter; -exports.CForm = CForm; -exports.CFormCheck = CFormCheck; -exports.CFormControl = CFormControl; -exports.CFormFeedback = CFormFeedback; -exports.CFormFloating = CFormFloating; -exports.CFormLabel = CFormLabel; -exports.CFormRange = CFormRange; -exports.CFormSelect = CFormSelect; -exports.CFormText = CFormText; -exports.CHeader = CHeader; -exports.CHeaderBrand = CHeaderBrand; -exports.CHeaderDivider = CHeaderDivider; -exports.CHeaderNav = CHeaderNav; -exports.CHeaderText = CHeaderText; -exports.CHeaderToggler = CHeaderToggler; -exports.CImage = CImage; -exports.CInputGroup = CInputGroup; -exports.CInputGroupText = CInputGroupText; -exports.CLink = CLink; -exports.CListGroup = CListGroup; -exports.CListGroupItem = CListGroupItem; -exports.CModal = CModal; -exports.CModalBody = CModalBody; -exports.CModalContent = CModalContent; -exports.CModalDialog = CModalDialog; -exports.CModalFooter = CModalFooter; -exports.CModalHeader = CModalHeader; -exports.CModalTitle = CModalTitle; -exports.CNav = CNav; -exports.CNavGroup = CNavGroup; -exports.CNavGroupItems = CNavGroupItems; -exports.CNavItem = CNavItem; -exports.CNavLink = CNavLink; -exports.CNavTitle = CNavTitle; -exports.CNavbar = CNavbar; -exports.CNavbarBrand = CNavbarBrand; -exports.CNavbarNav = CNavbarNav; -exports.CNavbarText = CNavbarText; -exports.CNavbarToggler = CNavbarToggler; -exports.COffcanvas = COffcanvas; -exports.COffcanvasBody = COffcanvasBody; -exports.COffcanvasHeader = COffcanvasHeader; -exports.COffcanvasTitle = COffcanvasTitle; -exports.CPagination = CPagination; -exports.CPaginationItem = CPaginationItem; -exports.CPopover = CPopover; -exports.CPopoverContent = CPopoverContent; -exports.CProgress = CProgress; -exports.CProgressBar = CProgressBar; -exports.CRow = CRow; -exports.CSidebar = CSidebar; -exports.CSidebarBrand = CSidebarBrand; -exports.CSidebarFooter = CSidebarFooter; -exports.CSidebarHeader = CSidebarHeader; -exports.CSidebarNav = CSidebarNav; -exports.CSidebarToggler = CSidebarToggler; -exports.CSpinner = CSpinner; -exports.CTabContent = CTabContent; -exports.CTabPane = CTabPane; -exports.CTable = CTable; -exports.CTableBody = CTableBody; -exports.CTableCaption = CTableCaption; -exports.CTableDataCell = CTableDataCell; -exports.CTableFoot = CTableFoot; -exports.CTableHead = CTableHead; -exports.CTableHeaderCell = CTableHeaderCell; -exports.CTableRow = CTableRow; -exports.CToast = CToast; -exports.CToastBody = CToastBody; -exports.CToastClose = CToastClose; -exports.CToastHeader = CToastHeader; -exports.CToaster = CToaster; -exports.CTooltip = CTooltip; -exports.CTooltipContent = CTooltipContent; -exports.CWidgetBrand = CWidgetBrand; -exports.CWidgetDropdown = CWidgetDropdown; -exports.CWidgetIcon = CWidgetIcon; -exports.CWidgetProgress = CWidgetProgress; -exports.CWidgetProgressIcon = CWidgetProgressIcon; -exports.CWidgetSimple = CWidgetSimple; -//# sourceMappingURL=index.js.map diff --git a/dist/index.js.map b/dist/index.js.map deleted file mode 100644 index ddd50364..00000000 --- a/dist/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../node_modules/tslib/tslib.es6.js","../node_modules/react-is/cjs/react-is.production.min.js","../node_modules/react-is/cjs/react-is.development.js","../node_modules/react-is/index.js","../node_modules/object-assign/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/prop-types/checkPropTypes.js","../node_modules/prop-types/factoryWithTypeCheckers.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js","../node_modules/classnames/index.js","../src/components/accordion/CAccordion.tsx","../src/components/accordion/CAccordionBody.tsx","../src/components/accordion/CAccordionButton.tsx","../node_modules/@babel/runtime/helpers/esm/extends.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../node_modules/dom-helpers/esm/hasClass.js","../node_modules/dom-helpers/esm/addClass.js","../node_modules/dom-helpers/esm/removeClass.js","../node_modules/react-transition-group/esm/config.js","../node_modules/react-transition-group/esm/utils/PropTypes.js","../node_modules/react-transition-group/esm/TransitionGroupContext.js","../node_modules/react-transition-group/esm/Transition.js","../node_modules/react-transition-group/esm/CSSTransition.js","../src/utils/hooks/useForkedRef.ts","../src/components/collapse/CCollapse.tsx","../src/components/accordion/CAccordionCollapse.tsx","../src/components/accordion/CAccordionHeader.tsx","../src/components/accordion/CAccordionItem.tsx","../src/components/Types.tsx","../src/components/close-button/CCloseButton.tsx","../src/components/alert/CAlert.tsx","../src/components/alert/CAlertHeading.tsx","../src/components/link/CLink.tsx","../src/components/alert/CAlertLink.tsx","../src/components/avatar/CAvatar.tsx","../src/components/badge/CBadge.tsx","../src/components/backdrop/CBackdrop.tsx","../src/components/breadcrumb/CBreadcrumb.tsx","../src/components/breadcrumb/CBreadcrumbItem.tsx","../src/components/button/CButton.tsx","../src/components/button-group/CButtonGroup.tsx","../src/components/button-group/CButtonToolbar.tsx","../src/components/callout/CCallout.tsx","../src/components/card/CCard.tsx","../src/components/card/CCardBody.tsx","../src/components/card/CCardFooter.tsx","../src/components/card/CCardGroup.tsx","../src/components/card/CCardHeader.tsx","../src/components/card/CCardImage.tsx","../src/components/card/CCardImageOverlay.tsx","../src/components/card/CCardLink.tsx","../src/components/card/CCardSubtitle.tsx","../src/components/card/CCardText.tsx","../src/components/card/CCardTitle.tsx","../src/components/carousel/CCarouselControl.tsx","../src/components/carousel/CCarouselIndicators.tsx","../src/components/carousel/CCarouselInner.tsx","../src/components/carousel/CCarousel.tsx","../src/components/carousel/CCarouselCaption.tsx","../src/components/carousel/CCarouselItem.tsx","../node_modules/react-popper/lib/esm/Manager.js","../node_modules/react-popper/lib/esm/utils.js","../node_modules/@popperjs/core/lib/enums.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../node_modules/@popperjs/core/lib/dom-utils/contains.js","../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../node_modules/@popperjs/core/lib/utils/math.js","../node_modules/@popperjs/core/lib/utils/within.js","../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../node_modules/@popperjs/core/lib/modifiers/arrow.js","../node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../node_modules/@popperjs/core/lib/utils/getVariation.js","../node_modules/@popperjs/core/lib/utils/computeOffsets.js","../node_modules/@popperjs/core/lib/utils/detectOverflow.js","../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../node_modules/@popperjs/core/lib/modifiers/flip.js","../node_modules/@popperjs/core/lib/modifiers/hide.js","../node_modules/@popperjs/core/lib/modifiers/offset.js","../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../node_modules/@popperjs/core/lib/utils/getAltAxis.js","../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../node_modules/@popperjs/core/lib/utils/orderModifiers.js","../node_modules/@popperjs/core/lib/utils/debounce.js","../node_modules/@popperjs/core/lib/utils/format.js","../node_modules/@popperjs/core/lib/utils/validateModifiers.js","../node_modules/@popperjs/core/lib/utils/uniqueBy.js","../node_modules/@popperjs/core/lib/utils/mergeByName.js","../node_modules/@popperjs/core/lib/createPopper.js","../node_modules/@popperjs/core/lib/popper.js","../node_modules/react-fast-compare/index.js","../node_modules/react-popper/lib/esm/usePopper.js","../node_modules/react-popper/lib/esm/Popper.js","../node_modules/warning/warning.js","../node_modules/react-popper/lib/esm/Reference.js","../src/components/dropdown/CDropdown.tsx","../src/components/dropdown/CDropdownDivider.tsx","../src/components/dropdown/CDropdownHeader.tsx","../src/components/dropdown/CDropdownItem.tsx","../src/components/dropdown/CDropdownItemPlain.tsx","../src/components/dropdown/CDropdownMenu.tsx","../src/components/dropdown/CDropdownToggle.tsx","../src/components/grid/CCol.tsx","../src/components/grid/CContainer.tsx","../src/components/grid/CRow.tsx","../src/components/footer/CFooter.tsx","../src/components/form/CForm.tsx","../src/components/form/CFormControl.tsx","../src/components/form/CFormLabel.tsx","../src/components/form/CFormCheck.tsx","../src/components/form/CFormFeedback.tsx","../src/components/form/CFormFloating.tsx","../src/components/form/CFormRange.tsx","../src/components/form/CFormSelect.tsx","../src/components/form/CFormText.tsx","../src/components/form/CInputGroup.tsx","../src/components/form/CInputGroupText.tsx","../src/components/header/CHeader.tsx","../src/components/header/CHeaderBrand.tsx","../src/components/header/CHeaderDivider.tsx","../src/components/header/CHeaderNav.tsx","../src/components/header/CHeaderText.tsx","../src/components/header/CHeaderToggler.tsx","../src/components/image/CImage.tsx","../src/components/list-group/CListGroup.tsx","../src/components/list-group/CListGroupItem.tsx","../src/components/modal/CModalContent.tsx","../src/components/modal/CModalDialog.tsx","../src/components/modal/CModal.tsx","../src/components/modal/CModalBody.tsx","../src/components/modal/CModalFooter.tsx","../src/components/modal/CModalHeader.tsx","../src/components/modal/CModalTitle.tsx","../src/components/nav/CNav.tsx","../src/components/nav/CNavGroupItems.tsx","../src/components/sidebar/CSidebarNav.tsx","../src/components/nav/CNavGroup.tsx","../src/components/nav/CNavLink.tsx","../src/components/nav/CNavItem.tsx","../src/components/nav/CNavTitle.tsx","../src/components/navbar/CNavbar.tsx","../src/components/navbar/CNavbarBrand.tsx","../src/components/navbar/CNavbarNav.tsx","../src/components/navbar/CNavbarText.tsx","../src/components/navbar/CNavbarToggler.tsx","../src/components/pagination/CPagination.tsx","../src/components/pagination/CPaginationItem.tsx","../src/components/popover/CPopoverContent.tsx","../src/components/popover/CPopover.tsx","../src/components/progress/CProgressBar.tsx","../src/components/progress/CProgress.tsx","../src/components/sidebar/CSidebar.tsx","../src/components/offcanvas/COffcanvas.tsx","../src/components/offcanvas/COffcanvasBody.tsx","../src/components/offcanvas/COffcanvasHeader.tsx","../src/components/offcanvas/COffcanvasTitle.tsx","../src/components/sidebar/CSidebarBrand.tsx","../src/components/sidebar/CSidebarFooter.tsx","../src/components/sidebar/CSidebarToggler.tsx","../src/components/sidebar/CCreateNavItem.tsx","../src/components/sidebar/CSidebarHeader.tsx","../src/components/spinner/CSpinner.tsx","../src/components/table/CTable.tsx","../src/components/table/CTableBody.tsx","../src/components/table/CTableCaption.tsx","../src/components/table/CTableDataCell.tsx","../src/components/table/CTableFoot.tsx","../src/components/table/CTableHead.tsx","../src/components/table/CTableHeaderCell.tsx","../src/components/table/CTableRow.tsx","../src/components/tabs/CTabContent.tsx","../src/components/tabs/CTabPane.tsx","../src/components/toast/CToast.tsx","../src/components/toast/CToastBody.tsx","../src/components/toast/CToastClose.tsx","../src/components/toast/CToastHeader.tsx","../src/components/toast/CToaster.tsx","../src/components/tooltip/CTooltipContent.tsx","../src/components/tooltip/CTooltip.tsx","../src/components/widgets/CWidgetBrand.tsx","../src/components/widgets/CWidgetDropdown.tsx","../src/components/widgets/CWidgetIcon.tsx","../src/components/widgets/CWidgetProgress.tsx","../src/components/widgets/CWidgetProgressIcon.tsx","../src/components/widgets/CWidgetSimple.tsx"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from) {\r\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n to[j] = from[i];\r\n return to;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\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\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\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\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-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\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-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\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = Function.call.bind(Object.prototype.hasOwnProperty);\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-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\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar has = Function.call.bind(Object.prototype.hasOwnProperty);\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-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\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-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\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Removes the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container. [docs]\n */\n flush?: boolean\n}\n\nexport const CAccordion = forwardRef(\n ({ children, className, flush, ...rest }, ref) => {\n const _className = classNames('accordion', { 'accordion-flush': flush }, className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCAccordion.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n flush: PropTypes.bool,\n}\n\nCAccordion.displayName = 'CAccordion'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CAccordionBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('accordion-body', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCAccordionBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAccordionBody.displayName = 'CAccordionBody'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionButtonProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Set button state to collapsed. [docs]\n */\n collapsed?: boolean\n}\n\nexport const CAccordionButton = forwardRef(\n ({ children, className, collapsed, ...rest }, ref) => {\n const _className = classNames('accordion-button', { collapsed: collapsed }, className)\n\n return (\n \n )\n },\n)\n\nCAccordionButton.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n collapsed: PropTypes.bool,\n}\n\nCAccordionButton.displayName = 'CAccordionButton'\n","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","/**\n * Checks if a given element has a CSS class.\n * \n * @param element the element\n * @param className the CSS class name\n */\nexport default function hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);\n return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}","import hasClass from './hasClass';\n/**\n * Adds a CSS class to a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\nexport default function addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + \" \" + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + \" \" + className);\n}","function replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp(\"(^|\\\\s)\" + classToRemove + \"(?:\\\\s|$)\", 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n/**\n * Removes a CSS class from a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\n\nexport default function removeClass(element, className) {\n if (element.classList) {\n element.classList.remove(className);\n } else if (typeof element.className === 'string') {\n element.className = replaceClassName(element.className, className);\n } else {\n element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n }\n}","export default {\n disabled: false\n};","import PropTypes from 'prop-types';\nexport var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n enter: PropTypes.number,\n exit: PropTypes.number,\n appear: PropTypes.number\n}).isRequired]) : null;\nexport var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string,\n active: PropTypes.string\n}), PropTypes.shape({\n enter: PropTypes.string,\n enterDone: PropTypes.string,\n enterActive: PropTypes.string,\n exit: PropTypes.string,\n exitDone: PropTypes.string,\n exitActive: PropTypes.string\n})]) : null;","import React from 'react';\nexport default React.createContext(null);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * \n * {state => (\n *
    \n * I'm a fade Transition!\n *
    \n * )}\n *
    \n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
    \n * \n * {state => (\n * // ...\n * )}\n * \n * \n *
    \n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * \n * {state => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport addOneClass from 'dom-helpers/addClass';\nimport removeOneClass from 'dom-helpers/removeClass';\nimport React from 'react';\nimport Transition from './Transition';\nimport { classNamesShape } from './utils/PropTypes';\n\nvar _addClass = function addClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return addOneClass(node, c);\n });\n};\n\nvar removeClass = function removeClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return removeOneClass(node, c);\n });\n};\n/**\n * A transition component inspired by the excellent\n * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should\n * use it if you're using CSS transitions or animations. It's built upon the\n * [`Transition`](https://reactcommunity.org/react-transition-group/transition)\n * component, so it inherits all of its props.\n *\n * `CSSTransition` applies a pair of class names during the `appear`, `enter`,\n * and `exit` states of the transition. The first class is applied and then a\n * second `*-active` class in order to activate the CSS transition. After the\n * transition, matching `*-done` class names are applied to persist the\n * transition state.\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
    \n * \n *
    \n * {\"I'll receive my-node-* classes\"}\n *
    \n *
    \n * \n *
    \n * );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n * opacity: 0;\n * }\n * .my-node-enter-active {\n * opacity: 1;\n * transition: opacity 200ms;\n * }\n * .my-node-exit {\n * opacity: 1;\n * }\n * .my-node-exit-active {\n * opacity: 0;\n * transition: opacity 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**, so it's\n * important to add `transition` declaration only to them, otherwise transitions\n * might not behave as intended! This might not be obvious when the transitions\n * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in\n * the example above (minus `transition`), but it becomes apparent in more\n * complex transitions.\n *\n * **Note**: If you're using the\n * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)\n * prop, make sure to define styles for `.appear-*` classes as well.\n */\n\n\nvar CSSTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(CSSTransition, _React$Component);\n\n function CSSTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.appliedClasses = {\n appear: {},\n enter: {},\n exit: {}\n };\n\n _this.onEnter = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument[0],\n appearing = _this$resolveArgument[1];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, appearing ? 'appear' : 'enter', 'base');\n\n if (_this.props.onEnter) {\n _this.props.onEnter(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntering = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument2[0],\n appearing = _this$resolveArgument2[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.addClass(node, type, 'active');\n\n if (_this.props.onEntering) {\n _this.props.onEntering(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntered = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument3[0],\n appearing = _this$resolveArgument3[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.removeClasses(node, type);\n\n _this.addClass(node, type, 'done');\n\n if (_this.props.onEntered) {\n _this.props.onEntered(maybeNode, maybeAppearing);\n }\n };\n\n _this.onExit = function (maybeNode) {\n var _this$resolveArgument4 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument4[0];\n\n _this.removeClasses(node, 'appear');\n\n _this.removeClasses(node, 'enter');\n\n _this.addClass(node, 'exit', 'base');\n\n if (_this.props.onExit) {\n _this.props.onExit(maybeNode);\n }\n };\n\n _this.onExiting = function (maybeNode) {\n var _this$resolveArgument5 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument5[0];\n\n _this.addClass(node, 'exit', 'active');\n\n if (_this.props.onExiting) {\n _this.props.onExiting(maybeNode);\n }\n };\n\n _this.onExited = function (maybeNode) {\n var _this$resolveArgument6 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument6[0];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, 'exit', 'done');\n\n if (_this.props.onExited) {\n _this.props.onExited(maybeNode);\n }\n };\n\n _this.resolveArguments = function (maybeNode, maybeAppearing) {\n return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`\n : [maybeNode, maybeAppearing];\n };\n\n _this.getClassNames = function (type) {\n var classNames = _this.props.classNames;\n var isStringClassNames = typeof classNames === 'string';\n var prefix = isStringClassNames && classNames ? classNames + \"-\" : '';\n var baseClassName = isStringClassNames ? \"\" + prefix + type : classNames[type];\n var activeClassName = isStringClassNames ? baseClassName + \"-active\" : classNames[type + \"Active\"];\n var doneClassName = isStringClassNames ? baseClassName + \"-done\" : classNames[type + \"Done\"];\n return {\n baseClassName: baseClassName,\n activeClassName: activeClassName,\n doneClassName: doneClassName\n };\n };\n\n return _this;\n }\n\n var _proto = CSSTransition.prototype;\n\n _proto.addClass = function addClass(node, type, phase) {\n var className = this.getClassNames(type)[phase + \"ClassName\"];\n\n var _this$getClassNames = this.getClassNames('enter'),\n doneClassName = _this$getClassNames.doneClassName;\n\n if (type === 'appear' && phase === 'done' && doneClassName) {\n className += \" \" + doneClassName;\n } // This is to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n\n\n if (phase === 'active') {\n /* eslint-disable no-unused-expressions */\n node && node.scrollTop;\n }\n\n if (className) {\n this.appliedClasses[type][phase] = className;\n\n _addClass(node, className);\n }\n };\n\n _proto.removeClasses = function removeClasses(node, type) {\n var _this$appliedClasses$ = this.appliedClasses[type],\n baseClassName = _this$appliedClasses$.base,\n activeClassName = _this$appliedClasses$.active,\n doneClassName = _this$appliedClasses$.done;\n this.appliedClasses[type] = {};\n\n if (baseClassName) {\n removeClass(node, baseClassName);\n }\n\n if (activeClassName) {\n removeClass(node, activeClassName);\n }\n\n if (doneClassName) {\n removeClass(node, doneClassName);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n _ = _this$props.classNames,\n props = _objectWithoutPropertiesLoose(_this$props, [\"classNames\"]);\n\n return /*#__PURE__*/React.createElement(Transition, _extends({}, props, {\n onEnter: this.onEnter,\n onEntered: this.onEntered,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }));\n };\n\n return CSSTransition;\n}(React.Component);\n\nCSSTransition.defaultProps = {\n classNames: ''\n};\nCSSTransition.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({}, Transition.propTypes, {\n /**\n * The animation classNames applied to the component as it appears, enters,\n * exits or has finished the transition. A single name can be provided, which\n * will be suffixed for each stage, e.g. `classNames=\"fade\"` applies:\n *\n * - `fade-appear`, `fade-appear-active`, `fade-appear-done`\n * - `fade-enter`, `fade-enter-active`, `fade-enter-done`\n * - `fade-exit`, `fade-exit-active`, `fade-exit-done`\n *\n * A few details to note about how these classes are applied:\n *\n * 1. They are _joined_ with the ones that are already defined on the child\n * component, so if you want to add some base styles, you can use\n * `className` without worrying that it will be overridden.\n *\n * 2. If the transition component mounts with `in={false}`, no classes are\n * applied yet. You might be expecting `*-exit-done`, but if you think\n * about it, a component cannot finish exiting if it hasn't entered yet.\n *\n * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This\n * allows you to define different behavior for when appearing is done and\n * when regular entering is done, using selectors like\n * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply\n * an epic entrance animation when element first appears in the DOM using\n * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can\n * simply use `fade-enter-done` for defining both cases.\n *\n * Each individual classNames can also be specified independently like:\n *\n * ```js\n * classNames={{\n * appear: 'my-appear',\n * appearActive: 'my-active-appear',\n * appearDone: 'my-done-appear',\n * enter: 'my-enter',\n * enterActive: 'my-active-enter',\n * enterDone: 'my-done-enter',\n * exit: 'my-exit',\n * exitActive: 'my-active-exit',\n * exitDone: 'my-done-exit',\n * }}\n * ```\n *\n * If you want to set these classes using CSS Modules:\n *\n * ```js\n * import styles from './styles.css';\n * ```\n *\n * you might want to use camelCase in your CSS file, that way could simply\n * spread them instead of listing them one by one:\n *\n * ```js\n * classNames={{ ...styles }}\n * ```\n *\n * @type {string | {\n * appear?: string,\n * appearActive?: string,\n * appearDone?: string,\n * enter?: string,\n * enterActive?: string,\n * enterDone?: string,\n * exit?: string,\n * exitActive?: string,\n * exitDone?: string,\n * }}\n */\n classNames: classNamesShape,\n\n /**\n * A `` callback fired immediately after the 'enter' or 'appear' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEnter: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'enter-active' or\n * 'appear-active' class is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'enter' or\n * 'appear' classes are **removed** and the `done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntered: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExit: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit-active' is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExiting: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit' classes\n * are **removed** and the `exit-done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExited: PropTypes.func\n}) : {};\nexport default CSSTransition;","// code borrowed from https://github.com/reach/reach-ui\n// problem described https://github.com/facebook/react/issues/13029\n\nimport { useMemo } from 'react'\n\nexport type AssignableRef =\n | {\n bivarianceHack(instance: ValueType | null): void\n }['bivarianceHack']\n | React.MutableRefObject\n\nexport function useForkedRef(\n ...refs: (AssignableRef | null | undefined)[]\n) {\n return useMemo(() => {\n if (refs.every((ref) => ref == null)) {\n return null\n }\n return (node: any) => {\n refs.forEach((ref) => {\n assignRef(ref, node)\n })\n }\n }, refs)\n}\n\nexport function assignRef(\n ref: AssignableRef | null | undefined,\n value: any,\n) {\n if (ref == null) return\n if (isFunction(ref)) {\n ref(value)\n } else {\n try {\n ref.current = value\n } catch (error) {\n throw new Error(`Cannot assign value \"${value}\" to ref \"${ref}\"`)\n }\n }\n}\n\nexport function isFunction(value: any): value is Function {\n return !!(value && {}.toString.call(value) == '[object Function]')\n}\n","import React, { forwardRef, HTMLAttributes, useRef, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CSSTransition } from 'react-transition-group'\n\nimport { useForkedRef } from '../../utils/hooks'\n\nexport interface CCollapseProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Toggle the visibility of component. [docs]\n */\n visible?: boolean\n}\n\nexport const CCollapse = forwardRef(\n ({ children, className, visible, ...rest }, ref) => {\n const [height, setHeight] = useState()\n const collapseRef = useRef(null)\n const forkedRef = useForkedRef(ref, collapseRef)\n\n const getTransitionClass = (state: string) => {\n return state === 'entering'\n ? 'collapsing'\n : state === 'entered'\n ? 'collapse show'\n : state === 'exiting'\n ? 'collapsing'\n : 'collapse'\n }\n\n const onEntering = () => {\n collapseRef && collapseRef.current && setHeight(collapseRef.current.scrollHeight)\n }\n\n const onEntered = () => {\n setHeight(0)\n }\n\n const onExit = () => {\n collapseRef && collapseRef.current && setHeight(collapseRef.current.scrollHeight)\n }\n\n const onExiting = () => {\n setHeight(0)\n }\n\n const onExited = () => {\n setHeight(0)\n }\n\n const _className = classNames(className)\n\n return (\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n const currentHeight = height === 0 ? null : { height }\n return (\n \n {children}\n \n )\n }}\n
    \n )\n },\n)\n\nCCollapse.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n visible: PropTypes.bool,\n}\n\nCCollapse.displayName = 'CCollapse'\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport { CCollapse, CCollapseProps } from '../collapse/CCollapse'\n\nexport const CAccordionCollapse = forwardRef(\n ({ children, ...props }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCAccordionCollapse.propTypes = {\n children: PropTypes.node,\n}\n\nCAccordionCollapse.displayName = 'CAccordionCollapse'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CAccordionHeader = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('accordion-header', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCAccordionHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAccordionHeader.displayName = 'CAccordionHeader'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionItemProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CAccordionItem = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('accordion-item', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCAccordionItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAccordionItem.displayName = 'CAccordionItem'\n","import PropTypes from 'prop-types'\n\nexport type Breakpoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n\nexport type Colors =\n | 'primary'\n | 'secondary'\n | 'success'\n | 'danger'\n | 'warning'\n | 'info'\n | 'dark'\n | 'light'\n | string\n\nexport const colorPropType = PropTypes.oneOfType([\n PropTypes.oneOf([\n 'primary',\n 'secondary',\n 'success',\n 'danger',\n 'warning',\n 'info',\n 'dark',\n 'light',\n ]),\n PropTypes.string,\n])\n\nexport type Placements =\n | 'auto'\n | 'auto-start'\n | 'auto-end'\n | 'top-end'\n | 'top'\n | 'top-start'\n | 'bottom-end'\n | 'bottom'\n | 'bottom-start'\n | 'right-start'\n | 'right'\n | 'right-end'\n | 'left-start'\n | 'left'\n | 'left-end'\n | undefined\n\nexport const placementPropType = PropTypes.oneOf([\n 'auto',\n 'auto-start',\n 'auto-end',\n 'top-end',\n 'top',\n 'top-start',\n 'bottom-end',\n 'bottom',\n 'bottom-start',\n 'right-start',\n 'right',\n 'right-end',\n 'left-start',\n 'left',\n 'left-end',\n])\n\nexport type Shapes =\n | 'rounded'\n | 'rounded-top'\n | 'rounded-end'\n | 'rounded-bottom'\n | 'rounded-start'\n | 'rounded-circle'\n | 'rounded-pill'\n | 'rounded-0'\n | 'rounded-1'\n | 'rounded-2'\n | 'rounded-3'\n | string\n\nexport const shapePropType = PropTypes.oneOfType([\n PropTypes.oneOf([\n 'rounded',\n 'rounded-top',\n 'rounded-end',\n 'rounded-bottom',\n 'rounded-start',\n 'rounded-circle',\n 'rounded-pill',\n 'rounded-0',\n 'rounded-1',\n 'rounded-2',\n 'rounded-3',\n ]),\n PropTypes.string,\n])\n\nexport type Triggers = 'hover' | 'focus' | 'click'\n\nexport const triggerPropType = PropTypes.oneOf(['hover', 'focus', 'click'])\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CCloseButtonProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n /**\n * Change the default color to white. [docs]\n */\n white?: boolean\n}\n\nexport const CCloseButton = forwardRef(\n ({ className, disabled, white, ...rest }, ref) => {\n const _className = classNames(\n 'btn',\n 'btn-close',\n {\n 'btn-close-white': white,\n },\n disabled,\n className,\n )\n return (\n \n )\n },\n)\n\nCCarouselControl.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n direction: PropTypes.oneOf(['prev', 'next']).isRequired,\n}\n\nCCarouselControl.displayName = 'CCarouselControl'\n","import React, { forwardRef, HTMLAttributes, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CCarouselContext } from './CCarousel'\n\nexport interface CCarouselIndicatorsProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Indicators section user classes. [docs]\n */\n indicatorsClass?: string\n}\n\nexport const CCarouselIndicators = forwardRef(\n ({ className, indicatorsClass = 'carousel-indicators' }, ref) => {\n const { itemsNumber, state, setState, animating } = useContext(CCarouselContext)\n\n const listClasses = classNames(indicatorsClass, className)\n\n const indicators = Array.from({ length: itemsNumber }, (_, i) => i).map((key) => {\n return (\n {\n !animating && key !== state[1] && setState([state[1], key])\n }}\n className={state[1] === key ? 'active' : ''}\n data-coreui-target=\"\"\n />\n )\n })\n\n return (\n
      \n {indicators}\n
    \n )\n },\n)\n\nCCarouselIndicators.propTypes = {\n className: PropTypes.string,\n indicatorsClass: PropTypes.string,\n}\n\nCCarouselIndicators.displayName = 'CCarouselIndicators'\n","import React, { Children, forwardRef, HTMLAttributes, useContext, useEffect } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CCarouselContext } from './CCarousel'\n\nexport interface CCarouselInnerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CCarouselInner = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const { setItemsNumber } = useContext(CCarouselContext)\n const _className = classNames('carousel-inner', className)\n\n useEffect(() => {\n setItemsNumber(Children.toArray(children).length)\n })\n\n return (\n
    \n {Children.map(children, (child, index) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child, { key: index, idx: index })\n }\n return\n })}\n
    \n )\n },\n)\n\nCCarouselInner.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCCarouselInner.displayName = 'CCarouselInner'\n","import React, {\n createContext,\n forwardRef,\n HTMLAttributes,\n useState,\n useEffect,\n useRef,\n} from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CCarouselControl } from './CCarouselControl'\nimport { CCarouselIndicators } from './CCarouselIndicators'\nimport { CCarouselInner } from './CCarouselInner'\n\nexport interface CCarouselProps extends HTMLAttributes {\n /**\n * Set 'animate' variable for created context. [docs]\n */\n animate?: boolean\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Adding in the previous and next controls. [docs]\n */\n controls?: boolean\n /**\n * Add darker controls, indicators, and captions. [docs]\n */\n dark?: boolean\n /**\n * The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle. [docs]\n */\n interval?: boolean | number\n /**\n * index of the active item. [docs]\n */\n index?: number\n /**\n * Adding indicators at the bottom of the carousel for each item. [docs]\n */\n indicators?: boolean\n /**\n * On slide change callback. [docs]\n */\n onSlideChange?: (a: number | string | null) => void\n /**\n * On slide change callback. [docs]\n *\n * @type {'slide' | 'crossfade'}\n * @default 'slide'\n */\n transition?: 'slide' | 'crossfade'\n}\n\ninterface DataType {\n timeout?: null | ReturnType\n}\n\nexport interface ContextProps {\n itemsNumber: number\n state: [number | null, number, string?]\n animating: boolean\n animate?: boolean\n setItemsNumber: (a: number) => void\n setAnimating: (a: boolean) => void\n setState: (a: [number | null, number, string?]) => void\n}\n\nexport const CCarouselContext = createContext({} as ContextProps)\n\nexport const CCarousel = forwardRef(\n (\n {\n children,\n animate = true,\n className,\n controls,\n dark,\n index = 0,\n indicators,\n interval = 5000,\n onSlideChange,\n transition,\n ...rest\n },\n ref,\n ) => {\n const [state, setState] = useState<[number | null, number, string?]>([null, index])\n const [itemsNumber, setItemsNumber] = useState(0)\n const [animating, setAnimating] = useState(false)\n\n const data = useRef({}).current\n\n const cycle = () => {\n pause()\n if (typeof interval === 'number') {\n data.timeout = setTimeout(() => nextItem(), interval)\n }\n }\n const pause = () => data.timeout && clearTimeout(data.timeout)\n const nextItem = () => {\n if (typeof state[1] === 'number')\n setState([state[1], itemsNumber === state[1] + 1 ? 0 : state[1] + 1, 'next'])\n }\n\n useEffect(() => {\n setState([state[1], index])\n }, [index])\n\n useEffect(() => {\n onSlideChange && onSlideChange(state[1])\n cycle()\n return () => {\n pause()\n }\n }, [state])\n\n const _className = classNames(\n 'carousel slide',\n transition === 'crossfade' && 'carousel-fade',\n dark && 'carousel-dark',\n className,\n )\n\n return (\n
    \n \n {indicators && }\n {children}\n {controls && (\n <>\n \n \n \n )}\n \n
    \n )\n },\n)\n\nCCarousel.propTypes = {\n animate: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n controls: PropTypes.bool,\n dark: PropTypes.bool,\n index: PropTypes.number,\n indicators: PropTypes.bool,\n interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),\n onSlideChange: PropTypes.func,\n transition: PropTypes.oneOf(['slide', 'crossfade']),\n}\n\nCCarousel.displayName = 'CCarousel'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CCarouselCaptionProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CCarouselCaption = forwardRef(\n ({ className, ...rest }, ref) => {\n const _className = classNames('carousel-caption', className)\n\n return
    \n },\n)\n\nCCarouselCaption.propTypes = {\n className: PropTypes.string,\n}\n\nCCarouselCaption.displayName = 'CCarouselCaption'\n","import React, { forwardRef, HTMLAttributes, useContext, useState, useEffect } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CSSTransition } from 'react-transition-group'\n\nimport { CCarouselContext } from './CCarousel'\nexport interface CCarouselItemProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * @ignore\n */\n idx?: number\n}\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nconst getDirection = (state: object) => {\n if (state[2]) {\n return state[2] === 'next' ? 'right' : 'left'\n } else {\n return state[1] > state[0] ? 'right' : 'left'\n }\n}\n\nexport const CCarouselItem = forwardRef(\n ({ children, className, idx, ...rest }, ref) => {\n const { animate, state, animating, setAnimating } = useContext(CCarouselContext)\n\n const [isIn, setIsIn] = useState(false)\n\n const onEnter = () => {\n setAnimating(false)\n }\n const onEntering = () => {\n setAnimating(true)\n }\n const onExit = () => {\n setAnimating(false)\n }\n const onExiting = () => {\n setAnimating(true)\n }\n const onExited = () => {\n setAnimating(false)\n }\n\n useEffect(() => {\n setIsIn(state[1] === idx)\n }, [state])\n\n if (!animate || state[0] === null) {\n const itemClasses = classNames('carousel-item', isIn && 'active', className)\n return (\n
    \n {children}\n
    \n )\n }\n\n return (\n \n {(status) => {\n const direction = getDirection(state)\n const isActive = status === 'entered' || status === 'exiting'\n const directionClassName =\n (status === 'entering' || status === 'exiting') &&\n animating &&\n (direction === 'right' ? 'carousel-item-start' : 'carousel-item-end')\n\n const orderClassName =\n status === 'entering' &&\n (direction === 'right' ? 'carousel-item-next' : 'carousel-item-prev')\n\n const itemClasses = classNames(\n 'carousel-item',\n isActive && 'active',\n orderClassName,\n directionClassName,\n className,\n )\n\n return (\n
    \n {children}\n
    \n )\n }}\n \n )\n },\n)\n\nCCarouselItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n idx: PropTypes.number,\n}\n\nCCarouselItem.displayName = 'CCarouselItem'\n","import * as React from 'react';\nexport var ManagerReferenceNodeContext = React.createContext();\nexport var ManagerReferenceNodeSetterContext = React.createContext();\nexport function Manager(_ref) {\n var children = _ref.children;\n\n var _React$useState = React.useState(null),\n referenceNode = _React$useState[0],\n setReferenceNode = _React$useState[1];\n\n var hasUnmounted = React.useRef(false);\n React.useEffect(function () {\n return function () {\n hasUnmounted.current = true;\n };\n }, []);\n var handleSetReferenceNode = React.useCallback(function (node) {\n if (!hasUnmounted.current) {\n setReferenceNode(node);\n }\n }, []);\n return /*#__PURE__*/React.createElement(ManagerReferenceNodeContext.Provider, {\n value: referenceNode\n }, /*#__PURE__*/React.createElement(ManagerReferenceNodeSetterContext.Provider, {\n value: handleSetReferenceNode\n }, children));\n}","import * as React from 'react';\n\n/**\n * Takes an argument and if it's an array, returns the first item in the array,\n * otherwise returns the argument. Used for Preact compatibility.\n */\nexport var unwrapArray = function unwrapArray(arg) {\n return Array.isArray(arg) ? arg[0] : arg;\n};\n/**\n * Takes a maybe-undefined function and arbitrary args and invokes the function\n * only if it is defined.\n */\n\nexport var safeInvoke = function safeInvoke(fn) {\n if (typeof fn === 'function') {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return fn.apply(void 0, args);\n }\n};\n/**\n * Sets a ref using either a ref callback or a ref object\n */\n\nexport var setRef = function setRef(ref, node) {\n // if its a function call it\n if (typeof ref === 'function') {\n return safeInvoke(ref, node);\n } // otherwise we should treat it as a ref object\n else if (ref != null) {\n ref.current = node;\n }\n};\n/**\n * Simple ponyfill for Object.fromEntries\n */\n\nexport var fromEntries = function fromEntries(entries) {\n return entries.reduce(function (acc, _ref) {\n var key = _ref[0],\n value = _ref[1];\n acc[key] = value;\n return acc;\n }, {});\n};\n/**\n * Small wrapper around `useLayoutEffect` to get rid of the warning on SSR envs\n */\n\nexport var useIsomorphicLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? React.useLayoutEffect : React.useEffect;","export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","export default function getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}","export default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}","import getWindow from \"./getWindow.js\";\n\nfunction isElement(node) {\n var OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\nfunction isHTMLElement(node) {\n var OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n\n var OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n return placement.split('-')[0];\n}","export default function getBoundingClientRect(element) {\n var rect = element.getBoundingClientRect();\n return {\n width: rect.width,\n height: rect.height,\n top: rect.top,\n right: rect.right,\n bottom: rect.bottom,\n left: rect.left,\n x: rect.left,\n y: rect.top\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\"; // Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\n\nexport default function getLayoutRect(element) {\n var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) <= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) <= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: width,\n height: height\n };\n}","import { isShadowRoot } from \"./instanceOf.js\";\nexport default function contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","import { isElement } from \"./instanceOf.js\";\nexport default function getDocumentElement(element) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n element.document) || window.document).documentElement;\n}","import getNodeName from \"./getNodeName.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport { isShadowRoot } from \"./instanceOf.js\";\nexport default function getParentNode(element) {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || ( // DOM Element detected\n isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n\n );\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\";\nimport getParentNode from \"./getParentNode.js\";\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\n var isIE = navigator.userAgent.indexOf('Trident') !== -1;\n\n if (isIE && isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n var elementCss = getComputedStyle(element);\n\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n var currentNode = getParentNode(element);\n\n while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nexport default function getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}","export default function getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","export var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport default function within(min, value, max) {\n return mathMax(min, mathMin(value, max));\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport within from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (process.env.NODE_ENV !== \"production\") {\n if (!isHTMLElement(arrowElement)) {\n console.error(['Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper', 'element.'].join(' '));\n }\n\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","import { top, left, right, bottom } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref) {\n var x = _ref.x,\n y = _ref.y;\n var win = window;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(round(x * dpr) / dpr) || 0,\n y: round(round(y * dpr) / dpr) || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets;\n\n var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,\n _ref3$x = _ref3.x,\n x = _ref3$x === void 0 ? 0 : _ref3$x,\n _ref3$y = _ref3.y,\n y = _ref3$y === void 0 ? 0 : _ref3$y;\n\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top) {\n sideY = bottom; // $FlowFixMe[prop-missing]\n\n y -= offsetParent[heightProp] - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left) {\n sideX = right; // $FlowFixMe[prop-missing]\n\n x -= offsetParent[widthProp] - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref4) {\n var state = _ref4.state,\n options = _ref4.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n\n if (process.env.NODE_ENV !== \"production\") {\n var transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || '';\n\n if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {\n return transitionProperty.indexOf(property) >= 0;\n })) {\n console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".', '\\n\\n', 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\\n\\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));\n }\n }\n\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};","import getWindow from \"../dom-utils/getWindow.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = getWindow(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n var win = getWindow(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on \n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","import getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nexport default function getViewportRect(element) {\n var win = getWindow(element);\n var html = getDocumentElement(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper\n // can be obscured underneath it.\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\n // if it isn't open, so if this isn't available, the popper will be detected\n // to overflow the bottom of the screen too early.\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number <= 0, usually < -1 when pinch-zoomed\n // Feature detection fails in mobile emulation mode in Chrome.\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <\n // 0.001\n // Fallback here: \"Not Safari\" userAgent\n\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + getWindowScrollBarX(element),\n y: y\n };\n}","import getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nimport { max } from \"../utils/math.js\"; // Gets the entire size of the scrollable document area, even extending outside\n// of the `` and `` rect bounds if horizontally scrollable\n\nexport default function getDocumentRect(element) {\n var _element$ownerDocumen;\n\n var html = getDocumentElement(element);\n var winScroll = getWindowScroll(element);\n var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n var y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}","import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","import getParentNode from \"./getParentNode.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) && isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getWindow from \"./getWindow.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nexport default function listScrollParents(element, list) {\n var _element$ownerDocumen;\n\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = getScrollParent(element);\n var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n var win = getWindow(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}","export default function rectToClientRect(rect) {\n return Object.assign({}, rect, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport contains from \"./contains.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\nimport { max, min } from \"../utils/math.js\";\n\nfunction getInnerBoundingClientRect(element) {\n var rect = getBoundingClientRect(element);\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent) {\n return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = listScrollParents(getParentNode(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? getBasePlacement(placement) : null;\n var variation = placement ? getVariation(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n\n case end:\n offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}","import getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport default function detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n var altContext = elementContext === popper ? reference : popper;\n var referenceElement = state.elements.reference;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);\n var referenceClientRect = getBoundingClientRect(referenceElement);\n var popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === popper && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, \"auto\" cannot be used to allow \"bottom-start\".', 'Use \"auto-start\" instead.'].join(' '));\n }\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\";\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};","export default function getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport within from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\nimport { max as mathMax, min as mathMin } from \"../utils/math.js\";\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = detectOverflow(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = getBasePlacement(state.placement);\n var variation = getVariation(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = getMainAxisFromPlacement(basePlacement);\n var altAxis = getAltAxis(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n placement: state.placement\n })) : tetherOffset;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis || checkAltAxis) {\n var mainSide = mainAxis === 'y' ? top : left;\n var altSide = mainAxis === 'y' ? bottom : right;\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = popperOffsets[mainAxis] + overflow[mainSide];\n var max = popperOffsets[mainAxis] - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === start ? referenceRect[len] : popperRect[len];\n var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;\n var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;\n var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;\n\n if (checkMainAxis) {\n var preventedOffset = within(tether ? mathMin(min, tetherMin) : min, offset, tether ? mathMax(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var _preventedOffset = within(tether ? mathMin(_min, tetherMin) : _min, _offset, tether ? mathMax(_max, tetherMax) : _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n};","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport isScrollParent from \"./isScrollParent.js\"; // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(elementOrVirtualElement);\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nexport default function orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return modifierPhases.reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}","export default function debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}","export default function format(str) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return [].concat(args).reduce(function (p, c) {\n return p.replace(/%s/, c);\n }, str);\n}","import format from \"./format.js\";\nimport { modifierPhases } from \"../enums.js\";\nvar INVALID_MODIFIER_ERROR = 'Popper: modifier \"%s\" provided an invalid %s property, expected %s but got %s';\nvar MISSING_DEPENDENCY_ERROR = 'Popper: modifier \"%s\" requires \"%s\", but \"%s\" modifier is not available';\nvar VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];\nexport default function validateModifiers(modifiers) {\n modifiers.forEach(function (modifier) {\n Object.keys(modifier).forEach(function (key) {\n switch (key) {\n case 'name':\n if (typeof modifier.name !== 'string') {\n console.error(format(INVALID_MODIFIER_ERROR, String(modifier.name), '\"name\"', '\"string\"', \"\\\"\" + String(modifier.name) + \"\\\"\"));\n }\n\n break;\n\n case 'enabled':\n if (typeof modifier.enabled !== 'boolean') {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"enabled\"', '\"boolean\"', \"\\\"\" + String(modifier.enabled) + \"\\\"\"));\n }\n\n case 'phase':\n if (modifierPhases.indexOf(modifier.phase) < 0) {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"phase\"', \"either \" + modifierPhases.join(', '), \"\\\"\" + String(modifier.phase) + \"\\\"\"));\n }\n\n break;\n\n case 'fn':\n if (typeof modifier.fn !== 'function') {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"fn\"', '\"function\"', \"\\\"\" + String(modifier.fn) + \"\\\"\"));\n }\n\n break;\n\n case 'effect':\n if (typeof modifier.effect !== 'function') {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"effect\"', '\"function\"', \"\\\"\" + String(modifier.fn) + \"\\\"\"));\n }\n\n break;\n\n case 'requires':\n if (!Array.isArray(modifier.requires)) {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"requires\"', '\"array\"', \"\\\"\" + String(modifier.requires) + \"\\\"\"));\n }\n\n break;\n\n case 'requiresIfExists':\n if (!Array.isArray(modifier.requiresIfExists)) {\n console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '\"requiresIfExists\"', '\"array\"', \"\\\"\" + String(modifier.requiresIfExists) + \"\\\"\"));\n }\n\n break;\n\n case 'options':\n case 'data':\n break;\n\n default:\n console.error(\"PopperJS: an invalid property has been provided to the \\\"\" + modifier.name + \"\\\" modifier, valid properties are \" + VALID_PROPERTIES.map(function (s) {\n return \"\\\"\" + s + \"\\\"\";\n }).join(', ') + \"; but \\\"\" + key + \"\\\" was provided.\");\n }\n\n modifier.requires && modifier.requires.forEach(function (requirement) {\n if (modifiers.find(function (mod) {\n return mod.name === requirement;\n }) == null) {\n console.error(format(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement));\n }\n });\n });\n });\n}","export default function uniqueBy(arr, fn) {\n var identifiers = new Set();\n return arr.filter(function (item) {\n var identifier = fn(item);\n\n if (!identifiers.has(identifier)) {\n identifiers.add(identifier);\n return true;\n }\n });\n}","export default function mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign({}, existing, current, {\n options: Object.assign({}, existing.options, current.options),\n data: Object.assign({}, existing.data, current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport getComputedStyle from \"./dom-utils/getComputedStyle.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport validateModifiers from \"./utils/validateModifiers.js\";\nimport uniqueBy from \"./utils/uniqueBy.js\";\nimport getBasePlacement from \"./utils/getBasePlacement.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nimport { auto } from \"./enums.js\";\nvar INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nvar INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nexport function popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(options) {\n cleanupModifierEffects();\n state.options = Object.assign({}, defaultOptions, state.options, options);\n state.scrollParents = {\n reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n popper: listScrollParents(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n }); // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n\n if (process.env.NODE_ENV !== \"production\") {\n var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {\n var name = _ref.name;\n return name;\n });\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n var flipModifier = state.orderedModifiers.find(function (_ref2) {\n var name = _ref2.name;\n return name === 'flip';\n });\n\n if (!flipModifier) {\n console.error(['Popper: \"auto\" placements require the \"flip\" modifier be', 'present and enabled to work.'].join(' '));\n }\n }\n\n var _getComputedStyle = getComputedStyle(popper),\n marginTop = _getComputedStyle.marginTop,\n marginRight = _getComputedStyle.marginRight,\n marginBottom = _getComputedStyle.marginBottom,\n marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n\n\n if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {\n return parseFloat(margin);\n })) {\n console.warn(['Popper: CSS \"margin\" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));\n }\n }\n\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n popper: getLayoutRect(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n var __debug_loops__ = 0;\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (process.env.NODE_ENV !== \"production\") {\n __debug_loops__ += 1;\n\n if (__debug_loops__ > 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref3) {\n var name = _ref3.name,\n _ref3$options = _ref3.options,\n options = _ref3$options === void 0 ? {} : _ref3$options,\n effect = _ref3.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nexport var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\nexport { detectOverflow };","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */\n\nvar hasElementType = typeof Element !== 'undefined';\nvar hasMap = typeof Map === 'function';\nvar hasSet = typeof Set === 'function';\nvar hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;\n\n// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js\n\nfunction equal(a, b) {\n // START: fast-deep-equal es6/index.js 3.1.1\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n // START: Modifications:\n // 1. Extra `has &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n var it;\n if (hasMap && (a instanceof Map) && (b instanceof Map)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n return true;\n }\n\n if (hasSet && (a instanceof Set) && (b instanceof Set)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n return true;\n }\n // END: Modifications\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (a[i] !== b[i]) return false;\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n // END: fast-deep-equal\n\n // START: react-fast-compare\n // custom handling for DOM elements\n if (hasElementType && a instanceof Element) return false;\n\n // custom handling for React/Preact\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n\n continue;\n }\n\n // all other properties should be traversed as usual\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n }\n // END: react-fast-compare\n\n // START: fast-deep-equal\n return true;\n }\n\n return a !== a && b !== b;\n}\n// end fast-deep-equal\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if (((error.message || '').match(/stack|recursion/i))) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n }\n // some other error. we should definitely know about these\n throw error;\n }\n};\n","import * as React from 'react';\nimport { createPopper as defaultCreatePopper } from '@popperjs/core';\nimport isEqual from 'react-fast-compare';\nimport { fromEntries, useIsomorphicLayoutEffect } from './utils';\nvar EMPTY_MODIFIERS = [];\nexport var usePopper = function usePopper(referenceElement, popperElement, options) {\n if (options === void 0) {\n options = {};\n }\n\n var prevOptions = React.useRef(null);\n var optionsWithDefaults = {\n onFirstUpdate: options.onFirstUpdate,\n placement: options.placement || 'bottom',\n strategy: options.strategy || 'absolute',\n modifiers: options.modifiers || EMPTY_MODIFIERS\n };\n\n var _React$useState = React.useState({\n styles: {\n popper: {\n position: optionsWithDefaults.strategy,\n left: '0',\n top: '0'\n },\n arrow: {\n position: 'absolute'\n }\n },\n attributes: {}\n }),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var updateStateModifier = React.useMemo(function () {\n return {\n name: 'updateState',\n enabled: true,\n phase: 'write',\n fn: function fn(_ref) {\n var state = _ref.state;\n var elements = Object.keys(state.elements);\n setState({\n styles: fromEntries(elements.map(function (element) {\n return [element, state.styles[element] || {}];\n })),\n attributes: fromEntries(elements.map(function (element) {\n return [element, state.attributes[element]];\n }))\n });\n },\n requires: ['computeStyles']\n };\n }, []);\n var popperOptions = React.useMemo(function () {\n var newOptions = {\n onFirstUpdate: optionsWithDefaults.onFirstUpdate,\n placement: optionsWithDefaults.placement,\n strategy: optionsWithDefaults.strategy,\n modifiers: [].concat(optionsWithDefaults.modifiers, [updateStateModifier, {\n name: 'applyStyles',\n enabled: false\n }])\n };\n\n if (isEqual(prevOptions.current, newOptions)) {\n return prevOptions.current || newOptions;\n } else {\n prevOptions.current = newOptions;\n return newOptions;\n }\n }, [optionsWithDefaults.onFirstUpdate, optionsWithDefaults.placement, optionsWithDefaults.strategy, optionsWithDefaults.modifiers, updateStateModifier]);\n var popperInstanceRef = React.useRef();\n useIsomorphicLayoutEffect(function () {\n if (popperInstanceRef.current) {\n popperInstanceRef.current.setOptions(popperOptions);\n }\n }, [popperOptions]);\n useIsomorphicLayoutEffect(function () {\n if (referenceElement == null || popperElement == null) {\n return;\n }\n\n var createPopper = options.createPopper || defaultCreatePopper;\n var popperInstance = createPopper(referenceElement, popperElement, popperOptions);\n popperInstanceRef.current = popperInstance;\n return function () {\n popperInstance.destroy();\n popperInstanceRef.current = null;\n };\n }, [referenceElement, popperElement, options.createPopper]);\n return {\n state: popperInstanceRef.current ? popperInstanceRef.current.state : null,\n styles: state.styles,\n attributes: state.attributes,\n update: popperInstanceRef.current ? popperInstanceRef.current.update : null,\n forceUpdate: popperInstanceRef.current ? popperInstanceRef.current.forceUpdate : null\n };\n};","import * as React from 'react';\nimport { ManagerReferenceNodeContext } from './Manager';\nimport { unwrapArray, setRef } from './utils';\nimport { usePopper } from './usePopper';\n\nvar NOOP = function NOOP() {\n return void 0;\n};\n\nvar NOOP_PROMISE = function NOOP_PROMISE() {\n return Promise.resolve(null);\n};\n\nvar EMPTY_MODIFIERS = [];\nexport function Popper(_ref) {\n var _ref$placement = _ref.placement,\n placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,\n _ref$strategy = _ref.strategy,\n strategy = _ref$strategy === void 0 ? 'absolute' : _ref$strategy,\n _ref$modifiers = _ref.modifiers,\n modifiers = _ref$modifiers === void 0 ? EMPTY_MODIFIERS : _ref$modifiers,\n referenceElement = _ref.referenceElement,\n onFirstUpdate = _ref.onFirstUpdate,\n innerRef = _ref.innerRef,\n children = _ref.children;\n var referenceNode = React.useContext(ManagerReferenceNodeContext);\n\n var _React$useState = React.useState(null),\n popperElement = _React$useState[0],\n setPopperElement = _React$useState[1];\n\n var _React$useState2 = React.useState(null),\n arrowElement = _React$useState2[0],\n setArrowElement = _React$useState2[1];\n\n React.useEffect(function () {\n setRef(innerRef, popperElement);\n }, [innerRef, popperElement]);\n var options = React.useMemo(function () {\n return {\n placement: placement,\n strategy: strategy,\n onFirstUpdate: onFirstUpdate,\n modifiers: [].concat(modifiers, [{\n name: 'arrow',\n enabled: arrowElement != null,\n options: {\n element: arrowElement\n }\n }])\n };\n }, [placement, strategy, onFirstUpdate, modifiers, arrowElement]);\n\n var _usePopper = usePopper(referenceElement || referenceNode, popperElement, options),\n state = _usePopper.state,\n styles = _usePopper.styles,\n forceUpdate = _usePopper.forceUpdate,\n update = _usePopper.update;\n\n var childrenProps = React.useMemo(function () {\n return {\n ref: setPopperElement,\n style: styles.popper,\n placement: state ? state.placement : placement,\n hasPopperEscaped: state && state.modifiersData.hide ? state.modifiersData.hide.hasPopperEscaped : null,\n isReferenceHidden: state && state.modifiersData.hide ? state.modifiersData.hide.isReferenceHidden : null,\n arrowProps: {\n style: styles.arrow,\n ref: setArrowElement\n },\n forceUpdate: forceUpdate || NOOP,\n update: update || NOOP_PROMISE\n };\n }, [setPopperElement, setArrowElement, placement, state, styles, update, forceUpdate]);\n return unwrapArray(children)(childrenProps);\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\n'use strict';\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar __DEV__ = process.env.NODE_ENV !== 'production';\n\nvar warning = function() {};\n\nif (__DEV__) {\n var printWarning = function printWarning(format, args) {\n var len = arguments.length;\n args = new Array(len > 1 ? len - 1 : 0);\n for (var key = 1; key < len; key++) {\n args[key - 1] = arguments[key];\n }\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n }\n\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n if (!condition) {\n printWarning.apply(null, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n","import * as React from 'react';\nimport warning from 'warning';\nimport { ManagerReferenceNodeSetterContext } from './Manager';\nimport { safeInvoke, unwrapArray, setRef } from './utils';\nexport function Reference(_ref) {\n var children = _ref.children,\n innerRef = _ref.innerRef;\n var setReferenceNode = React.useContext(ManagerReferenceNodeSetterContext);\n var refHandler = React.useCallback(function (node) {\n setRef(innerRef, node);\n safeInvoke(setReferenceNode, node);\n }, [innerRef, setReferenceNode]); // ran on unmount\n\n React.useEffect(function () {\n return function () {\n return setRef(innerRef, null);\n };\n });\n React.useEffect(function () {\n warning(Boolean(setReferenceNode), '`Reference` should not be used outside of a `Manager` component.');\n }, [setReferenceNode]);\n return unwrapArray(children)({\n ref: refHandler\n });\n}","import React, {\n createContext,\n ElementType,\n forwardRef,\n HTMLAttributes,\n useEffect,\n useRef,\n useState,\n} from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Manager } from 'react-popper'\n\nimport { Placements, placementPropType } from '../Types'\nimport { useForkedRef } from '../../utils/hooks'\n\nexport type Directions = 'start' | 'end'\n\nexport type Breakpoints =\n | { xs: Directions }\n | { sm: Directions }\n | { md: Directions }\n | { lg: Directions }\n | { xl: Directions }\n | { xxl: Directions }\n\nexport type Alignments = Directions | Breakpoints\n\nexport interface CDropdownProps extends HTMLAttributes {\n /**\n * @type { 'start' | 'end' | { xs: 'start' | 'end' } | { sm: 'start' | 'end' } | { md: 'start' | 'end' } | { lg: 'start' | 'end' } | { xl: 'start' | 'end'} | { xxl: 'start' | 'end'} }\n */\n alignment?: Alignments\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'div'\n */\n component?: string | ElementType\n /**\n * Sets a darker color scheme to match a dark navbar.\n */\n dark?: boolean\n /**\n * Sets a specified direction and location of the dropdown menu. [docs]\n *\n * @type 'dropup' | 'dropend' | 'dropstart'\n */\n direction?: 'dropup' | 'dropend' | 'dropstart'\n /**\n * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property. [docs]\n *\n * @type 'auto' | 'top-end' | 'top' | 'top-start' | 'bottom-end' | 'bottom' | 'bottom-start' | 'right-start' | 'right' | 'right-end' | 'left-start' | 'left' | 'left-end'\n * @default 'bottom-start'\n */\n placement?: Placements\n /**\n * If you want to disable dynamic positioning set this property to `true`.\n */\n popper?: boolean\n /**\n * Set the dropdown variant to an btn-group, dropdown, input-group, and nav-item. [docs]\n */\n variant?: 'btn-group' | 'dropdown' | 'input-group' | 'nav-item'\n /**\n * Toggle the visibility of dropdown menu component. [docs]\n *\n * @default false\n */\n visible?: boolean\n}\n\ninterface ContextProps extends CDropdownProps {\n setVisible: React.Dispatch>\n}\n\nexport const CDropdownContext = createContext({} as ContextProps)\n\nexport const CDropdown = forwardRef(\n (\n {\n children,\n alignment,\n className,\n dark,\n direction,\n placement = 'bottom-start',\n popper = true,\n variant = 'btn-group',\n component = 'div',\n visible = false,\n ...rest\n },\n ref,\n ) => {\n const [_visible, setVisible] = useState(visible)\n const dropdownRef = useRef(null)\n const forkedRef = useForkedRef(ref, dropdownRef)\n\n const Component = variant === 'nav-item' ? 'li' : component\n\n // Disable popper if responsive aligment is set.\n if (typeof alignment === 'object') {\n popper = false\n }\n\n const contextValues = {\n alignment,\n dark,\n direction: direction,\n placement: placement,\n popper,\n variant,\n visible: _visible,\n setVisible,\n }\n\n const _className = classNames(\n variant === 'nav-item' ? 'nav-item dropdown' : variant,\n {\n show: _visible,\n },\n direction,\n className,\n )\n\n useEffect(() => {\n window.addEventListener('click', handleClickOutside)\n window.addEventListener('keyup', handleKeyup)\n\n return () => {\n window.removeEventListener('click', handleClickOutside)\n window.removeEventListener('keyup', handleKeyup)\n }\n })\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n const handleKeyup = (event: Event) => {\n if (dropdownRef.current && !dropdownRef.current.contains(event.target as HTMLElement)) {\n setVisible(false)\n }\n }\n const handleClickOutside = (event: Event) => {\n if (dropdownRef.current && !dropdownRef.current.contains(event.target as HTMLElement)) {\n setVisible(false)\n }\n }\n\n return popper ? (\n \n \n {/* TODO: find solution how to handle click outside */}\n {variant === 'input-group' ? (\n <>{children}\n ) : (\n \n {children}\n \n )}\n \n \n ) : (\n \n \n {children}\n \n \n )\n },\n)\n\nconst alignmentDirection = PropTypes.oneOf(['start', 'end'])\n\nCDropdown.propTypes = {\n // @ts-expect-error TODO: we have to find a solution\n alignment: PropTypes.oneOfType([\n alignmentDirection,\n PropTypes.shape({ xs: alignmentDirection }),\n PropTypes.shape({ sm: alignmentDirection }),\n PropTypes.shape({ md: alignmentDirection }),\n PropTypes.shape({ lg: alignmentDirection }),\n PropTypes.shape({ xl: alignmentDirection }),\n PropTypes.shape({ xxl: alignmentDirection }),\n ]),\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n dark: PropTypes.bool,\n direction: PropTypes.oneOf(['dropup', 'dropend', 'dropstart']),\n placement: placementPropType,\n popper: PropTypes.bool,\n variant: PropTypes.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']),\n visible: PropTypes.bool,\n}\n\nCDropdown.displayName = 'CDropdown'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CDropdownDividerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CDropdownDivider = forwardRef(\n ({ className, ...rest }, ref) => {\n const _className = classNames('dropdown-divider', className)\n\n return
    \n },\n)\n\nCDropdownDivider.propTypes = {\n className: PropTypes.string,\n}\n\nCDropdownDivider.displayName = 'CDropdownDivider'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CDropdownHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'h6'\n */\n component?: string | ElementType\n}\n\nexport const CDropdownHeader = forwardRef(\n ({ children, className, component: Component = 'h6', ...rest }, ref) => {\n const _className = classNames('dropdown-header', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCDropdownHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownHeader.displayName = 'CDropdownHeader'\n","import React, { ElementType, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLinkProps } from '../link/CLink'\nimport { CLink } from '../link/CLink'\n\nexport interface CDropdownItemProps extends CLinkProps {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'a'\n */\n component?: string | ElementType\n}\n\nexport const CDropdownItem = forwardRef(\n ({ children, className, component = 'a', ...rest }, ref) => {\n const _className = classNames('dropdown-item', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCDropdownItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownItem.displayName = 'CDropdownItem'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CDropdownItemPlainProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'span'\n */\n component?: string | ElementType\n}\n\nexport const CDropdownItemPlain = forwardRef(\n ({ children, className, component: Component = 'span', ...rest }, ref) => {\n const _className = classNames('dropdown-item-text', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCDropdownItemPlain.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownItemPlain.displayName = 'CDropdownItemPlain'\n","import PropTypes from 'prop-types'\nimport React, { ElementType, FC, HTMLAttributes, useContext } from 'react'\nimport classNames from 'classnames'\nimport { Popper, PopperChildrenProps } from 'react-popper'\n\nimport { Placements } from '../Types'\nimport { Alignments, CDropdownContext } from './CDropdown'\n\nexport interface CDropdownMenuProps\n extends HTMLAttributes,\n Omit<\n PopperChildrenProps,\n 'arrowProps' | 'forceUpdate' | 'placement' | 'ref' | 'style' | 'update'\n > {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'ul'\n */\n component?: string | ElementType\n}\n\nexport const CDropdownMenu: FC = ({\n children,\n className,\n component: Component = 'ul',\n ...rest\n}) => {\n const { alignment, dark, direction, placement, popper, visible } = useContext(CDropdownContext)\n\n let _placement: Placements = placement\n\n if (direction === 'dropup') {\n _placement = 'top-start'\n }\n if (direction === 'dropend') {\n _placement = 'right-start'\n }\n if (direction === 'dropstart') {\n _placement = 'left-start'\n }\n if (alignment === 'end') {\n _placement = 'bottom-end'\n }\n\n const alignmentClassNames = (alignment: Alignments) => {\n const classNames: string[] = []\n if (typeof alignment === 'object') {\n Object.keys(alignment).map((key) => {\n classNames.push(`dropdown-menu${key === 'xs' ? '' : `-${key}`}-${alignment[key]}`)\n })\n }\n\n if (typeof alignment === 'string') {\n classNames.push(`dropdown-menu-${alignment}`)\n }\n\n return classNames\n }\n\n const _className = classNames(\n 'dropdown-menu',\n {\n 'dropdown-menu-dark': dark,\n show: visible,\n },\n alignment && alignmentClassNames(alignment),\n className,\n )\n\n const dropdownMenuComponent = (style?: React.CSSProperties, ref?: React.Ref) => {\n return (\n \n {Component === 'ul'\n ? React.Children.map(children, (child, index) => {\n if (React.isValidElement(child)) {\n return
  • {React.cloneElement(child)}
  • \n }\n return\n })\n : children}\n \n )\n }\n\n return popper && visible ? (\n {({ ref, style }) => dropdownMenuComponent(style, ref)}\n ) : (\n dropdownMenuComponent()\n )\n}\n\nCDropdownMenu.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownMenu.displayName = 'CDropdownMenu'\n","import React, { FC, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Reference } from 'react-popper'\n\nimport { Triggers, triggerPropType } from '../Types'\n\nimport { CButton, CButtonProps } from '../button/CButton'\nimport { CDropdownContext } from './CDropdown'\n\nexport interface CDropdownToggleProps extends CButtonProps {\n /**\n * Enables pseudo element caret on toggler. [docs]\n *\n * @default true\n */\n caret?: boolean\n /**\n * Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of `.dropdown-toggle-split` className for proper spacing around the dropdown caret. [docs]\n */\n split?: boolean\n /**\n * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them. [docs]\n */\n trigger?: Triggers | Triggers[]\n}\n\nexport const CDropdownToggle: FC = ({\n children,\n caret = true,\n className,\n split,\n trigger = 'click',\n ...rest\n}) => {\n const { popper, variant, visible, setVisible } = useContext(CDropdownContext)\n const _className = classNames(\n {\n 'dropdown-toggle': caret,\n 'dropdown-toggle-split': split,\n 'nav-link': variant === 'nav-item',\n },\n className,\n )\n\n const triggers = {\n ...((trigger === 'click' || trigger.includes('click')) && {\n onClick: (event: React.MouseEvent) => {\n event.preventDefault()\n setVisible(!visible)\n },\n }),\n ...((trigger === 'focus' || trigger.includes('focus')) && {\n onFocus: () => setVisible(true),\n onBlur: () => setVisible(false),\n }),\n }\n\n const togglerProps = {\n className: _className,\n 'aria-expanded': visible,\n ...triggers,\n }\n\n // We use any because Toggler can be `a` as well as `button`.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const Toggler = (ref?: React.Ref) => {\n return variant === 'nav-item' ? (\n \n {children}\n \n ) : (\n \n {children}\n {split && Toggle Dropdown}\n \n )\n }\n\n return popper ? {({ ref }) => Toggler(ref)} : Toggler()\n}\n\nCDropdownToggle.propTypes = {\n caret: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n split: PropTypes.bool,\n trigger: triggerPropType,\n}\n\nCDropdownToggle.displayName = 'CDropdownToggle'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\ntype Span = 'auto' | number | string | boolean | null\n\ntype BPObject = {\n span?: Span\n offset?: number | string | null\n order?: 'first' | 'last' | number | string | null\n}\n\ntype Col = Span | BPObject\n\nexport interface CColProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * The number of columns/offset/order on extra small devices (<576px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n xs?: Col\n /**\n * The number of columns/offset/order on small devices (<768px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n sm?: Col\n /**\n * The number of columns/offset/order on medium devices (<992px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n md?: Col\n /**\n * The number of columns/offset/order on large devices (<1200px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n lg?: Col\n /**\n * The number of columns/offset/order on X-Large devices (<1400px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n xl?: Col\n /**\n * The number of columns/offset/order on XX-Large devices (≥1400px). [docs]\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n xxl?: Col\n}\n\nconst BREAKPOINTS = [\n 'xxl' as const,\n 'xl' as const,\n 'lg' as const,\n 'md' as const,\n 'sm' as const,\n 'xs' as const,\n]\n\nexport const CCol = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const repsonsiveCLassNames: string[] = []\n\n BREAKPOINTS.forEach((bp) => {\n const breakpoint = rest[bp]\n delete rest[bp]\n\n const infix = bp === 'xs' ? '' : `-${bp}`\n\n if (typeof breakpoint === 'number' || typeof breakpoint === 'string') {\n repsonsiveCLassNames.push(`col${infix}-${breakpoint}`)\n }\n\n if (typeof breakpoint === 'boolean') {\n repsonsiveCLassNames.push(`col${infix}`)\n }\n\n if (breakpoint && typeof breakpoint === 'object') {\n if (typeof breakpoint.span === 'number' || typeof breakpoint.span === 'string') {\n repsonsiveCLassNames.push(`col${infix}-${breakpoint.span}`)\n }\n\n if (typeof breakpoint.span === 'boolean') {\n repsonsiveCLassNames.push(`col${infix}`)\n }\n\n if (typeof breakpoint.order === 'number' || typeof breakpoint.order === 'string') {\n repsonsiveCLassNames.push(`order${infix}-${breakpoint.order}`)\n }\n\n if (typeof breakpoint.offset === 'number') {\n repsonsiveCLassNames.push(`offset${infix}-${breakpoint.offset}`)\n }\n }\n })\n\n const _className = classNames(\n repsonsiveCLassNames.length ? repsonsiveCLassNames : 'col',\n className,\n )\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nconst span = PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.number,\n PropTypes.string,\n PropTypes.oneOf(['auto']),\n])\n\nconst col = PropTypes.oneOfType([\n span,\n PropTypes.shape({\n span: span,\n offset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n order: PropTypes.oneOfType([\n PropTypes.oneOf(['first', 'last']),\n PropTypes.number,\n PropTypes.string,\n ]),\n }),\n])\n\nCCol.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n xs: col,\n sm: col,\n}\n\nCCol.displayName = 'CCol'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CContainerProps extends HTMLAttributes {\n breakpoint?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Set container 100% wide until small breakpoint. [docs]\n */\n sm?: boolean\n /**\n * Set container 100% wide until medium breakpoint. [docs]\n */\n md?: boolean\n /**\n * Set container 100% wide until large breakpoint. [docs]\n */\n lg?: boolean\n /**\n * Set container 100% wide until X-large breakpoint. [docs]\n */\n xl?: boolean\n /**\n * Set container 100% wide until XX-large breakpoint. [docs]\n */\n xxl?: boolean\n /**\n * Set container 100% wide, spanning the entire width of the viewport. [docs]\n */\n fluid?: boolean\n}\n\nconst BREAKPOINTS = [\n 'xxl' as const,\n 'xl' as const,\n 'lg' as const,\n 'md' as const,\n 'sm' as const,\n 'fluid' as const,\n]\n\nexport const CContainer = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const repsonsiveCLassNames: string[] = []\n\n BREAKPOINTS.forEach((bp) => {\n const breakpoint = rest[bp]\n delete rest[bp]\n\n breakpoint && repsonsiveCLassNames.push(`container-${bp}`)\n })\n\n const _className = classNames(\n repsonsiveCLassNames.length ? repsonsiveCLassNames : 'container',\n className,\n )\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCContainer.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n sm: PropTypes.bool,\n md: PropTypes.bool,\n lg: PropTypes.bool,\n xl: PropTypes.bool,\n xxl: PropTypes.bool,\n fluid: PropTypes.bool,\n}\n\nCContainer.displayName = 'CContainer'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport type BPObject = {\n cols?: 'auto' | number | string | null\n gutter?: number | string | null\n gutterX?: number | string | null\n gutterY?: number | string | null\n}\n\nexport interface CRowProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * The number of columns/offset/order on extra small devices (<576px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n xs?: BPObject\n /**\n * The number of columns/offset/order on small devices (<768px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n sm?: BPObject\n /**\n * The number of columns/offset/order on medium devices (<992px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n md?: BPObject\n /**\n * The number of columns/offset/order on large devices (<1200px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n lg?: BPObject\n /**\n * The number of columns/offset/order on X-Large devices (<1400px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n xl?: BPObject\n /**\n * The number of columns/offset/order on XX-Large devices (≥1400px). [docs]\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n xxl?: BPObject\n}\n\nconst BREAKPOINTS = [\n 'xxl' as const,\n 'xl' as const,\n 'lg' as const,\n 'md' as const,\n 'sm' as const,\n 'xs' as const,\n]\n\nexport const CRow = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const repsonsiveCLassNames: string[] = []\n\n BREAKPOINTS.forEach((bp) => {\n const breakpoint = rest[bp]\n delete rest[bp]\n\n const infix = bp === 'xs' ? '' : `-${bp}`\n\n if (typeof breakpoint === 'object') {\n if (breakpoint.cols) {\n repsonsiveCLassNames.push(`row-cols${infix}-${breakpoint.cols}`)\n }\n if (typeof breakpoint.gutter === 'number') {\n repsonsiveCLassNames.push(`g${infix}-${breakpoint.gutter}`)\n }\n if (typeof breakpoint.gutterX === 'number') {\n repsonsiveCLassNames.push(`gx${infix}-${breakpoint.gutterX}`)\n }\n if (typeof breakpoint.gutterY === 'number') {\n repsonsiveCLassNames.push(`gy${infix}-${breakpoint.gutterY}`)\n }\n }\n })\n\n const _className = classNames('row', repsonsiveCLassNames, className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nconst bp = PropTypes.shape({\n cols: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.string]),\n gutter: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n gutterX: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n gutterY: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n})\n\nCRow.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n xs: bp,\n sm: bp,\n md: bp,\n lg: bp,\n xl: bp,\n xxl: bp,\n}\n\nCRow.displayName = 'CRow'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFooterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Place footer in non-static positions. [docs]\n */\n position?: 'fixed' | 'sticky'\n}\n\nexport const CFooter = forwardRef(\n ({ children, className, position, ...rest }, ref) => {\n const _className = classNames('footer', { [`footer-${position}`]: position }, className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCFooter.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n position: PropTypes.oneOf(['fixed', 'sticky']),\n}\n\nCFooter.displayName = 'CFooter'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Mark a form as validated. If you set it `true`, all validation styles will be applied to the forms component.\n */\n validated?: boolean\n}\n\nexport const CForm = forwardRef(\n ({ children, className, validated, ...rest }, ref) => {\n const _className = classNames({ 'was-validated': validated }, className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCForm.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n validated: PropTypes.bool,\n}\n\nCForm.displayName = 'CForm'\n","import React, { ChangeEventHandler, ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormControlProps\n extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n classNameParent?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'input'\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n /**\n * Set component validation state to invalid. [docs]\n */\n invalid?: boolean\n /**\n * Method called immediately after the `value` prop changes. [docs]\n */\n onChange?: ChangeEventHandler\n /**\n * Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use only along side `readonly` [docs]\n */\n plainText?: boolean\n /**\n * Toggle the readonly state for the component. [docs]\n */\n readOnly?: boolean\n /**\n * Size the component small or large. [docs]\n *\n * @type 'sm' | 'lg'\n */\n size?: 'sm' | 'lg'\n /**\n * Specifies the type of component. [docs]\n *\n * @type 'color' | 'file' | 'text' | string\n * @default 'text'\n */\n type?: 'color' | 'file' | 'text' | string\n /**\n * Set component validation state to valid. [docs]\n */\n valid?: boolean\n /**\n * The `value` attribute of component. [docs]\n *\n * @controllable onChange\n * */\n value?: string | string[] | number\n}\n\nexport const CFormControl = forwardRef<\n HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n CFormControlProps\n>(\n (\n {\n children,\n className,\n classNameParent,\n component: Component = 'input',\n invalid,\n plainText,\n size,\n type = 'text',\n valid,\n ...rest\n },\n ref,\n ) => {\n const _className = classNameParent\n ? classNameParent\n : classNames(\n plainText ? 'form-control-plaintext' : 'form-control',\n {\n 'form-control-color': type === 'color',\n 'form-range': type === 'range',\n [`form-control-${size}`]: size,\n 'is-invalid': invalid,\n 'is-valid': valid,\n },\n className,\n )\n return (\n \n {children}\n \n )\n },\n)\n\nCFormControl.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n classNameParent: PropTypes.string,\n component: PropTypes.elementType,\n invalid: PropTypes.bool,\n plainText: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg']),\n type: PropTypes.oneOfType([PropTypes.oneOf(['color', 'file', 'text']), PropTypes.string]),\n valid: PropTypes.bool,\n}\n\nCFormControl.displayName = 'CFormControl'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormLabelProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n classNameParent?: string\n}\n\nexport const CFormLabel = forwardRef(\n ({ children, className, classNameParent, ...rest }, ref) => {\n const _className = classNameParent ? classNameParent : classNames('form-label', className)\n return (\n \n )\n },\n)\n\nCFormLabel.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n classNameParent: PropTypes.string,\n}\n\nCFormLabel.displayName = 'CFormLabel'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, Shapes, colorPropType, shapePropType } from '../Types'\n\nimport { CFormControl } from './CFormControl'\nimport { CFormLabel } from './CFormLabel'\n\nexport interface CFormCheckProps extends HTMLAttributes {\n button?: boolean\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n buttonColor?: Colors\n /**\n * Select the shape of the component. [docs]\n *\n * @type 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string\n */\n buttonShape?: Shapes\n /**\n * Size the component small or large. [docs]\n *\n * @type 'sm' | 'lg'\n */\n buttonSize?: 'sm' | 'lg'\n /**\n * Set the button variant to an outlined button or a ghost button. [docs]\n */\n buttonVariant?: 'outline' | 'ghost'\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * The id global attribute defines an identifier (ID) that must be unique in the whole document. [docs]\n */\n id?: string\n /**\n * Group checkboxes or radios on the same horizontal row by adding. [docs]\n */\n inline?: boolean\n /**\n * Set component validation state to invalid. [docs]\n */\n invalid?: boolean\n /**\n * The element represents a caption for a component. [docs]\n */\n label?: string | ReactNode\n /**\n * Size the component large or extra large. Works only with `switch` [docs]\n *\n * @type 'lg' | 'xl'\n */\n size?: 'lg' | 'xl'\n /**\n * Render component as a toggle switch. [docs]\n */\n switch?: boolean\n /**\n * Specifies the type of component. [docs]\n *\n * @type checkbox' | 'radio'\n * @default 'checkbox'\n */\n type?: 'checkbox' | 'radio'\n /**\n * Set component validation state to valid. [docs]\n */\n valid?: boolean\n}\n\nexport const CFormCheck = forwardRef(\n (\n {\n className,\n button,\n buttonColor = 'primary',\n buttonSize,\n buttonShape,\n buttonVariant,\n id,\n inline,\n invalid,\n label,\n size,\n switch: _switch,\n type = 'checkbox',\n valid,\n ...rest\n },\n ref,\n ) => {\n const _className = classNames(\n 'form-check',\n {\n 'form-switch': _switch,\n [`form-switch-${size}`]: size,\n 'form-check-inline': inline,\n 'is-invalid': invalid,\n 'is-valid': valid,\n },\n className,\n )\n\n const inputClassName = classNames(button ? 'btn-check' : 'form-check-input', {\n 'is-invalid': invalid,\n 'is-valid': valid,\n })\n const labelClassName = classNames(\n button\n ? classNames(\n 'btn',\n buttonVariant ? `btn-${buttonVariant}-${buttonColor}` : `btn-${buttonColor}`,\n {\n [`btn-${buttonSize}`]: buttonSize,\n buttonShape,\n },\n )\n : 'form-check-label',\n )\n\n const formControl = () => {\n return (\n \n )\n }\n\n const formLabel = () => {\n return (\n \n {label}\n \n )\n }\n\n return _switch ? (\n
    \n {formControl()}\n {label && formLabel()}\n
    \n ) : button ? (\n <>\n {formControl()}\n {label && formLabel()}\n \n ) : label ? (\n
    \n {formControl()}\n {formLabel()}\n
    \n ) : (\n formControl()\n )\n },\n)\n\nCFormCheck.propTypes = {\n button: PropTypes.bool,\n buttonColor: colorPropType,\n buttonShape: shapePropType,\n buttonSize: PropTypes.oneOf(['sm', 'lg']),\n buttonVariant: PropTypes.oneOf(['outline', 'ghost']),\n className: PropTypes.string,\n id: PropTypes.string,\n inline: PropTypes.bool,\n invalid: PropTypes.bool,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n size: PropTypes.oneOf(['lg', 'xl']),\n switch: PropTypes.bool,\n type: PropTypes.oneOf(['checkbox', 'radio']),\n valid: PropTypes.bool,\n}\n\nCFormCheck.displayName = 'CFormCheck'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormFeedbackProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'div'\n */\n component?: string | ElementType\n /**\n * Method called immediately after the `value` prop changes. [docs]\n */\n invalid?: boolean\n /**\n * If your form layout allows it, you can display validation feedback in a styled tooltip. [docs]\n */\n tooltip?: boolean\n /**\n * Set component validation state to valid. [docs]\n */\n valid?: boolean\n}\n\nexport const CFormFeedback = forwardRef(\n (\n { children, className, component: Component = 'div', invalid, tooltip, valid, ...rest },\n ref,\n ) => {\n const _className = classNames(\n {\n [`invalid-${tooltip ? 'tooltip' : 'feedback'}`]: invalid,\n [`valid-${tooltip ? 'tooltip' : 'feedback'}`]: valid,\n },\n className,\n )\n return (\n \n {children}\n \n )\n },\n)\n\nCFormFeedback.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n invalid: PropTypes.bool,\n tooltip: PropTypes.bool,\n valid: PropTypes.bool,\n}\n\nCFormFeedback.displayName = 'CFormFeedback'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormFloatingProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CFormFloating = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('form-floating', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCFormFloating.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCFormFloating.displayName = 'CFormFloating'\n","import React, { ChangeEventHandler, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormRangeProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n /**\n * Specifies the maximum value for the component. [docs]\n */\n max?: number\n /**\n * Specifies the minimum value for the component. [docs]\n */\n min?: number\n /**\n * Method called immediately after the `value` prop changes. [docs]\n */\n onChange?: ChangeEventHandler\n /**\n * Toggle the readonly state for the component. [docs]\n */\n readOnly?: boolean\n /**\n * Specifies the interval between legal numbers in the component. [docs]\n */\n steps: number\n /**\n * The `value` attribute of component. [docs]\n *\n * @controllable onChange\n * */\n value?: string | string[] | number\n}\n\nexport const CFormRange = forwardRef(\n ({ className, ...rest }, ref) => {\n const _className = classNames('form-range', className)\n return \n },\n)\n\nCFormRange.propTypes = {\n className: PropTypes.string,\n}\n\nCFormRange.displayName = 'CFormRange'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormSelectProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Specifies the number of visible options in a drop-down list. [docs]\n */\n htmlSize?: number\n /**\n * Set component validation state to invalid. [docs]\n */\n invalid?: boolean\n /**\n * Size the component small or large. [docs]\n *\n * @type 'sm' | 'lg'\n */\n size?: 'sm' | 'lg'\n /**\n * Set component validation state to valid. [docs]\n */\n valid?: boolean\n}\n\nexport const CFormSelect = forwardRef(\n ({ children, className, htmlSize, invalid, size, valid, ...rest }, ref) => {\n const _className = classNames(\n 'form-select',\n {\n [`form-select-${size}`]: size,\n 'is-invalid': invalid,\n 'is-valid': valid,\n },\n className,\n )\n return (\n \n )\n },\n)\n\nCFormSelect.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n htmlSize: PropTypes.number,\n invalid: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg']),\n valid: PropTypes.bool,\n}\n\nCFormSelect.displayName = 'CFormSelect'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormTextProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'div'\n */\n component?: string | ElementType\n}\n\nexport const CFormText = forwardRef(\n ({ children, className, component: Component = 'div', ...rest }, ref) => {\n const _className = classNames('form-text', className)\n return (\n \n {children}\n \n )\n },\n)\n\nCFormText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCFormText.displayName = 'CFormText'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CInputGroupProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Size the component small or large. [docs]\n *\n * @type 'sm' | 'lg'\n */\n size?: 'sm' | 'lg'\n}\n\nexport const CInputGroup = forwardRef(\n ({ children, className, size, ...rest }, ref) => {\n const _className = classNames(\n 'input-group',\n {\n [`input-group-${size}`]: size,\n },\n className,\n )\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCInputGroup.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n size: PropTypes.oneOf(['sm', 'lg']),\n}\n\nCInputGroup.displayName = 'CInputGroup'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CInputGroupTextProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'span'\n */\n component?: string | ElementType\n}\n\nexport const CInputGroupText = forwardRef(\n ({ children, className, component: Component = 'span', ...rest }, ref) => {\n const _className = classNames('input-group-text', className)\n return (\n \n {children}\n \n )\n },\n)\n\nCInputGroupText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCInputGroupText.displayName = 'CInputGroupText'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Defines optional container wrapping children elements.\n *\n * @type boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n */\n container?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n /**\n * Place header in non-static positions. [docs]\n */\n position?: 'fixed' | 'sticky'\n}\n\nexport const CHeader = forwardRef(\n ({ children, className, container, position, ...rest }, ref) => {\n const _className = classNames('header', { [`header-${position}`]: position }, className)\n\n let content\n if (container) {\n content = (\n
    {children}
    \n )\n } else {\n content = children\n }\n\n return (\n
    \n {content}\n
    \n )\n },\n)\n\nCHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n container: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'>([\n 'sm',\n 'md',\n 'lg',\n 'xl',\n 'xxl',\n 'fluid',\n ]),\n ]),\n position: PropTypes.oneOf(['fixed', 'sticky']),\n}\n\nCHeader.displayName = 'CHeader'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderBrandProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'a'\n */\n component?: string | ElementType\n}\n\nexport const CHeaderBrand = forwardRef(\n ({ children, component: Component = 'a', className, ...rest }, ref) => {\n const _className = classNames('header-brand', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCHeaderBrand.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCHeaderBrand.displayName = 'CHeaderBrand'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderDividerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CHeaderDivider = forwardRef(\n ({ className, ...rest }, ref) => {\n const _className = classNames('header-divider', className)\n\n return
    \n },\n)\n\nCHeaderDivider.propTypes = {\n className: PropTypes.string,\n}\n\nCHeaderDivider.displayName = 'CHeaderDivider'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderNavProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'ul'\n */\n component?: string | ElementType\n}\n\nexport const CHeaderNav = forwardRef(\n ({ children, component: Component = 'ul', className, ...rest }, ref) => {\n const _className = classNames('header-nav', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCHeaderNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCHeaderNav.displayName = 'CHeaderNav'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderTextProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CHeaderText = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('header-text', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCHeaderText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCHeaderText.displayName = 'CHeaderText'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderTogglerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CHeaderToggler = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('header-toggler', className)\n\n return (\n \n )\n },\n)\n\nCHeaderToggler.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCHeaderToggler.displayName = 'CHeaderToggler'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CImageProps extends HTMLAttributes {\n align?: 'start' | 'center' | 'end'\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Make image responsive. [docs]\n */\n fluid?: boolean\n /**\n * Make image rounded. [docs]\n */\n rounded?: boolean\n /**\n * Give an image a rounded 1px border appearance. [docs]\n */\n thumbnail?: boolean\n}\n\nexport const CImage = forwardRef(\n ({ align, className, fluid, rounded, thumbnail, ...rest }, ref) => {\n const _className = classNames(\n {\n [`float-${align}`]: align && (align === 'start' || align === 'end'),\n 'd-block mx-auto': align && align === 'center',\n 'img-fluid': fluid,\n rounded: rounded,\n 'img-thumbnail': thumbnail,\n },\n className,\n )\n return \n },\n)\n\nCImage.propTypes = {\n align: PropTypes.oneOf(['start', 'center', 'end']),\n className: PropTypes.string,\n fluid: PropTypes.bool,\n rounded: PropTypes.bool,\n thumbnail: PropTypes.bool,\n}\n\nCImage.displayName = 'CImage'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CListGroupProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'ul'\n */\n component?: string | ElementType\n /**\n * Remove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., ) [docs]\n */\n flush?: boolean\n /**\n * Specify a layout type. [docs]\n */\n layout?:\n | 'horizontal'\n | 'horizontal-sm'\n | 'horizontal-md'\n | 'horizontal-lg'\n | 'horizontal-xl'\n | 'horizontal-xxl'\n}\n\nexport const CListGroup = forwardRef(\n ({ children, className, component: Component = 'ul', flush, layout }, ref) => {\n const _className = classNames(\n 'list-group',\n {\n 'list-group-flush': flush,\n [`list-group-${layout}`]: layout,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCListGroup.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n flush: PropTypes.bool,\n layout: PropTypes.oneOf([\n 'horizontal',\n 'horizontal-sm',\n 'horizontal-md',\n 'horizontal-lg',\n 'horizontal-xl',\n 'horizontal-xxl',\n ]),\n}\n\nCListGroup.displayName = 'CListGroup'\n","import React, { ElementType, HTMLAttributes, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\nimport { CLink } from '../link/CLink'\n\nexport interface CListGroupItemProps\n extends HTMLAttributes {\n /**\n * Toggle the active state for the component. [docs]\n */\n active?: boolean\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'li'\n */\n component?: string | ElementType\n}\n\nexport const CListGroupItem = forwardRef<\n HTMLLIElement | HTMLAnchorElement | HTMLButtonElement,\n CListGroupItemProps\n>(({ children, active, className, disabled, color, component = 'li', ...rest }, ref) => {\n const _className = classNames(\n 'list-group-item',\n {\n [`list-group-item-${color}`]: color,\n 'list-group-item-action': component === 'a' || component === 'button',\n active,\n disabled,\n },\n className,\n )\n\n const Component = component === 'a' || component === 'button' ? CLink : component\n\n rest = {\n ...((component === 'a' || component === 'button') && {\n active,\n disabled,\n component,\n ref: ref,\n }),\n ...(active && { 'aria-current': true }),\n ...(disabled && { 'aria-disabled': true }),\n ...rest,\n }\n\n return (\n \n {children}\n \n )\n})\n\nCListGroupItem.propTypes = {\n active: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n component: PropTypes.elementType,\n disabled: PropTypes.bool,\n}\n\nCListGroupItem.displayName = 'CListGroupItem'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalContentProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CModalContent = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('modal-content', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCModalContent.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCModalContent.displayName = 'CModalContent'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalDialogProps extends HTMLAttributes {\n /**\n * Align the modal in the center or top of the screen. [docs]\n *\n * @default 'top'\n */\n alignment?: 'top' | 'center'\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Set modal to covers the entire user viewport. [docs]\n */\n fullscreen?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Does the modal dialog itself scroll, or does the whole dialog scroll within the window. [docs]\n */\n scrollable?: boolean\n /**\n * Size the component small, large, or extra large. [docs]\n */\n size?: 'sm' | 'lg' | 'xl'\n}\n\nexport const CModalDialog = forwardRef(\n ({ children, alignment, className, fullscreen, scrollable, size, ...rest }, ref) => {\n const _className = classNames(\n 'modal-dialog',\n {\n 'modal-dialog-centered': alignment === 'center',\n [typeof fullscreen === 'boolean'\n ? 'modal-fullscreen'\n : `modal-fullscreen-${fullscreen}-down`]: fullscreen,\n 'modal-dialog-scrollable': scrollable,\n [`modal-${size}`]: size,\n },\n className,\n )\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCModalDialog.propTypes = {\n alignment: PropTypes.oneOf(['top', 'center']),\n children: PropTypes.node,\n className: PropTypes.string,\n fullscreen: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n scrollable: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg', 'xl']),\n}\n\nCModalDialog.displayName = 'CModalDialog'\n","import React, {\n forwardRef,\n HTMLAttributes,\n useCallback,\n useLayoutEffect,\n useRef,\n useState,\n} from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CSSTransition } from 'react-transition-group'\n\nimport { useForkedRef } from '../../utils/hooks'\n\nimport { CBackdrop } from '../backdrop/CBackdrop'\nimport { CModalContent } from './CModalContent'\nimport { CModalDialog } from './CModalDialog'\n\nexport interface CModalProps extends HTMLAttributes {\n /**\n * Align the modal in the center or top of the screen. [docs]\n *\n * @default 'top'\n */\n alignment?: 'top' | 'center'\n /**\n * Apply a backdrop on body while modal is open. [docs]\n * @default true\n */\n backdrop?: boolean\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * @ignore\n */\n duration?: number\n /**\n * Set modal to covers the entire user viewport. [docs]\n */\n fullscreen?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Closes the modal when escape key is pressed. [docs]\n * @default true\n */\n keyboard?: boolean\n /**\n * Method called before the dissmiss animation has started. [docs]\n */\n onDismiss?: () => void\n /**\n * Generates modal using createPortal. [docs]\n */\n portal?: boolean\n /**\n * Create a scrollable modal that allows scrolling the modal body. [docs]\n */\n scrollable?: boolean\n /**\n * Size the component small, large, or extra large. [docs]\n */\n size?: 'sm' | 'lg' | 'xl'\n /**\n * Remove animation to create modal that simply appear rather than fade in to view. [docs]\n */\n transition?: boolean\n /**\n * Toggle the visibility of modal component. [docs]\n */\n visible?: boolean\n}\n\nexport const CModal = forwardRef(\n (\n {\n children,\n alignment,\n backdrop = true,\n className,\n duration = 150,\n fullscreen,\n keyboard = true,\n onDismiss,\n portal = true,\n scrollable,\n size,\n transition = true,\n visible,\n },\n ref,\n ) => {\n const [staticBackdrop, setStaticBackdrop] = useState(false)\n\n const modalRef = useRef(null)\n const forkedRef = useForkedRef(ref, modalRef)\n\n const handleDismiss = () => {\n if (typeof onDismiss === 'undefined') {\n return setStaticBackdrop(true)\n }\n return onDismiss && onDismiss()\n }\n\n useLayoutEffect(() => {\n setTimeout(() => setStaticBackdrop(false), duration)\n }, [staticBackdrop])\n\n const getTransitionClass = (state: string) => {\n return state === 'entering'\n ? 'd-block'\n : state === 'entered'\n ? 'show d-block'\n : state === 'exiting'\n ? 'd-block'\n : ''\n }\n const _className = classNames(\n 'modal',\n {\n 'modal-static': staticBackdrop,\n fade: transition,\n },\n className,\n )\n\n // Set focus to modal after open\n useLayoutEffect(() => {\n if (visible) {\n document.body.classList.add('modal-open')\n setTimeout(\n () => {\n modalRef.current && modalRef.current.focus()\n },\n !transition ? 0 : duration,\n )\n } else {\n document.body.classList.remove('modal-open')\n }\n return () => document.body.classList.remove('modal-open')\n }, [visible])\n\n const handleKeyDown = useCallback(\n (event) => {\n if (event.key === 'Escape' && keyboard) {\n return handleDismiss()\n }\n },\n [modalRef, handleDismiss],\n )\n\n const modal = (ref?: React.Ref, transitionClass?: string) => {\n return (\n <>\n \n event.stopPropagation()}\n >\n {children}\n \n
    \n \n )\n }\n\n return (\n <>\n
    \n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return typeof window !== 'undefined' && portal\n ? createPortal(modal(forkedRef, transitionClass), document.body)\n : modal(forkedRef, transitionClass)\n }}\n \n
    \n {typeof window !== 'undefined' && portal\n ? backdrop && createPortal(, document.body)\n : backdrop && }\n \n )\n },\n)\n\nCModal.propTypes = {\n alignment: PropTypes.oneOf(['top', 'center']),\n backdrop: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n duration: PropTypes.number,\n fullscreen: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n keyboard: PropTypes.bool,\n onDismiss: PropTypes.func,\n portal: PropTypes.bool,\n scrollable: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg', 'xl']),\n transition: PropTypes.bool,\n visible: PropTypes.bool,\n}\n\nCModal.displayName = 'CModal'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CModalBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('modal-body', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCModalBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCModalBody.displayName = 'CModalBody'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalFooterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CModalFooter = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('modal-footer', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCModalFooter.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCModalFooter.displayName = 'CModalFooter'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport { CCloseButton } from '../close-button/CCloseButton'\nimport classNames from 'classnames'\n\nexport interface CModalHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Add a close button component to the header which will call the provided handler when clicked. [docs]\n */\n onDismiss?: () => void\n}\n\nexport const CModalHeader = forwardRef(\n ({ children, className, onDismiss, ...rest }, ref) => {\n const _className = classNames('modal-header', className)\n\n return (\n
    \n {children}\n {onDismiss && }\n
    \n )\n },\n)\n\nCModalHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n onDismiss: PropTypes.func,\n}\n\nCModalHeader.displayName = 'CModalHeader'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalTitleProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'h5'\n */\n component?: string | ElementType\n}\n\nexport const CModalTitle = forwardRef(\n ({ children, component: Component = 'h5', className, ...rest }, ref) => {\n const _className = classNames('modal-title', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCModalTitle.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCModalTitle.displayName = 'CModalTitle'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavProps\n extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'ul'\n */\n component?: string | ElementType\n /**\n * Specify a layout type for component. [docs]\n */\n layout?: 'fill' | 'justified'\n /**\n * Set the nav variant to tabs or pills. [docs]\n */\n variant?: 'tabs' | 'pills'\n}\n\nexport const CNav = forwardRef(\n ({ children, className, component: Component = 'ul', layout, variant }, ref) => {\n const _className = classNames(\n 'nav',\n {\n [`nav-${layout}`]: layout,\n [`nav-${variant}`]: variant,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n layout: PropTypes.oneOf(['fill', 'justified']),\n variant: PropTypes.oneOf(['tabs', 'pills']),\n}\n\nCNav.displayName = 'CNav'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavGroupItemsProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CNavGroupItems = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('nav-group-items', className)\n return (\n
      \n {children}\n
    \n )\n },\n)\n\nCNavGroupItems.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavGroupItems.displayName = 'CNavGroupItems'\n","import React, { createContext, forwardRef, HTMLAttributes, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarNavProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\ninterface ContextProps {\n visibleGroup: string\n setVisibleGroup: React.Dispatch>\n}\n\nexport const CNavContext = createContext({} as ContextProps)\n\nexport const CSidebarNav = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const [visibleGroup, setVisibleGroup] = useState('')\n const CNavContextValues = {\n visibleGroup,\n setVisibleGroup,\n }\n const classes = classNames('sidebar-nav', className)\n return (\n
      \n \n {React.Children.map(children, (child, index) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child, { key: index, idx: `${index}` })\n }\n return\n })}\n \n
    \n )\n },\n)\n\nCSidebarNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarNav.displayName = 'CSidebarNav'\n","import React, { CSSProperties, forwardRef, ReactNode, useContext, useRef, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nimport { CNavContext } from '../sidebar/CSidebarNav'\nexport interface CNavGroupProps {\n children?: ReactNode\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Set component's icon. [docs]\n */\n icon?: string | ReactNode\n /**\n * Set group toggler label. [docs]\n */\n toggler?: string\n /**\n * Show nav group items. [docs]\n */\n visible?: boolean\n /**\n * @ignore\n */\n idx?: string\n}\n\nexport const CNavGroup = forwardRef(\n ({ children, toggler, className, icon, idx, visible, ...rest }, ref) => {\n const [height, setHeight] = useState()\n const navItemsRef = useRef(null)\n\n const style: CSSProperties = {\n height: 0,\n }\n\n const onEntering = () => {\n navItemsRef && navItemsRef.current && setHeight(navItemsRef.current.scrollHeight)\n }\n\n const onEntered = () => {\n setHeight('auto')\n }\n\n const onExit = () => {\n navItemsRef && navItemsRef.current && setHeight(navItemsRef.current.scrollHeight)\n }\n\n const onExiting = () => {\n // @ts-expect-error reflow is necessary to get correct height of the element\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const reflow = navItemsRef && navItemsRef.current && navItemsRef.current.offsetHeight\n setHeight(0)\n }\n\n const onExited = () => {\n setHeight(0)\n }\n\n const transitionStyles = {\n entering: { display: 'block', height: height },\n entered: { display: 'block', height: height },\n exiting: { display: 'block', height: height },\n exited: { height: height },\n }\n\n const { visibleGroup, setVisibleGroup } = useContext(CNavContext)\n\n const _visible = Boolean(\n visible || (idx && visibleGroup && visibleGroup.toString().startsWith(idx.toString())),\n )\n\n const _className = classNames('nav-group', { show: _visible }, className)\n\n return (\n
  • \n {toggler && (\n {\n event.preventDefault()\n setVisibleGroup(\n _visible\n ? idx?.toString().includes('.')\n ? idx.slice(0, idx.lastIndexOf('.'))\n : ''\n : idx,\n )\n }}\n >\n {icon && typeof icon === 'string' ? : icon}\n {toggler}\n \n )}\n \n {(state) => (\n \n {React.Children.map(children, (child, index) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child, { key: index, idx: `${idx}.${index}` })\n }\n return\n })}\n \n )}\n \n
  • \n )\n },\n)\n\nCNavGroup.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n idx: PropTypes.string,\n toggler: PropTypes.string,\n visible: PropTypes.bool,\n}\n\nCNavGroup.displayName = 'CNavGroup'\n","import React, { ElementType, forwardRef, ReactNode, useContext, useEffect, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { useForkedRef } from '../../utils/hooks'\n\nimport { CNavContext } from '../sidebar/CSidebarNav'\nimport { CLinkProps, CLink } from '../link/CLink'\nexport interface CNavLinkProps extends Omit {\n /**\n * Toggle the active state for the component. [docs]\n */\n active?: boolean\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'a'\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n /**\n * Set component's icon. [docs]\n */\n icon?: string | ReactNode\n\n /**\n * @ignore\n */\n idx?: string\n /**\n * @ignore\n */\n to?: string\n}\n\nexport const CNavLink = forwardRef<\n HTMLButtonElement | HTMLAnchorElement | HTMLLIElement,\n CNavLinkProps\n>(({ children, className, icon, idx, ...rest }, ref) => {\n const navLinkRef = useRef(null)\n const forkedRef = useForkedRef(ref, navLinkRef)\n\n const { setVisibleGroup } = useContext(CNavContext)\n const _className = classNames('nav-link', className)\n\n useEffect(() => {\n rest.active = navLinkRef.current?.classList.contains('active')\n idx && rest.active && setVisibleGroup(idx)\n }, [rest.active, className])\n\n return (\n \n {icon && typeof icon === 'string' ? : icon}\n {children}\n \n )\n})\n\nCNavLink.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n idx: PropTypes.string,\n}\n\nCNavLink.displayName = 'CNavLink'\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CNavLink, CNavLinkProps } from './CNavLink'\n\nexport const CNavItem = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('nav-item', className)\n if (rest.href || rest.to) {\n children = (\n \n {children}\n \n )\n }\n return (\n
  • \n {children}\n
  • \n )\n },\n)\n\nCNavItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavItem.displayName = 'CNavItem'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavTitleProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CNavTitle = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('nav-title', className)\n return (\n
  • \n {children}\n
  • \n )\n },\n)\n\nCNavTitle.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavTitle.displayName = 'CNavTitle'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CNavbarProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Sets if the color of text should be colored for a light or dark dark background. [docs]\n *\n * @type 'dark' | 'light'\n */\n colorScheme?: 'dark' | 'light'\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'nav'\n */\n component?: string | ElementType\n /**\n * Defines optional container wrapping children elements.\n *\n * @type boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n */\n container?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n /**\n * Defines the responsive breakpoint to determine when content collapses. [docs]\n */\n expand?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Place component in non-static positions. [docs]\n *\n * @type 'fixed-top' | 'fixed-bottom' | 'sticky-top'\n */\n placement?: 'fixed-top' | 'fixed-bottom' | 'sticky-top'\n}\n\nexport const CNavbar = forwardRef(\n (\n {\n children,\n className,\n color,\n colorScheme,\n component: Component = 'nav',\n container,\n expand,\n placement,\n ...rest\n },\n ref,\n ) => {\n const _className = classNames(\n 'navbar',\n {\n [`bg-${color}`]: color,\n [`navbar-${colorScheme}`]: colorScheme,\n [typeof expand === 'boolean' ? 'navbar-expand' : `navbar-expand-${expand}`]: expand,\n },\n placement,\n className,\n )\n\n let content\n if (container) {\n content = (\n
    {children}
    \n )\n } else {\n content = children\n }\n\n return (\n \n {content}\n \n )\n },\n)\n\nCNavbar.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n colorScheme: PropTypes.oneOf(['dark', 'light']),\n component: PropTypes.elementType,\n container: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'>([\n 'sm',\n 'md',\n 'lg',\n 'xl',\n 'xxl',\n 'fluid',\n ]),\n ]),\n expand: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n placement: PropTypes.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']),\n}\n\nCNavbar.displayName = 'CNavbar'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarBrandProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n */\n component?: string | ElementType\n /**\n * The href attribute specifies the URL of the page the link goes to. [docs]\n */\n href?: string\n}\n\nexport const CNavbarBrand = forwardRef(\n ({ children, component, className, ...rest }, ref) => {\n const Component = component ? component : rest.href ? 'a' : 'span'\n const _className = classNames('navbar-brand', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCNavbarBrand.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCNavbarBrand.displayName = 'CNavbarBrand'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarNavProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'ul'\n */\n component?: string | ElementType\n}\n\nexport const CNavbarNav = forwardRef(\n ({ children, component: Component = 'ul', className, ...rest }, ref) => {\n const _className = classNames('navbar-nav', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCNavbarNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCNavbarNav.displayName = 'CNavbarNav'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarTextProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CNavbarText = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('navbar-text', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCNavbarText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavbarText.displayName = 'CNavbarText'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarTogglerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CNavbarToggler = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('navbar-toggler', className)\n\n return (\n \n )\n },\n)\n\nCNavbarToggler.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavbarToggler.displayName = 'CNavbarToggler'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CPaginationProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Size the component small or large. [docs]\n */\n size?: 'sm' | 'lg'\n}\n\nexport const CPagination = forwardRef(\n ({ children, className, size, ...rest }, ref) => {\n const _className = classNames('pagination', { [`pagination-${size}`]: size }, className)\n return (\n \n )\n },\n)\n\nCPagination.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n size: PropTypes.oneOf(['sm', 'lg']),\n}\n\nCPagination.displayName = 'CPagination'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLink } from '../link/CLink'\n\nexport interface CPaginationItemProps extends HTMLAttributes {\n /**\n * Define a string that labels the current element. Use it in cases where a text label is not visible on the screen. [docs]\n */\n ariaLabel?: string\n /**\n * Toggle the active state for the component. [docs]\n */\n active?: boolean\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component. [docs]\n */\n disabled?: boolean\n}\n\nexport const CPaginationItem = forwardRef(\n ({ children, className, component, ...rest }, ref) => {\n const _className = classNames(\n 'page-item',\n {\n active: rest.active,\n disabled: rest.disabled,\n },\n className,\n )\n\n const Component = component ? component : rest.active ? 'span' : 'a'\n\n return (\n
  • \n {Component === 'a' ? (\n \n {children}\n \n ) : (\n \n {children}\n \n )}\n
  • \n )\n },\n)\n\nCPaginationItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCPaginationItem.displayName = 'CPaginationItem'\n","import React, { CSSProperties, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CPopoverProps } from './CPopover'\nimport { PopperChildrenProps } from 'react-popper'\n\ninterface CPopoverContentProps\n extends Omit,\n Omit {\n transitionClass?: string\n style?: CSSProperties\n placementClassNamePostfix?: string\n}\n\nexport const CPopoverContent = forwardRef(\n ({ content, title, placementClassNamePostfix, arrowProps, style, transitionClass }, ref) => (\n <>\n \n
    \n
    {title}
    \n
    {content}
    \n
    \n \n ),\n)\n\nCPopoverContent.propTypes = {\n arrowProps: PropTypes.any,\n content: PropTypes.node,\n placementClassNamePostfix: PropTypes.string,\n style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),\n title: PropTypes.string,\n transitionClass: PropTypes.string,\n}\n\nCPopoverContent.displayName = 'CPopoverContent'\n","import React, { FC, ReactElement, ReactNode, useState } from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\nimport { Manager, Popper, Reference } from 'react-popper'\nimport { CSSTransition } from 'react-transition-group'\n\nimport { CPopoverContent } from './CPopoverContent'\nimport { Triggers, triggerPropType } from '../Types'\n\nexport interface CPopoverProps {\n children: ReactElement\n /**\n * Content node for your component. [docs]\n */\n content: ReactNode\n /**\n * Offset of the popover relative to its target. [docs]\n * @default '[0, 8]'\n */\n offset?: [number, number]\n /**\n * Title node for your component. [docs]\n */\n title?: ReactNode\n /**\n * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them. [docs]\n */\n trigger?: Triggers | Triggers[]\n /**\n * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property. [docs]\n *\n * @type 'top' | 'right' | 'bottom' | 'left'\n * @default 'top'\n */\n placement?: 'top' | 'right' | 'bottom' | 'left'\n /**\n * Toggle the visibility of popover component. [docs]\n *\n * @default true\n */\n visible?: boolean\n}\n\nexport const CPopover: FC = ({\n children,\n placement = 'top',\n offset = [0, 8],\n trigger = 'click',\n visible,\n ...rest\n}) => {\n const [_visible, setVisible] = useState(visible)\n\n const getTransitionClass = (state: string) => {\n return state === 'entering'\n ? 'fade'\n : state === 'entered'\n ? 'fade show'\n : state === 'exiting'\n ? 'fade'\n : 'fade'\n }\n\n return (\n \n \n {({ ref }) =>\n React.cloneElement(children, {\n ref: ref,\n ...((trigger === 'click' || trigger.includes('click')) && {\n onClick: () => setVisible(!_visible),\n }),\n ...((trigger === 'focus' || trigger.includes('focus')) && {\n onFocus: () => setVisible(true),\n onBlur: () => setVisible(false),\n }),\n ...((trigger === 'hover' || trigger.includes('hover')) && {\n onMouseEnter: () => setVisible(true),\n onMouseLeave: () => setVisible(false),\n }),\n })\n }\n \n {typeof window !== 'undefined' &&\n createPortal(\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return (\n \n {(p) => (\n \n )}\n \n )\n }}\n
    ,\n document.body,\n )}\n \n )\n}\n\nCPopover.propTypes = {\n children: PropTypes.any,\n placement: PropTypes.oneOf(['top', 'right', 'bottom', 'left']),\n offset: PropTypes.any, // TODO: find good proptype\n trigger: triggerPropType,\n visible: PropTypes.bool,\n}\n\nCPopover.displayName = 'CPopover'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\nexport interface CProgressBarProps extends HTMLAttributes {\n /**\n * Use to animate the stripes right to left via CSS3 animations. [docs]\n *\n * @default false\n */\n animated?: boolean\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * The percent to progress the ProgressBar. [docs]\n *\n * @default 0\n */\n value?: number\n /**\n * Set the progress bar variant to optional striped. [docs]\n */\n variant?: 'striped'\n}\n\nexport const CProgressBar = forwardRef(\n ({ children, animated = false, className, color, value = 0, variant, ...rest }, ref) => {\n const _className = classNames(\n 'progress-bar',\n {\n [`bg-${color}`]: color,\n [`progress-bar-${variant}`]: variant,\n 'progress-bar-animated': animated,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\nCProgressBar.propTypes = {\n animated: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n value: PropTypes.number,\n variant: PropTypes.oneOf(['striped']),\n}\n\nCProgressBar.displayName = 'CProgressBar'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CProgressBar, CProgressBarProps } from './CProgressBar'\n\nexport interface CProgressProps\n extends Omit, 'color'>,\n CProgressBarProps {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the height of the component. If you set that value the inner will automatically resize accordingly. [docs]\n *\n * @default 'undefined'\n */\n height?: number\n /**\n * Makes progress bar thinner. [docs]\n */\n thin?: boolean\n /**\n * The percent to progress the ProgressBar (out of 100). [docs]\n * @default 0\n */\n value?: number\n /**\n * Change the default color to white. [docs]\n */\n white?: boolean\n}\n\nexport const CProgress = forwardRef(\n ({ children, className, height, thin, value = 0, white, ...rest }, ref) => {\n const _className = classNames(\n 'progress',\n {\n 'progress-thin': thin,\n 'progress-white': white,\n },\n className,\n )\n\n return (\n
    \n {value ? (\n \n {children}\n \n ) : (\n children\n )}\n
    \n )\n },\n)\n\nCProgress.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n height: PropTypes.number,\n thin: PropTypes.bool,\n value: PropTypes.number,\n white: PropTypes.bool,\n}\n\nCProgress.displayName = 'CProgress'\n","// TODO: check if element is visible after toggle\n\nimport React, {\n forwardRef,\n HTMLAttributes,\n useEffect,\n useLayoutEffect,\n useRef,\n useState,\n} from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Breakpoints } from '../Types'\nimport { useForkedRef } from '../../utils/hooks'\nimport { CBackdrop } from '../backdrop/CBackdrop'\n\nexport interface CSidebarProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Make sidebar narrow. [docs]\n */\n narrow?: boolean\n /**\n * Method called before the hide animation has started. [docs]\n */\n onHide?: () => void\n /**\n * Method called before the show animation has started. [docs]\n */\n onShow?: () => void\n /**\n * Set sidebar to narrow variant. [docs]\n */\n overlaid?: boolean\n /**\n * Place sidebar in non-static positions. [docs]\n */\n position?: 'fixed' | 'sticky'\n /**\n * Make any sidebar self hiding across all viewports or pick a maximum breakpoint with which to have a self hiding up to. [docs]\n */\n selfHiding?: Breakpoints | boolean\n /**\n * Expand narrowed sidebar on hover. [docs]\n */\n unfoldable?: boolean\n /**\n * Toggle the visibility of sidebar component. [docs]\n */\n visible?: boolean\n}\n\nexport const CSidebar = forwardRef(\n (\n {\n children,\n className,\n narrow,\n onHide,\n onShow,\n overlaid,\n position,\n selfHiding,\n unfoldable,\n visible,\n ...rest\n },\n ref,\n ) => {\n const sidebarRef = useRef(null)\n const forkedRef = useForkedRef(ref, sidebarRef)\n const [mobile, setMobile] = useState(false)\n const [_visible, setVisible] = useState(visible)\n\n const isOnMobile = (element: React.RefObject) =>\n Boolean(\n element.current && getComputedStyle(element.current).getPropertyValue('--cui-is-mobile'),\n )\n\n useLayoutEffect(() => {\n setMobile(isOnMobile(sidebarRef))\n })\n\n useEffect(() => {\n setVisible(visible)\n setMobile(isOnMobile(sidebarRef))\n }, [visible])\n\n useEffect(() => {\n setMobile(isOnMobile(sidebarRef))\n _visible && onShow && onShow()\n }, [_visible])\n\n useEffect(() => {\n window.addEventListener('mouseup', handleClickOutside)\n sidebarRef.current && sidebarRef.current.addEventListener('mouseup', handleOnClick)\n window.addEventListener('keyup', handleKeyup)\n\n return () => {\n window.removeEventListener('mouseup', handleClickOutside)\n sidebarRef.current && sidebarRef.current.removeEventListener('mouseup', handleOnClick)\n window.removeEventListener('keyup', handleKeyup)\n }\n })\n\n const handleHide = () => {\n if (_visible) {\n setVisible(false)\n onHide && onHide()\n }\n }\n\n const handleKeyup = (event: Event) => {\n if (\n mobile &&\n sidebarRef.current &&\n !sidebarRef.current.contains(event.target as HTMLElement)\n ) {\n handleHide()\n }\n }\n const handleClickOutside = (event: Event) => {\n if (\n mobile &&\n sidebarRef.current &&\n !sidebarRef.current.contains(event.target as HTMLElement)\n ) {\n handleHide()\n }\n }\n\n const handleOnClick = (event: Event) => {\n const target = event.target as HTMLAnchorElement\n target &&\n target.classList.contains('nav-link') &&\n !target.classList.contains('nav-group-toggle') &&\n mobile &&\n handleHide()\n }\n\n const _className = classNames(\n 'sidebar',\n {\n 'sidebar-narrow': narrow,\n 'sidebar-overlaid': overlaid,\n [`sidebar-${position}`]: position,\n [`sidebar-self-hiding${typeof selfHiding !== 'boolean' && '-' + selfHiding}`]: selfHiding,\n 'sidebar-narrow-unfoldable': unfoldable,\n show: _visible,\n hide: !_visible,\n },\n className,\n )\n\n return (\n <>\n
    \n {children}\n
    \n {typeof window !== 'undefined' &&\n mobile &&\n createPortal(\n ,\n document.body,\n )}\n \n )\n },\n)\n\nCSidebar.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n narrow: PropTypes.bool,\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n overlaid: PropTypes.bool,\n position: PropTypes.oneOf(['fixed', 'sticky']),\n selfHiding: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n unfoldable: PropTypes.bool,\n visible: PropTypes.bool,\n}\n\nCSidebar.displayName = 'CSidebar'\n","import PropTypes from 'prop-types'\nimport React, { forwardRef, HTMLAttributes, useCallback, useEffect, useRef, useState } from 'react'\nimport { createPortal } from 'react-dom'\nimport { Transition } from 'react-transition-group'\nimport classNames from 'classnames'\n\nimport { useForkedRef } from '../../utils/hooks'\nimport { CBackdrop } from '../backdrop/CBackdrop'\n\nexport interface COffcanvasProps extends HTMLAttributes {\n /**\n * Apply a backdrop on body while offcanvas is open. [docs]\n * @default true\n */\n backdrop?: boolean\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Closes the offcanvas when escape key is pressed [docs]\n * @default true\n */\n keyboard?: boolean\n /**\n * Method called before the dissmiss animation has started. [docs]\n */\n onDismiss?: () => void\n /**\n * Components placement, there’s no default placement. [docs]\n * @type 'start' | 'end' | 'top' | 'bottom'\n */\n placement: 'start' | 'end' | 'top' | 'bottom'\n /**\n * Generates modal using createPortal. [docs]\n */\n portal?: boolean\n /**\n * Toggle the visibility of offcanvas component. [docs]\n */\n visible?: boolean\n}\n\nexport const COffcanvas = forwardRef(\n (\n {\n children,\n backdrop = true,\n className,\n keyboard = true,\n onDismiss,\n placement,\n portal = true,\n visible = false,\n ...rest\n },\n ref,\n ) => {\n const [_visible, setVisible] = useState(visible)\n const offcanvasRef = useRef(null)\n const forkedRef = useForkedRef(ref, offcanvasRef)\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n const _className = classNames(\n 'offcanvas',\n {\n [`offcanvas-${placement}`]: placement,\n show: _visible,\n },\n className,\n )\n\n const transitionStyles = {\n entering: { visibility: 'visible' },\n entered: { visibility: 'visible' },\n exiting: { visibility: 'visible' },\n exited: { visibility: 'hidden' },\n }\n\n const handleDismiss = () => {\n setVisible(false)\n return onDismiss && onDismiss()\n }\n\n const handleKeyDown = useCallback(\n (event) => {\n if (event.key === 'Escape' && keyboard) {\n return handleDismiss()\n }\n },\n [ref, handleDismiss],\n )\n\n const offcanvas = (ref: React.Ref, state: string) => {\n return (\n <>\n \n {children}\n \n \n )\n }\n\n return (\n <>\n offcanvasRef.current?.focus()}>\n {(state) => {\n return typeof window !== 'undefined' && portal\n ? createPortal(offcanvas(forkedRef, state), document.body)\n : offcanvas(forkedRef, state)\n }}\n \n {typeof window !== 'undefined' && portal\n ? backdrop &&\n createPortal(, document.body)\n : backdrop && }\n \n )\n },\n)\n\nCOffcanvas.propTypes = {\n backdrop: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n keyboard: PropTypes.bool,\n onDismiss: PropTypes.func,\n placement: PropTypes.oneOf<'start' | 'end' | 'top' | 'bottom'>(['start', 'end', 'top', 'bottom'])\n .isRequired,\n portal: PropTypes.bool,\n visible: PropTypes.bool,\n}\n\nCOffcanvas.displayName = 'COffcanvas'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface COffcanvasBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const COffcanvasBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('offcanvas-body', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCOffcanvasBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCOffcanvasBody.displayName = 'COffcanvasBody'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface COffcanvasHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const COffcanvasHeader = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('offcanvas-header', className)\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCOffcanvasHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCOffcanvasHeader.displayName = 'COffcanvasHeader'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface COffcanvasTitleProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'h5'\n */\n component?: string | ElementType\n}\n\nexport const COffcanvasTitle = forwardRef(\n ({ children, component: Component = 'h5', className, ...rest }, ref) => {\n const _className = classNames('offcanvas-title', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCOffcanvasTitle.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCOffcanvasTitle.displayName = 'COffcanvasTitle'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarBrandProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CSidebarBrand = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('sidebar-brand', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCSidebarBrand.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarBrand.displayName = 'CSidebarBrand'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarFooterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CSidebarFooter = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('sidebar-footer', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCSidebarFooter.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarFooter.displayName = 'CSidebarFooter'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarTogglerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CSidebarToggler = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('sidebar-toggler', className)\n return (\n \n )\n },\n)\n\nCSidebarToggler.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarToggler.displayName = 'CSidebarToggler'\n","import PropTypes from 'prop-types'\nimport React, { FC, ElementType, useMemo } from 'react'\nimport { CNavGroup } from '../nav/CNavGroup'\nimport { CNavGroupItems } from '../nav/CNavGroupItems'\nimport { CNavItem } from '../nav/CNavItem'\nimport { CNavLink, CNavLinkProps } from '../nav/CNavLink'\nimport { CNavTitle } from '../nav/CNavTitle'\n\nexport interface CSidebarNavItemGeneratorProps {\n anchor: string\n as: string | ElementType\n _component: string\n items?: CNavLinkProps[]\n idx?: string\n}\n\ninterface CCreateNavItemProps {\n idx?: string\n items: CNavLinkProps[]\n}\n\nexport const CCreateNavItem: FC = ({ items, idx }) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const renderItem = (item: any, index: number, idx?: string) => {\n const { _component, as, anchor, items, ...rest }: CSidebarNavItemGeneratorProps = item\n const components = { CNavGroup, CNavGroupItems, CNavItem, CNavLink, CNavTitle }\n\n const Component = components[_component] || _component\n\n const children = items ? items.map((item, index) => renderItem(item, index)) : anchor\n\n return (\n \n {children}\n \n )\n }\n\n const generatedItems = useMemo(() => {\n return items && items.map((item, index) => renderItem(item, index, idx))\n }, [JSON.stringify(items)])\n\n return {generatedItems}\n}\n\nCCreateNavItem.propTypes = {\n idx: PropTypes.string,\n items: PropTypes.arrayOf(PropTypes.any).isRequired,\n}\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n}\n\nexport const CSidebarHeader = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('sidebar-header', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCSidebarHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarHeader.displayName = 'CSidebarHeader'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CSpinnerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n *\n * @default 'undefined'\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type {'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string }\n */\n color?: Colors\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n *\n * @default 'div'\n */\n component?: string | ElementType\n /**\n * Size the component small. [docs]\n *\n * @default 'undefined'\n */\n size?: 'sm'\n /**\n * Set the button variant to an outlined button or a ghost button. [docs]\n *\n * @default 'border'\n */\n variant?: 'border' | 'grow'\n}\n\nexport const CSpinner = forwardRef(\n ({ className, color, component: Component = 'div', size, variant = 'border', ...rest }, ref) => {\n const _className = classNames(\n `spinner-${variant}`,\n `text-${color}`,\n size && `spinner-${variant}-${size}`,\n className,\n )\n\n return (\n \n Loading...\n \n )\n },\n)\n\nCSpinner.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n component: PropTypes.string,\n size: PropTypes.oneOf(['sm']),\n variant: PropTypes.oneOf(['border', 'grow']),\n}\n\nCSpinner.displayName = 'CSpinner'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableProps extends HTMLAttributes {\n /**\n * Set the vertical aligment. [docs]\n */\n align?: 'bottom' | 'middle' | 'top'\n /**\n * Sets the border color of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n borderColor?: Colors\n /**\n * Add borders on all sides of the table and cells. [docs]\n */\n bordered?: boolean\n /**\n * Remove borders on all sides of the table and cells. [docs]\n */\n borderless?: boolean\n /**\n * Put the on the top of the table. [docs]\n */\n caption?: 'top'\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Enable a hover state on table rows within a ``. [docs]\n */\n hover?: boolean\n /**\n * Make any table responsive across all viewports or pick a maximum breakpoint with which to have a responsive table up to. [docs]\n */\n responsive?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Make table more compact by cutting all cell `padding` in half. [docs]\n */\n small?: boolean\n /**\n * Add zebra-striping to any table row within the ``. [docs]\n */\n striped?: boolean\n}\n\nexport const CTable = forwardRef(\n (\n {\n children,\n align,\n borderColor,\n bordered,\n borderless,\n caption,\n className,\n color,\n hover,\n responsive,\n small,\n striped,\n ...rest\n },\n ref,\n ) => {\n const _className = classNames(\n 'table',\n {\n [`align-${align}`]: align,\n [`caption-${caption}`]: caption,\n [`border-${borderColor}`]: borderColor,\n 'table-bordered': bordered,\n 'table-borderless': borderless,\n [`table-${color}`]: color,\n 'table-hover': hover,\n 'table-sm': small,\n 'table-striped': striped,\n },\n className,\n )\n\n return responsive ? (\n \n \n {children}\n
    \n \n ) : (\n \n {children}\n
    \n )\n },\n)\n\nCTable.propTypes = {\n align: PropTypes.oneOf(['bottom', 'middle', 'top']),\n borderColor: PropTypes.string,\n bordered: PropTypes.bool,\n borderless: PropTypes.bool,\n caption: PropTypes.oneOf(['top']),\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n hover: PropTypes.bool,\n responsive: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n small: PropTypes.bool,\n striped: PropTypes.bool,\n}\n\nCTable.displayName = 'CTable'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableBody = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableBody.displayName = 'CTableBody'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\n\nexport const CTableCaption = forwardRef<\n HTMLTableCaptionElement,\n HTMLAttributes\n>(({ children, ...props }, ref) => {\n return (\n \n {children}\n \n )\n})\n\nCTableCaption.propTypes = {\n children: PropTypes.node,\n}\n\nCTableCaption.displayName = 'CTableCaption'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableDataCellProps extends HTMLAttributes {\n /**\n * Highlight a table row or cell. [docs]\n */\n active?: boolean\n /**\n * Set the vertical aligment. [docs]\n */\n align?: 'bottom' | 'middle' | 'top'\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableDataCell = forwardRef(\n ({ children, active, align, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`align-${align}`]: align,\n 'table-active': active,\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableDataCell.propTypes = {\n active: PropTypes.bool,\n align: PropTypes.oneOf(['bottom', 'middle', 'top']),\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableDataCell.displayName = 'CTableDataCell'\n","import PropTypes from 'prop-types'\nimport React, { forwardRef, HTMLAttributes } from 'react'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableFootProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableFoot = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableFoot.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableFoot.displayName = 'CTableFoot'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableHeadProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableHead = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableHead.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableHead.displayName = 'CTableHead'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableHeaderCellProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableHeaderCell = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableHeaderCell.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableHeaderCell.displayName = 'CTableHeaderCell'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableRowProps extends HTMLAttributes {\n /**\n * Highlight a table row or cell.. [docs]\n */\n active?: boolean\n /**\n * Set the vertical aligment. [docs]\n */\n align?: 'bottom' | 'middle' | 'top'\n /**\n * A string of all className you want applied to the component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableRow = forwardRef(\n ({ children, active, align, className, color, ...rest }, ref) => {\n const _className = classNames(\n {\n [`align-${align}`]: align,\n 'table-active': active,\n [`table-${color}`]: color,\n },\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableRow.propTypes = {\n active: PropTypes.bool,\n align: PropTypes.oneOf(['bottom', 'middle', 'top']),\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableRow.displayName = 'CTableRow'\n","import React, { HTMLAttributes, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CTabContentProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CTabContent = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('tab-content', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCTabContent.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCTabContent.displayName = 'CTabContent'\n","import React, { HTMLAttributes, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nexport interface CTabPaneProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Toggle the visibility of component. [docs]\n */\n visible?: boolean\n}\n\nexport const CTabPane = forwardRef(\n ({ children, className, visible, ...rest }, ref) => {\n const style = {\n transition: `opacity 150ms linear`,\n }\n\n const getTransitionClass = (state: string) => {\n return state === 'entering'\n ? 'show'\n : state === 'entered'\n ? 'show active'\n : state === 'exiting'\n ? 'active'\n : ''\n }\n\n const _className = classNames('tab-pane', 'fade', className)\n return (\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return (\n \n {children}\n \n )\n }}\n \n )\n },\n)\n\nCTabPane.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n visible: PropTypes.bool,\n}\n\nCTabPane.displayName = 'CTabPane'\n","import React, {\n createContext,\n forwardRef,\n HTMLAttributes,\n useEffect,\n useRef,\n useState,\n} from 'react'\nimport { CSSTransition } from 'react-transition-group'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CToastProps extends Omit, 'title'> {\n /**\n * Auto hide the toast. [docs]\n *\n * @default true\n */\n autohide?: boolean\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Delay hiding the toast (ms). [docs]\n */\n delay?: number\n /**\n * @ignore\n */\n index?: number\n /**\n * @ignore\n */\n key?: number\n /**\n * Toggle the visibility of component. [docs]\n *\n * @default true\n */\n visible?: boolean\n /**\n * Method called before the dissmiss animation has started. [docs]\n */\n onDismiss?: (index: number | null) => void\n}\n\ninterface ContextProps extends CToastProps {\n visible?: boolean\n setVisible: React.Dispatch>\n}\n\nexport const CToastContext = createContext({} as ContextProps)\n\nexport const CToast = forwardRef(\n (\n {\n children,\n autohide = true,\n className,\n color,\n delay = 5000,\n index,\n key,\n visible = true,\n onDismiss,\n ...rest\n },\n ref,\n ) => {\n const [_visible, setVisible] = useState(visible)\n const timeout = useRef()\n\n const contextValues = {\n visible: _visible,\n setVisible,\n }\n\n // triggered on mount and destroy\n useEffect(() => () => clearTimeout(timeout.current), [])\n\n useEffect(() => {\n _autohide()\n }, [_visible])\n\n const _autohide = () => {\n if (autohide) {\n clearTimeout(timeout.current)\n timeout.current = window.setTimeout(() => {\n setVisible(false)\n }, delay)\n }\n }\n\n const _className = classNames(\n 'toast fade',\n {\n show: _visible,\n [`bg-${color}`]: color,\n 'border-0': color,\n },\n className,\n )\n return (\n onDismiss && onDismiss(index ? index : null)}\n unmountOnExit\n >\n \n clearTimeout(timeout.current)}\n onMouseLeave={() => _autohide}\n {...rest}\n key={key}\n ref={ref}\n >\n {children}\n \n \n \n )\n },\n)\n\nCToast.propTypes = {\n autohide: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n delay: PropTypes.number,\n index: PropTypes.number,\n key: PropTypes.number,\n onDismiss: PropTypes.func,\n visible: PropTypes.bool,\n}\n\nCToast.displayName = 'CToast'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CToastBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n}\n\nexport const CToastBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('toast-body', className)\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCToastBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCToastBody.displayName = 'CToastBody'\n","import React, { ElementType, forwardRef, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport { CToastContext } from './CToast'\nimport { CCloseButton, CCloseButtonProps } from '../close-button/CCloseButton'\n\nexport interface CToastCloseProps extends CCloseButtonProps {\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. [docs]\n */\n component?: string | ElementType\n}\n\nexport const CToastClose = forwardRef(\n ({ children, component: Component, ...rest }, ref) => {\n const { setVisible } = useContext(CToastContext)\n return Component ? (\n setVisible(false)} {...rest} ref={ref}>\n {children}\n \n ) : (\n setVisible(false)} {...rest} ref={ref} />\n )\n },\n)\n\nCToastClose.propTypes = {\n ...CCloseButton.propTypes,\n component: PropTypes.elementType,\n}\n\nCToastClose.displayName = 'CToastClose'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CToastClose } from './CToastClose'\n\nexport interface CToastHeaderProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Automatically add a close button to the header.\n */\n close?: boolean\n}\n\nexport const CToastHeader = forwardRef(\n ({ children, className, close, ...rest }, ref) => {\n const _className = classNames('toast-header', className)\n return (\n
    \n {children}\n {close && }\n
    \n )\n },\n)\n\nCToastHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n close: PropTypes.bool,\n}\n\nCToastHeader.displayName = 'CToastHeader'\n","import React, { forwardRef, HTMLAttributes, useEffect, useState, useRef, ReactElement } from 'react'\nimport PropTypes from 'prop-types'\nimport { createPortal } from 'react-dom'\nimport classNames from 'classnames'\nexport interface CToasterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Describes the placement of your component. [docs]\n *\n * @type 'top-start' | 'top' | 'top-end' | 'middle-start' | 'middle' | 'middle-end' | 'bottom-start' | 'bottom' | 'bottom-end' | string\n */\n placement?:\n | 'top-start'\n | 'top-center'\n | 'top-end'\n | 'middle-start'\n | 'middle-center'\n | 'middle-end'\n | 'bottom-start'\n | 'bottom-center'\n | 'bottom-end'\n | string\n /**\n * Adds new `CToast` to `CToaster`. [docs]\n */\n push?: ReactElement\n}\n\nexport const CToaster = forwardRef(\n ({ children, className, placement, push, ...rest }, ref) => {\n const [toasts, setToasts] = useState([])\n const index = useRef(0)\n\n useEffect(() => {\n index.current++\n push && addToast(push)\n }, [push])\n\n const addToast = (push: ReactElement) => {\n setToasts((state) => [\n ...state,\n React.cloneElement(push, {\n index: index.current,\n key: index.current,\n onDismiss: (index: number) =>\n setToasts((state) => state.filter((i) => i.props.index !== index)),\n }),\n ])\n }\n\n const _className = classNames(\n 'toaster toast-container p-3',\n {\n 'position-fixed': placement,\n 'top-0': placement && placement.includes('top'),\n 'top-50 translate-middle-y': placement && placement.includes('middle'),\n 'bottom-0': placement && placement.includes('bottom'),\n 'start-0': placement && placement.includes('start'),\n 'start-50 translate-middle-x': placement && placement.includes('center'),\n 'end-0': placement && placement.includes('end'),\n },\n className,\n )\n\n const toaster = (ref?: React.Ref) => {\n return toasts.length > 0 || children ? (\n
    \n {children}\n {toasts.map((toast) => toast)}\n
    \n ) : null\n }\n\n return typeof window !== 'undefined' && placement\n ? createPortal(toaster(ref), document.body)\n : toaster(ref)\n },\n)\n\nCToaster.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n placement: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.oneOf([\n 'top-start',\n 'top-center',\n 'top-end',\n 'middle-start',\n 'middle-center',\n 'middle-end',\n 'bottom-start',\n 'bottom-center',\n 'bottom-end',\n ]),\n ]),\n push: PropTypes.any,\n}\n\nCToaster.displayName = 'CToaster'\n","import React, { CSSProperties, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CTooltipProps } from './CTooltip'\nimport { PopperChildrenProps } from 'react-popper'\n\ninterface CTooltipContentProps\n extends Omit,\n Omit {\n transitionClass?: string\n style?: CSSProperties\n placementClassNamePostfix?: string\n}\n\nexport const CTooltipContent = forwardRef(\n ({ content, placementClassNamePostfix, arrowProps, transitionClass, style }, ref) => (\n \n
    \n
    {content}
    \n \n ),\n)\n\nCTooltipContent.propTypes = {\n arrowProps: PropTypes.any,\n content: PropTypes.node,\n placementClassNamePostfix: PropTypes.string,\n style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),\n transitionClass: PropTypes.string,\n}\n\nCTooltipContent.displayName = 'CTooltipContent'\n","import React, { FC, ReactElement, ReactNode, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport { createPortal } from 'react-dom'\nimport { Manager, Popper, Reference } from 'react-popper'\nimport { CSSTransition } from 'react-transition-group'\n\nimport { CTooltipContent } from './CTooltipContent'\nimport { Triggers, triggerPropType } from '../Types'\n\nexport interface CTooltipProps {\n children: ReactElement\n /**\n * Content node for your component. [docs]\n */\n content: ReactNode\n /**\n * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them. [docs]\n */\n trigger?: Triggers | Triggers[]\n /**\n * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property. [docs]\n *\n * @type 'top' | 'right' | 'bottom' | 'left'\n * @default 'top'\n */\n placement?: 'top' | 'right' | 'bottom' | 'left'\n /**\n * Toggle the visibility of popover component. [docs]\n *\n * @default true\n */\n visible?: boolean\n}\n\nexport const CTooltip: FC = ({\n children,\n placement = 'top',\n trigger = 'hover',\n visible,\n ...rest\n}) => {\n const [_visible, setVisible] = useState(visible)\n\n const getTransitionClass = (state: string) => {\n return state === 'entering'\n ? 'fade'\n : state === 'entered'\n ? 'fade show'\n : state === 'exiting'\n ? 'fade'\n : 'fade'\n }\n\n return (\n \n \n {({ ref }) =>\n React.cloneElement(children, {\n ref: ref,\n ...((trigger === 'click' || trigger.includes('click')) && {\n onClick: () => setVisible(!_visible),\n }),\n ...((trigger === 'focus' || trigger.includes('focus')) && {\n onFocus: () => setVisible(true),\n onBlur: () => setVisible(false),\n }),\n ...((trigger === 'hover' || trigger.includes('hover')) && {\n onMouseEnter: () => setVisible(true),\n onMouseLeave: () => setVisible(false),\n }),\n })\n }\n \n {typeof window !== 'undefined' &&\n createPortal(\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return (\n \n {(p) => (\n \n )}\n \n )\n }}\n ,\n document.body,\n )}\n \n )\n}\n\nCTooltip.propTypes = {\n children: PropTypes.any,\n placement: PropTypes.oneOf(['top', 'right', 'bottom', 'left']),\n trigger: triggerPropType,\n visible: PropTypes.bool,\n}\n\nCTooltip.displayName = 'CTooltip'\n","import React, { forwardRef, HTMLAttributes, ReactNode, useMemo } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\nimport { CCardHeader } from '../card/CCardHeader'\nimport { CCol } from '../grid/CCol'\n\ntype Values = number[] | string[]\n\nexport interface CWidgetBrandProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n headerChildren?: string | ReactNode\n values?: Values | Values[]\n}\n\nexport const CWidgetBrand = forwardRef(\n ({ className, color, headerChildren, values, ...rest }, ref) => {\n const _className = classNames(className)\n const classNameHeader = classNames(\n 'position-relative d-flex justify-content-center align-items-center',\n {\n [`bg-${color}`]: color,\n },\n )\n\n const generatedItems = useMemo(() => {\n return (\n values &&\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n values.map((value: any, index: number) => {\n return (\n \n {index % 2 !== 0 &&
    }\n \n
    {value[0]}
    \n
    {value[1]}
    \n
    \n
    \n )\n })\n )\n }, [JSON.stringify(values)])\n\n return (\n \n {headerChildren}\n {generatedItems}\n \n )\n },\n)\n\nCWidgetBrand.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n headerChildren: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n values: PropTypes.arrayOf(PropTypes.any),\n}\n\nCWidgetBrand.displayName = 'CWidgetBrand'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\n\nexport interface CWidgetDropdownProps extends HTMLAttributes {\n action?: string | ReactNode\n change?: string | ReactNode\n chart?: string | ReactNode\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n title?: string\n value?: string | number\n}\n\nexport const CWidgetDropdown = forwardRef(\n ({ action, change, chart, className, color, title, value, ...rest }, ref) => {\n const _className = classNames(\n { [`bg-${color}`]: color, 'text-high-emphasis-inverse': color },\n className,\n )\n\n return (\n \n \n
    \n {value && (\n
    \n {value} {change && {change}}\n
    \n )}\n {title &&
    {title}
    }\n
    \n {action}\n
    \n {chart}\n
    \n )\n },\n)\n\nCWidgetDropdown.propTypes = {\n action: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n change: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n className: PropTypes.string,\n color: colorPropType,\n title: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n}\n\nCWidgetDropdown.displayName = 'CWidgetDropdown'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\nimport { CCardFooter } from '../card/CCardFooter'\n\nexport interface CWidgetIconProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n footer?: string | ReactNode\n icon?: string | ReactNode\n iconPadding?: number\n padding?: number\n title?: string\n value?: string | number\n}\n\nexport const CWidgetIcon = forwardRef(\n (\n { className, color, footer, icon, iconPadding = 3, padding = 3, title, value, ...rest },\n ref,\n ) => {\n const _className = classNames(className)\n\n return (\n \n \n
    {icon}
    \n
    \n
    {value}
    \n
    {title}
    \n
    \n
    \n {footer && {footer}}\n
    \n )\n },\n)\n\nCWidgetIcon.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n footer: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n iconPadding: PropTypes.number,\n padding: PropTypes.number,\n title: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n}\n\nCWidgetIcon.displayName = 'CWidgetIcon'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { Colors, colorPropType } from '../Types'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\nimport { CProgress } from '../progress/CProgress'\n\nexport interface CWidgetProgressProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Sets the color context of the progress bar to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n progressColor?: Colors\n progressValue?: number\n progressWhite?: boolean\n title?: string\n text?: string\n /**\n * Sets the text color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'white' | 'muted' | string\n */\n textColor?: string\n value?: string | number\n}\n\nexport const CWidgetProgress = forwardRef(\n (\n {\n className,\n color,\n progressColor,\n progressValue,\n progressWhite,\n text,\n textColor,\n title,\n value,\n ...rest\n },\n ref,\n ) => {\n return (\n \n \n {value &&
    {value}
    }\n {title &&
    {title}
    }\n \n {text && (\n \n {text}\n \n )}\n
    \n
    \n )\n },\n)\n\nCWidgetProgress.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n progressColor: PropTypes.string,\n progressValue: PropTypes.number,\n progressWhite: PropTypes.bool,\n text: PropTypes.string,\n textColor: PropTypes.string,\n title: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n}\n\nCWidgetProgress.displayName = 'CWidgetCWidgetProgress'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { Colors, colorPropType } from '../Types'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\nimport { CProgress } from '../progress/CProgress'\n\nexport interface CWidgetProgressIconProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n icon?: string | ReactNode\n /**\n * Sets the color context of the progress bar to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n progressColor?: Colors\n progressValue?: number\n progressWhite?: boolean\n title?: string\n /**\n * Sets the text color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'white' | 'muted' | string\n */\n textColor?: string\n value?: string | number\n}\n\nexport const CWidgetProgressIcon = forwardRef(\n (\n {\n className,\n color,\n icon,\n progressColor,\n progressValue,\n progressWhite,\n textColor,\n title,\n value,\n ...rest\n },\n ref,\n ) => {\n return (\n \n \n {icon && (\n
    \n {icon}\n
    \n )}\n {value && (\n
    \n {value}\n
    \n )}\n {title && (\n \n {title}\n \n )}\n \n
    \n
    \n )\n },\n)\n\nCWidgetProgressIcon.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n progressColor: PropTypes.string,\n progressValue: PropTypes.number,\n progressWhite: PropTypes.bool,\n textColor: PropTypes.string,\n title: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n}\n\nCWidgetProgressIcon.displayName = 'CWidgetCWidgetProgressIcon'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CCard } from '../card/CCard'\nimport { CCardBody } from '../card/CCardBody'\n\nexport interface CWidgetSimpleProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component. [docs]\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors. [docs]\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n title?: string\n value?: string | number\n}\n\nexport const CWidgetSimple = forwardRef(\n ({ children, className, title, value, ...rest }, ref) => {\n const _className = classNames(className)\n\n return (\n \n \n {title && (\n
    {title}
    \n )}\n {value &&
    {value}
    }\n {children}\n
    \n
    \n )\n },\n)\n\nCWidgetSimple.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n title: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n}\n\nCWidgetSimple.displayName = 'CWidgetSimple'\n"],"names":["reactIsModule","require$$0","require$$1","ReactPropTypesSecret","printWarning","has","checkPropTypes","ReactIs","require$$2","require$$3","propTypesModule","forwardRef","React","setPrototypeOf","removeClass","ReactDOM","addClass","addOneClass","removeOneClass","useMemo","useState","useRef","useContext","useEffect","Children","createContext","effect","getComputedStyle","min","max","mathMax","mathMin","hash","allPlacements","placements","popperOffsets","computeStyles","applyStyles","offset","flip","preventOverflow","arrow","hide","EMPTY_MODIFIERS","isEqual","createPopper","defaultCreatePopper","warning","BREAKPOINTS","useLayoutEffect","useCallback","createPortal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAiBA;AACO,IAAI,QAAQ,GAAG,WAAW;AACjC,IAAI,QAAQ,GAAG,MAAM,CAAC,MAAM,IAAI,SAAS,QAAQ,CAAC,CAAC,EAAE;AACrD,QAAQ,KAAK,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;AAC7D,YAAY,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAC7B,YAAY,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACzF,SAAS;AACT,QAAQ,OAAO,CAAC,CAAC;AACjB,MAAK;AACL,IAAI,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AAC3C,EAAC;AACD;AACO,SAAS,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE;AAC7B,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;AACf,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC;AACvF,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CA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AAE,KAAK,EAAE;AAC5E,MAAM,OAAO,EAAE,IAAI,CAAC,OAAO;AAC3B,MAAM,SAAS,EAAE,IAAI,CAAC,SAAS;AAC/B,MAAM,UAAU,EAAE,IAAI,CAAC,UAAU;AACjC,MAAM,MAAM,EAAE,IAAI,CAAC,MAAM;AACzB,MAAM,SAAS,EAAE,IAAI,CAAC,SAAS;AAC/B,MAAM,QAAQ,EAAE,IAAI,CAAC,QAAQ;AAC7B,KAAK,CAAC,CAAC,CAAC;AACR,GAAG,CAAC;AACJ;AACA,EAAE,OAAO,aAAa,CAAC;AACvB,CAAC,CAACA,yBAAK,CAAC,SAAS,CAAC,CAAC;AACnB;AACA,aAAa,CAAC,YAAY,GAAG;AAC7B,EAAE,UAAU,EAAE,EAAE;AAChB,CAAC,CAAC;AACF,aAAa,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,GAAG,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAC,SAAS,EAAE;AACrG;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,EAAE,UAAU,EAAE,eAAe;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,OAAO,EAAE,SAAS,CAAC,IAAI;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU,EAAE,SAAS,CAAC,IAAI;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,SAAS,EAAE,SAAS,CAAC,I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E,SAAS,eAAA,EAAE,KAAK,WAAA,EAAE,KAAK,WAAA,EAAK,IAAI,cAA5C,2CAA8C,CAAF;IAC3C,IAAM,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC,CAAA;IAExC,QACEC,wCAAC,KAAK,aAAC,SAAS,EAAE,UAAU,IAAM,IAAI,IAAE,GAAG,EAAE,GAAG;QAC9CA,wCAAC,SAAS,IAAC,SAAS,EAAC,aAAa;YAC/B,KAAK,KACJA,iDAAK,SAAS,EAAC,uDAAuD,IAAE,KAAK,CAAO,CACrF;YACA,KAAK,IAAIA,iDAAK,SAAS,EAAC,uBAAuB,IAAE,KAAK,CAAO;YAC7D,QAAQ,CACC,CACN,EACT;AACH,CAAC,EACF;AAED,aAAa,CAAC,SAAS,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAC,IAAI;IACxB,SAAS,EAAE,SAAS,CAAC,MAAM;IAC3B,KAAK,EAAE,SAAS,CAAC,MAAM;IACvB,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CACjE,CAAA;AAED,aAAa,CAAC,WAAW,GAAG,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/dist/utils/helpers/ClientOnlyPortal.d.ts b/dist/utils/helpers/ClientOnlyPortal.d.ts deleted file mode 100644 index 38618831..00000000 --- a/dist/utils/helpers/ClientOnlyPortal.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/// -export default function ClientOnlyPortal({ children, selector }: { - children: any; - selector: any; -}): import("react").ReactPortal | null; diff --git a/dist/utils/helpers/executeAfterTransition.d.ts b/dist/utils/helpers/executeAfterTransition.d.ts deleted file mode 100644 index 47afb5b6..00000000 --- a/dist/utils/helpers/executeAfterTransition.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const execute: (callback: any) => void; -export declare const executeAfterTransition: (callback: any, transitionElement: any, waitForTransition?: boolean) => void; diff --git a/dist/utils/hooks/index.d.ts b/dist/utils/hooks/index.d.ts deleted file mode 100644 index 128c9c76..00000000 --- a/dist/utils/hooks/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { useForkedRef } from './useForkedRef'; -export { useForkedRef }; diff --git a/dist/utils/hooks/useForkedRef.d.ts b/dist/utils/hooks/useForkedRef.d.ts deleted file mode 100644 index 02381ed3..00000000 --- a/dist/utils/hooks/useForkedRef.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -/// -export declare type AssignableRef = { - bivarianceHack(instance: ValueType | null): void; -}['bivarianceHack'] | React.MutableRefObject; -export declare function useForkedRef(...refs: (AssignableRef | null | undefined)[]): ((node: any) => void) | null; -export declare function assignRef(ref: AssignableRef | null | undefined, value: any): void; -export declare function isFunction(value: any): value is Function; diff --git a/docs/4.0/components/CAccordion.mdx b/docs/4.0/components/CAccordion.mdx deleted file mode 100644 index 99416183..00000000 --- a/docs/4.0/components/CAccordion.mdx +++ /dev/null @@ -1,177 +0,0 @@ ---- -title: React Accordion Component -name: Accordion -description: Build vertically collapsing accordions in combination with our React Collapse component. -menu: Components -route: /components/accordion ---- - -import { Playground, Props } from 'docz' -import { useState } from 'react' - -import { - CAccordion, - CAccordionBody, - CAccordionButton, - CAccordionCollapse, - CAccordionHeader, - CAccordionItem -} from '../../../src/index.ts' - - - -## Examples - -Click the accordions below to expand/collapse the accordion content. - - - {() => { - const [activeKey, setActiveKey] = useState(0) - return ( - - - - activeKey === 1 ? setActiveKey(0) : setActiveKey(1)}> - Accordion Item #1 - - - - - This is the first item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - - activeKey === 2 ? setActiveKey(0) : setActiveKey(2)}> - Accordion Item #2 - - - - - This is the second item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - - activeKey === 3 ? setActiveKey(0) : setActiveKey(3)}> - Accordion Item #3 - - - - - This is the third item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - ) - }} - - -### Flush - -Add `flush` to remove the default `background-color`, some borders, and some rounded corners to render accordions edge-to-edge with their parent container. - - - {() => { - const [activeKey, setActiveKey] = useState(0) - return ( - - - - activeKey === 1 ? setActiveKey(0) : setActiveKey(1)}> - Accordion Item #1 - - - - - This is the first item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - - activeKey === 2 ? setActiveKey(0) : setActiveKey(2)}> - Accordion Item #2 - - - - - This is the second item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - - activeKey === 3 ? setActiveKey(0) : setActiveKey(3)}> - Accordion Item #3 - - - - - This is the third item's accordion body. It is hidden by default, - until the collapse plugin adds the appropriate classes that we use to style each - element. These classes control the overall appearance, as well as the showing and - hiding via CSS transitions. You can modify any of this with custom CSS or overriding - our default variables. It's also worth noting that just about any HTML can go within - the .accordion-body, though the transition does limit overflow. - - - - - ) - }} - - -## API - -### CAccordion - - - -### CAccordionBody - - - -### CAccordionButton - - - -### CAccordionCollapse - - - -### CAccordionHeader - - - -### CAccordionItem - - diff --git a/docs/4.0/components/CAlert.mdx b/docs/4.0/components/CAlert.mdx deleted file mode 100644 index c714bf63..00000000 --- a/docs/4.0/components/CAlert.mdx +++ /dev/null @@ -1,135 +0,0 @@ ---- -title: React Alert Component -name: Alert -description: React alert component gives contextual feedback information for common user operations. The alert component is delivered with a bunch of usable and adjustable alert messages. -menu: Components -route: /components/alert ---- - -import { Playground, Props } from 'docz' - -import { - CAlert, - CAlertHeading, - CAlertLink, - CCallout, -} from '../../../src/index.ts' - - -## Examples - -React Alert is prepared for any length of text, as well as an optional close button. For a styling, use one of the **required** contextual `color` props (e.g., `primary`). For inline dismissal, use the [dismissing prop](#dismissing). - - - - A simple primary alert—check it out! - - - A simple secondary alert—check it out! - - - A simple success alert—check it out! - - - A simple danger alert—check it out! - - - A simple warning alert—check it out! - - - A simple info alert—check it out! - - - A simple light alert—check it out! - - - A simple dark alert—check it out! - - - - -
    Conveying meaning to assistive technologies
    -

    - Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the `.visually-hidden` class. -

    -
    - -## Link color - -Use the `` component to immediately give matching colored links inside any alert. - - - - A simple primary alert with an example link. Give it a click if you like. - - - A simple secondary alert with an example link. Give it a click if you like. - - - A simple success alert with an example link. Give it a click if you like. - - - A simple danger alert with an example link. Give it a click if you like. - - - A simple warning alert with an example link. Give it a click if you like. - - - A simple info alert with an example link. Give it a click if you like. - - - A simple light alert with an example link. Give it a click if you like. - - - A simple dark alert with an example link. Give it a click if you like. - - - -## Additional content - -Alert can also incorporate supplementary components & elements like heading, paragraph, and divider. - - - - Well done! -

    Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.

    -
    -

    Whenever you need to, be sure to use margin utilities to keep things nice and tidy.

    -
    -
    - -## Dismissing - -Alerts can also be easily dismissed. Just add the `dismissible` prop. - - - { - alert("👋 Well, hi there! Thanks for dismissing me."); - }} - > - Go right ahead and click that dimiss over there on the right. - - - - -

    - When an alert is dismissed, the element is completely removed from the page structure. If a keyboard user dismisses the alert using the close button, their focus will suddenly be lost and, depending on the browser, reset to the start of the page/document. -

    -
    - -## API - -### CAlert - - - -### CAlertHeading - - - -### CAlertLink - - \ No newline at end of file diff --git a/docs/4.0/components/CAvatar.mdx b/docs/4.0/components/CAvatar.mdx deleted file mode 100644 index 22f56bcd..00000000 --- a/docs/4.0/components/CAvatar.mdx +++ /dev/null @@ -1,72 +0,0 @@ ---- -title: React Avatar Component -name: Avatar -description: React avatar component can be used to display circular user profile pictures. Avatar can be used to portray people or objects. It supports images, icons, or letters. - -menu: Components -route: /components/avatar ---- - -import { Playground, Props } from 'docz' -import { CAvatar } from '../../../src/index.ts' - - -## Image avatars - - - - - - - -## Letter avatars - - - CUI - CUI - CUI - - -## Rounded avatars - -Use the `shape="rounded"` prop to make avatars squared with rounded corners. - - - CUI - CUI - CUI - - -## Square avatars - -Use the `shape="rounded-0"` prop to make avatars squared. - - - CUI - CUI - CUI - - -## Sizes - -Fancy larger or smaller avatar? Add `size="xl"`, `size="lg"` or `size="sm"` for additional sizes. - - - CUI - CUI - CUI - CUI - - -## Avatars with status - - - - CUI - - -## API - -### CAvatar - - diff --git a/docs/4.0/components/CBadge.mdx b/docs/4.0/components/CBadge.mdx deleted file mode 100644 index 0ae52390..00000000 --- a/docs/4.0/components/CBadge.mdx +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: React Badge Component -name: Badge -description: React badge component is small count and labeling component. - -menu: Components -route: /components/badge ---- - -import { Playground, Props } from 'docz' -import { CBadge, CButton } from '../../../src/index.ts' - -## Example - -Badge component scales to suit the size of the parent element by using relative font sizing and `em` units. - -## Basic usage - - -

    Example heading New

    -

    Example heading New

    -

    Example heading New

    -

    Example heading New

    -
    Example heading New
    -
    Example heading New
    -
    - -Badges can be used as part of links or buttons to provide a counter. - - - - Notifications 4 - - - -Remark that depending on how you use them, badges may be complicated for users of screen readers and related assistive technologies. - -Unless the context is clear, consider including additional context with a visually hidden piece of additional text. - - - - Profile 9 - unread messages - - - -## Contextual variations - -Add any of the below-mentioned `color` props to modify the presentation of a badge. - - - primary - success - danger - warning - info - light - dark - - -## Pill badges - -Apply the `shape="rounded-pill"` prop to make badges rounded. - - - primary - success - danger - warning - info - light - dark - - -## API - -### CBadge - - \ No newline at end of file diff --git a/docs/4.0/components/CBreadcrumb.mdx b/docs/4.0/components/CBreadcrumb.mdx deleted file mode 100644 index 729a6fd6..00000000 --- a/docs/4.0/components/CBreadcrumb.mdx +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: React Breadcrumb Component -name: Breadcrumb -menu: Components -route: /components/breadcrumb ---- - -import { Playground, Props } from 'docz' -import { CBreadcrumb, CBreadcrumbItem } from '../../../src/index.ts' - -## Example - -The breadcrumb navigation provides links back to each previous page the user navigated through and shows the current location in a website or an application. You don’t have to add separators, because they automatically added in CSS through ::before and content. - - - - Home - - - - Home - Library - - - - Home - Library - Data - - - -## Dividers - -Dividers are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content). They can be changed by modifying a local CSS custom property `--coreui-breadcrumb-divider`, or through the `$breadcrumb-divider` Sass variable — and `$breadcrumb-divider-flipped` for its RTL counterpart, if needed. We default to our Sass variable, which is set as a fallback to the custom property. This way, you get a global divider that you can override without recompiling CSS at any time. - - - '"}}> - Home - Library - - - -When modifying via Sass, the [quote](https://sass-lang.com/documentation/modules/string#quote) function is required to generate the quotes around a string. For example, using `>` as the divider, you can use this: - -```scss -$breadcrumb-divider: quote(">"); -``` - -It's also possible to use an **embedded SVG icon**. Apply it via our CSS custom property, or use the Sass variable. - - - - Home - Library - - - -```scss -$breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' -width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3E"); -``` - -You can also remove the divider setting `--cui-breadcrumb-divider: '';` (empty strings in CSS custom properties counts as a value), or setting the Sass variable to `$breadcrumb-divider: none;`. - - - - Home - Library - - - -```scss -$breadcrumb-divider: none; -``` - -## Accessibility - -Since breadcrumbs provide navigation, it's useful to add a significant label such as `aria-label="breadcrumb"` to explain the type of navigation implemented in the `