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,EAAQue,GAAG,SAAqBshB,EAAK5rC,GAEjCqqB,EAAErqB,GADAgzC,GAA0B,oBAARpH,EACXlmC,EAAKkmC,EAAKoH,GAEVpH,CAEZ,IACMvhB,CACR,EAoCCsoB,KAhKF,SAAcuD,GACZ,OAAOA,EAAIvD,KAAOuD,EAAIvD,OAASuD,EAAIh0C,QAAQ,aAAc,GAC1D,EA+JCi0C,SA7BF,SAAkBx1C,GAIhB,OAH8B,QAA1BA,EAAQy1C,WAAW,KACrBz1C,EAAUA,EAAQkD,MAAM,IAEnBlD,CACR","sources":["../node_modules/@coreui/tslib/tslib.es6.js","../node_modules/@coreui/prop-types/lib/ReactPropTypesSecret.js","../node_modules/@coreui/prop-types/index.js","../node_modules/@coreui/prop-types/factoryWithThrowingShims.js","../node_modules/@coreui/classnames/index.js","../node_modules/@coreui/icons-react/src/CIcon.tsx","../node_modules/@coreui/icons/js/free/cil-user.js","../node_modules/@coreui/react/src/components/accordion/CAccordion.tsx","../node_modules/@coreui/react/src/components/accordion/CAccordionItem.tsx","../node_modules/@coreui/@babel/runtime/helpers/esm/extends.js","../node_modules/@coreui/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@coreui/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@coreui/@babel/runtime/helpers/esm/inheritsLoose.js","../node_modules/@coreui/dom-helpers/esm/removeClass.js","../node_modules/@coreui/react-transition-group/esm/config.js","../node_modules/@coreui/react-transition-group/esm/TransitionGroupContext.js","../node_modules/@coreui/react-transition-group/esm/utils/reflow.js","../node_modules/@coreui/react-transition-group/esm/Transition.js","../node_modules/@coreui/react-transition-group/esm/CSSTransition.js","../node_modules/@coreui/dom-helpers/esm/addClass.js","../node_modules/@coreui/dom-helpers/esm/hasClass.js","../node_modules/@coreui/react-transition-group/esm/utils/ChildMapping.js","../node_modules/@coreui/react-transition-group/esm/TransitionGroup.js","../node_modules/@coreui/@babel/runtime/helpers/esm/assertThisInitialized.js","../node_modules/@coreui/react-transition-group/esm/ReplaceTransition.js","../node_modules/@coreui/react-transition-group/esm/SwitchTransition.js","../node_modules/@coreui/react/src/utils/hooks/useForkedRef.ts","../node_modules/@coreui/react/src/components/collapse/CCollapse.tsx","../node_modules/@coreui/react/src/components/accordion/CAccordionBody.tsx","../node_modules/@coreui/react/src/components/accordion/CAccordionButton.tsx","../node_modules/@coreui/react/src/components/accordion/CAccordionCollapse.tsx","../node_modules/@coreui/react/src/components/accordion/CAccordionHeader.tsx","../node_modules/@coreui/react/src/components/Types.tsx","../node_modules/@coreui/react/src/components/close-button/CCloseButton.tsx","../node_modules/@coreui/react/src/components/alert/CAlert.tsx","../node_modules/@coreui/react/src/components/alert/CAlertHeading.tsx","../node_modules/@coreui/react/src/components/link/CLink.tsx","../node_modules/@coreui/react/src/components/alert/CAlertLink.tsx","../node_modules/@coreui/react/src/components/avatar/CAvatar.tsx","../node_modules/@coreui/react/src/components/backdrop/CBackdrop.tsx","../node_modules/@coreui/react/src/components/badge/CBadge.tsx","../node_modules/@coreui/react/src/components/breadcrumb/CBreadcrumb.tsx","../node_modules/@coreui/react/src/components/breadcrumb/CBreadcrumbItem.tsx","../node_modules/@coreui/react/src/components/button/CButton.tsx","../node_modules/@coreui/react/src/components/button-group/CButtonToolbar.tsx","../node_modules/@coreui/react/src/components/button-group/CButtonGroup.tsx","../node_modules/@coreui/react/src/components/callout/CCallout.tsx","../node_modules/@coreui/react/src/components/card/CCard.tsx","../node_modules/@coreui/react/src/components/card/CCardBody.tsx","../node_modules/@coreui/react/src/components/card/CCardFooter.tsx","../node_modules/@coreui/react/src/components/card/CCardGroup.tsx","../node_modules/@coreui/react/src/components/card/CCardHeader.tsx","../node_modules/@coreui/react/src/components/card/CCardImage.tsx","../node_modules/@coreui/react/src/components/card/CCardImageOverlay.tsx","../node_modules/@coreui/react/src/components/card/CCardLink.tsx","../node_modules/@coreui/react/src/components/card/CCardSubtitle.tsx","../node_modules/@coreui/react/src/components/card/CCardText.tsx","../node_modules/@coreui/react/src/components/card/CCardTitle.tsx","../node_modules/@coreui/react/src/components/carousel/CCarousel.tsx","../node_modules/@coreui/react/src/components/carousel/CCarouselCaption.tsx","../node_modules/@coreui/react/src/components/carousel/CCarouselItem.tsx","../node_modules/@coreui/react-popper/lib/esm/Manager.js","../node_modules/@coreui/react-popper/lib/esm/utils.js","../node_modules/@coreui/@popperjs/core/lib/enums.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getNodeName.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getWindow.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/instanceOf.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/applyStyles.js","../node_modules/@coreui/@popperjs/core/lib/utils/getBasePlacement.js","../node_modules/@coreui/@popperjs/core/lib/utils/math.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getLayoutRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/contains.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getComputedStyle.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/isTableElement.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getDocumentElement.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getParentNode.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getOffsetParent.js","../node_modules/@coreui/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../node_modules/@coreui/@popperjs/core/lib/utils/within.js","../node_modules/@coreui/@popperjs/core/lib/utils/mergePaddingObject.js","../node_modules/@coreui/@popperjs/core/lib/utils/getFreshSideObject.js","../node_modules/@coreui/@popperjs/core/lib/utils/expandToHashMap.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/arrow.js","../node_modules/@coreui/@popperjs/core/lib/utils/getVariation.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/computeStyles.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/eventListeners.js","../node_modules/@coreui/@popperjs/core/lib/utils/getOppositePlacement.js","../node_modules/@coreui/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getWindowScroll.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/isScrollParent.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getScrollParent.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/listScrollParents.js","../node_modules/@coreui/@popperjs/core/lib/utils/rectToClientRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getClippingRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getViewportRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getDocumentRect.js","../node_modules/@coreui/@popperjs/core/lib/utils/computeOffsets.js","../node_modules/@coreui/@popperjs/core/lib/utils/detectOverflow.js","../node_modules/@coreui/@popperjs/core/lib/utils/computeAutoPlacement.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/flip.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/hide.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/offset.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/preventOverflow.js","../node_modules/@coreui/@popperjs/core/lib/utils/getAltAxis.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getCompositeRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getNodeScroll.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../node_modules/@coreui/@popperjs/core/lib/utils/orderModifiers.js","../node_modules/@coreui/@popperjs/core/lib/utils/debounce.js","../node_modules/@coreui/@popperjs/core/lib/createPopper.js","../node_modules/@coreui/@popperjs/core/lib/utils/mergeByName.js","../node_modules/@coreui/@popperjs/core/lib/popper.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/popperOffsets.js","../node_modules/@coreui/react-fast-compare/index.js","../node_modules/@coreui/react-popper/lib/esm/usePopper.js","../node_modules/@coreui/react-popper/lib/esm/Popper.js","../node_modules/@coreui/warning/warning.js","../node_modules/@coreui/react-popper/lib/esm/Reference.js","../node_modules/@coreui/react/src/components/dropdown/CDropdown.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownDivider.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownHeader.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownItem.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownItemPlain.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownMenu.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownToggle.tsx","../node_modules/@coreui/react/src/components/footer/CFooter.tsx","../node_modules/@coreui/react/src/components/form/CForm.tsx","../node_modules/@coreui/react/src/components/form/CFormFeedback.tsx","../node_modules/@coreui/react/src/components/form/CFormControlValidation.tsx","../node_modules/@coreui/react/src/components/form/CFormLabel.tsx","../node_modules/@coreui/react/src/components/form/CFormCheck.tsx","../node_modules/@coreui/react/src/components/form/CFormFloating.tsx","../node_modules/@coreui/react/src/components/form/CFormText.tsx","../node_modules/@coreui/react/src/components/form/CFormControlWrapper.tsx","../node_modules/@coreui/react/src/components/form/CFormInput.tsx","../node_modules/@coreui/react/src/components/form/CFormRange.tsx","../node_modules/@coreui/react/src/components/form/CFormSelect.tsx","../node_modules/@coreui/react/src/components/form/CFormSwitch.tsx","../node_modules/@coreui/react/src/components/form/CFormTextarea.tsx","../node_modules/@coreui/react/src/components/form/CInputGroup.tsx","../node_modules/@coreui/react/src/components/form/CInputGroupText.tsx","../node_modules/@coreui/react/src/components/grid/CCol.tsx","../node_modules/@coreui/react/src/components/grid/CContainer.tsx","../node_modules/@coreui/react/src/components/grid/CRow.tsx","../node_modules/@coreui/react/src/components/header/CHeader.tsx","../node_modules/@coreui/react/src/components/header/CHeaderBrand.tsx","../node_modules/@coreui/react/src/components/header/CHeaderDivider.tsx","../node_modules/@coreui/react/src/components/header/CHeaderNav.tsx","../node_modules/@coreui/react/src/components/header/CHeaderText.tsx","../node_modules/@coreui/react/src/components/header/CHeaderToggler.tsx","../node_modules/@coreui/react/src/components/image/CImage.tsx","../node_modules/@coreui/react/src/components/list-group/CListGroup.tsx","../node_modules/@coreui/react/src/components/list-group/CListGroupItem.tsx","../node_modules/@coreui/react/src/components/modal/CModalContent.tsx","../node_modules/@coreui/react/src/components/modal/CModalDialog.tsx","../node_modules/@coreui/react/src/components/modal/CModal.tsx","../node_modules/@coreui/react/src/components/modal/CModalBody.tsx","../node_modules/@coreui/react/src/components/modal/CModalFooter.tsx","../node_modules/@coreui/react/src/components/modal/CModalHeader.tsx","../node_modules/@coreui/react/src/components/modal/CModalTitle.tsx","../node_modules/@coreui/react/src/components/nav/CNav.tsx","../node_modules/@coreui/react/src/components/nav/CNavGroupItems.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebarNav.tsx","../node_modules/@coreui/react/src/components/nav/CNavGroup.tsx","../node_modules/@coreui/react/src/components/nav/CNavLink.tsx","../node_modules/@coreui/react/src/components/nav/CNavItem.tsx","../node_modules/@coreui/react/src/components/nav/CNavTitle.tsx","../node_modules/@coreui/react/src/components/navbar/CNavbar.tsx","../node_modules/@coreui/react/src/components/navbar/CNavbarBrand.tsx","../node_modules/@coreui/react/src/components/navbar/CNavbarNav.tsx","../node_modules/@coreui/react/src/components/navbar/CNavbarText.tsx","../node_modules/@coreui/react/src/components/navbar/CNavbarToggler.tsx","../node_modules/@coreui/react/src/components/offcanvas/COffcanvas.tsx","../node_modules/@coreui/react/src/components/offcanvas/COffcanvasBody.tsx","../node_modules/@coreui/react/src/components/offcanvas/COffcanvasHeader.tsx","../node_modules/@coreui/react/src/components/offcanvas/COffcanvasTitle.tsx","../node_modules/@coreui/react/src/components/pagination/CPagination.tsx","../node_modules/@coreui/react/src/components/pagination/CPaginationItem.tsx","../node_modules/@coreui/react/src/components/placeholder/CPlaceholder.tsx","../node_modules/@coreui/react/src/components/progress/CProgressBar.tsx","../node_modules/@coreui/react/src/components/progress/CProgress.tsx","../node_modules/@coreui/react/src/components/popover/CPopover.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebar.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebarBrand.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebarFooter.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebarToggler.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebarHeader.tsx","../node_modules/@coreui/react/src/components/spinner/CSpinner.tsx","../node_modules/@coreui/react/src/components/table/CTableHead.tsx","../node_modules/@coreui/react/src/components/table/CTableHeaderCell.tsx","../node_modules/@coreui/react/src/components/table/CTableBody.tsx","../node_modules/@coreui/react/src/components/table/CTableDataCell.tsx","../node_modules/@coreui/react/src/components/table/CTableRow.tsx","../node_modules/@coreui/react/src/components/table/CTableFoot.tsx","../node_modules/@coreui/react/src/components/table/CTableCaption.tsx","../node_modules/@coreui/react/src/components/table/CTableResponsiveWrapper.tsx","../node_modules/@coreui/react/src/components/table/CTable.tsx","../node_modules/@coreui/react/src/components/tabs/CTabContent.tsx","../node_modules/@coreui/react/src/components/tabs/CTabPane.tsx","../node_modules/@coreui/react/src/components/toast/CToast.tsx","../node_modules/@coreui/react/src/components/toast/CToastBody.tsx","../node_modules/@coreui/react/src/components/toast/CToastClose.tsx","../node_modules/@coreui/react/src/components/toast/CToastHeader.tsx","../node_modules/@coreui/react/src/components/toast/CToaster.tsx","../node_modules/@coreui/react/src/components/tooltip/CTooltip.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsA.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsB.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsC.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsD.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsE.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsF.tsx","../node_modules/axios/index.js","../node_modules/axios/lib/adapters/xhr.js","../node_modules/axios/lib/axios.js","../node_modules/axios/lib/cancel/Cancel.js","../node_modules/axios/lib/cancel/CancelToken.js","../node_modules/axios/lib/cancel/isCancel.js","../node_modules/axios/lib/core/Axios.js","../node_modules/axios/lib/core/InterceptorManager.js","../node_modules/axios/lib/core/buildFullPath.js","../node_modules/axios/lib/core/createError.js","../node_modules/axios/lib/core/dispatchRequest.js","../node_modules/axios/lib/core/enhanceError.js","../node_modules/axios/lib/core/mergeConfig.js","../node_modules/axios/lib/core/settle.js","../node_modules/axios/lib/core/transformData.js","../node_modules/axios/lib/defaults.js","../node_modules/axios/lib/env/data.js","../node_modules/axios/lib/helpers/bind.js","../node_modules/axios/lib/helpers/buildURL.js","../node_modules/axios/lib/helpers/combineURLs.js","../node_modules/axios/lib/helpers/cookies.js","../node_modules/axios/lib/helpers/isAbsoluteURL.js","../node_modules/axios/lib/helpers/isAxiosError.js","../node_modules/axios/lib/helpers/isURLSameOrigin.js","../node_modules/axios/lib/helpers/normalizeHeaderName.js","../node_modules/axios/lib/helpers/parseHeaders.js","../node_modules/axios/lib/helpers/spread.js","../node_modules/axios/lib/helpers/validator.js","../node_modules/axios/lib/utils.js"],"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 var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\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, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\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\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) 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 bigint: 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) 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 PropTypes from 'prop-types'\nimport React, { HTMLAttributes, forwardRef, useState, useMemo } from 'react'\nimport classNames from 'classnames'\nimport './CIcon.css'\n\nexport interface CIconProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Use `icon={...}` instead of\n *\n * @deprecated 3.0\n */\n content?: string | string[]\n /**\n * Use for replacing default CIcon component classes. Prop is overriding the 'size' prop.\n */\n customClassName?: string | object | string[] // eslint-disable-line @typescript-eslint/ban-types\n /**\n * Name of the icon placed in React object or SVG content.\n */\n icon?: string | string[]\n /**\n * The height attribute defines the vertical length of an icon.\n */\n height?: number\n /**\n * Use `icon=\"...\"` instead of\n *\n * @deprecated 3.0\n */\n name?: string\n /**\n * Size of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'.\n */\n size?:\n | 'custom'\n | 'custom-size'\n | 'sm'\n | 'lg'\n | 'xl'\n | 'xxl'\n | '3xl'\n | '4xl'\n | '5xl'\n | '6xl'\n | '7xl'\n | '8xl'\n | '9xl'\n /**\n * If defined component will be rendered using 'use' tag.\n */\n use?: string\n /**\n * Title tag content.\n */\n title?: string\n /**\n * The width attribute defines the horizontal length of an icon.\n */\n width?: number\n}\n\nconst toCamelCase = (str: string) => {\n return str\n .replace(/([-_][a-z0-9])/gi, ($1) => {\n return $1.toUpperCase()\n })\n .replace(/-/gi, '')\n}\n\nexport const CIcon = forwardRef(\n (\n { className, content, customClassName, height, icon, name, size, title, use, width, ...rest },\n ref,\n ) => {\n const [change, setChange] = useState(0)\n const _icon = icon || content || name\n\n if (content) {\n process &&\n process.env &&\n process.env.NODE_ENV === 'development' &&\n console.warn(\n '[CIcon] The `content` property is deprecated and will be removed in v3, please use `icon={...}` instead of.',\n )\n }\n if (name) {\n process &&\n process.env &&\n process.env.NODE_ENV === 'development' &&\n console.warn(\n '[CIcon] The `name` property is deprecated and will be removed in v3, please use `icon=\"...\"` instead of.',\n )\n }\n\n useMemo(() => setChange(change + 1), [_icon, JSON.stringify(_icon)])\n\n const iconName = useMemo(\n () =>\n _icon && typeof _icon === 'string' && _icon.includes('-') ? toCamelCase(_icon) : _icon,\n [change],\n )\n\n const titleCode = title ? `${title}` : ''\n\n const code = useMemo(() => {\n if (Array.isArray(_icon)) {\n return _icon\n }\n if (typeof _icon === 'string' && React['icons']) {\n return React['icons'][iconName]\n }\n }, [change])\n\n const iconCode = useMemo(() => {\n return Array.isArray(code) ? code[1] || code[0] : code\n }, [change])\n\n const scale = (() => {\n return Array.isArray(code) && code.length > 1 ? code[0] : '64 64'\n })()\n\n const viewBox = (() => {\n return rest['viewBox'] || `0 0 ${scale}`\n })()\n\n // render\n\n const _className = customClassName\n ? classNames(customClassName)\n : classNames(\n 'icon',\n {\n [`icon-${size}`]: size,\n [`icon-custom-size`]: height || width,\n },\n className,\n )\n\n return use ? (\n \n \n \n ) : (\n \n )\n },\n)\n\nCIcon.propTypes = {\n className: PropTypes.string,\n content: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),\n customClassName: PropTypes.string,\n height: PropTypes.number,\n icon: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),\n name: PropTypes.string,\n size: PropTypes.oneOf([\n 'custom',\n 'custom-size',\n 'sm',\n 'lg',\n 'xl',\n 'xxl',\n '3xl',\n '4xl',\n '5xl',\n '6xl',\n '7xl',\n '8xl',\n '9xl',\n ]),\n title: PropTypes.any,\n use: PropTypes.any,\n width: PropTypes.number,\n}\n\nCIcon.displayName = 'CIcon'\n","export const cilUser = [\"512 512\",\"\"]","import React, { createContext, forwardRef, HTMLAttributes, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionProps extends HTMLAttributes {\n /**\n * The active item key.\n */\n activeItemKey?: number | string\n /**\n * Make accordion items stay open when another item is opened\n */\n alwaysOpen?: boolean\n /**\n * A string of all className you want applied to the base component.\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.\n */\n flush?: boolean\n}\n\nexport interface CAccordionContextProps {\n _activeItemKey?: number | string\n alwaysOpen?: boolean\n setActiveKey: React.Dispatch>\n}\n\nexport const CAccordionContext = createContext({} as CAccordionContextProps)\n\nexport const CAccordion = forwardRef(\n ({ children, activeItemKey = undefined, alwaysOpen = false, className, flush, ...rest }, ref) => {\n const [_activeItemKey, setActiveKey] = useState(activeItemKey)\n const _className = classNames('accordion', { 'accordion-flush': flush }, className)\n return (\n
\n \n {children}\n \n
\n )\n },\n)\n\nCAccordion.propTypes = {\n alwaysOpen: PropTypes.bool,\n activeItemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n children: PropTypes.node,\n className: PropTypes.string,\n flush: PropTypes.bool,\n}\n\nCAccordion.displayName = 'CAccordion'\n","import React, {\n createContext,\n forwardRef,\n HTMLAttributes,\n useContext,\n useEffect,\n useRef,\n useState,\n} from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CAccordionContext } from './CAccordion'\n\nexport interface CAccordionItemContextProps {\n setVisible: (a: boolean) => void\n visible?: boolean\n}\n\nexport const CAccordionItemContext = createContext({} as CAccordionItemContextProps)\n\nexport interface CAccordionItemProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Item key.\n */\n itemKey?: number | string\n}\n\nexport const CAccordionItem = forwardRef(\n ({ children, className, itemKey, ...rest }, ref) => {\n const _itemKey = useRef(itemKey ? itemKey : Math.random().toString(36).substr(2, 9))\n\n const { _activeItemKey, alwaysOpen, setActiveKey } = useContext(CAccordionContext)\n const [visible, setVisible] = useState(Boolean(_activeItemKey === _itemKey.current))\n\n useEffect(() => {\n !alwaysOpen && visible && setActiveKey(_itemKey.current)\n }, [visible])\n\n useEffect(() => {\n setVisible(Boolean(_activeItemKey === _itemKey.current))\n }, [_activeItemKey])\n\n const _className = classNames('accordion-item', className)\n\n return (\n
\n \n {children}\n \n
\n )\n },\n)\n\nCAccordionItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n itemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n}\n\nCAccordionItem.displayName = 'CAccordionItem'\n","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : 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 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 ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\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}","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 React from 'react';\nexport default React.createContext(null);","export var forceReflow = function forceReflow(node) {\n return node.scrollTop;\n};","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';\nimport { forceReflow } from './utils/reflow';\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 if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\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';\nimport { forceReflow } from './utils/reflow';\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 if (node) forceReflow(node);\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;","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}","/**\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 { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `` component manages a set of transition components\n * (`` and ``) in a list. Like with the transition\n * components, `` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the ``.\n *\n * Note that `` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `` renders a `
` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `
` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `` components, that are toggled `in` and out as they\n * leave. the `` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `` as\n * with our `` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","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 TransitionGroup from './TransitionGroup';\n/**\n * The `` component is a specialized `Transition` component\n * that animates between two children.\n *\n * ```jsx\n * \n *
I appear first
\n *
I replace the above
\n *
\n * ```\n */\n\nvar ReplaceTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(ReplaceTransition, _React$Component);\n\n function ReplaceTransition() {\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\n _this.handleEnter = function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return _this.handleLifecycle('onEnter', 0, args);\n };\n\n _this.handleEntering = function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n return _this.handleLifecycle('onEntering', 0, args);\n };\n\n _this.handleEntered = function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n return _this.handleLifecycle('onEntered', 0, args);\n };\n\n _this.handleExit = function () {\n for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n return _this.handleLifecycle('onExit', 1, args);\n };\n\n _this.handleExiting = function () {\n for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n return _this.handleLifecycle('onExiting', 1, args);\n };\n\n _this.handleExited = function () {\n for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n\n return _this.handleLifecycle('onExited', 1, args);\n };\n\n return _this;\n }\n\n var _proto = ReplaceTransition.prototype;\n\n _proto.handleLifecycle = function handleLifecycle(handler, idx, originalArgs) {\n var _child$props;\n\n var children = this.props.children;\n var child = React.Children.toArray(children)[idx];\n if (child.props[handler]) (_child$props = child.props)[handler].apply(_child$props, originalArgs);\n\n if (this.props[handler]) {\n var maybeNode = child.props.nodeRef ? undefined : ReactDOM.findDOMNode(this);\n this.props[handler](maybeNode);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n inProp = _this$props.in,\n props = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\"]);\n\n var _React$Children$toArr = React.Children.toArray(children),\n first = _React$Children$toArr[0],\n second = _React$Children$toArr[1];\n\n delete props.onEnter;\n delete props.onEntering;\n delete props.onEntered;\n delete props.onExit;\n delete props.onExiting;\n delete props.onExited;\n return /*#__PURE__*/React.createElement(TransitionGroup, props, inProp ? React.cloneElement(first, {\n key: 'first',\n onEnter: this.handleEnter,\n onEntering: this.handleEntering,\n onEntered: this.handleEntered\n }) : React.cloneElement(second, {\n key: 'second',\n onEnter: this.handleExit,\n onEntering: this.handleExiting,\n onEntered: this.handleExited\n }));\n };\n\n return ReplaceTransition;\n}(React.Component);\n\nReplaceTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n in: PropTypes.bool.isRequired,\n children: function children(props, propName) {\n if (React.Children.count(props[propName]) !== 2) return new Error(\"\\\"\" + propName + \"\\\" must be exactly two transition components.\");\n return null;\n }\n} : {};\nexport default ReplaceTransition;","import _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\n\nvar _leaveRenders, _enterRenders;\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { ENTERED, ENTERING, EXITING } from './Transition';\nimport TransitionGroupContext from './TransitionGroupContext';\n\nfunction areChildrenDifferent(oldChildren, newChildren) {\n if (oldChildren === newChildren) return false;\n\n if (React.isValidElement(oldChildren) && React.isValidElement(newChildren) && oldChildren.key != null && oldChildren.key === newChildren.key) {\n return false;\n }\n\n return true;\n}\n/**\n * Enum of modes for SwitchTransition component\n * @enum { string }\n */\n\n\nexport var modes = {\n out: 'out-in',\n in: 'in-out'\n};\n\nvar callHook = function callHook(element, name, cb) {\n return function () {\n var _element$props;\n\n element.props[name] && (_element$props = element.props)[name].apply(_element$props, arguments);\n cb();\n };\n};\n\nvar leaveRenders = (_leaveRenders = {}, _leaveRenders[modes.out] = function (_ref) {\n var current = _ref.current,\n changeState = _ref.changeState;\n return React.cloneElement(current, {\n in: false,\n onExited: callHook(current, 'onExited', function () {\n changeState(ENTERING, null);\n })\n });\n}, _leaveRenders[modes.in] = function (_ref2) {\n var current = _ref2.current,\n changeState = _ref2.changeState,\n children = _ref2.children;\n return [current, React.cloneElement(children, {\n in: true,\n onEntered: callHook(children, 'onEntered', function () {\n changeState(ENTERING);\n })\n })];\n}, _leaveRenders);\nvar enterRenders = (_enterRenders = {}, _enterRenders[modes.out] = function (_ref3) {\n var children = _ref3.children,\n changeState = _ref3.changeState;\n return React.cloneElement(children, {\n in: true,\n onEntered: callHook(children, 'onEntered', function () {\n changeState(ENTERED, React.cloneElement(children, {\n in: true\n }));\n })\n });\n}, _enterRenders[modes.in] = function (_ref4) {\n var current = _ref4.current,\n children = _ref4.children,\n changeState = _ref4.changeState;\n return [React.cloneElement(current, {\n in: false,\n onExited: callHook(current, 'onExited', function () {\n changeState(ENTERED, React.cloneElement(children, {\n in: true\n }));\n })\n }), React.cloneElement(children, {\n in: true\n })];\n}, _enterRenders);\n/**\n * A transition component inspired by the [vue transition modes](https://vuejs.org/v2/guide/transitions.html#Transition-Modes).\n * You can use it when you want to control the render between state transitions.\n * Based on the selected mode and the child's key which is the `Transition` or `CSSTransition` component, the `SwitchTransition` makes a consistent transition between them.\n *\n * If the `out-in` mode is selected, the `SwitchTransition` waits until the old child leaves and then inserts a new child.\n * If the `in-out` mode is selected, the `SwitchTransition` inserts a new child first, waits for the new child to enter and then removes the old child.\n *\n * **Note**: If you want the animation to happen simultaneously\n * (that is, to have the old child removed and a new child inserted **at the same time**),\n * you should use\n * [`TransitionGroup`](https://reactcommunity.org/react-transition-group/transition-group)\n * instead.\n *\n * ```jsx\n * function App() {\n * const [state, setState] = useState(false);\n * return (\n * \n * node.addEventListener(\"transitionend\", done, false)}\n * classNames='fade'\n * >\n * \n * \n * \n * );\n * }\n * ```\n *\n * ```css\n * .fade-enter{\n * opacity: 0;\n * }\n * .fade-exit{\n * opacity: 1;\n * }\n * .fade-enter-active{\n * opacity: 1;\n * }\n * .fade-exit-active{\n * opacity: 0;\n * }\n * .fade-enter-active,\n * .fade-exit-active{\n * transition: opacity 500ms;\n * }\n * ```\n */\n\nvar SwitchTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(SwitchTransition, _React$Component);\n\n function SwitchTransition() {\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.state = {\n status: ENTERED,\n current: null\n };\n _this.appeared = false;\n\n _this.changeState = function (status, current) {\n if (current === void 0) {\n current = _this.state.current;\n }\n\n _this.setState({\n status: status,\n current: current\n });\n };\n\n return _this;\n }\n\n var _proto = SwitchTransition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.appeared = true;\n };\n\n SwitchTransition.getDerivedStateFromProps = function getDerivedStateFromProps(props, state) {\n if (props.children == null) {\n return {\n current: null\n };\n }\n\n if (state.status === ENTERING && props.mode === modes.in) {\n return {\n status: ENTERING\n };\n }\n\n if (state.current && areChildrenDifferent(state.current, props.children)) {\n return {\n status: EXITING\n };\n }\n\n return {\n current: React.cloneElement(props.children, {\n in: true\n })\n };\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n mode = _this$props.mode,\n _this$state = this.state,\n status = _this$state.status,\n current = _this$state.current;\n var data = {\n children: children,\n current: current,\n changeState: this.changeState,\n status: status\n };\n var component;\n\n switch (status) {\n case ENTERING:\n component = enterRenders[mode](data);\n break;\n\n case EXITING:\n component = leaveRenders[mode](data);\n break;\n\n case ENTERED:\n component = current;\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: {\n isMounting: !this.appeared\n }\n }, component);\n };\n\n return SwitchTransition;\n}(React.Component);\n\nSwitchTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * Transition modes.\n * `out-in`: Current element transitions out first, then when complete, the new element transitions in.\n * `in-out`: New element transitions in first, then when complete, the current element transitions out.\n *\n * @type {'out-in'|'in-out'}\n */\n mode: PropTypes.oneOf([modes.in, modes.out]),\n\n /**\n * Any `Transition` or `CSSTransition` component.\n */\n children: PropTypes.oneOfType([PropTypes.element.isRequired])\n} : {};\nSwitchTransition.defaultProps = {\n mode: modes.out\n};\nexport default SwitchTransition;","// 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\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function useForkedRef(\n ...refs: (AssignableRef | null | undefined)[]\n) {\n return useMemo(() => {\n if (refs.every((ref) => ref == null)) {\n return null\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (node: any) => {\n refs.forEach((ref) => {\n assignRef(ref, node)\n })\n }\n }, refs)\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function assignRef(\n ref: AssignableRef | null | undefined,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\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\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types\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.\n */\n className?: string\n /**\n * Set horizontal collapsing to transition the width instead of height.\n */\n horizontal?: boolean\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Toggle the visibility of component.\n */\n visible?: boolean\n}\n\nexport const CCollapse = forwardRef(\n ({ children, className, horizontal, onHide, onShow, visible, ...rest }, ref) => {\n const [height, setHeight] = useState()\n const [width, setWidth] = 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 onShow && onShow()\n\n if (horizontal) {\n collapseRef.current && setWidth(collapseRef.current.scrollWidth)\n return\n }\n collapseRef.current && setHeight(collapseRef.current.scrollHeight)\n }\n\n const onEntered = () => {\n if (horizontal) {\n setWidth(0)\n return\n }\n setHeight(0)\n }\n\n const onExit = () => {\n if (horizontal) {\n collapseRef.current && setWidth(collapseRef.current.scrollWidth)\n return\n }\n collapseRef.current && setHeight(collapseRef.current.scrollHeight)\n }\n\n const onExiting = () => {\n onHide && onHide()\n if (horizontal) {\n setWidth(0)\n return\n }\n setHeight(0)\n }\n\n const onExited = () => {\n if (horizontal) {\n setWidth(0)\n return\n }\n setHeight(0)\n }\n\n const _className = classNames(\n {\n 'collapse-horizontal': horizontal,\n },\n className,\n )\n\n return (\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n const currentHeight = height === 0 ? null : { height }\n const currentWidth = width === 0 ? null : { width }\n return (\n \n {children}\n
\n )\n }}\n \n )\n },\n)\n\nCCollapse.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n horizontal: PropTypes.bool,\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n visible: PropTypes.bool,\n}\n\nCCollapse.displayName = 'CCollapse'\n","import React, { forwardRef, HTMLAttributes, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CAccordionItemContext } from './CAccordionItem'\n\nimport { CCollapse } from './../collapse/CCollapse'\nexport interface CAccordionBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CAccordionBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const { visible } = useContext(CAccordionItemContext)\n const _className = classNames('accordion-body', className)\n\n return (\n \n
\n {children}\n
\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, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CAccordionItemContext } from './CAccordionItem'\n\nexport interface CAccordionButtonProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CAccordionButton = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const { visible, setVisible } = useContext(CAccordionItemContext)\n\n const _className = classNames('accordion-button', { collapsed: !visible }, className)\n\n return (\n setVisible(!visible)}\n {...rest}\n ref={ref}\n >\n {children}\n \n )\n },\n)\n\nCAccordionButton.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAccordionButton.displayName = 'CAccordionButton'\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\nimport { CAccordionButton } from './CAccordionButton'\n\nexport interface CAccordionHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\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 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 TextColors =\n | Colors\n | 'white'\n | 'muted'\n | 'high-emphasis'\n | 'medium-emphasis'\n | 'disabled'\n | 'high-emphasis-inverse'\n | 'medium-emphasis-inverse'\n | 'disabled-inverse'\n | string\n\nexport const textColorsPropType = PropTypes.oneOfType([\n colorPropType,\n PropTypes.oneOf(['white', 'muted']),\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.\n */\n className?: string\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * Change the default color to white.\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\nCCloseButton.propTypes = {\n className: PropTypes.string,\n disabled: PropTypes.bool,\n white: PropTypes.bool,\n}\n\nCCloseButton.displayName = 'CCloseButton'\n","import React, { forwardRef, HTMLAttributes, useEffect, useState, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nimport { Colors, colorPropType } from '../Types'\nimport { CCloseButton } from '../close-button/CCloseButton'\n\nimport { useForkedRef } from '../../utils/hooks'\n\nexport interface CAlertProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color: Colors\n /**\n * Optionally add a close button to alert and allow it to self dismiss.\n */\n dismissible?: boolean\n /**\n * Callback fired when the component requests to be closed.\n */\n onClose?: () => void\n /**\n * Set the alert variant to a solid.\n */\n variant?: 'solid' | string\n /**\n * Toggle the visibility of component.\n */\n visible?: boolean\n}\n\nexport const CAlert = forwardRef(\n (\n {\n children,\n className,\n color = 'primary',\n dismissible,\n variant,\n visible = true,\n onClose,\n ...rest\n },\n ref,\n ) => {\n const alertRef = useRef(null)\n const forkedRef = useForkedRef(ref, alertRef)\n const [_visible, setVisible] = useState(visible)\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n const _className = classNames(\n 'alert',\n variant === 'solid' ? `bg-${color} text-white` : `alert-${color}`,\n {\n 'alert-dismissible fade': dismissible,\n },\n className,\n )\n\n const getTransitionClass = (state: string) => {\n return state === 'entered' && 'show'\n }\n\n return (\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return (\n \n {children}\n {dismissible && setVisible(false)} />}\n
\n )\n }}\n
\n )\n },\n)\n\nCAlert.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType.isRequired,\n dismissible: PropTypes.bool,\n onClose: PropTypes.func,\n variant: PropTypes.string,\n visible: PropTypes.bool,\n}\n\nCAlert.displayName = 'CAlert'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAlertHeadingProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CAlertHeading = forwardRef(\n ({ children, className, component: Component = 'h4', ...rest }, ref) => {\n const _className = classNames('alert-heading', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCAlertHeading.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCAlertHeading.displayName = 'CAlertHeading'\n","import React, { AllHTMLAttributes, ElementType, forwardRef, MouseEvent } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CLinkProps extends AllHTMLAttributes {\n /**\n * Toggle the active state for the component.\n */\n active?: boolean\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * The href attribute specifies the URL of the page the link goes to.\n */\n href?: string\n}\n\nexport const CLink = forwardRef(\n ({ children, active, className, component: Component = 'a', disabled, ...rest }, ref) => {\n // TODO: remove duplicated classes ex. `active active` in ``\n const _className = classNames(className, { active, disabled })\n\n return (\n ) => {\n event.preventDefault\n !disabled && rest.onClick && rest.onClick(event)\n },\n })}\n disabled={disabled}\n {...rest}\n ref={ref}\n >\n {children}\n \n )\n },\n)\n\nCLink.propTypes = {\n active: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n disabled: PropTypes.bool,\n}\n\nCLink.displayName = 'CLink'\n","import React, { AnchorHTMLAttributes, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLink } from '../link/CLink'\n\nexport interface CAlertLinkProps extends AnchorHTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CAlertLink = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('alert-link', className)\n\n return (\n \n {children}\n \n )\n },\n)\n\nCAlertLink.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAlertLink.displayName = 'CAlertLink'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport {\n Colors,\n Shapes,\n TextColors,\n colorPropType,\n shapePropType,\n textColorsPropType,\n} from '../Types'\n\nexport interface CAvatarProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Select the shape of the component.\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 shape?: Shapes\n /**\n * Size the component small, large, or extra large.\n */\n size?: string\n /**\n * The src attribute for the img element.\n */\n src?: string\n /**\n * Sets the color context of the status indicator to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n status?: Colors\n /**\n * Sets the text color of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'white' | 'muted' | 'high-emphasis' | 'medium-emphasis' | 'disabled' | 'high-emphasis-inverse' | 'medium-emphasis-inverse' | 'disabled-inverse' | string\n */\n textColor?: TextColors\n}\n\nexport const CAvatar = forwardRef(\n ({ children, className, color, shape, size, src, status, textColor, ...rest }, ref) => {\n const _className = classNames(\n 'avatar',\n {\n [`bg-${color}`]: color,\n [`avatar-${size}`]: size,\n [`text-${textColor}`]: textColor,\n },\n shape,\n className,\n )\n const statusClassName = status && classNames('avatar-status', `bg-${status}`)\n\n return (\n
\n {src ? : children}\n {status && }\n
\n )\n },\n)\n\nCAvatar.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n shape: shapePropType,\n size: PropTypes.string,\n src: PropTypes.string,\n status: PropTypes.string,\n textColor: textColorsPropType,\n}\n\nCAvatar.displayName = 'CAvatar'\n","import React, { forwardRef, HTMLAttributes, useRef } from 'react'\nimport { Transition } from 'react-transition-group'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { useForkedRef } from '../../utils/hooks'\n\nexport interface CBackdropProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Toggle the visibility of modal component.\n */\n visible?: boolean\n}\n\nexport const CBackdrop = forwardRef(\n ({ className = 'modal-backdrop', visible, ...rest }, ref) => {\n const backdropRef = useRef(null)\n const forkedRef = useForkedRef(ref, backdropRef)\n\n const _className = classNames(className, 'fade')\n\n const getTransitionClass = (state: string) => {\n return state === 'entered' && 'show'\n }\n\n return (\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return (\n
\n )\n }}\n \n )\n },\n)\n\nCBackdrop.propTypes = {\n className: PropTypes.string,\n visible: PropTypes.bool,\n}\n\nCBackdrop.displayName = 'CBackdrop'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport {\n Colors,\n Shapes,\n TextColors,\n colorPropType,\n shapePropType,\n textColorsPropType,\n} from '../Types'\n\nexport interface CBadgeProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\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.\n */\n component?: string | ElementType\n /**\n * Position badge in one of the corners of a link or button.\n */\n position?: 'top-start' | 'top-end' | 'bottom-end' | 'bottom-start'\n /**\n * Select the shape of the component.\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 shape?: Shapes\n /**\n * Size the component small.\n */\n size?: 'sm'\n /**\n * Sets the text color of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'white' | 'muted' | 'high-emphasis' | 'medium-emphasis' | 'disabled' | 'high-emphasis-inverse' | 'medium-emphasis-inverse' | 'disabled-inverse' | string\n */\n textColor?: TextColors\n}\nexport const CBadge = forwardRef(\n (\n {\n children,\n className,\n color,\n component: Component = 'span',\n position,\n shape,\n size,\n textColor,\n ...rest\n },\n ref,\n ) => {\n const _className = classNames(\n 'badge',\n {\n [`bg-${color}`]: color,\n 'position-absolute translate-middle': position,\n 'top-0': position?.includes('top'),\n 'top-100': position?.includes('bottom'),\n 'start-100': position?.includes('end'),\n 'start-0': position?.includes('start'),\n [`badge-${size}`]: size,\n [`text-${textColor}`]: textColor,\n },\n shape,\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCBadge.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n component: PropTypes.string,\n position: PropTypes.oneOf(['top-start', 'top-end', 'bottom-end', 'bottom-start']),\n shape: shapePropType,\n size: PropTypes.oneOf(['sm']),\n textColor: textColorsPropType,\n}\n\nCBadge.displayName = 'CBadge'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CBreadcrumbProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\nexport const CBreadcrumb = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const _className = classNames('breadcrumb', className)\n return (\n \n )\n },\n)\n\nCBreadcrumb.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCBreadcrumb.displayName = 'CBreadcrumb'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLink } from '../link/CLink'\n\nexport interface CBreadcrumbItemProps extends HTMLAttributes {\n /**\n * Toggle the active state for the component.\n */\n active?: boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * The `href` attribute for the inner `` component.\n */\n href?: string\n}\n\nexport const CBreadcrumbItem = forwardRef(\n ({ children, active, className, href, ...rest }, ref) => {\n const _className = classNames(\n 'breadcrumb-item',\n {\n active: active,\n },\n className,\n )\n return (\n
  • \n {href ? {children} : children}\n
  • \n )\n },\n)\n\nCBreadcrumbItem.propTypes = {\n active: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n href: PropTypes.string,\n}\n\nCBreadcrumbItem.displayName = 'CBreadcrumbItem'\n","import React, { ButtonHTMLAttributes, ElementType, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, Shapes, colorPropType } from '../Types'\nimport { CLink } from '../link/CLink'\n\nexport interface CButtonProps extends ButtonHTMLAttributes {\n /**\n * Toggle the active state for the component.\n */\n active?: boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\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.\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * The href attribute specifies the URL of the page the link goes to.\n */\n href?: string\n /**\n * The role attribute describes the role of an element in programs that can make use of it, such as screen readers or magnifiers.\n */\n role?: string\n /**\n * Select the shape of the component.\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 shape?: Shapes\n /**\n * Size the component small or large.\n */\n size?: 'sm' | 'lg'\n /**\n * Specifies the type of button. Always specify the type attribute for the `\n \n \n )}\n \n
    \n )\n },\n)\n\nCCarousel.propTypes = {\n activeIndex: PropTypes.number,\n children: PropTypes.node,\n className: PropTypes.string,\n controls: PropTypes.bool,\n dark: PropTypes.bool,\n indicators: PropTypes.bool,\n interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),\n onSlid: PropTypes.func,\n onSlide: PropTypes.func,\n pause: PropTypes.oneOf([false, 'hover']),\n transition: PropTypes.oneOf(['slide', 'crossfade']),\n wrap: PropTypes.bool,\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.\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, useEffect, useState, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { useForkedRef } from '../../utils/hooks'\nimport { CCarouselContext } from './CCarousel'\nexport interface CCarouselItemProps extends HTMLAttributes {\n /**\n * @ignore\n */\n active?: boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * @ignore\n */\n direction?: string\n /**\n * The amount of time to delay between automatically cycling an item.\n */\n interval?: boolean | number\n}\n\nexport const CCarouselItem = forwardRef(\n ({ children, className, active, direction, interval = false, ...rest }, ref) => {\n const { setAnimating, setCustomInterval } = useContext(CCarouselContext)\n const carouselItemRef = useRef(null)\n const forkedRef = useForkedRef(ref, carouselItemRef)\n\n const prevActive = useRef()\n const [directionClassName, setDirectionClassName] = useState()\n const [orderClassName, setOrderClassName] = useState()\n const [activeClassName, setActiveClassName] = useState(active && 'active')\n const [count, setCount] = useState(0)\n\n useEffect(() => {\n if (active) {\n setCustomInterval(interval)\n if (count !== 0) setOrderClassName(`carousel-item-${direction}`)\n }\n\n if (prevActive.current && !active) {\n setActiveClassName('active')\n }\n\n if (active || prevActive.current) {\n setTimeout(() => {\n if (count !== 0) {\n // @ts-expect-error reflow is necessary to proper transition\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const reflow = carouselItemRef.current?.offsetHeight\n setDirectionClassName(`carousel-item-${direction === 'next' ? 'start' : 'end'}`)\n }\n }, 0)\n }\n\n prevActive.current = active\n\n if (count === 0) setCount(count + 1)\n }, [active])\n\n useEffect(() => {\n carouselItemRef.current?.addEventListener('transitionstart', () => {\n active && setAnimating(true)\n })\n carouselItemRef.current?.addEventListener('transitionend', () => {\n active && setAnimating(false)\n setDirectionClassName('')\n setOrderClassName('')\n if (active) {\n setActiveClassName('active')\n }\n if (!active) {\n setActiveClassName('')\n }\n })\n return () => {\n carouselItemRef.current?.removeEventListener('transitionstart', () => {\n active && setAnimating(true)\n })\n carouselItemRef.current?.removeEventListener('transitionend', () => {\n active && setAnimating(false)\n setDirectionClassName('')\n setOrderClassName('')\n if (active) {\n setActiveClassName('active')\n }\n if (!active) {\n setActiveClassName('')\n }\n })\n }\n })\n\n const _className = classNames(\n 'carousel-item',\n activeClassName,\n directionClassName,\n orderClassName,\n className,\n )\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCCarouselItem.propTypes = {\n active: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n direction: PropTypes.string,\n interval: PropTypes.oneOfType([PropTypes.bool, 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 var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","import { isHTMLElement } from \"./instanceOf.js\";\nimport { round } from \"../utils/math.js\";\nexport default function getBoundingClientRect(element, includeScale) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n\n var rect = element.getBoundingClientRect();\n var scaleX = 1;\n var scaleY = 1;\n\n if (isHTMLElement(element) && includeScale) {\n var offsetHeight = element.offsetHeight;\n var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\n // Fallback to 1 in case both values are `0`\n\n if (offsetWidth > 0) {\n scaleX = round(rect.width) / offsetWidth || 1;\n }\n\n if (offsetHeight > 0) {\n scaleY = round(rect.height) / offsetHeight || 1;\n }\n }\n\n return {\n width: rect.width / scaleX,\n height: rect.height / scaleY,\n top: rect.top / scaleY,\n right: rect.right / scaleX,\n bottom: rect.bottom / scaleY,\n left: rect.left / scaleX,\n x: rect.left / scaleX,\n y: rect.top / scaleY\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, isShadowRoot } 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 if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\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}","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport function within(min, value, max) {\n return mathMax(min, mathMin(value, max));\n}\nexport function withinMaxClamp(min, value, max) {\n var v = within(min, value, max);\n return v > max ? max : v;\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\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};","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","import { top, left, right, bottom, end } 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 getVariation from \"../utils/getVariation.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(x * dpr) / dpr || 0,\n y: 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 variation = _ref2.variation,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets,\n isFixed = _ref2.isFixed;\n var _offsets$x = offsets.x,\n x = _offsets$x === void 0 ? 0 : _offsets$x,\n _offsets$y = offsets.y,\n y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref3.x;\n y = _ref3.y;\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' && position === 'absolute') {\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 || (placement === left || placement === right) && variation === end) {\n sideY = bottom;\n var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left || (placement === top || placement === bottom) && variation === end) {\n sideX = right;\n var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref4.x;\n y = _ref4.y;\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) <= 1 ? \"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(_ref5) {\n var state = _ref5.state,\n options = _ref5.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 variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration,\n isFixed: state.options.strategy === 'fixed'\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 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)) : isElement(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}","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 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 getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getBoundingClientRect from \"../dom-utils/getBoundingClientRect.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 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(state.elements.reference);\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\"; // eslint-disable-next-line import/no-unused-modules\n\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 { 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, withinMaxClamp } 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 { min as mathMin, max as mathMax } 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 normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {\n mainAxis: tetherOffsetValue,\n altAxis: tetherOffsetValue\n } : Object.assign({\n mainAxis: 0,\n altAxis: 0\n }, tetherOffsetValue);\n var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n var _offsetModifierState$;\n\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 = offset + overflow[mainSide];\n var max = offset - 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 - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;\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 = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;\n var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = offset + maxOffset - offsetModifierValue;\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 _offsetModifierState$2;\n\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _len = altAxis === 'y' ? 'height' : 'width';\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;\n\n var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;\n\n var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;\n\n var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\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 getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\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\";\nimport { round } from \"../utils/math.js\";\n\nfunction isElementScaled(element) {\n var rect = element.getBoundingClientRect();\n var scaleX = round(rect.width) / element.offsetWidth || 1;\n var scaleY = round(rect.height) / element.offsetHeight || 1;\n return scaleX !== 1 || scaleY !== 1;\n} // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);\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, true);\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 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}","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\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}","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(setOptionsAction) {\n var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;\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 };","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 { 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\";","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};","/* 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 * as ReactDOM from 'react-dom';\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 ReactDOM.flushSync(function () {\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 },\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 // eslint-disable-next-line react-hooks/exhaustive-deps\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 RefObject,\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 * Set aligment of dropdown menu.\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 * Configure the auto close behavior of the dropdown:\n * - `true` - the dropdown will be closed by clicking outside or inside the dropdown menu.\n * - `false` - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key)\n * - `'inside'` - the dropdown will be closed (only) by clicking inside the dropdown menu.\n * - `'outside'` - the dropdown will be closed (only) by clicking outside the dropdown menu.\n */\n autoClose?: 'inside' | 'outside' | boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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.\n *\n * @type 'dropup' | 'dropend' | 'dropstart'\n */\n direction?: 'dropup' | 'dropend' | 'dropstart'\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\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.\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 */\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.\n */\n variant?: 'btn-group' | 'dropdown' | 'input-group' | 'nav-item'\n /**\n * Toggle the visibility of dropdown menu component.\n */\n visible?: boolean\n}\n\ninterface ContextProps extends CDropdownProps {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n dropdownToggleRef: RefObject | undefined\n setVisible: React.Dispatch>\n}\n\nexport const CDropdownContext = createContext({} as ContextProps)\n\nexport const CDropdown = forwardRef(\n (\n {\n children,\n alignment,\n autoClose = true,\n className,\n dark,\n direction,\n onHide,\n onShow,\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 dropdownToggleRef = 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 autoClose,\n dark,\n direction: direction,\n dropdownToggleRef,\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 setVisible(visible)\n }, [visible])\n\n useEffect(() => {\n _visible && onShow && onShow()\n !_visible && onHide && onHide()\n }, [_visible])\n\n const dropdownContent = () => {\n return variant === 'input-group' ? (\n <>{children}\n ) : (\n \n {children}\n \n )\n }\n\n return popper ? (\n \n {dropdownContent()}\n \n ) : (\n \n {dropdownContent()}\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 autoClose: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'inside' | 'outside'>(['inside', 'outside']),\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 onHide: PropTypes.func,\n onShow: PropTypes.func,\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.\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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 React, { ElementType, FC, HTMLAttributes, useContext, useEffect, useRef } from 'react'\nimport PropTypes from 'prop-types'\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'\n | 'forceUpdate'\n | 'hasPopperEscaped'\n | 'isReferenceHidden'\n | 'placement'\n | 'ref'\n | 'style'\n | 'update'\n > {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CDropdownMenu: FC = ({\n children,\n className,\n component: Component = 'ul',\n ...rest\n}) => {\n const {\n alignment,\n autoClose,\n dark,\n direction,\n dropdownToggleRef,\n placement,\n popper,\n visible,\n setVisible,\n } = useContext(CDropdownContext)\n\n const dropdownMenuRef = useRef(null)\n\n useEffect(() => {\n visible && window.addEventListener('mouseup', handleMouseUp)\n visible && window.addEventListener('keyup', handleKeyup)\n\n return () => {\n window.removeEventListener('mouseup', handleMouseUp)\n window.removeEventListener('keyup', handleKeyup)\n }\n }, [visible])\n\n const handleKeyup = (event: KeyboardEvent) => {\n if (autoClose === false) {\n return\n }\n\n if (event.key === 'Escape') {\n setVisible(false)\n }\n }\n\n const handleMouseUp = (event: Event) => {\n if (dropdownToggleRef && dropdownToggleRef.current.contains(event.target as HTMLElement)) {\n return\n }\n\n if (\n autoClose === true ||\n (autoClose === 'inside' && dropdownMenuRef.current?.contains(event.target as HTMLElement)) ||\n (autoClose === 'outside' && !dropdownMenuRef.current?.contains(event.target as HTMLElement))\n ) {\n setTimeout(() => setVisible(false), 1)\n return\n }\n }\n\n let _placement: Placements = placement\n\n if (direction === 'dropup') {\n _placement = 'top-start'\n }\n\n if (direction === 'dropend') {\n _placement = 'right-start'\n }\n\n if (direction === 'dropstart') {\n _placement = 'left-start'\n }\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 \n {({ ref, style }) => dropdownMenuComponent(style, ref)}\n \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 { useForkedRef } from '../../utils/hooks'\n\nimport { Triggers, triggerPropType } from '../Types'\n\nimport { CButton, CButtonProps } from '../button/CButton'\nimport { CDropdownContext } from './CDropdown'\n\nexport interface CDropdownToggleProps extends Omit {\n /**\n * Enables pseudo element caret on toggler.\n */\n caret?: boolean\n /**\n * Create a custom toggler which accepts any content.\n */\n custom?: 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.\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.\n *\n * @type 'hover' | 'focus' | 'click'\n */\n trigger?: Triggers | Triggers[]\n}\n\nexport const CDropdownToggle: FC = ({\n children,\n caret = true,\n custom,\n className,\n split,\n trigger = 'click',\n ...rest\n}) => {\n const { dropdownToggleRef, 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 ...(!rest.disabled && { ...triggers }),\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 custom && React.isValidElement(children) ? (\n <>\n {React.cloneElement(children, {\n 'aria-expanded': visible,\n ...(!rest.disabled && { ...triggers }),\n ref: useForkedRef(ref, dropdownToggleRef),\n })}\n \n ) : 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(dropdownToggleRef)\n}\n\nCDropdownToggle.propTypes = {\n caret: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n custom: PropTypes.bool,\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\nexport interface CFooterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Place footer in non-static positions.\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, FormHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormProps extends FormHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\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, { 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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Method called immediately after the `value` prop changes.\n */\n invalid?: boolean\n /**\n * If your form layout allows it, you can display validation feedback in a styled tooltip.\n */\n tooltip?: boolean\n /**\n * Set component validation state to valid.\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, { FC, ReactNode } from 'react'\n\nimport PropTypes from 'prop-types'\n\nimport { CFormFeedback } from './CFormFeedback'\n\nexport interface CFormControlValidationProps {\n /**\n * @ignore\n */\n describedby?: string\n /**\n * Provide valuable, actionable feedback.\n *\n * @since 4.2.0\n */\n feedback?: ReactNode | string\n /**\n * Provide valuable, actionable feedback.\n *\n * @since 4.2.0\n */\n feedbackInvalid?: ReactNode | string\n /**\n * Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.\n *\n * @since 4.2.0\n */\n feedbackValid?: ReactNode | string\n /**\n * Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.\n *\n * @since 4.2.0\n */\n floatingLabel?: ReactNode | string\n /**\n * Set component validation state to invalid.\n */\n invalid?: boolean\n /**\n * Display validation feedback in a styled tooltip.\n *\n * @since 4.2.0\n */\n tooltipFeedback?: boolean\n /**\n * Set component validation state to valid.\n */\n valid?: boolean\n}\n\nexport const CFormControlValidation: FC = ({\n describedby,\n feedback,\n feedbackInvalid,\n feedbackValid,\n invalid,\n tooltipFeedback,\n valid,\n}) => {\n return (\n <>\n {feedback && (valid || invalid) && (\n \n {feedback}\n \n )}\n {feedbackInvalid && (\n \n {feedbackInvalid}\n \n )}\n {feedbackValid && (\n \n {feedbackValid}\n \n )}\n \n )\n}\n\nCFormControlValidation.propTypes = {\n describedby: PropTypes.string,\n feedback: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n feedbackValid: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n feedbackInvalid: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n invalid: PropTypes.bool,\n tooltipFeedback: PropTypes.bool,\n valid: PropTypes.bool,\n}\n\nCFormControlValidation.displayName = 'CFormControlValidation'\n","import React, { forwardRef, AllHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormLabelProps extends AllHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * A string of all className you want to be applied to the component, and override standard className value.\n */\n customClassName?: string\n}\n\nexport const CFormLabel = forwardRef(\n ({ children, className, customClassName, ...rest }, ref) => {\n const _className = customClassName ? customClassName : classNames('form-label', className)\n return (\n \n )\n },\n)\n\nCFormLabel.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n customClassName: PropTypes.string,\n}\n\nCFormLabel.displayName = 'CFormLabel'\n","import React, { forwardRef, InputHTMLAttributes, ReactNode, useEffect, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { useForkedRef } from '../../utils/hooks'\nimport { Colors, Shapes } from '../Types'\n\nimport { CFormControlValidation, CFormControlValidationProps } from './CFormControlValidation'\nimport { CFormLabel } from './CFormLabel'\n\nexport type ButtonObject = {\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Select the shape of the component.\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 shape?: Shapes\n /**\n * Size the component small or large.\n */\n size?: 'sm' | 'lg'\n /**\n * Set the button variant to an outlined button or a ghost button.\n */\n variant?: 'outline' | 'ghost'\n}\n\nexport interface CFormCheckProps\n extends CFormControlValidationProps,\n InputHTMLAttributes {\n /**\n * Create button-like checkboxes and radio buttons.\n */\n button?: ButtonObject\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets hit area to the full area of the component.\n */\n hitArea?: 'full'\n /**\n * The id global attribute defines an identifier (ID) that must be unique in the whole document.\n */\n id?: string\n /**\n * Input Checkbox indeterminate Property.\n */\n indeterminate?: boolean\n /**\n * Group checkboxes or radios on the same horizontal row by adding.\n */\n inline?: boolean\n /**\n * Set component validation state to invalid.\n */\n invalid?: boolean\n /**\n * The element represents a caption for a component.\n */\n label?: string | ReactNode\n /**\n * Specifies the type of component.\n */\n type?: 'checkbox' | 'radio'\n /**\n * Set component validation state to valid.\n */\n valid?: boolean\n}\n\nexport const CFormCheck = forwardRef(\n (\n {\n className,\n button,\n feedback,\n feedbackInvalid,\n feedbackValid,\n floatingLabel,\n tooltipFeedback,\n hitArea,\n id,\n indeterminate,\n inline,\n invalid,\n label,\n type = 'checkbox',\n valid,\n ...rest\n },\n ref,\n ) => {\n const inputRef = useRef(null)\n const forkedRef = useForkedRef(ref, inputRef)\n\n useEffect(() => {\n if (inputRef.current && indeterminate) {\n inputRef.current.indeterminate = indeterminate\n }\n }, [indeterminate])\n\n const _className = classNames(\n 'form-check',\n {\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 'me-2': hitArea,\n })\n const labelClassName = classNames(\n button\n ? classNames(\n 'btn',\n button.variant ? `btn-${button.variant}-${button.color}` : `btn-${button.color}`,\n {\n [`btn-${button.size}`]: button.size,\n },\n `${button.shape}`,\n )\n : 'form-check-label',\n )\n\n const formControl = () => {\n return \n }\n\n const formValidation = () => (\n \n )\n\n const formLabel = () => {\n return (\n \n {label}\n \n )\n }\n\n return button ? (\n <>\n {formControl()}\n {label && formLabel()}\n {formValidation()}\n \n ) : label ? (\n hitArea ? (\n <>\n \n {formControl()}\n {label}\n \n {formValidation()}\n \n ) : (\n
    \n {formControl()}\n {formLabel()}\n {formValidation()}\n
    \n )\n ) : (\n formControl()\n )\n },\n)\n\nCFormCheck.propTypes = {\n button: PropTypes.object,\n className: PropTypes.string,\n hitArea: PropTypes.oneOf(['full']),\n id: PropTypes.string,\n indeterminate: PropTypes.bool,\n inline: PropTypes.bool,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n type: PropTypes.oneOf(['checkbox', 'radio']),\n ...CFormControlValidation.propTypes,\n}\n\nCFormCheck.displayName = 'CFormCheck'\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.\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, { 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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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, { FC, ReactNode } from 'react'\n\nimport PropTypes from 'prop-types'\n\nimport { CFormControlValidation, CFormControlValidationProps } from './CFormControlValidation'\nimport { CFormFloating } from './CFormFloating'\nimport { CFormLabel } from './CFormLabel'\nimport { CFormText } from './CFormText'\n\nexport interface CFormControlWrapperProps extends CFormControlValidationProps {\n /**\n * @ignore\n */\n children?: ReactNode\n /**\n * Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.\n *\n * @since 4.2.0\n */\n floatingLabel?: ReactNode | string\n /**\n * @ignore\n */\n id?: string\n /**\n * Add a caption for a component.\n *\n * @since 4.2.0\n */\n label?: ReactNode | string\n /**\n * Add helper text to the component.\n *\n * @since 4.2.0\n */\n text?: ReactNode | string\n}\n\nexport const CFormControlWrapper: FC = ({\n children,\n describedby,\n feedback,\n feedbackInvalid,\n feedbackValid,\n floatingLabel,\n id,\n invalid,\n label,\n text,\n tooltipFeedback,\n valid,\n}) => {\n return floatingLabel ? (\n \n {children}\n {label || floatingLabel}\n \n ) : (\n <>\n {label && {label}}\n {children}\n {text && {text}}\n \n \n )\n}\n\nCFormControlWrapper.propTypes = {\n children: PropTypes.node,\n floatingLabel: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n label: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n text: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n ...CFormControlValidation.propTypes,\n}\n\nCFormControlWrapper.displayName = 'CFormControlWrapper'\n","import React, { ChangeEventHandler, forwardRef, InputHTMLAttributes, useState } from 'react'\n\nimport classNames from 'classnames'\nimport PropTypes from 'prop-types'\n\nimport { CFormControlWrapper, CFormControlWrapperProps } from './CFormControlWrapper'\nimport { useEffect } from 'react'\n\nexport interface CFormInputProps\n extends CFormControlWrapperProps,\n Omit, 'size'> {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Delay onChange event while typing. If set to true onChange event will be delayed 500ms, you can also provide the number of milliseconds you want to delay the onChange event.\n */\n delay?: boolean | number\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * Method called immediately after the `value` prop changes.\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.\n */\n readOnly?: boolean\n /**\n * Size the component small or large.\n */\n size?: 'sm' | 'lg'\n /**\n * Specifies the type of component.\n */\n type?: 'color' | 'file' | 'text' | string\n /**\n * The `value` attribute of component.\n *\n * @controllable onChange\n * */\n value?: string | string[] | number\n}\n\nexport const CFormInput = forwardRef(\n (\n {\n children,\n className,\n delay = false,\n feedback,\n feedbackInvalid,\n feedbackValid,\n floatingLabel,\n id,\n invalid,\n label,\n onChange,\n plainText,\n size,\n text,\n tooltipFeedback,\n type = 'text',\n valid,\n ...rest\n },\n ref,\n ) => {\n const [value, setValue] = useState>()\n\n useEffect(() => {\n const timeOutId = setTimeout(\n () => value && onChange && onChange(value),\n typeof delay === 'number' ? delay : 500,\n )\n\n return () => clearTimeout(timeOutId)\n }, [value])\n\n const _className = classNames(\n plainText ? 'form-control-plaintext' : 'form-control',\n {\n [`form-control-${size}`]: size,\n 'form-control-color': type === 'color',\n 'is-invalid': invalid,\n 'is-valid': valid,\n },\n className,\n )\n\n return (\n \n (delay ? setValue(event) : onChange && onChange(event))}\n {...rest}\n ref={ref}\n >\n {children}\n \n \n )\n },\n)\n\nCFormInput.propTypes = {\n className: PropTypes.string,\n id: PropTypes.string,\n delay: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),\n plainText: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg']),\n type: PropTypes.oneOfType([PropTypes.oneOf(['color', 'file', 'text']), PropTypes.string]),\n ...CFormControlWrapper.propTypes,\n}\n\nCFormInput.displayName = 'CFormInput'\n","import React, { ChangeEventHandler, forwardRef, InputHTMLAttributes, ReactNode } from 'react'\n\nimport classNames from 'classnames'\nimport PropTypes from 'prop-types'\n\nimport { CFormLabel } from './CFormLabel'\nexport interface CFormRangeProps extends InputHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * Add a caption for a component.\n *\n * @since 4.2.0\n */\n label?: ReactNode | string\n /**\n * Specifies the maximum value for the component.\n */\n max?: number\n /**\n * Specifies the minimum value for the component.\n */\n min?: number\n /**\n * Method called immediately after the `value` prop changes.\n */\n onChange?: ChangeEventHandler\n /**\n * Toggle the readonly state for the component.\n */\n readOnly?: boolean\n /**\n * Specifies the interval between legal numbers in the component.\n */\n steps: number\n /**\n * The `value` attribute of component.\n *\n * @controllable onChange\n * */\n value?: string | string[] | number\n}\n\nexport const CFormRange = forwardRef(\n ({ className, label, ...rest }, ref) => {\n const _className = classNames('form-range', className)\n return (\n <>\n {label && {label}}\n \n \n )\n },\n)\n\nCFormRange.propTypes = {\n className: PropTypes.string,\n label: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n}\n\nCFormRange.displayName = 'CFormRange'\n","import React, { ChangeEventHandler, forwardRef, InputHTMLAttributes } from 'react'\n\nimport classNames from 'classnames'\nimport PropTypes from 'prop-types'\n\nimport { CFormControlWrapper, CFormControlWrapperProps } from './CFormControlWrapper'\n\ntype Option = {\n disabled?: boolean\n label?: string\n value?: string\n}\nexport interface CFormSelectProps\n extends CFormControlWrapperProps,\n Omit, 'size'> {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Specifies the number of visible options in a drop-down list.\n */\n htmlSize?: number\n /**\n * Method called immediately after the `value` prop changes.\n */\n onChange?: ChangeEventHandler\n /**\n * Options list of the select component. Available keys: `label`, `value`, `disabled`.\n * Examples:\n * - `options={[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]}`\n * - `options={['js', 'html']}`\n */\n options?: Option[] | string[]\n /**\n * Size the component small or large.\n */\n size?: 'sm' | 'lg'\n /**\n * The `value` attribute of component.\n *\n * @controllable onChange\n */\n value?: string | string[] | number\n}\n\nexport const CFormSelect = forwardRef(\n (\n {\n children,\n className,\n feedback,\n feedbackInvalid,\n feedbackValid,\n floatingLabel,\n htmlSize,\n id,\n invalid,\n label,\n options,\n size,\n text,\n tooltipFeedback,\n valid,\n ...rest\n },\n ref,\n ) => {\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 },\n)\n\nCFormSelect.propTypes = {\n className: PropTypes.string,\n htmlSize: PropTypes.number,\n options: PropTypes.array,\n ...CFormControlWrapper.propTypes,\n}\n\nCFormSelect.displayName = 'CFormSelect'\n","import React, { forwardRef, InputHTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CFormLabel } from './CFormLabel'\n\nexport interface CFormSwitchProps extends Omit, 'size'> {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * The id global attribute defines an identifier (ID) that must be unique in the whole document.\n */\n id?: string\n /**\n * Set component validation state to invalid.\n */\n invalid?: boolean\n /**\n * The element represents a caption for a component.\n */\n label?: string | ReactNode\n /**\n * Size the component large or extra large. Works only with `switch` [docs]\n */\n size?: 'lg' | 'xl'\n /**\n * Specifies the type of component.\n */\n type?: 'checkbox' | 'radio'\n /**\n * Set component validation state to valid.\n */\n valid?: boolean\n}\n\nexport const CFormSwitch = forwardRef(\n ({ className, id, invalid, label, size, type = 'checkbox', valid, ...rest }, ref) => {\n const _className = classNames(\n 'form-check form-switch',\n {\n [`form-switch-${size}`]: size,\n 'is-invalid': invalid,\n 'is-valid': valid,\n },\n className,\n )\n\n const inputClassName = classNames('form-check-input', {\n 'is-invalid': invalid,\n 'is-valid': valid,\n })\n const labelClassName = classNames('form-check-label')\n\n return (\n
    \n \n {label && (\n \n {label}\n \n )}\n
    \n )\n },\n)\n\nCFormSwitch.propTypes = {\n className: PropTypes.string,\n id: PropTypes.string,\n invalid: PropTypes.bool,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n size: PropTypes.oneOf(['lg', 'xl']),\n type: PropTypes.oneOf(['checkbox', 'radio']),\n valid: PropTypes.bool,\n}\n\nCFormSwitch.displayName = 'CFormSwitch'\n","import React, { ChangeEventHandler, forwardRef, TextareaHTMLAttributes } from 'react'\n\nimport classNames from 'classnames'\nimport PropTypes from 'prop-types'\n\nimport { CFormControlWrapper, CFormControlWrapperProps } from './CFormControlWrapper'\n\nexport interface CFormTextareaProps\n extends CFormControlWrapperProps,\n TextareaHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * Method called immediately after the `value` prop changes.\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`.\n */\n plainText?: boolean\n /**\n * Toggle the readonly state for the component.\n */\n readOnly?: boolean\n /**\n * The `value` attribute of component.\n *\n * @controllable onChange\n * */\n value?: string | string[] | number\n}\n\nexport const CFormTextarea = forwardRef(\n (\n {\n children,\n className,\n feedback,\n feedbackInvalid,\n feedbackValid,\n floatingLabel,\n id,\n invalid,\n label,\n plainText,\n text,\n tooltipFeedback,\n valid,\n ...rest\n },\n ref,\n ) => {\n const _className = classNames(\n plainText ? 'form-control-plaintext' : 'form-control',\n {\n 'is-invalid': invalid,\n 'is-valid': valid,\n },\n className,\n )\n return (\n \n \n \n )\n },\n)\n\nCFormTextarea.propTypes = {\n className: PropTypes.string,\n id: PropTypes.string,\n plainText: PropTypes.bool,\n ...CFormControlWrapper.propTypes,\n}\n\nCFormTextarea.displayName = 'CFormTextarea'\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.\n */\n className?: string\n /**\n * Size the component small or large.\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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\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.\n */\n className?: string\n /**\n * The number of columns/offset/order on extra small devices (<576px).\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).\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).\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).\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).\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).\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 /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Set container 100% wide until small breakpoint.\n */\n sm?: boolean\n /**\n * Set container 100% wide until medium breakpoint.\n */\n md?: boolean\n /**\n * Set container 100% wide until large breakpoint.\n */\n lg?: boolean\n /**\n * Set container 100% wide until X-large breakpoint.\n */\n xl?: boolean\n /**\n * Set container 100% wide until XX-large breakpoint.\n */\n xxl?: boolean\n /**\n * Set container 100% wide, spanning the entire width of the viewport.\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.\n */\n className?: string\n /**\n * The number of columns/offset/order on extra small devices (<576px).\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).\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).\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).\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).\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).\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 CHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Defines optional container wrapping children elements.\n */\n container?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n /**\n * Place header in non-static positions.\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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.\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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.\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.\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, ImgHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CImageProps extends ImgHTMLAttributes {\n /**\n * Set the horizontal aligment.\n */\n align?: 'start' | 'center' | 'end'\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Make image responsive.\n */\n fluid?: boolean\n /**\n * Make image rounded.\n */\n rounded?: boolean\n /**\n * Give an image a rounded 1px border appearance.\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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., ``).\n */\n flush?: boolean\n /**\n * Specify a layout type.\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.\n */\n active?: boolean\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\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.\n */\n disabled?: boolean\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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.\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.\n */\n alignment?: 'top' | 'center'\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Set modal to covers the entire user viewport.\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.\n */\n scrollable?: boolean\n /**\n * Size the component small, large, or extra large.\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 createContext,\n forwardRef,\n HTMLAttributes,\n useCallback,\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'\nimport { Transition } 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.\n */\n alignment?: 'top' | 'center'\n /**\n * Apply a backdrop on body while modal is open.\n */\n backdrop?: boolean | 'static'\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * @ignore\n */\n duration?: number\n /**\n * Set modal to covers the entire user viewport.\n */\n fullscreen?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Closes the modal when escape key is pressed.\n */\n keyboard?: boolean\n /**\n * Callback fired when the component requests to be closed.\n */\n onClose?: () => void\n /**\n * Callback fired when the component requests to be closed.\n */\n onClosePrevented?: () => void\n /**\n * Callback fired when the modal is shown, its backdrop is static and a click outside the modal or an escape key press is performed with the keyboard option set to false.\n */\n onShow?: () => void\n /**\n * Generates modal using createPortal.\n */\n portal?: boolean\n /**\n * Create a scrollable modal that allows scrolling the modal body.\n */\n scrollable?: boolean\n /**\n * Size the component small, large, or extra large.\n */\n size?: 'sm' | 'lg' | 'xl'\n /**\n * Remove animation to create modal that simply appear rather than fade in to view.\n */\n transition?: boolean\n /**\n * By default the component is unmounted after close animation, if you want to keep the component mounted set this property to false.\n */\n unmountOnClose?: boolean\n /**\n * Toggle the visibility of modal component.\n */\n visible?: boolean\n}\n\ninterface ModalContextProps {\n visible?: boolean\n setVisible: React.Dispatch>\n}\n\nexport const CModalContext = createContext({} as ModalContextProps)\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 onClose,\n onClosePrevented,\n onShow,\n portal = true,\n scrollable,\n size,\n transition = true,\n unmountOnClose = true,\n visible,\n },\n ref,\n ) => {\n const modalRef = useRef(null)\n const modalContentRef = useRef(null)\n const forkedRef = useForkedRef(ref, modalRef)\n\n const [_visible, setVisible] = useState(visible)\n const [staticBackdrop, setStaticBackdrop] = useState(false)\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n const contextValues = {\n visible: _visible,\n setVisible,\n }\n\n useEffect(() => {\n modalRef.current && modalRef.current.addEventListener('click', handleClickOutside)\n modalRef.current && modalRef.current.addEventListener('keyup', handleKeyDown)\n\n return () => {\n modalRef.current && modalRef.current.removeEventListener('click', handleClickOutside)\n modalRef.current && modalRef.current.removeEventListener('keyup', handleKeyDown)\n }\n }, [_visible])\n\n const handleDismiss = () => {\n if (backdrop === 'static') {\n return setStaticBackdrop(true)\n }\n return onClose && onClose()\n }\n\n useLayoutEffect(() => {\n onClosePrevented && onClosePrevented()\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?.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 handleClickOutside = (event: Event) => {\n if (\n modalContentRef.current &&\n !modalContentRef.current.contains(event.target as HTMLElement)\n ) {\n handleDismiss()\n }\n }\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\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 \n {children}\n \n
    \n \n )\n }\n\n return (\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 {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.oneOfType([PropTypes.bool, PropTypes.oneOf<'static'>(['static'])]),\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 onClose: PropTypes.func,\n onClosePrevented: PropTypes.func,\n onShow: PropTypes.func,\n portal: PropTypes.bool,\n scrollable: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg', 'xl']),\n transition: PropTypes.bool,\n unmountOnClose: 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.\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.\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, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport { CModalContext } from './CModal'\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.\n */\n className?: string\n /**\n * Add a close button component to the header.\n */\n closeButton?: boolean\n}\n\nexport const CModalHeader = forwardRef(\n ({ children, className, closeButton = true, ...rest }, ref) => {\n const { setVisible } = useContext(CModalContext)\n const _className = classNames('modal-header', className)\n\n return (\n
    \n {children}\n {closeButton && setVisible(false)} />}\n
    \n )\n },\n)\n\nCModalHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n closeButton: PropTypes.bool,\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Specify a layout type for component.\n */\n layout?: 'fill' | 'justified'\n /**\n * Set the nav variant to tabs or pills.\n */\n variant?: 'tabs' | 'pills'\n}\n\nexport const CNav = forwardRef(\n ({ children, className, component: Component = 'ul', layout, variant, ...rest }, 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.\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.\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, {\n CSSProperties,\n forwardRef,\n ReactNode,\n useContext,\n useEffect,\n useRef,\n useState,\n} 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 * Make nav group more compact by cutting all `padding` in half. [docs]\n */\n compact?: boolean\n /**\n * Set group toggler label. [docs]\n */\n toggler?: string | ReactNode\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, className, compact, idx, toggler, visible, ...rest }, ref) => {\n const [height, setHeight] = useState()\n const navItemsRef = useRef(null)\n\n const { visibleGroup, setVisibleGroup } = useContext(CNavContext)\n\n const [_visible, setVisible] = useState(\n Boolean(\n visible || (idx && visibleGroup && visibleGroup.toString().startsWith(idx.toString())),\n ),\n )\n\n useEffect(() => {\n setVisible(Boolean(idx && visibleGroup && visibleGroup.toString().startsWith(idx.toString())))\n }, [visibleGroup])\n\n const handleTogglerOnCLick = (event: React.MouseEvent) => {\n event.preventDefault()\n setVisibleGroup(\n _visible ? (idx?.toString().includes('.') ? idx.slice(0, idx.lastIndexOf('.')) : '') : idx,\n )\n setVisible(!_visible)\n }\n\n const style: CSSProperties = {\n height: 0,\n }\n\n const onEntering = () => {\n navItemsRef.current && setHeight(navItemsRef.current.scrollHeight)\n }\n\n const onEntered = () => {\n setHeight('auto')\n }\n\n const onExit = () => {\n 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.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 _className = classNames('nav-group', { show: _visible }, className)\n\n return (\n
  • \n {toggler && (\n handleTogglerOnCLick(event)}>\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 compact: PropTypes.bool,\n idx: PropTypes.string,\n toggler: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n visible: PropTypes.bool,\n}\n\nCNavGroup.displayName = 'CNavGroup'\n","import React, { ElementType, forwardRef, 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.\n */\n active?: boolean\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\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, 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 {children}\n \n )\n})\n\nCNavLink.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\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.\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.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\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.\n */\n colorScheme?: 'dark' | 'light'\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Defines optional container wrapping children elements.\n */\n container?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n /**\n * Defines the responsive breakpoint to determine when content collapses.\n */\n expand?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Place component in non-static positions.\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n *\n */\n component?: string | ElementType\n /**\n * The href attribute specifies the URL of the page the link goes to.\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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.\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.\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 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.\n */\n backdrop?: boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Closes the offcanvas when escape key is pressed [docs]\n */\n keyboard?: boolean\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Components placement, there’s no default placement.\n */\n placement: 'start' | 'end' | 'top' | 'bottom'\n /**\n * Generates modal using createPortal.\n */\n portal?: boolean\n /**\n * Allow body scrolling while offcanvas is open\n */\n scroll?: boolean\n /**\n * Toggle the visibility of offcanvas component.\n */\n visible?: boolean\n}\n\nexport const COffcanvas = forwardRef(\n (\n {\n children,\n backdrop = true,\n className,\n keyboard = true,\n onHide,\n onShow,\n placement,\n portal = true,\n scroll = false,\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 useEffect(() => {\n if (_visible) {\n if (!scroll) {\n document.body.style.overflow = 'hidden'\n document.body.style.paddingRight = '0px'\n }\n return\n }\n\n if (!scroll) {\n document.body.style.removeProperty('overflow')\n document.body.style.removeProperty('padding-right')\n }\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 }\n\n const handleKeyDown = useCallback(\n (event: React.KeyboardEvent) => {\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 onExit={onHide}\n timeout={300}\n >\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(\n ,\n document.body,\n )\n : backdrop && (\n \n )}\n \n )\n },\n)\n\nCOffcanvas.propTypes = {\n backdrop: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n keyboard: PropTypes.bool,\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n placement: PropTypes.oneOf<'start' | 'end' | 'top' | 'bottom'>(['start', 'end', 'top', 'bottom'])\n .isRequired,\n portal: PropTypes.bool,\n scroll: 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.\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.\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.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\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 CPaginationProps extends HTMLAttributes {\n /**\n * Set the alignment of pagination components.\n */\n align?: 'start' | 'center' | 'end'\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Size the component small or large.\n */\n size?: 'sm' | 'lg'\n}\n\nexport const CPagination = forwardRef(\n ({ children, align, className, size, ...rest }, ref) => {\n const _className = classNames(\n 'pagination',\n {\n [`justify-content-${align}`]: align,\n [`pagination-${size}`]: size,\n },\n className,\n )\n return (\n \n )\n },\n)\n\nCPagination.propTypes = {\n align: PropTypes.oneOf(['start', 'center', 'end']),\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 * Toggle the active state for the component.\n */\n active?: boolean\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component.\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, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CPlaceholderProps extends HTMLAttributes {\n /**\n * Set animation type to better convey the perception of something being actively loaded.\n */\n animation?: 'glow' | 'wave'\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\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.\n */\n component?: string | ElementType\n /**\n * Size the component extra small, small, or large.\n */\n size?: 'xs' | 'sm' | 'lg'\n /**\n * The number of columns on extra small devices (<576px).\n */\n xs?: number\n /**\n * The number of columns on small devices (<768px).\n */\n sm?: number\n /**\n * The number of columns on medium devices (<992px).\n */\n md?: number\n /**\n * The number of columns on large devices (<1200px).\n */\n lg?: number\n /**\n * The number of columns on X-Large devices (<1400px).\n */\n xl?: number\n /**\n * The number of columns on XX-Large devices (≥1400px).\n */\n xxl?: number\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 CPlaceholder = forwardRef(\n (\n { children, animation, className, color, component: Component = 'span', size, ...rest },\n ref,\n ) => {\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') {\n repsonsiveClassNames.push(`col${infix}-${breakpoint}`)\n }\n\n if (typeof breakpoint === 'boolean') {\n repsonsiveClassNames.push(`col${infix}`)\n }\n })\n\n const _className = classNames(\n animation ? `placeholder-${animation}` : 'placeholder',\n {\n [`bg-${color}`]: color,\n [`placeholder-${size}`]: size,\n },\n repsonsiveClassNames,\n className,\n )\n\n return (\n \n {children}\n \n )\n },\n)\n\nCPlaceholder.propTypes = {\n animation: PropTypes.oneOf(['glow', 'wave']),\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n component: PropTypes.elementType,\n size: PropTypes.oneOf(['xs', 'sm', 'lg']),\n}\n\nCPlaceholder.displayName = 'CPlaceholder'\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.\n */\n animated?: boolean\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * The percent to progress the ProgressBar.\n */\n value?: number\n /**\n * Set the progress bar variant to optional striped.\n */\n variant?: 'striped'\n}\n\nexport const CProgressBar = forwardRef(\n ({ children, animated, 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.\n */\n className?: string\n /**\n * Sets the height of the component. If you set that value the inner `` will automatically resize accordingly.\n */\n height?: number\n /**\n * Makes progress bar thinner.\n */\n thin?: boolean\n /**\n * The percent to progress the ProgressBar (out of 100).\n */\n value?: number\n /**\n * Change the default color to white.\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","import React, { FC, ReactNode, useRef, useState } from 'react'\nimport { createPortal } from 'react-dom'\n\nimport classNames from 'classnames'\nimport PropTypes from 'prop-types'\nimport { usePopper } from 'react-popper'\nimport { Transition } from 'react-transition-group'\n\nimport { Triggers, triggerPropType } from '../Types'\nimport { useEffect } from 'react'\n\nexport interface CPopoverProps {\n // TODO: find solution to not use any\n children: any\n /**\n * Content node for your component.\n */\n content: ReactNode | string\n /**\n * Offset of the popover relative to its target.\n */\n offset?: [number, number]\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Title node for your component.\n */\n title?: ReactNode | string\n /**\n * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.\n *\n * @type 'hover' | 'focus' | 'click'\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.\n */\n placement?: 'auto' | 'top' | 'right' | 'bottom' | 'left'\n /**\n * Toggle the visibility of popover component.\n */\n visible?: boolean\n}\n\nexport const CPopover: FC = ({\n children,\n content,\n offset = [0, 8],\n onHide,\n onShow,\n placement = 'top',\n title,\n trigger = 'click',\n visible,\n ...rest\n}) => {\n const [_visible, setVisible] = useState(visible)\n const popoverRef = useRef()\n\n const [referenceElement, setReferenceElement] = useState(null)\n const [popperElement, setPopperElement] = useState(null)\n const [arrowElement, setArrowElement] = useState(null)\n const { styles, attributes } = usePopper(referenceElement, popperElement, {\n modifiers: [\n { name: 'arrow', options: { element: arrowElement } },\n {\n name: 'offset',\n options: {\n offset: offset,\n },\n },\n ],\n placement: placement,\n })\n\n useEffect(() => {\n setVisible(visible)\n }, [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 {React.cloneElement(children, {\n ref: setReferenceElement,\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 {typeof window !== 'undefined' &&\n createPortal(\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return (\n \n
    \n
    {title}
    \n
    {content}
    \n \n )\n }}\n
    ,\n document.body,\n )}\n \n )\n}\n\nCPopover.propTypes = {\n children: PropTypes.any,\n content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n offset: PropTypes.any, // TODO: find good proptype\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n placement: PropTypes.oneOf(['auto', 'top', 'right', 'bottom', 'left']),\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n trigger: triggerPropType,\n visible: PropTypes.bool,\n}\n\nCPopover.displayName = 'CPopover'\n","import React, { forwardRef, HTMLAttributes, useEffect, useRef, useState } from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\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.\n */\n className?: string\n /**\n * Make sidebar narrow.\n */\n narrow?: boolean\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Event emitted after visibility of component changed.\n */\n onVisibleChange?: (visible: boolean) => void\n /**\n * Set sidebar to overlaid variant.\n */\n overlaid?: boolean\n /**\n * Place sidebar in non-static positions.\n */\n position?: 'fixed' | 'sticky'\n /**\n * Size the component small, large, or extra large.\n */\n size?: 'sm' | 'lg' | 'xl'\n /**\n * Expand narrowed sidebar on hover.\n */\n unfoldable?: boolean\n /**\n * Toggle the visibility of sidebar component.\n */\n visible?: boolean\n}\n\nconst isOnMobile = (element: HTMLDivElement) =>\n Boolean(getComputedStyle(element).getPropertyValue('--cui-is-mobile'))\n\nconst isVisible = (element: HTMLDivElement) => {\n const rect = element.getBoundingClientRect()\n return (\n rect.top >= 0 &&\n rect.left >= 0 &&\n rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&\n rect.right <= (window.innerWidth || document.documentElement.clientWidth)\n )\n}\n\nexport const CSidebar = forwardRef(\n (\n {\n children,\n className,\n narrow,\n onHide,\n onShow,\n onVisibleChange,\n overlaid,\n position,\n size,\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 const [inViewport, setInViewport] = useState()\n\n useEffect(() => {\n sidebarRef.current && setMobile(isOnMobile(sidebarRef.current))\n\n setVisible(visible)\n }, [visible])\n\n useEffect(() => {\n typeof inViewport !== 'undefined' && onVisibleChange && onVisibleChange(inViewport)\n !inViewport && onHide && onHide()\n inViewport && onShow && onShow()\n }, [inViewport])\n\n useEffect(() => {\n mobile && visible && setVisible(false)\n }, [mobile])\n\n useEffect(() => {\n sidebarRef.current && setMobile(isOnMobile(sidebarRef.current))\n sidebarRef.current && setInViewport(isVisible(sidebarRef.current))\n\n window.addEventListener('resize', () => handleResize())\n window.addEventListener('mouseup', handleClickOutside)\n window.addEventListener('keyup', handleKeyup)\n\n sidebarRef.current?.addEventListener('mouseup', handleOnClick)\n sidebarRef.current?.addEventListener('transitionend', () => {\n sidebarRef.current && setInViewport(isVisible(sidebarRef.current))\n })\n\n return () => {\n window.removeEventListener('resize', () => handleResize())\n window.removeEventListener('mouseup', handleClickOutside)\n window.removeEventListener('keyup', handleKeyup)\n\n sidebarRef.current?.removeEventListener('mouseup', handleOnClick)\n sidebarRef.current?.removeEventListener('transitionend', () => {\n sidebarRef.current && setInViewport(isVisible(sidebarRef.current))\n })\n }\n })\n\n const handleHide = () => {\n setVisible(false)\n }\n\n const handleResize = () => {\n sidebarRef.current && setMobile(isOnMobile(sidebarRef.current))\n sidebarRef.current && setInViewport(isVisible(sidebarRef.current))\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-${size}`]: size,\n 'sidebar-narrow-unfoldable': unfoldable,\n show: _visible === true && mobile,\n hide: _visible === false && !mobile,\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 onVisibleChange: PropTypes.func,\n overlaid: PropTypes.bool,\n position: PropTypes.oneOf(['fixed', 'sticky']),\n size: PropTypes.oneOf(['sm', 'lg', 'xl']),\n unfoldable: PropTypes.bool,\n visible: PropTypes.bool,\n}\n\nCSidebar.displayName = 'CSidebar'\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.\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.\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.\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 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.\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.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\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.\n */\n component?: string | ElementType\n /**\n * Size the component small.\n */\n size?: 'sm'\n /**\n * Set the button variant to an outlined button or a ghost button.\n */\n variant?: 'border' | 'grow'\n /**\n * Set visually hidden label for accessibility purposes.\n */\n visuallyHiddenLabel?: string\n}\n\nexport const CSpinner = forwardRef(\n (\n {\n className,\n color,\n component: Component = 'div',\n size,\n variant = 'border',\n visuallyHiddenLabel = 'Loading...',\n ...rest\n },\n ref,\n ) => {\n const _className = classNames(\n `spinner-${variant}`,\n `text-${color}`,\n size && `spinner-${variant}-${size}`,\n className,\n )\n\n return (\n \n {visuallyHiddenLabel}\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 visuallyHiddenLabel: PropTypes.string,\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 CTableHeadProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\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, ThHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableHeaderCellProps extends ThHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\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 CTableBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\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, TdHTMLAttributes, ThHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nexport interface CTableDataCellProps\n extends Omit, 'align'>,\n Omit, 'align'> {\n /**\n * Highlight a table row or cell.\n */\n active?: boolean\n /**\n * Set the vertical aligment.\n */\n align?: 'bottom' | 'middle' | 'top' | string\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * @ignore\n */\n colSpan?: number\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 const Component = rest.scope ? 'th' : 'td'\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 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..\n */\n active?: boolean\n /**\n * Set the vertical aligment.\n */\n align?: 'bottom' | 'middle' | 'top' | string\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\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 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.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\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'\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, { FC, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\n\nexport interface CTableResponsiveWrapperProps extends HTMLAttributes {\n children: any\n /**\n * Make any table responsive across all viewports or pick a maximum breakpoint with which to have a responsive table up to.\n */\n responsive?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n}\n\nexport const CTableResponsiveWrapper: FC = ({\n children,\n responsive,\n ...rest\n}) => {\n return responsive ? (\n \n {children}\n \n ) : (\n children\n )\n}\n\nCTableResponsiveWrapper.propTypes = {\n children: PropTypes.any,\n responsive: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n}\n\nCTableResponsiveWrapper.displayName = 'CTableResponsiveWrapper'\n","import React, { forwardRef, TableHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\nimport { CTableHead, CTableHeadProps } from './CTableHead'\nimport { CTableHeaderCell, CTableHeaderCellProps } from './CTableHeaderCell'\nimport { CTableBody } from './CTableBody'\nimport { CTableDataCell, CTableDataCellProps } from './CTableDataCell'\nimport { CTableRow, CTableRowProps } from './CTableRow'\nimport { CTableFoot, CTableFootProps } from './CTableFoot'\nimport { CTableCaption } from './CTableCaption'\nimport { CTableResponsiveWrapper } from './CTableResponsiveWrapper'\n\nexport interface CTableProps extends Omit, 'align'> {\n /**\n * Set the vertical aligment.\n */\n align?: 'bottom' | 'middle' | 'top' | string\n /**\n * Sets the border color of the component to one of CoreUI’s themed colors.\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.\n */\n bordered?: boolean\n /**\n * Remove borders on all sides of the table and cells.\n */\n borderless?: boolean\n /**\n * Put the caption on the top if you set `caption=\"top\"` of the table or set the text of the table caption.\n */\n caption?: 'top' | string\n /**\n * Set the text of the table caption and the caption on the top of the table.\n *\n * @since 4.3.0\n */\n captionTop?: string\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Prop for table columns configuration. If prop is not defined, table will display columns based on the first item keys, omitting keys that begins with underscore (e.g. '_props')\n *\n * In columns prop each array item represents one column. Item might be specified in two ways:\n * String: each item define column name equal to item value.\n * Object: item is object with following keys available as column configuration:\n * - key (required)(String) - define column name equal to item key.\n * - label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.\n * - _props (Object) - adds classes to all cels in column, ex. _props: { scope: 'col', className: 'custom-class' },\n * - _style (Object) - adds styles to the column header (useful for defining widths)\n *\n * @since 4.3.0\n */\n columns?: (string | Column)[]\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Array of objects or strings, where each element represents one cell in the table footer.\n *\n * Example items:\n * ['FooterCell', 'FooterCell', 'FooterCell']\n * or\n * [{ label: 'FooterCell', _props: { color: 'success' }, ...]\n *\n * @since 4.3.0\n */\n footer?: FooterItem[]\n /**\n * Enable a hover state on table rows within a ``.\n */\n hover?: boolean\n /**\n * Array of objects, where each object represents one item - row in table. Additionally, you can add style classes to each row by passing them by '_props' key and to single cell by '_cellProps'.\n *\n * Example item:\n * { name: 'John' , age: 12, _props: { color: 'success' }, _cellProps: { age: { className: 'fw-bold'}}}\n *\n * @since 4.3.0\n */\n items?: Item[]\n /**\n * Make any table responsive across all viewports or pick a maximum breakpoint with which to have a responsive table up to.\n */\n responsive?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Make table more compact by cutting all cell `padding` in half.\n */\n small?: boolean\n /**\n * Add zebra-striping to any table row within the ``.\n */\n striped?: boolean\n /**\n * Add zebra-striping to any table column.\n *\n * @since 4.3.0\n */\n stripedColumns?: boolean\n /**\n * Properties that will be passed to the table footer component.\n *\n * @link https://coreui.io/react/docs/components/table/#ctablefoot\n * @since 4.3.0\n */\n tableFootProps?: CTableFootProps\n /**\n * Properties that will be passed to the table head component.\n *\n * @link https://coreui.io/react/docs/components/table/#ctablehead\n * @since 4.3.0\n */\n tableHeadProps?: CTableHeadProps\n}\n\nexport interface Column {\n label?: string\n key: string\n _style?: any\n _props?: CTableHeaderCellProps\n}\n\nexport interface Item {\n [key: string]: number | string | any\n _props?: CTableRowProps\n}\n\nexport interface FooterItem {\n label?: string\n _props?: CTableDataCellProps\n}\n\nexport const CTable = forwardRef(\n (\n {\n children,\n align,\n borderColor,\n bordered,\n borderless,\n caption,\n captionTop,\n className,\n color,\n columns,\n footer,\n hover,\n items = [],\n responsive,\n small,\n striped,\n stripedColumns,\n tableFootProps,\n tableHeadProps,\n ...rest\n },\n ref,\n ) => {\n const _className = classNames(\n 'table',\n {\n [`align-${align}`]: align,\n [`border-${borderColor}`]: borderColor,\n [`caption-top`]: captionTop || caption === 'top',\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 'table-striped-columns': stripedColumns,\n },\n className,\n )\n\n const rawColumnNames = columns\n ? columns.map((column: Column) => {\n if (typeof column === 'object') return column.key\n else return column\n })\n : Object.keys(items[0] || {}).filter((el) => el.charAt(0) !== '_')\n\n const pretifyName = (name: string) => {\n return name\n .replace(/[-_.]/g, ' ')\n .replace(/ +/g, ' ')\n .replace(/([a-z0-9])([A-Z])/g, '$1 $2')\n .split(' ')\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ')\n }\n\n const label = (column: Column | string) =>\n typeof column === 'object'\n ? column.label !== undefined\n ? column.label\n : pretifyName(column.key)\n : pretifyName(column)\n\n return (\n \n \n {((caption && caption !== 'top') || captionTop) && (\n {caption || captionTop}\n )}\n {columns && (\n \n \n {columns.map((column: Column, index: number) => (\n \n {label(column)}\n \n ))}\n \n \n )}\n {items && (\n \n {items.map((item: Item, index: number) => (\n \n {rawColumnNames.map((colName: string, index: number) => {\n return item[colName] ? (\n \n {item[colName]}\n \n ) : null\n })}\n \n ))}\n \n )}\n {children}\n {footer && (\n \n \n {footer.map((item: FooterItem, index: number) => (\n \n {typeof item === 'object' ? item.label : item}\n \n ))}\n \n \n )}\n
    \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.oneOfType([PropTypes.string, PropTypes.oneOf(['top'])]),\n captionTop: PropTypes.string,\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n columns: PropTypes.array,\n footer: PropTypes.array,\n hover: PropTypes.bool,\n items: PropTypes.array,\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 stripedColumns: PropTypes.bool,\n tableFootProps: PropTypes.shape({ ...CTableFoot.propTypes }),\n tableHeadProps: PropTypes.shape({ ...CTableHead.propTypes }),\n}\n\nCTable.displayName = 'CTable'\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.\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, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nimport { useForkedRef } from '../../utils/hooks'\nexport interface CTabPaneProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Toggle the visibility of component.\n */\n visible?: boolean\n}\n\nexport const CTabPane = forwardRef(\n ({ children, className, onHide, onShow, visible, ...rest }, ref) => {\n const tabPaneRef = useRef()\n const forkedRef = useForkedRef(ref, tabPaneRef)\n\n const getTransitionClass = (state: string) => {\n return state === 'entered' && 'show'\n }\n\n const _className = classNames(\n 'tab-pane',\n 'fade',\n {\n active: visible,\n },\n className,\n )\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 onHide: PropTypes.func,\n onShow: PropTypes.func,\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 { Transition } from 'react-transition-group'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { Colors, colorPropType } from '../Types'\n\nimport { useForkedRef } from '../../utils/hooks'\n\nexport interface CToastProps extends Omit, 'title'> {\n /**\n * Apply a CSS fade transition to the toast.\n */\n animation?: boolean\n /**\n * Auto hide the toast.\n */\n autohide?: boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Delay hiding the toast (ms).\n */\n delay?: number\n /**\n * @ignore\n */\n index?: number\n /**\n * @ignore\n */\n key?: number\n /**\n * Callback fired when the component requests to be closed.\n */\n onClose?: (index: number | null) => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: (index: number | null) => void\n /**\n * Toggle the visibility of component.\n */\n visible?: boolean\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 animation = true,\n autohide = true,\n className,\n color,\n delay = 5000,\n index,\n key,\n visible = false,\n onClose,\n onShow,\n ...rest\n },\n ref,\n ) => {\n const toastRef = useRef()\n const forkedRef = useForkedRef(ref, toastRef)\n const [_visible, setVisible] = useState(false)\n const timeout = useRef()\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\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',\n {\n fade: animation,\n [`bg-${color}`]: color,\n 'border-0': color,\n },\n className,\n )\n\n const getTransitionClass = (state: string) => {\n return state === 'entering'\n ? 'showing'\n : state === 'entered'\n ? 'show'\n : state === 'exiting'\n ? 'showing'\n : 'fade'\n }\n\n return (\n onShow && onShow(index ? index : null)}\n onExited={() => onClose && onClose(index ? index : null)}\n timeout={250}\n unmountOnExit\n >\n {(state) => {\n const transitionClass = getTransitionClass(state)\n return (\n \n clearTimeout(timeout.current)}\n onMouseLeave={() => _autohide()}\n {...rest}\n key={key}\n ref={forkedRef}\n >\n {children}\n \n \n )\n }}\n
    \n )\n },\n)\n\nCToast.propTypes = {\n animation: PropTypes.bool,\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 onClose: PropTypes.func,\n onShow: 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.\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.\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.\n */\n className?: string\n /**\n * Automatically add a close button to the header.\n */\n closeButton?: boolean\n}\n\nexport const CToastHeader = forwardRef(\n ({ children, className, closeButton, ...rest }, ref) => {\n const _className = classNames('toast-header', className)\n return (\n
    \n {children}\n {closeButton && }\n
    \n )\n },\n)\n\nCToastHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n closeButton: 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.\n */\n className?: string\n /**\n * Describes the placement of your component.\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`.\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 onClose: (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) => React.cloneElement(toast, { visible: true }))}\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, { FC, ReactNode, useRef, useState } from 'react'\nimport { createPortal } from 'react-dom'\n\nimport classNames from 'classnames'\nimport PropTypes from 'prop-types'\nimport { usePopper } from 'react-popper'\nimport { Transition } from 'react-transition-group'\n\nimport { Triggers, triggerPropType } from '../Types'\n\nexport interface CTooltipProps {\n // TODO: find solution to not use any\n children: any\n /**\n * Content node for your component.\n */\n content: ReactNode | string\n /**\n * Offset of the popover relative to its target.\n */\n offset?: [number, number]\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.\n *\n * @type 'hover' | 'focus' | 'click'\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.\n */\n placement?: 'auto' | 'top' | 'right' | 'bottom' | 'left'\n /**\n * Toggle the visibility of popover component.\n */\n visible?: boolean\n}\n\nexport const CTooltip: FC = ({\n children,\n content,\n offset = [0, 0],\n onHide,\n onShow,\n placement = 'top',\n trigger = 'hover',\n visible,\n ...rest\n}) => {\n const tooltipRef = useRef()\n const [_visible, setVisible] = useState(visible)\n\n const [referenceElement, setReferenceElement] = useState(null)\n const [popperElement, setPopperElement] = useState(null)\n const [arrowElement, setArrowElement] = useState(null)\n const { styles, attributes } = usePopper(referenceElement, popperElement, {\n modifiers: [\n { name: 'arrow', options: { element: arrowElement } },\n {\n name: 'offset',\n options: {\n offset: offset,\n },\n },\n ],\n placement: placement,\n })\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 {React.cloneElement(children, {\n ref: setReferenceElement,\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 {typeof window !== 'undefined' &&\n createPortal(\n \n {(state) => {\n const transitionClass = getTransitionClass(state)\n return (\n \n
    \n
    {content}
    \n \n )\n }}\n
    ,\n document.body,\n )}\n \n )\n}\n\nCTooltip.propTypes = {\n children: PropTypes.any,\n content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n offset: PropTypes.any, // TODO: find good proptype\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n placement: PropTypes.oneOf(['auto', 'top', 'right', 'bottom', 'left']),\n trigger: triggerPropType,\n visible: PropTypes.bool,\n}\n\nCTooltip.displayName = 'CTooltip'\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 CWidgetStatsAProps extends Omit, 'title'> {\n /**\n * Action node for your component.\n */\n action?: ReactNode\n /**\n * Chart node for your component.\n */\n chart?: string | ReactNode\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Title node for your component.\n */\n title?: string | ReactNode\n /**\n * Value node for your component.\n */\n value?: string | number | ReactNode\n}\n\nexport const CWidgetStatsA = forwardRef(\n ({ action, 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 &&
    {value}
    }\n {title &&
    {title}
    }\n
    \n {action}\n
    \n {chart}\n
    \n )\n },\n)\n\nCWidgetStatsA.propTypes = {\n action: PropTypes.node,\n chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n className: PropTypes.string,\n color: colorPropType,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),\n}\n\nCWidgetStatsA.displayName = 'CWidgetStatsA'\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, CProgressProps } from '../progress/CProgress'\n\nexport interface CWidgetStatsBProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Colors have been inverted from their default dark shade.\n */\n inverse?: boolean\n /**\n * Sets the color context of the progress bar to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n progress?: CProgressProps\n /**\n * Title node for your component.\n */\n title?: string | ReactNode\n /**\n * Helper text for your component.\n */\n text?: string\n /**\n * Value node for your component.\n */\n value?: string | number | ReactNode\n}\n\nexport const CWidgetStatsB = forwardRef(\n ({ className, color, inverse, progress, text, title, value, ...rest }, ref) => {\n return (\n \n \n {value &&
    {value}
    }\n {title &&
    {title}
    }\n \n {text && (\n \n {text}\n \n )}\n
    \n \n )\n },\n)\n\nCWidgetStatsB.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n inverse: PropTypes.bool,\n progress: PropTypes.object,\n text: PropTypes.string,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),\n}\n\nCWidgetStatsB.displayName = 'CWidgetCWidgetStatsB'\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, CProgressProps } from '../progress/CProgress'\n\nexport interface CWidgetStatsCProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Icon node for your component.\n */\n icon?: string | ReactNode\n /**\n * Colors have been inverted from their default dark shade.\n */\n inverse?: boolean\n /**\n * Sets the color context of the progress bar to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n progress?: CProgressProps\n /**\n * Title node for your component.\n */\n title?: string | ReactNode\n /**\n * Value node for your component.\n */\n value?: string | number | ReactNode\n}\n\nexport const CWidgetStatsC = forwardRef(\n ({ className, color, icon, inverse, progress, title, value, ...rest }, ref) => {\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\nCWidgetStatsC.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n inverse: PropTypes.bool,\n progress: PropTypes.object,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),\n}\n\nCWidgetStatsC.displayName = 'CWidgetStatsCWidgetStatsC'\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 { CCardHeader } from '../card/CCardHeader'\nimport { CCol } from '../grid/CCol'\n\ntype Value = {\n title?: string | ReactNode\n value?: number | string | ReactNode\n}\n\nexport interface CWidgetStatsDProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Chart node for your component.\n */\n chart?: string | ReactNode\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Icon node for your component.\n */\n icon?: string | ReactNode\n /**\n * Values and titles for your component.\n */\n values?: Value[]\n}\n\nexport const CWidgetStatsD = forwardRef(\n ({ className, chart, color, icon, 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 return (\n \n \n {icon}\n {chart}\n \n \n {values &&\n values.map((value: Value, index: number) => {\n return (\n \n {index % 2 !== 0 &&
    }\n \n
    {value.value}
    \n
    {value.title}
    \n
    \n
    \n )\n })}\n
    \n
    \n )\n },\n)\n\nCWidgetStatsD.propTypes = {\n chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n className: PropTypes.string,\n color: colorPropType,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n values: PropTypes.arrayOf(PropTypes.any),\n}\n\nCWidgetStatsD.displayName = 'CWidgetStatsD'\n","import React, { forwardRef, HTMLAttributes, ReactNode } 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 CWidgetStatsEProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Chart node for your component.\n */\n chart?: string | ReactNode\n /**\n * Title node for your component.\n */\n title?: string | ReactNode\n /**\n * Value node for your component.\n */\n value?: string | number | ReactNode\n}\n\nexport const CWidgetStatsE = forwardRef(\n ({ chart, className, title, value, ...rest }, ref) => {\n const _className = classNames(className)\n\n return (\n \n \n {title && (\n
    {title}
    \n )}\n {value &&
    {value}
    }\n {chart}\n
    \n
    \n )\n },\n)\n\nCWidgetStatsE.propTypes = {\n children: PropTypes.node,\n chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n className: PropTypes.string,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),\n}\n\nCWidgetStatsE.displayName = 'CWidgetStatsE'\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 CWidgetStatsFProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Footer node for your component.\n */\n footer?: string | ReactNode\n /**\n * Icon node for your component.\n */\n icon?: string | ReactNode\n /**\n * Set padding of your component.\n */\n padding?: boolean\n /**\n * Title node for your component.\n */\n title?: string | ReactNode\n /**\n * Value node for your component.\n */\n value?: string | number | ReactNode\n}\n\nexport const CWidgetStatsF = forwardRef(\n ({ className, color, footer, icon, padding = true, title, value, ...rest }, ref) => {\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\nCWidgetStatsF.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 padding: PropTypes.bool,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),\n}\n\nCWidgetStatsF.displayName = 'CWidgetStatsF'\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || defaults.transitional;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new Cancel('canceled');\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('./../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\nvar enhanceError = require('./core/enhanceError');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n },\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","module.exports = {\n \"version\": \"0.24.0\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","ReactPropTypesSecret_1","propTypesModule","ReactPropTypesSecret","require$$0","emptyFunction","emptyFunctionWithReset","resetWarningCache","factoryWithThrowingShims","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","getShim","isRequired","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","require$$2","hasOwn","classNames","classes","arg","argType","push","Array","isArray","inner","toString","key","join","module","exports","default","window","CIcon","forwardRef","_a","ref","className","content","customClassName","height","icon","size","title","use","width","rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","useState","change","setChange","_icon","process","useMemo","JSON","stringify","iconName","includes","replace","$1","toUpperCase","titleCode","concat","code","React","iconCode","scale","viewBox","_className","_b","xmlns","role","href","dangerouslySetInnerHTML","__html","propTypes","displayName","cilUser","__rest","__spreadArray","to","from","pack","ar","l","slice","CAccordionContext","createContext","CAccordion","children","activeItemKey","undefined","_c","alwaysOpen","flush","_activeItemKey","setActiveKey","Provider","value","CAccordionItemContext","CAccordionItem","itemKey","_itemKey","useRef","Math","random","substr","useContext","Boolean","current","visible","setVisible","useEffect","_extends","bind","target","source","_objectWithoutPropertiesLoose","excluded","sourceKeys","keys","_setPrototypeOf","o","setPrototypeOf","__proto__","_inheritsLoose","subClass","superClass","create","constructor","replaceClassName","origClass","classToRemove","RegExp","forceReflow","scrollTop","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","Transition","_React$Component","context","_this","initialStatus","appear","isMounting","enter","appearStatus","in","unmountOnExit","mountOnEnter","state","status","nextCallback","getDerivedStateFromProps","_ref","prevState","_proto","componentDidMount","updateStatus","componentDidUpdate","prevProps","nextStatus","componentWillUnmount","cancelNextCallback","getTimeouts","exit","timeout","mounting","nodeRef","ReactDOM","performEnter","performExit","setState","_this2","appearing","_ref2","maybeNode","maybeAppearing","timeouts","enterTimeout","config","safeSetState","onEntered","onEnter","onEntering","onTransitionEnd","_this3","onExit","onExiting","onExited","cancel","nextState","callback","setNextCallback","_this4","active","event","handler","doesNotHaveTimeoutOrListener","addEndListener","_ref3","maybeNextCallback","setTimeout","render","_this$props","childProps","TransitionGroupContext","noop","contextType","defaultProps","_addClass","split","forEach","c","classList","add","contains","baseVal","hasClass","setAttribute","removeClass","remove","CSSTransition","_len","args","_key","appliedClasses","_this$resolveArgument","resolveArguments","removeClasses","addClass","_this$resolveArgument2","type","_this$resolveArgument3","getClassNames","isStringClassNames","baseClassName","activeClassName","doneClassName","phase","_this$appliedClasses$","base","done","getChildMapping","mapFn","result","Children","child","isValidElement","mapper","getProp","prop","getNextChildMapping","nextProps","prevChildMapping","nextChildMapping","prev","next","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","mergeChildMappings","hasPrev","hasNext","prevChild","isLeaving","cloneElement","values","obj","map","k","TransitionGroup","handleExited","self","ReferenceError","_assertThisInitialized","contextValue","firstRender","mounted","currentChildMapping","Component","component","childFactory","_leaveRenders","_enterRenders","ReplaceTransition","_args","handleEnter","_len2","_key2","handleLifecycle","handleEntering","_len3","_key3","handleEntered","_len4","_key4","handleExit","_len5","_key5","handleExiting","_len6","_key6","_len7","_key7","idx","originalArgs","_child$props","inProp","_React$Children$toArr","first","second","modes","callHook","cb","_element$props","leaveRenders","changeState","enterRenders","_ref4","SwitchTransition","appeared","mode","oldChildren","newChildren","_this$state","data","useForkedRef","refs","_i","every","assignRef","isFunction","error","CCollapse","horizontal","onHide","onShow","setHeight","setWidth","collapseRef","forkedRef","scrollWidth","scrollHeight","transitionClass","getTransitionClass","currentHeight","currentWidth","style","CAccordionBody","CAccordionButton","collapsed","onClick","CAccordionCollapse","CAccordionHeader","colorPropType","placementPropType","shapePropType","textColorsPropType","triggerPropType","CCloseButton","disabled","white","CAlert","color","dismissible","variant","onClose","alertRef","_visible","CAlertHeading","CLink","tabIndex","preventDefault","CAlertLink","CAvatar","src","textColor","statusClassName","CBackdrop","backdropRef","CBadge","position","CBreadcrumb","CBreadcrumbItem","CButton","_d","_e","CButtonToolbar","CButtonGroup","vertical","CCallout","CCard","CCardBody","CCardFooter","CCardGroup","CCardHeader","CCardImage","orientation","CCardImageOverlay","CCardLink","CCardSubtitle","CCardText","CCardTitle","isVisible","rect","getBoundingClientRect","top","left","bottom","innerHeight","document","documentElement","clientHeight","right","innerWidth","clientWidth","CCarouselContext","CCarousel","activeIndex","controls","dark","indicators","interval","onSlid","onSlide","pause","transition","wrap","carouselRef","setActive","animating","setAnimating","customInterval","setCustomInterval","direction","setDirection","itemsNumber","setItemsNumber","cycle","addEventListener","handleScroll","removeEventListener","_pause","nextItemWhenVisible","clearTimeout","hidden","handleControlClick","onMouseEnter","onMouseLeave","_","index","handleIndicatorClick","CCarouselCaption","CCarouselItem","carouselItemRef","prevActive","directionClassName","setDirectionClassName","orderClassName","setOrderClassName","setActiveClassName","count","setCount","offsetHeight","ManagerReferenceNodeContext","ManagerReferenceNodeSetterContext","Manager","_React$useState","referenceNode","setReferenceNode","hasUnmounted","handleSetReferenceNode","unwrapArray","safeInvoke","fn","setRef","fromEntries","entries","reduce","acc","useIsomorphicLayoutEffect","createElement","auto","basePlacements","start","end","viewport","popper","variationPlacements","placement","placements","modifierPhases","getNodeName","nodeName","toLowerCase","getWindow","ownerDocument","defaultView","isElement","Element","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","enabled","elements","styles","attributes","removeAttribute","effect","initialStyles","options","strategy","margin","arrow","reference","property","attribute","requires","getBasePlacement","max","min","round","includeScale","scaleX","scaleY","offsetWidth","x","y","getLayoutRect","clientRect","abs","offsetLeft","offsetTop","parent","rootNode","getRootNode","isSameNode","parentNode","host","getComputedStyle","isTableElement","getDocumentElement","getParentNode","assignedSlot","getTrueOffsetParent","offsetParent","getOffsetParent","isFirefox","navigator","userAgent","currentNode","css","transform","perspective","contain","willChange","filter","getContainingBlock","getMainAxisFromPlacement","within","mathMax","mathMin","mergePaddingObject","paddingObject","expandToHashMap","hashMap","_state$modifiersData$","arrowElement","popperOffsets","modifiersData","basePlacement","axis","len","padding","rects","toPaddingObject","arrowRect","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","center","offset","axisProp","centerOffset","_options$element","querySelector","requiresIfExists","getVariation","unsetSides","mapToStyles","_Object$assign2","popperRect","variation","offsets","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","_offsets$y","hasX","hasY","sideX","sideY","win","heightProp","widthProp","visualViewport","_Object$assign","commonStyles","dpr","devicePixelRatio","roundOffsetsByDPR","passive","hash","getOppositePlacement","matched","getOppositeVariationPlacement","getWindowScroll","scrollLeft","pageXOffset","pageYOffset","getWindowScrollBarX","isScrollParent","_getComputedStyle","overflow","overflowX","overflowY","test","getScrollParent","body","listScrollParents","list","_element$ownerDocumen","scrollParent","isBody","updatedList","rectToClientRect","getClientRectFromMixedType","clippingParent","html","getViewportRect","clientTop","clientLeft","getInnerBoundingClientRect","winScroll","getDocumentRect","getClippingRect","boundary","rootBoundary","mainClippingParents","clippingParents","clipperElement","getClippingParents","firstClippingParent","clippingRect","accRect","computeOffsets","commonX","commonY","mainAxis","detectOverflow","_options","_options$placement","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","contextElement","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","computeAutoPlacement","flipVariations","_options$allowedAutoP","allowedAutoPlacements","allPlacements","allowedPlacements","overflows","sort","a","b","_skip","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","preferredPlacement","oppositePlacement","getExpandedFallbackPlacements","referenceRect","checksMap","Map","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","isVertical","mainVariationSide","altVariationSide","checks","check","set","_loop","fittingPlacement","find","get","reset","getSideOffsets","preventedOffsets","isAnySideFullyClipped","some","side","_options$offset","invertDistance","skidding","distance","distanceAndSkiddingToXY","_data$state$placement","_options$tether","tether","_options$tetherOffset","tetherOffset","isBasePlacement","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","offsetModifierValue","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","v","withinMaxClamp","getCompositeRect","elementOrVirtualElement","isOffsetParentAnElement","offsetParentIsScaled","isElementScaled","scroll","getNodeScroll","order","modifiers","visited","Set","modifier","dep","has","depModifier","debounce","pending","Promise","resolve","then","DEFAULT_OPTIONS","areValidElements","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","orderedModifiers","effectCleanupFns","isDestroyed","instance","setOptions","setOptionsAction","cleanupModifierEffects","scrollParents","orderModifiers","merged","existing","mergeByName","m","_ref3$options","cleanupFn","noopFn","update","forceUpdate","_state$elements","_state$orderedModifie","_state$orderedModifie2","destroy","onFirstUpdate","createPopper","_options$scroll","_options$resize","resize","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","applyStyles","flip","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","hasElementType","hasMap","hasSet","hasArrayBuffer","ArrayBuffer","isView","equal","it","flags","valueOf","$$typeof","message","match","console","warn","EMPTY_MODIFIERS","usePopper","referenceElement","popperElement","prevOptions","optionsWithDefaults","updateStateModifier","popperOptions","newOptions","isEqual","popperInstanceRef","popperInstance","defaultCreatePopper","NOOP","NOOP_PROMISE","Popper","_ref$placement","_ref$strategy","_ref$modifiers","innerRef","setPopperElement","_React$useState2","setArrowElement","_usePopper","childrenProps","hide","arrowProps","warning","Reference","refHandler","CDropdownContext","CDropdown","alignment","autoClose","_f","_g","dropdownRef","dropdownToggleRef","contextValues","show","dropdownContent","alignmentDirection","xs","sm","md","lg","xl","xxl","CDropdownDivider","CDropdownHeader","CDropdownItem","CDropdownItemPlain","CDropdownMenu","dropdownMenuRef","handleMouseUp","handleKeyup","_placement","alignmentClassNames","dropdownMenuComponent","CDropdownToggle","caret","custom","trigger","triggers","onFocus","onBlur","togglerProps","Toggler","CFooter","CForm","validated","CFormFeedback","invalid","tooltip","valid","CFormControlValidation","describedby","feedback","feedbackInvalid","feedbackValid","tooltipFeedback","id","CFormLabel","CFormCheck","button","floatingLabel","hitArea","indeterminate","inline","label","inputRef","inputClassName","labelClassName","formControl","formValidation","formLabel","htmlFor","CFormFloating","CFormText","CFormControlWrapper","text","CFormInput","delay","onChange","plainText","setValue","timeOutId","CFormRange","CFormSelect","htmlSize","option","CFormSwitch","CFormTextarea","CInputGroup","CInputGroupText","BREAKPOINTS","CCol","repsonsiveClassNames","bp","breakpoint","infix","span","col","CContainer","fluid","CRow","cols","gutter","gutterX","gutterY","CHeader","container","CHeaderBrand","CHeaderDivider","CHeaderNav","CHeaderText","CHeaderToggler","CImage","align","rounded","thumbnail","CListGroup","layout","CListGroupItem","CModalContent","CModalDialog","fullscreen","scrollable","CModalContext","CModal","backdrop","duration","keyboard","onClosePrevented","portal","unmountOnClose","modalRef","modalContentRef","staticBackdrop","setStaticBackdrop","handleClickOutside","handleKeyDown","handleDismiss","useLayoutEffect","fade","useCallback","modal","createPortal","CModalBody","CModalFooter","CModalHeader","closeButton","CModalTitle","CNav","CNavGroupItems","CNavContext","CSidebarNav","CNavContextValues","visibleGroup","setVisibleGroup","CNavGroup","compact","toggler","navItemsRef","startsWith","transitionStyles","entering","display","entered","exiting","exited","lastIndexOf","handleTogglerOnCLick","CNavLink","navLinkRef","CNavItem","CNavTitle","CNavbar","colorScheme","expand","CNavbarBrand","CNavbarNav","CNavbarText","CNavbarToggler","COffcanvas","offcanvasRef","paddingRight","removeProperty","visibility","offcanvas","onKeyDown","focus","COffcanvasBody","COffcanvasHeader","COffcanvasTitle","CPagination","CPaginationItem","CPlaceholder","animation","CProgressBar","animated","CProgress","thin","CPopover","popoverRef","setReferenceElement","isOnMobile","getPropertyValue","CSidebar","narrow","onVisibleChange","overlaid","unfoldable","sidebarRef","mobile","setMobile","inViewport","setInViewport","handleResize","handleOnClick","handleHide","CSidebarBrand","CSidebarFooter","CSidebarToggler","CSidebarHeader","CSpinner","visuallyHiddenLabel","CTableHead","CTableHeaderCell","CTableBody","CTableDataCell","scope","CTableRow","CTableFoot","CTableCaption","CTableResponsiveWrapper","responsive","CTable","borderColor","bordered","borderless","caption","captionTop","columns","footer","hover","items","small","striped","stripedColumns","tableFootProps","tableHeadProps","rawColumnNames","column","el","charAt","pretifyName","word","_props","_style","item","colName","_cellProps","CTabContent","CTabPane","tabPaneRef","CToastContext","CToast","autohide","toastRef","_autohide","CToastBody","CToastClose","CToastHeader","CToaster","toasts","setToasts","addToast","toaster","toast","CTooltip","tooltipRef","CWidgetStatsA","action","chart","CWidgetStatsB","inverse","progress","CWidgetStatsC","CWidgetStatsD","classNameHeader","CWidgetStatsE","CWidgetStatsF","utils","require","settle","cookies","buildURL","buildFullPath","parseHeaders","isURLSameOrigin","createError","defaults","Cancel","reject","onCanceled","requestData","requestHeaders","headers","responseType","cancelToken","unsubscribe","signal","isFormData","request","XMLHttpRequest","auth","username","password","unescape","encodeURIComponent","Authorization","btoa","fullPath","baseURL","url","onloadend","responseHeaders","getAllResponseHeaders","response","responseText","statusText","open","method","params","paramsSerializer","onreadystatechange","readyState","responseURL","onabort","onerror","ontimeout","timeoutErrorMessage","transitional","clarifyTimeoutError","isStandardBrowserEnv","xsrfValue","withCredentials","xsrfCookieName","read","xsrfHeaderName","val","setRequestHeader","isUndefined","onDownloadProgress","onUploadProgress","upload","abort","subscribe","aborted","send","Axios","mergeConfig","axios","createInstance","defaultConfig","extend","instanceConfig","CancelToken","isCancel","VERSION","all","promises","spread","isAxiosError","__CANCEL__","executor","TypeError","resolvePromise","promise","token","_listeners","onfulfilled","_resolve","reason","throwIfRequested","listener","splice","InterceptorManager","dispatchRequest","validator","validators","interceptors","assertOptions","silentJSONParsing","boolean","forcedJSONParsing","requestInterceptorChain","synchronousRequestInterceptors","interceptor","runWhen","synchronous","unshift","fulfilled","rejected","responseInterceptorChain","chain","shift","newConfig","onFulfilled","onRejected","getUri","handlers","eject","h","isAbsoluteURL","combineURLs","requestedURL","enhanceError","transformData","throwIfCancellationRequested","transformRequest","merge","common","adapter","transformResponse","toJSON","description","fileName","lineNumber","columnNumber","stack","config1","config2","getMergedValue","isPlainObject","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","configValue","validateStatus","fns","normalizeHeaderName","DEFAULT_CONTENT_TYPE","setContentTypeIfUnset","getDefaultAdapter","isArrayBuffer","isBuffer","isStream","isFile","isBlob","isArrayBufferView","buffer","isURLSearchParams","isObject","rawValue","parser","encoder","isString","parse","trim","stringifySafely","strictJSONParsing","maxContentLength","maxBodyLength","thisArg","encode","serializedParams","parts","isDate","toISOString","hashmarkIndex","relativeURL","write","expires","path","domain","secure","cookie","isNumber","Date","toGMTString","decodeURIComponent","now","payload","originURL","msie","urlParsingNode","resolveURL","protocol","search","hostname","port","pathname","requestURL","parsed","normalizedName","ignoreDuplicateOf","line","arr","thing","deprecatedWarnings","version","formatMessage","opt","desc","opts","schema","allowUnknown","getPrototypeOf","FormData","pipe","URLSearchParams","product","assignValue","str","stripBOM","charCodeAt"],"sourceRoot":""}