a||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","__webpack_require__.amdO = {};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"/\";","import * as React from 'react';\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}\n\nfunction _arrayLikeToArray$1(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\n\nfunction _unsupportedIterableToArray$1(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray$1(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest();\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\nfunction classNames() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (args) {\n var classes = [];\n for (var i = 0; i < args.length; i++) {\n var className = args[i];\n if (!className) continue;\n var type = _typeof(className);\n if (type === 'string' || type === 'number') {\n classes.push(className);\n } else if (type === 'object') {\n var _classes = Array.isArray(className) ? className : Object.entries(className).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n return !!value ? key : null;\n });\n classes = _classes.length ? classes.concat(_classes.filter(function (c) {\n return !!c;\n })) : classes;\n }\n }\n return classes.join(' ');\n }\n return undefined;\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\n\nfunction _toPropertyKey(arg) {\n var key = _toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nfunction _defineProperty(obj, key, value) {\n key = _toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar DomHandler = /*#__PURE__*/function () {\n function DomHandler() {\n _classCallCheck(this, DomHandler);\n }\n _createClass(DomHandler, null, [{\n key: \"innerWidth\",\n value:\n /**\n * All data- properties like data-test-id\n */\n\n /**\n * All ARIA properties like aria-label and focus-target for https://www.npmjs.com/package/@q42/floating-focus-a11y\n */\n\n function innerWidth(el) {\n if (el) {\n var width = el.offsetWidth;\n var style = getComputedStyle(el);\n width += parseFloat(style.paddingLeft) + parseFloat(style.paddingRight);\n return width;\n }\n return 0;\n }\n }, {\n key: \"width\",\n value: function width(el) {\n if (el) {\n var width = el.offsetWidth;\n var style = getComputedStyle(el);\n width -= parseFloat(style.paddingLeft) + parseFloat(style.paddingRight);\n return width;\n }\n return 0;\n }\n }, {\n key: \"getBrowserLanguage\",\n value: function getBrowserLanguage() {\n return navigator.userLanguage || navigator.languages && navigator.languages.length && navigator.languages[0] || navigator.language || navigator.browserLanguage || navigator.systemLanguage || 'en';\n }\n }, {\n key: \"getWindowScrollTop\",\n value: function getWindowScrollTop() {\n var doc = document.documentElement;\n return (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0);\n }\n }, {\n key: \"getWindowScrollLeft\",\n value: function getWindowScrollLeft() {\n var doc = document.documentElement;\n return (window.pageXOffset || doc.scrollLeft) - (doc.clientLeft || 0);\n }\n }, {\n key: \"getOuterWidth\",\n value: function getOuterWidth(el, margin) {\n if (el) {\n var width = el.getBoundingClientRect().width || el.offsetWidth;\n if (margin) {\n var style = getComputedStyle(el);\n width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);\n }\n return width;\n }\n return 0;\n }\n }, {\n key: \"getOuterHeight\",\n value: function getOuterHeight(el, margin) {\n if (el) {\n var height = el.getBoundingClientRect().height || el.offsetHeight;\n if (margin) {\n var style = getComputedStyle(el);\n height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);\n }\n return height;\n }\n return 0;\n }\n }, {\n key: \"getClientHeight\",\n value: function getClientHeight(el, margin) {\n if (el) {\n var height = el.clientHeight;\n if (margin) {\n var style = getComputedStyle(el);\n height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);\n }\n return height;\n }\n return 0;\n }\n }, {\n key: \"getClientWidth\",\n value: function getClientWidth(el, margin) {\n if (el) {\n var width = el.clientWidth;\n if (margin) {\n var style = getComputedStyle(el);\n width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);\n }\n return width;\n }\n return 0;\n }\n }, {\n key: \"getViewport\",\n value: function getViewport() {\n var win = window,\n d = document,\n e = d.documentElement,\n g = d.getElementsByTagName('body')[0],\n w = win.innerWidth || e.clientWidth || g.clientWidth,\n h = win.innerHeight || e.clientHeight || g.clientHeight;\n return {\n width: w,\n height: h\n };\n }\n }, {\n key: \"getOffset\",\n value: function getOffset(el) {\n if (el) {\n var rect = el.getBoundingClientRect();\n return {\n top: rect.top + (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0),\n left: rect.left + (window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0)\n };\n }\n return {\n top: 'auto',\n left: 'auto'\n };\n }\n }, {\n key: \"index\",\n value: function index(element) {\n if (element) {\n var children = element.parentNode.childNodes;\n var num = 0;\n for (var i = 0; i < children.length; i++) {\n if (children[i] === element) return num;\n if (children[i].nodeType === 1) num++;\n }\n }\n return -1;\n }\n }, {\n key: \"addMultipleClasses\",\n value: function addMultipleClasses(element, className) {\n if (element && className) {\n if (element.classList) {\n var styles = className.split(' ');\n for (var i = 0; i < styles.length; i++) {\n element.classList.add(styles[i]);\n }\n } else {\n var _styles = className.split(' ');\n for (var _i = 0; _i < _styles.length; _i++) {\n element.className += ' ' + _styles[_i];\n }\n }\n }\n }\n }, {\n key: \"removeMultipleClasses\",\n value: function removeMultipleClasses(element, className) {\n if (element && className) {\n if (element.classList) {\n var styles = className.split(' ');\n for (var i = 0; i < styles.length; i++) {\n element.classList.remove(styles[i]);\n }\n } else {\n var _styles2 = className.split(' ');\n for (var _i2 = 0; _i2 < _styles2.length; _i2++) {\n element.className = element.className.replace(new RegExp('(^|\\\\b)' + _styles2[_i2].split(' ').join('|') + '(\\\\b|$)', 'gi'), ' ');\n }\n }\n }\n }\n }, {\n key: \"addClass\",\n value: function addClass(element, className) {\n if (element && className) {\n if (element.classList) element.classList.add(className);else element.className += ' ' + className;\n }\n }\n }, {\n key: \"removeClass\",\n value: function removeClass(element, className) {\n if (element && className) {\n if (element.classList) element.classList.remove(className);else element.className = element.className.replace(new RegExp('(^|\\\\b)' + className.split(' ').join('|') + '(\\\\b|$)', 'gi'), ' ');\n }\n }\n }, {\n key: \"hasClass\",\n value: function hasClass(element, className) {\n if (element) {\n if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);\n }\n return false;\n }\n }, {\n key: \"find\",\n value: function find(element, selector) {\n return element ? Array.from(element.querySelectorAll(selector)) : [];\n }\n }, {\n key: \"findSingle\",\n value: function findSingle(element, selector) {\n if (element) {\n return element.querySelector(selector);\n }\n return null;\n }\n }, {\n key: \"getHeight\",\n value: function getHeight(el) {\n if (el) {\n var height = el.offsetHeight;\n var style = getComputedStyle(el);\n height -= parseFloat(style.paddingTop) + parseFloat(style.paddingBottom) + parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);\n return height;\n }\n return 0;\n }\n }, {\n key: \"getWidth\",\n value: function getWidth(el) {\n if (el) {\n var width = el.offsetWidth;\n var style = getComputedStyle(el);\n width -= parseFloat(style.paddingLeft) + parseFloat(style.paddingRight) + parseFloat(style.borderLeftWidth) + parseFloat(style.borderRightWidth);\n return width;\n }\n return 0;\n }\n }, {\n key: \"alignOverlay\",\n value: function alignOverlay(overlay, target, appendTo) {\n var calculateMinWidth = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n if (overlay && target) {\n if (appendTo === 'self') {\n this.relativePosition(overlay, target);\n } else {\n calculateMinWidth && (overlay.style.minWidth = DomHandler.getOuterWidth(target) + 'px');\n this.absolutePosition(overlay, target);\n }\n }\n }\n }, {\n key: \"absolutePosition\",\n value: function absolutePosition(element, target) {\n if (element && target) {\n var elementDimensions = element.offsetParent ? {\n width: element.offsetWidth,\n height: element.offsetHeight\n } : this.getHiddenElementDimensions(element);\n var elementOuterHeight = elementDimensions.height;\n var elementOuterWidth = elementDimensions.width;\n var targetOuterHeight = target.offsetHeight;\n var targetOuterWidth = target.offsetWidth;\n var targetOffset = target.getBoundingClientRect();\n var windowScrollTop = this.getWindowScrollTop();\n var windowScrollLeft = this.getWindowScrollLeft();\n var viewport = this.getViewport();\n var top, left;\n if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {\n top = targetOffset.top + windowScrollTop - elementOuterHeight;\n if (top < 0) {\n top = windowScrollTop;\n }\n element.style.transformOrigin = 'bottom';\n } else {\n top = targetOuterHeight + targetOffset.top + windowScrollTop;\n element.style.transformOrigin = 'top';\n }\n if (targetOffset.left + targetOuterWidth + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;\n element.style.top = top + 'px';\n element.style.left = left + 'px';\n }\n }\n }, {\n key: \"relativePosition\",\n value: function relativePosition(element, target) {\n if (element && target) {\n var elementDimensions = element.offsetParent ? {\n width: element.offsetWidth,\n height: element.offsetHeight\n } : this.getHiddenElementDimensions(element);\n var targetHeight = target.offsetHeight;\n var targetOffset = target.getBoundingClientRect();\n var viewport = this.getViewport();\n var top, left;\n if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {\n top = -1 * elementDimensions.height;\n if (targetOffset.top + top < 0) {\n top = -1 * targetOffset.top;\n }\n element.style.transformOrigin = 'bottom';\n } else {\n top = targetHeight;\n element.style.transformOrigin = 'top';\n }\n if (elementDimensions.width > viewport.width) {\n // element wider then viewport and cannot fit on screen (align at left side of viewport)\n left = targetOffset.left * -1;\n } else if (targetOffset.left + elementDimensions.width > viewport.width) {\n // element wider then viewport but can be fit on screen (align at right side of viewport)\n left = (targetOffset.left + elementDimensions.width - viewport.width) * -1;\n } else {\n // element fits on screen (align with target)\n left = 0;\n }\n element.style.top = top + 'px';\n element.style.left = left + 'px';\n }\n }\n }, {\n key: \"flipfitCollision\",\n value: function flipfitCollision(element, target) {\n var _this = this;\n var my = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'left top';\n var at = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'left bottom';\n var callback = arguments.length > 4 ? arguments[4] : undefined;\n if (element && target) {\n var targetOffset = target.getBoundingClientRect();\n var viewport = this.getViewport();\n var myArr = my.split(' ');\n var atArr = at.split(' ');\n var getPositionValue = function getPositionValue(arr, isOffset) {\n return isOffset ? +arr.substring(arr.search(/(\\+|-)/g)) || 0 : arr.substring(0, arr.search(/(\\+|-)/g)) || arr;\n };\n var position = {\n my: {\n x: getPositionValue(myArr[0]),\n y: getPositionValue(myArr[1] || myArr[0]),\n offsetX: getPositionValue(myArr[0], true),\n offsetY: getPositionValue(myArr[1] || myArr[0], true)\n },\n at: {\n x: getPositionValue(atArr[0]),\n y: getPositionValue(atArr[1] || atArr[0]),\n offsetX: getPositionValue(atArr[0], true),\n offsetY: getPositionValue(atArr[1] || atArr[0], true)\n }\n };\n var myOffset = {\n left: function left() {\n var totalOffset = position.my.offsetX + position.at.offsetX;\n return totalOffset + targetOffset.left + (position.my.x === 'left' ? 0 : -1 * (position.my.x === 'center' ? _this.getOuterWidth(element) / 2 : _this.getOuterWidth(element)));\n },\n top: function top() {\n var totalOffset = position.my.offsetY + position.at.offsetY;\n return totalOffset + targetOffset.top + (position.my.y === 'top' ? 0 : -1 * (position.my.y === 'center' ? _this.getOuterHeight(element) / 2 : _this.getOuterHeight(element)));\n }\n };\n var alignWithAt = {\n count: {\n x: 0,\n y: 0\n },\n left: function left() {\n var left = myOffset.left();\n var scrollLeft = DomHandler.getWindowScrollLeft();\n element.style.left = left + scrollLeft + 'px';\n if (this.count.x === 2) {\n element.style.left = scrollLeft + 'px';\n this.count.x = 0;\n } else if (left < 0) {\n this.count.x++;\n position.my.x = 'left';\n position.at.x = 'right';\n position.my.offsetX *= -1;\n position.at.offsetX *= -1;\n this.right();\n }\n },\n right: function right() {\n var left = myOffset.left() + DomHandler.getOuterWidth(target);\n var scrollLeft = DomHandler.getWindowScrollLeft();\n element.style.left = left + scrollLeft + 'px';\n if (this.count.x === 2) {\n element.style.left = viewport.width - DomHandler.getOuterWidth(element) + scrollLeft + 'px';\n this.count.x = 0;\n } else if (left + DomHandler.getOuterWidth(element) > viewport.width) {\n this.count.x++;\n position.my.x = 'right';\n position.at.x = 'left';\n position.my.offsetX *= -1;\n position.at.offsetX *= -1;\n this.left();\n }\n },\n top: function top() {\n var top = myOffset.top();\n var scrollTop = DomHandler.getWindowScrollTop();\n element.style.top = top + scrollTop + 'px';\n if (this.count.y === 2) {\n element.style.left = scrollTop + 'px';\n this.count.y = 0;\n } else if (top < 0) {\n this.count.y++;\n position.my.y = 'top';\n position.at.y = 'bottom';\n position.my.offsetY *= -1;\n position.at.offsetY *= -1;\n this.bottom();\n }\n },\n bottom: function bottom() {\n var top = myOffset.top() + DomHandler.getOuterHeight(target);\n var scrollTop = DomHandler.getWindowScrollTop();\n element.style.top = top + scrollTop + 'px';\n if (this.count.y === 2) {\n element.style.left = viewport.height - DomHandler.getOuterHeight(element) + scrollTop + 'px';\n this.count.y = 0;\n } else if (top + DomHandler.getOuterHeight(target) > viewport.height) {\n this.count.y++;\n position.my.y = 'bottom';\n position.at.y = 'top';\n position.my.offsetY *= -1;\n position.at.offsetY *= -1;\n this.top();\n }\n },\n center: function center(axis) {\n if (axis === 'y') {\n var top = myOffset.top() + DomHandler.getOuterHeight(target) / 2;\n element.style.top = top + DomHandler.getWindowScrollTop() + 'px';\n if (top < 0) {\n this.bottom();\n } else if (top + DomHandler.getOuterHeight(target) > viewport.height) {\n this.top();\n }\n } else {\n var left = myOffset.left() + DomHandler.getOuterWidth(target) / 2;\n element.style.left = left + DomHandler.getWindowScrollLeft() + 'px';\n if (left < 0) {\n this.left();\n } else if (left + DomHandler.getOuterWidth(element) > viewport.width) {\n this.right();\n }\n }\n }\n };\n alignWithAt[position.at.x]('x');\n alignWithAt[position.at.y]('y');\n if (this.isFunction(callback)) {\n callback(position);\n }\n }\n }\n }, {\n key: \"findCollisionPosition\",\n value: function findCollisionPosition(position) {\n if (position) {\n var isAxisY = position === 'top' || position === 'bottom';\n var myXPosition = position === 'left' ? 'right' : 'left';\n var myYPosition = position === 'top' ? 'bottom' : 'top';\n if (isAxisY) {\n return {\n axis: 'y',\n my: \"center \".concat(myYPosition),\n at: \"center \".concat(position)\n };\n }\n return {\n axis: 'x',\n my: \"\".concat(myXPosition, \" center\"),\n at: \"\".concat(position, \" center\")\n };\n }\n }\n }, {\n key: \"getParents\",\n value: function getParents(element) {\n var parents = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n return element['parentNode'] === null ? parents : this.getParents(element.parentNode, parents.concat([element.parentNode]));\n }\n }, {\n key: \"getScrollableParents\",\n value: function getScrollableParents(element) {\n var scrollableParents = [];\n if (element) {\n var parents = this.getParents(element);\n var overflowRegex = /(auto|scroll)/;\n var overflowCheck = function overflowCheck(node) {\n var styleDeclaration = node ? getComputedStyle(node) : null;\n return styleDeclaration && (overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY')));\n };\n var _iterator = _createForOfIteratorHelper(parents),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var parent = _step.value;\n var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];\n if (scrollSelectors) {\n var selectors = scrollSelectors.split(',');\n var _iterator2 = _createForOfIteratorHelper(selectors),\n _step2;\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var selector = _step2.value;\n var el = this.findSingle(parent, selector);\n if (el && overflowCheck(el)) {\n scrollableParents.push(el);\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n if (parent.nodeType === 1 && overflowCheck(parent)) {\n scrollableParents.push(parent);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n }\n return scrollableParents;\n }\n }, {\n key: \"getHiddenElementOuterHeight\",\n value: function getHiddenElementOuterHeight(element) {\n if (element) {\n element.style.visibility = 'hidden';\n element.style.display = 'block';\n var elementHeight = element.offsetHeight;\n element.style.display = 'none';\n element.style.visibility = 'visible';\n return elementHeight;\n }\n return 0;\n }\n }, {\n key: \"getHiddenElementOuterWidth\",\n value: function getHiddenElementOuterWidth(element) {\n if (element) {\n element.style.visibility = 'hidden';\n element.style.display = 'block';\n var elementWidth = element.offsetWidth;\n element.style.display = 'none';\n element.style.visibility = 'visible';\n return elementWidth;\n }\n return 0;\n }\n }, {\n key: \"getHiddenElementDimensions\",\n value: function getHiddenElementDimensions(element) {\n var dimensions = {};\n if (element) {\n element.style.visibility = 'hidden';\n element.style.display = 'block';\n dimensions.width = element.offsetWidth;\n dimensions.height = element.offsetHeight;\n element.style.display = 'none';\n element.style.visibility = 'visible';\n }\n return dimensions;\n }\n }, {\n key: \"fadeIn\",\n value: function fadeIn(element, duration) {\n if (element) {\n element.style.opacity = 0;\n var last = +new Date();\n var opacity = 0;\n var tick = function tick() {\n opacity = +element.style.opacity + (new Date().getTime() - last) / duration;\n element.style.opacity = opacity;\n last = +new Date();\n if (+opacity < 1) {\n window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);\n }\n };\n tick();\n }\n }\n }, {\n key: \"fadeOut\",\n value: function fadeOut(element, duration) {\n if (element) {\n var opacity = 1,\n interval = 50,\n gap = interval / duration;\n var fading = setInterval(function () {\n opacity -= gap;\n if (opacity <= 0) {\n opacity = 0;\n clearInterval(fading);\n }\n element.style.opacity = opacity;\n }, interval);\n }\n }\n }, {\n key: \"getUserAgent\",\n value: function getUserAgent() {\n return navigator.userAgent;\n }\n }, {\n key: \"isIOS\",\n value: function isIOS() {\n return /iPad|iPhone|iPod/.test(navigator.userAgent) && !window['MSStream'];\n }\n }, {\n key: \"isAndroid\",\n value: function isAndroid() {\n return /(android)/i.test(navigator.userAgent);\n }\n }, {\n key: \"isChrome\",\n value: function isChrome() {\n return /(chrome)/i.test(navigator.userAgent);\n }\n }, {\n key: \"isTouchDevice\",\n value: function isTouchDevice() {\n return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;\n }\n }, {\n key: \"isFunction\",\n value: function isFunction(obj) {\n return !!(obj && obj.constructor && obj.call && obj.apply);\n }\n }, {\n key: \"appendChild\",\n value: function appendChild(element, target) {\n if (this.isElement(target)) target.appendChild(element);else if (target.el && target.el.nativeElement) target.el.nativeElement.appendChild(element);else throw new Error('Cannot append ' + target + ' to ' + element);\n }\n }, {\n key: \"removeChild\",\n value: function removeChild(element, target) {\n if (this.isElement(target)) target.removeChild(element);else if (target.el && target.el.nativeElement) target.el.nativeElement.removeChild(element);else throw new Error('Cannot remove ' + element + ' from ' + target);\n }\n }, {\n key: \"isElement\",\n value: function isElement(obj) {\n return (typeof HTMLElement === \"undefined\" ? \"undefined\" : _typeof(HTMLElement)) === 'object' ? obj instanceof HTMLElement : obj && _typeof(obj) === 'object' && obj !== null && obj.nodeType === 1 && typeof obj.nodeName === 'string';\n }\n }, {\n key: \"scrollInView\",\n value: function scrollInView(container, item) {\n var borderTopValue = getComputedStyle(container).getPropertyValue('borderTopWidth');\n var borderTop = borderTopValue ? parseFloat(borderTopValue) : 0;\n var paddingTopValue = getComputedStyle(container).getPropertyValue('paddingTop');\n var paddingTop = paddingTopValue ? parseFloat(paddingTopValue) : 0;\n var containerRect = container.getBoundingClientRect();\n var itemRect = item.getBoundingClientRect();\n var offset = itemRect.top + document.body.scrollTop - (containerRect.top + document.body.scrollTop) - borderTop - paddingTop;\n var scroll = container.scrollTop;\n var elementHeight = container.clientHeight;\n var itemHeight = this.getOuterHeight(item);\n if (offset < 0) {\n container.scrollTop = scroll + offset;\n } else if (offset + itemHeight > elementHeight) {\n container.scrollTop = scroll + offset - elementHeight + itemHeight;\n }\n }\n }, {\n key: \"clearSelection\",\n value: function clearSelection() {\n if (window.getSelection) {\n if (window.getSelection().empty) {\n window.getSelection().empty();\n } else if (window.getSelection().removeAllRanges && window.getSelection().rangeCount > 0 && window.getSelection().getRangeAt(0).getClientRects().length > 0) {\n window.getSelection().removeAllRanges();\n }\n } else if (document['selection'] && document['selection'].empty) {\n try {\n document['selection'].empty();\n } catch (error) {\n //ignore IE bug\n }\n }\n }\n }, {\n key: \"calculateScrollbarWidth\",\n value: function calculateScrollbarWidth(el) {\n if (el) {\n var style = getComputedStyle(el);\n return el.offsetWidth - el.clientWidth - parseFloat(style.borderLeftWidth) - parseFloat(style.borderRightWidth);\n } else {\n if (this.calculatedScrollbarWidth != null) return this.calculatedScrollbarWidth;\n var scrollDiv = document.createElement('div');\n scrollDiv.className = 'p-scrollbar-measure';\n document.body.appendChild(scrollDiv);\n var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n this.calculatedScrollbarWidth = scrollbarWidth;\n return scrollbarWidth;\n }\n }\n }, {\n key: \"getBrowser\",\n value: function getBrowser() {\n if (!this.browser) {\n var matched = this.resolveUserAgent();\n this.browser = {};\n if (matched.browser) {\n this.browser[matched.browser] = true;\n this.browser['version'] = matched.version;\n }\n if (this.browser['chrome']) {\n this.browser['webkit'] = true;\n } else if (this.browser['webkit']) {\n this.browser['safari'] = true;\n }\n }\n return this.browser;\n }\n }, {\n key: \"resolveUserAgent\",\n value: function resolveUserAgent() {\n var ua = navigator.userAgent.toLowerCase();\n var match = /(chrome)[ ]([\\w.]+)/.exec(ua) || /(webkit)[ ]([\\w.]+)/.exec(ua) || /(opera)(?:.*version|)[ ]([\\w.]+)/.exec(ua) || /(msie) ([\\w.]+)/.exec(ua) || ua.indexOf('compatible') < 0 && /(mozilla)(?:.*? rv:([\\w.]+)|)/.exec(ua) || [];\n return {\n browser: match[1] || '',\n version: match[2] || '0'\n };\n }\n }, {\n key: \"isVisible\",\n value: function isVisible(element) {\n // https://stackoverflow.com/a/59096915/502366 (in future use IntersectionObserver)\n return element && (element.clientHeight !== 0 || element.getClientRects().length !== 0 || getComputedStyle(element).display !== 'none');\n }\n }, {\n key: \"isExist\",\n value: function isExist(element) {\n return !!(element !== null && typeof element !== 'undefined' && element.nodeName && element.parentNode);\n }\n }, {\n key: \"hasDOM\",\n value: function hasDOM() {\n return !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n }\n }, {\n key: \"getFocusableElements\",\n value: function getFocusableElements(element) {\n var selector = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n var focusableElements = DomHandler.find(element, \"button:not([tabindex = \\\"-1\\\"]):not([disabled]):not([style*=\\\"display:none\\\"]):not([hidden])\".concat(selector, \",\\n [href][clientHeight][clientWidth]:not([tabindex = \\\"-1\\\"]):not([disabled]):not([style*=\\\"display:none\\\"]):not([hidden])\").concat(selector, \",\\n input:not([tabindex = \\\"-1\\\"]):not([disabled]):not([style*=\\\"display:none\\\"]):not([hidden])\").concat(selector, \",\\n select:not([tabindex = \\\"-1\\\"]):not([disabled]):not([style*=\\\"display:none\\\"]):not([hidden])\").concat(selector, \",\\n textarea:not([tabindex = \\\"-1\\\"]):not([disabled]):not([style*=\\\"display:none\\\"]):not([hidden])\").concat(selector, \",\\n [tabIndex]:not([tabIndex = \\\"-1\\\"]):not([disabled]):not([style*=\\\"display:none\\\"]):not([hidden])\").concat(selector, \",\\n [contenteditable]:not([tabIndex = \\\"-1\\\"]):not([disabled]):not([style*=\\\"display:none\\\"]):not([hidden])\").concat(selector));\n var visibleFocusableElements = [];\n var _iterator3 = _createForOfIteratorHelper(focusableElements),\n _step3;\n try {\n for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n var focusableElement = _step3.value;\n if (getComputedStyle(focusableElement).display !== 'none' && getComputedStyle(focusableElement).visibility !== 'hidden') visibleFocusableElements.push(focusableElement);\n }\n } catch (err) {\n _iterator3.e(err);\n } finally {\n _iterator3.f();\n }\n return visibleFocusableElements;\n }\n }, {\n key: \"getFirstFocusableElement\",\n value: function getFirstFocusableElement(element, selector) {\n var focusableElements = DomHandler.getFocusableElements(element, selector);\n return focusableElements.length > 0 ? focusableElements[0] : null;\n }\n }, {\n key: \"getLastFocusableElement\",\n value: function getLastFocusableElement(element, selector) {\n var focusableElements = DomHandler.getFocusableElements(element, selector);\n return focusableElements.length > 0 ? focusableElements[focusableElements.length - 1] : null;\n }\n\n /**\n * Focus an input element if it does not already have focus.\n *\n * @param {HTMLElement} el a HTML element\n * @param {boolean} scrollTo flag to control whether to scroll to the element, false by default\n */\n }, {\n key: \"focus\",\n value: function focus(el, scrollTo) {\n var preventScroll = scrollTo === undefined ? true : !scrollTo;\n el && document.activeElement !== el && el.focus({\n preventScroll: preventScroll\n });\n }\n\n /**\n * Focus the first focusable element if it does not already have focus.\n *\n * @param {HTMLElement} el a HTML element\n * @param {boolean} scrollTo flag to control whether to scroll to the element, false by default\n * @return {HTMLElement | undefined} the first focusable HTML element found\n */\n }, {\n key: \"focusFirstElement\",\n value: function focusFirstElement(el, scrollTo) {\n if (!el) return;\n var firstFocusableElement = DomHandler.getFirstFocusableElement(el);\n firstFocusableElement && DomHandler.focus(firstFocusableElement, scrollTo);\n return firstFocusableElement;\n }\n }, {\n key: \"getCursorOffset\",\n value: function getCursorOffset(el, prevText, nextText, currentText) {\n if (el) {\n var style = getComputedStyle(el);\n var ghostDiv = document.createElement('div');\n ghostDiv.style.position = 'absolute';\n ghostDiv.style.top = '0px';\n ghostDiv.style.left = '0px';\n ghostDiv.style.visibility = 'hidden';\n ghostDiv.style.pointerEvents = 'none';\n ghostDiv.style.overflow = style.overflow;\n ghostDiv.style.width = style.width;\n ghostDiv.style.height = style.height;\n ghostDiv.style.padding = style.padding;\n ghostDiv.style.border = style.border;\n ghostDiv.style.overflowWrap = style.overflowWrap;\n ghostDiv.style.whiteSpace = style.whiteSpace;\n ghostDiv.style.lineHeight = style.lineHeight;\n ghostDiv.innerHTML = prevText.replace(/\\r\\n|\\r|\\n/g, ' © copyright CCTET {atualYear.getFullYear()} Desarrollado por: aprendices CCTET Política de tratamiento de datos Términos y condiciones Timbiquí: Cra 4 # 822, Diagonal Polideportivo Guapi: Laboratorio tecnología I.E Normal Superior Cel: 3102836048 E-mail: gerentetic@cctet.org Lugar de operación: Calle 73 N 34-95 Popayán Cel: 3116072750 E-mail: gerencia@cctet.org Corporación CCTET © copyright CCTET {atualYear.getFullYear()} Desarrollado por: aprendices CCTET Política de tratamiento de datos Terminos y condiciones Timbiquí: Cra 4 # 822, Diagonal Polideportivo Guapi: Laboratorio tecnología I.E Normal Superior Cel: 3102836048 E-mail: gerentetic@cctet.org Lugar de operación: Calle 73 N 34-95 Popayán Cel: 3116072750 E-mail: gerencia@cctet.org Corporación CCTET \n En el año 2018, nace la Corporación CCTET, fruto de años \n de dedicación y esfuerzo en la transformación social del \n Pacífico Caucano. Su misión comenzó al enfocarse en brindar\n orientación profesional a jóvenes de grados once, provenientes \n de diversas instituciones educativas del pintoresco municipio \n de Timbiquí, Cauca. Fue así como muchos de estos jóvenes \n lograron abrirse paso hacia un futuro prometedor al ingresar \n a prestigiosas universidades públicas del país. \n En el año 2022, se forjó una alianza \n con la reconocida Corporación Manos Visibles, dando lugar \n al emocionante proyecto Front-end Pacífico. Este ambicioso \n programa tenía como objetivo formar a 50 jóvenes en el apasionante \n campo del desarrollo web. Una oportunidad sin precedentes para que \n estos talentos emergentes encontraran su vocación y se convirtieran \n en expertos del mundo digital. \n Así, el Centro de Ciencias Tecnologías y Estudios Territoriales del Pacífico Caucano (CCTET)\n se convirtió en un faro de esperanza y transformación en la región. Un lugar \n donde la educación y la tecnología se dan la mano para construir un \n futuro lleno de oportunidades y posibilidades infinitas. \n Promover activamente la apropiación social y tecnológica en las comunidades dispersas del\n departamento del Cauca y del Suroccidente colombiano, a través del desarrollo e incentivo de\n procesos de formación inclusivos y participativos en el campo STEM. Nuestra organización se\n compromete a introducir a la población en las dinámicas actuales, abarcando aspectos tecnológicos,\n ambientales y culturales. \n Promover activamente la apropiación social y tecnológica en las comunidades dispersas del\n departamento del Cauca y del Suroccidente colombiano, a través del desarrollo e incentivo de\n procesos de formación inclusivos y participativos en el campo STEM. Nuestra organización se\n compromete a introducir a la población en las dinámicas actuales, abarcando aspectos tecnológicos\n ambientales y culturales. Buscamos estimular el compromiso y la participación activa de las\n comunidades en su propio proceso de aprendizaje. {description} {description} {description} {text} \n Fortalecer las áreas STEM en edades tempranas ayuda a desarrollar habilidades educativas y tecnológicas para el futuro.\n Fortalecer las áreas STEM en edades tempranas ayuda a desarrollar habilidades educativas y tecnológicas para el futuro.\n// \n La Corporación Centro de Ciencias, Tecnologías y \n Estudios Territoriales del Pacífico Caucano (CCTET) \n es una entidad s in ánimo de lucro con autonomía propia, \n dedicada a generar estrategias de intervención y conocimiento \n en comunidades colombianas, especialmente las más vulnerables.\n Su objetivo principal es fortalecer y apoyar la formación de niños, \n jóvenes y colectivos étnicos en el campo STEM (Ciencia, Tecnología, \n Ingeniería y Matemáticas), proporcionando recursos, programas y actividades \n para cerrar la brecha educativa y fomentar la inclusión en el \n ámbito científico y tecnológico. \n CCTET tiene como propósito brindar educación No formal \n en áreas STEM, pensamiento algorítmico, robótica educativa\n y orientación profesional a niños, niñas, adolescentes y \n jóvenes de la Costa Pacífica caucana y del Suroccidente colombiano, \n con el fin de generar nuevos espacios de preparación y fortalecimiento de las \n capacidades educativas y tecnológicas que permitan el \n mejoramiento y adquisición de habilidades que conlleven\n a la obtención de mayores puntajes en en el examen de \n Estado, realizadas por el Instituto Colombiano para la \n Evaluación de la Educación (ICFES) y así cerrar\n la brecha de acceso y permanencia en la educación\n superior \n En CCTET, nuestra misión es cerrar las brechas en el acceso y permanencia en la educación superior,\n así como en el acceso a herramientas tecnológicas y educativas en zonas vulnerables. Trabajamos para\n respaldar a niños, niñas, adolescentes y jóvenes que desean transformar sus vidas mediante la\n educación y la tecnología. Lo logramos a través de nuestro programa \"Yo te guío\", un programa que\n busca fortalecer habilidades STEM, trabajo en equipo y de liderazgo a niños, niñas y adolescentes que\n cursan el grado Octavo de secundaria y busca acompañarlos hasta su proceso de formación universitario.\n
');\n var ghostSpan = document.createElement('span');\n ghostSpan.textContent = currentText;\n ghostDiv.appendChild(ghostSpan);\n var text = document.createTextNode(nextText);\n ghostDiv.appendChild(text);\n document.body.appendChild(ghostDiv);\n var offsetLeft = ghostSpan.offsetLeft,\n offsetTop = ghostSpan.offsetTop,\n clientHeight = ghostSpan.clientHeight;\n document.body.removeChild(ghostDiv);\n return {\n left: Math.abs(offsetLeft - el.scrollLeft),\n top: Math.abs(offsetTop - el.scrollTop) + clientHeight\n };\n }\n return {\n top: 'auto',\n left: 'auto'\n };\n }\n }, {\n key: \"invokeElementMethod\",\n value: function invokeElementMethod(element, methodName, args) {\n element[methodName].apply(element, args);\n }\n }, {\n key: \"isClickable\",\n value: function isClickable(element) {\n var targetNode = element.nodeName;\n var parentNode = element.parentElement && element.parentElement.nodeName;\n return targetNode === 'INPUT' || targetNode === 'TEXTAREA' || targetNode === 'BUTTON' || targetNode === 'A' || parentNode === 'INPUT' || parentNode === 'TEXTAREA' || parentNode === 'BUTTON' || parentNode === 'A' || this.hasClass(element, 'p-button') || this.hasClass(element.parentElement, 'p-button') || this.hasClass(element.parentElement, 'p-checkbox') || this.hasClass(element.parentElement, 'p-radiobutton');\n }\n }, {\n key: \"applyStyle\",\n value: function applyStyle(element, style) {\n if (typeof style === 'string') {\n element.style.cssText = this.style;\n } else {\n for (var prop in this.style) {\n element.style[prop] = style[prop];\n }\n }\n }\n }, {\n key: \"exportCSV\",\n value: function exportCSV(csv, filename) {\n var blob = new Blob([csv], {\n type: 'application/csv;charset=utf-8;'\n });\n if (window.navigator.msSaveOrOpenBlob) {\n navigator.msSaveOrOpenBlob(blob, filename + '.csv');\n } else {\n var isDownloaded = DomHandler.saveAs({\n name: filename + '.csv',\n src: URL.createObjectURL(blob)\n });\n if (!isDownloaded) {\n csv = 'data:text/csv;charset=utf-8,' + csv;\n window.open(encodeURI(csv));\n }\n }\n }\n }, {\n key: \"saveAs\",\n value: function saveAs(file) {\n if (file) {\n var link = document.createElement('a');\n if (link.download !== undefined) {\n var name = file.name,\n src = file.src;\n link.setAttribute('href', src);\n link.setAttribute('download', name);\n link.style.display = 'none';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n return true;\n }\n }\n return false;\n }\n }, {\n key: \"createInlineStyle\",\n value: function createInlineStyle(nonce) {\n var styleElement = document.createElement('style');\n try {\n if (!nonce) {\n nonce = process.env.REACT_APP_CSS_NONCE;\n }\n } catch (error) {\n // NOOP\n }\n nonce && styleElement.setAttribute('nonce', nonce);\n document.head.appendChild(styleElement);\n return styleElement;\n }\n }, {\n key: \"removeInlineStyle\",\n value: function removeInlineStyle(styleElement) {\n if (this.isExist(styleElement)) {\n try {\n document.head.removeChild(styleElement);\n } catch (error) {\n // style element may have already been removed in a fast refresh\n }\n styleElement = null;\n }\n return styleElement;\n }\n }, {\n key: \"getTargetElement\",\n value: function getTargetElement(target) {\n if (!target) return null;\n if (target === 'document') {\n return document;\n } else if (target === 'window') {\n return window;\n } else if (_typeof(target) === 'object' && target.hasOwnProperty('current')) {\n return this.isExist(target.current) ? target.current : null;\n } else {\n var isFunction = function isFunction(obj) {\n return !!(obj && obj.constructor && obj.call && obj.apply);\n };\n var element = isFunction(target) ? target() : target;\n return element && element.nodeType === 9 || this.isExist(element) ? element : null;\n }\n }\n\n /**\n * Get the attribute names for an element and sorts them alpha for comparison\n */\n }, {\n key: \"getAttributeNames\",\n value: function getAttributeNames(node) {\n var index, rv, attrs;\n rv = [];\n attrs = node.attributes;\n for (index = 0; index < attrs.length; ++index) {\n rv.push(attrs[index].nodeName);\n }\n rv.sort();\n return rv;\n }\n\n /**\n * Compare two elements for equality. Even will compare if the style element\n * is out of order for example:\n *\n * elem1 = style=\"color: red; font-size: 28px\"\n * elem2 = style=\"font-size: 28px; color: red\"\n */\n }, {\n key: \"isEqualElement\",\n value: function isEqualElement(elm1, elm2) {\n var attrs1, attrs2, name, node1, node2;\n\n // Compare attributes without order sensitivity\n attrs1 = DomHandler.getAttributeNames(elm1);\n attrs2 = DomHandler.getAttributeNames(elm2);\n if (attrs1.join(',') !== attrs2.join(',')) {\n // console.log(\"Found nodes with different sets of attributes; not equiv\");\n return false;\n }\n\n // ...and values\n // unless you want to compare DOM0 event handlers\n // (onclick=\"...\")\n for (var index = 0; index < attrs1.length; ++index) {\n name = attrs1[index];\n if (name === 'style') {\n var astyle = elm1.style;\n var bstyle = elm2.style;\n var rexDigitsOnly = /^\\d+$/;\n for (var _i3 = 0, _Object$keys = Object.keys(astyle); _i3 < _Object$keys.length; _i3++) {\n var key = _Object$keys[_i3];\n if (!rexDigitsOnly.test(key) && astyle[key] !== bstyle[key]) {\n // Not equivalent, stop\n //console.log(\"Found nodes with mis-matched values for attribute '\" + name + \"'; not equiv\");\n return false;\n }\n }\n } else {\n if (elm1.getAttribute(name) !== elm2.getAttribute(name)) {\n // console.log(\"Found nodes with mis-matched values for attribute '\" + name + \"'; not equiv\");\n return false;\n }\n }\n }\n\n // Walk the children\n for (node1 = elm1.firstChild, node2 = elm2.firstChild; node1 && node2; node1 = node1.nextSibling, node2 = node2.nextSibling) {\n if (node1.nodeType !== node2.nodeType) {\n // display(\"Found nodes of different types; not equiv\");\n return false;\n }\n if (node1.nodeType === 1) {\n // Element\n if (!DomHandler.isEqualElement(node1, node2)) {\n return false;\n }\n } else if (node1.nodeValue !== node2.nodeValue) {\n // console.log(\"Found nodes with mis-matched nodeValues; not equiv\");\n return false;\n }\n }\n if (node1 || node2) {\n // One of the elements had more nodes than the other\n // console.log(\"Found more children of one element than the other; not equivalent\");\n return false;\n }\n\n // Seem the same\n return true;\n }\n }]);\n return DomHandler;\n}();\n_defineProperty(DomHandler, \"DATA_PROPS\", ['data-']);\n_defineProperty(DomHandler, \"ARIA_PROPS\", ['aria', 'focus-target']);\n\nvar ConnectedOverlayScrollHandler = /*#__PURE__*/function () {\n function ConnectedOverlayScrollHandler(element) {\n var listener = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};\n _classCallCheck(this, ConnectedOverlayScrollHandler);\n this.element = element;\n this.listener = listener;\n }\n _createClass(ConnectedOverlayScrollHandler, [{\n key: \"bindScrollListener\",\n value: function bindScrollListener() {\n this.scrollableParents = DomHandler.getScrollableParents(this.element);\n for (var i = 0; i < this.scrollableParents.length; i++) {\n this.scrollableParents[i].addEventListener('scroll', this.listener);\n }\n }\n }, {\n key: \"unbindScrollListener\",\n value: function unbindScrollListener() {\n if (this.scrollableParents) {\n for (var i = 0; i < this.scrollableParents.length; i++) {\n this.scrollableParents[i].removeEventListener('scroll', this.listener);\n }\n }\n }\n }, {\n key: \"destroy\",\n value: function destroy() {\n this.unbindScrollListener();\n this.element = null;\n this.listener = null;\n this.scrollableParents = null;\n }\n }]);\n return ConnectedOverlayScrollHandler;\n}();\n\nfunction EventBus() {\n var allHandlers = new Map();\n return {\n on: function on(type, handler) {\n var handlers = allHandlers.get(type);\n if (!handlers) handlers = [handler];else handlers.push(handler);\n allHandlers.set(type, handlers);\n },\n off: function off(type, handler) {\n var handlers = allHandlers.get(type);\n handlers && handlers.splice(handlers.indexOf(handler) >>> 0, 1);\n },\n emit: function emit(type, evt) {\n var handlers = allHandlers.get(type);\n handlers && handlers.slice().forEach(function (handler) {\n return handler(evt);\n });\n }\n };\n}\n\nfunction ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction mask(el, options) {\n var defaultOptions = {\n mask: null,\n slotChar: '_',\n autoClear: true,\n unmask: false,\n readOnly: false,\n onComplete: null,\n onChange: null,\n onFocus: null,\n onBlur: null\n };\n options = _objectSpread$1(_objectSpread$1({}, defaultOptions), options);\n var tests, partialPosition, len, firstNonMaskPos, defs, androidChrome, lastRequiredNonMaskPos, oldVal, focusText, caretTimeoutId, buffer, defaultBuffer;\n var caret = function caret(first, last) {\n var range, begin, end;\n if (!el.offsetParent || el !== document.activeElement) {\n return;\n }\n if (typeof first === 'number') {\n begin = first;\n end = typeof last === 'number' ? last : begin;\n if (el.setSelectionRange) {\n el.setSelectionRange(begin, end);\n } else if (el['createTextRange']) {\n range = el['createTextRange']();\n range.collapse(true);\n range.moveEnd('character', end);\n range.moveStart('character', begin);\n range.select();\n }\n } else {\n if (el.setSelectionRange) {\n begin = el.selectionStart;\n end = el.selectionEnd;\n } else if (document['selection'] && document['selection'].createRange) {\n range = document['selection'].createRange();\n begin = 0 - range.duplicate().moveStart('character', -100000);\n end = begin + range.text.length;\n }\n return {\n begin: begin,\n end: end\n };\n }\n };\n var isCompleted = function isCompleted() {\n for (var i = firstNonMaskPos; i <= lastRequiredNonMaskPos; i++) {\n if (tests[i] && buffer[i] === getPlaceholder(i)) {\n return false;\n }\n }\n return true;\n };\n var getPlaceholder = function getPlaceholder(i) {\n if (i < options.slotChar.length) {\n return options.slotChar.charAt(i);\n }\n return options.slotChar.charAt(0);\n };\n var getValue = function getValue() {\n return options.unmask ? getUnmaskedValue() : el && el.value;\n };\n var seekNext = function seekNext(pos) {\n while (++pos < len && !tests[pos]);\n return pos;\n };\n var seekPrev = function seekPrev(pos) {\n while (--pos >= 0 && !tests[pos]);\n return pos;\n };\n var shiftL = function shiftL(begin, end) {\n var i, j;\n if (begin < 0) {\n return;\n }\n for (i = begin, j = seekNext(end); i < len; i++) {\n if (tests[i]) {\n if (j < len && tests[i].test(buffer[j])) {\n buffer[i] = buffer[j];\n buffer[j] = getPlaceholder(j);\n } else {\n break;\n }\n j = seekNext(j);\n }\n }\n writeBuffer();\n caret(Math.max(firstNonMaskPos, begin));\n };\n var shiftR = function shiftR(pos) {\n var i, c, j, t;\n for (i = pos, c = getPlaceholder(pos); i < len; i++) {\n if (tests[i]) {\n j = seekNext(i);\n t = buffer[i];\n buffer[i] = c;\n if (j < len && tests[j].test(t)) {\n c = t;\n } else {\n break;\n }\n }\n }\n };\n var handleAndroidInput = function handleAndroidInput(e) {\n var curVal = el.value;\n var pos = caret();\n if (oldVal && oldVal.length && oldVal.length > curVal.length) {\n // a deletion or backspace happened\n checkVal(true);\n while (pos.begin > 0 && !tests[pos.begin - 1]) pos.begin--;\n if (pos.begin === 0) {\n while (pos.begin < firstNonMaskPos && !tests[pos.begin]) pos.begin++;\n }\n caret(pos.begin, pos.begin);\n } else {\n checkVal(true);\n while (pos.begin < len && !tests[pos.begin]) pos.begin++;\n caret(pos.begin, pos.begin);\n }\n if (options.onComplete && isCompleted()) {\n options.onComplete({\n originalEvent: e,\n value: getValue()\n });\n }\n };\n var onBlur = function onBlur(e) {\n checkVal();\n options.onBlur && options.onBlur(e);\n updateModel(e);\n if (el.value !== focusText) {\n var event = document.createEvent('HTMLEvents');\n event.initEvent('change', true, false);\n el.dispatchEvent(event);\n }\n };\n var onKeyDown = function onKeyDown(e) {\n if (options.readOnly) {\n return;\n }\n var k = e.which || e.keyCode,\n pos,\n begin,\n end;\n oldVal = el.value;\n\n //backspace, delete, and escape get special treatment\n if (k === 8 || k === 46 || DomHandler.isIOS() && k === 127) {\n pos = caret();\n begin = pos.begin;\n end = pos.end;\n if (end - begin === 0) {\n begin = k !== 46 ? seekPrev(begin) : end = seekNext(begin - 1);\n end = k === 46 ? seekNext(end) : end;\n }\n clearBuffer(begin, end);\n shiftL(begin, end - 1);\n updateModel(e);\n e.preventDefault();\n } else if (k === 13) {\n // enter\n onBlur(e);\n updateModel(e);\n } else if (k === 27) {\n // escape\n el.value = focusText;\n caret(0, checkVal());\n updateModel(e);\n e.preventDefault();\n }\n };\n var onKeyPress = function onKeyPress(e) {\n if (options.readOnly) {\n return;\n }\n var k = e.which || e.keyCode,\n pos = caret(),\n p,\n c,\n next,\n completed;\n if (e.ctrlKey || e.altKey || e.metaKey || k < 32) {\n //Ignore\n return;\n } else if (k && k !== 13) {\n if (pos.end - pos.begin !== 0) {\n clearBuffer(pos.begin, pos.end);\n shiftL(pos.begin, pos.end - 1);\n }\n p = seekNext(pos.begin - 1);\n if (p < len) {\n c = String.fromCharCode(k);\n if (tests[p].test(c)) {\n shiftR(p);\n buffer[p] = c;\n writeBuffer();\n next = seekNext(p);\n if (DomHandler.isAndroid()) {\n //Path for CSP Violation on FireFox OS 1.1\n var proxy = function proxy() {\n caret(next);\n };\n setTimeout(proxy, 0);\n } else {\n caret(next);\n }\n if (pos.begin <= lastRequiredNonMaskPos) {\n completed = isCompleted();\n }\n }\n }\n e.preventDefault();\n }\n updateModel(e);\n if (options.onComplete && completed) {\n options.onComplete({\n originalEvent: e,\n value: getValue()\n });\n }\n };\n var clearBuffer = function clearBuffer(start, end) {\n var i;\n for (i = start; i < end && i < len; i++) {\n if (tests[i]) {\n buffer[i] = getPlaceholder(i);\n }\n }\n };\n var writeBuffer = function writeBuffer() {\n el.value = buffer.join('');\n };\n var checkVal = function checkVal(allow) {\n //try to place characters where they belong\n var test = el.value,\n lastMatch = -1,\n i,\n c,\n pos;\n for (i = 0, pos = 0; i < len; i++) {\n if (tests[i]) {\n buffer[i] = getPlaceholder(i);\n while (pos++ < test.length) {\n c = test.charAt(pos - 1);\n if (tests[i].test(c)) {\n buffer[i] = c;\n lastMatch = i;\n break;\n }\n }\n if (pos > test.length) {\n clearBuffer(i + 1, len);\n break;\n }\n } else {\n if (buffer[i] === test.charAt(pos)) {\n pos++;\n }\n if (i < partialPosition) {\n lastMatch = i;\n }\n }\n }\n if (allow) {\n writeBuffer();\n } else if (lastMatch + 1 < partialPosition) {\n if (options.autoClear || buffer.join('') === defaultBuffer) {\n // Invalid value. Remove it and replace it with the\n // mask, which is the default behavior.\n if (el.value) el.value = '';\n clearBuffer(0, len);\n } else {\n // Invalid value, but we opt to show the value to the\n // user and allow them to correct their mistake.\n writeBuffer();\n }\n } else {\n writeBuffer();\n el.value = el.value.substring(0, lastMatch + 1);\n }\n return partialPosition ? i : firstNonMaskPos;\n };\n var onFocus = function onFocus(e) {\n if (options.readOnly) {\n return;\n }\n clearTimeout(caretTimeoutId);\n var pos;\n focusText = el.value;\n pos = checkVal();\n caretTimeoutId = setTimeout(function () {\n if (el !== document.activeElement) {\n return;\n }\n writeBuffer();\n if (pos === options.mask.replace('?', '').length) {\n caret(0, pos);\n } else {\n caret(pos);\n }\n }, 10);\n if (options.onFocus) {\n options.onFocus(e);\n }\n };\n var onInput = function onInput(event) {\n if (androidChrome) handleAndroidInput(event);else handleInputChange(event);\n };\n var handleInputChange = function handleInputChange(e) {\n if (options.readOnly) {\n return;\n }\n var pos = checkVal(true);\n caret(pos);\n updateModel(e);\n if (options.onComplete && isCompleted()) {\n options.onComplete({\n originalEvent: e,\n value: getValue()\n });\n }\n };\n var getUnmaskedValue = function getUnmaskedValue() {\n var unmaskedBuffer = [];\n for (var i = 0; i < buffer.length; i++) {\n var c = buffer[i];\n if (tests[i] && c !== getPlaceholder(i)) {\n unmaskedBuffer.push(c);\n }\n }\n return unmaskedBuffer.join('');\n };\n var updateModel = function updateModel(e) {\n if (options.onChange) {\n var val = getValue().replace(options.slotChar, '');\n options.onChange({\n originalEvent: e,\n value: defaultBuffer !== val ? val : ''\n });\n }\n };\n var bindEvents = function bindEvents() {\n el.addEventListener('focus', onFocus);\n el.addEventListener('blur', onBlur);\n el.addEventListener('keydown', onKeyDown);\n el.addEventListener('keypress', onKeyPress);\n el.addEventListener('input', onInput);\n el.addEventListener('paste', handleInputChange);\n };\n var unbindEvents = function unbindEvents() {\n el.removeEventListener('focus', onFocus);\n el.removeEventListener('blur', onBlur);\n el.removeEventListener('keydown', onKeyDown);\n el.removeEventListener('keypress', onKeyPress);\n el.removeEventListener('input', onInput);\n el.removeEventListener('paste', handleInputChange);\n };\n var init = function init() {\n tests = [];\n partialPosition = options.mask.length;\n len = options.mask.length;\n firstNonMaskPos = null;\n defs = {\n 9: '[0-9]',\n a: '[A-Za-z]',\n '*': '[A-Za-z0-9]'\n };\n androidChrome = DomHandler.isChrome() && DomHandler.isAndroid();\n var maskTokens = options.mask.split('');\n for (var i = 0; i < maskTokens.length; i++) {\n var c = maskTokens[i];\n if (c === '?') {\n len--;\n partialPosition = i;\n } else if (defs[c]) {\n tests.push(new RegExp(defs[c]));\n if (firstNonMaskPos === null) {\n firstNonMaskPos = tests.length - 1;\n }\n if (i < partialPosition) {\n lastRequiredNonMaskPos = tests.length - 1;\n }\n } else {\n tests.push(null);\n }\n }\n buffer = [];\n for (var _i = 0; _i < maskTokens.length; _i++) {\n var _c = maskTokens[_i];\n if (_c !== '?') {\n if (defs[_c]) buffer.push(getPlaceholder(_i));else buffer.push(_c);\n }\n }\n defaultBuffer = buffer.join('');\n };\n if (el && options.mask) {\n init();\n bindEvents();\n }\n return {\n init: init,\n bindEvents: bindEvents,\n unbindEvents: unbindEvents,\n updateModel: updateModel,\n getValue: getValue\n };\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray$1(arr);\n}\n\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread();\n}\n\nvar ObjectUtils = /*#__PURE__*/function () {\n function ObjectUtils() {\n _classCallCheck(this, ObjectUtils);\n }\n _createClass(ObjectUtils, null, [{\n key: \"equals\",\n value: function equals(obj1, obj2, field) {\n if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);\n }\n }, {\n key: \"deepEquals\",\n value: function deepEquals(a, b) {\n if (a === b) return true;\n if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {\n var arrA = Array.isArray(a),\n arrB = Array.isArray(b),\n i,\n length,\n key;\n if (arrA && arrB) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) if (!this.deepEquals(a[i], b[i])) return false;\n return true;\n }\n if (arrA !== arrB) return false;\n var dateA = a instanceof Date,\n dateB = b instanceof Date;\n if (dateA !== dateB) return false;\n if (dateA && dateB) return a.getTime() === b.getTime();\n var regexpA = a instanceof RegExp,\n regexpB = b instanceof RegExp;\n if (regexpA !== regexpB) return false;\n if (regexpA && regexpB) return a.toString() === b.toString();\n var keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n for (i = length; i-- !== 0;) {\n key = keys[i];\n if (!this.deepEquals(a[key], b[key])) return false;\n }\n return true;\n }\n\n /*eslint no-self-compare: \"off\"*/\n return a !== a && b !== b;\n }\n }, {\n key: \"resolveFieldData\",\n value: function resolveFieldData(data, field) {\n if (data && Object.keys(data).length && field) {\n if (this.isFunction(field)) {\n return field(data);\n } else if (ObjectUtils.isNotEmpty(data[field])) {\n return data[field];\n } else if (field.indexOf('.') === -1) {\n return data[field];\n } else {\n var fields = field.split('.');\n var value = data;\n for (var i = 0, len = fields.length; i < len; ++i) {\n if (value == null) {\n return null;\n }\n value = value[fields[i]];\n }\n return value;\n }\n } else {\n return null;\n }\n }\n }, {\n key: \"isFunction\",\n value: function isFunction(obj) {\n return !!(obj && obj.constructor && obj.call && obj.apply);\n }\n }, {\n key: \"isLetter\",\n value: function isLetter(_char) {\n return _char && (_char.toUpperCase() != _char.toLowerCase() || _char.codePointAt(0) > 127);\n }\n }, {\n key: \"findDiffKeys\",\n value: function findDiffKeys(obj1, obj2) {\n if (!obj1 || !obj2) {\n return {};\n }\n return Object.keys(obj1).filter(function (key) {\n return !obj2.hasOwnProperty(key);\n }).reduce(function (result, current) {\n result[current] = obj1[current];\n return result;\n }, {});\n }\n\n /**\n * Removes keys from a JSON object that start with a string such as \"data\" to get all \"data-id\" type properties.\n *\n * @param {any} obj the JSON object to reduce\n * @param {string[]} startsWiths the string(s) to check if the property starts with this key\n * @returns the JSON object containing only the key/values that match the startsWith string\n */\n }, {\n key: \"reduceKeys\",\n value: function reduceKeys(obj, startsWiths) {\n var result = {};\n if (!obj || !startsWiths || startsWiths.length === 0) {\n return result;\n }\n Object.keys(obj).filter(function (key) {\n return startsWiths.some(function (value) {\n return key.startsWith(value);\n });\n }).forEach(function (key) {\n result[key] = obj[key];\n delete obj[key];\n });\n return result;\n }\n }, {\n key: \"reorderArray\",\n value: function reorderArray(value, from, to) {\n if (value && from !== to) {\n if (to >= value.length) {\n to %= value.length;\n from %= value.length;\n }\n value.splice(to, 0, value.splice(from, 1)[0]);\n }\n }\n }, {\n key: \"findIndexInList\",\n value: function findIndexInList(value, list, dataKey) {\n var _this = this;\n if (list) {\n return dataKey ? list.findIndex(function (item) {\n return _this.equals(item, value, dataKey);\n }) : list.findIndex(function (item) {\n return item === value;\n });\n }\n return -1;\n }\n }, {\n key: \"getJSXElement\",\n value: function getJSXElement(obj) {\n for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n params[_key - 1] = arguments[_key];\n }\n return this.isFunction(obj) ? obj.apply(void 0, params) : obj;\n }\n }, {\n key: \"getProp\",\n value: function getProp(props) {\n var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var value = props ? props[prop] : undefined;\n return value === undefined ? defaultProps[prop] : value;\n }\n }, {\n key: \"getMergedProps\",\n value: function getMergedProps(props, defaultProps) {\n return Object.assign({}, defaultProps, props);\n }\n }, {\n key: \"getDiffProps\",\n value: function getDiffProps(props, defaultProps) {\n return this.findDiffKeys(props, defaultProps);\n }\n }, {\n key: \"getPropValue\",\n value: function getPropValue(obj) {\n for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n params[_key2 - 1] = arguments[_key2];\n }\n var methodParams = params;\n if (params && params.length === 1) {\n methodParams = params[0];\n }\n return this.isFunction(obj) ? obj.apply(void 0, _toConsumableArray(methodParams)) : obj;\n }\n }, {\n key: \"getComponentProp\",\n value: function getComponentProp(component) {\n var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return this.isNotEmpty(component) ? this.getProp(component.props, prop, defaultProps) : undefined;\n }\n }, {\n key: \"getComponentProps\",\n value: function getComponentProps(component, defaultProps) {\n return this.isNotEmpty(component) ? this.getMergedProps(component.props, defaultProps) : undefined;\n }\n }, {\n key: \"getComponentDiffProps\",\n value: function getComponentDiffProps(component, defaultProps) {\n return this.isNotEmpty(component) ? this.getDiffProps(component.props, defaultProps) : undefined;\n }\n }, {\n key: \"isValidChild\",\n value: function isValidChild(child, type, validTypes) {\n /* eslint-disable */\n if (child) {\n var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);\n var isValid = childType === type;\n try {\n var messageTypes; if (\"production\" !== 'production' && !isValid) ;\n } catch (error) {\n // NOOP\n }\n return isValid;\n }\n return false;\n /* eslint-enable */\n }\n }, {\n key: \"getRefElement\",\n value: function getRefElement(ref) {\n if (ref) {\n return _typeof(ref) === 'object' && ref.hasOwnProperty('current') ? ref.current : ref;\n }\n return null;\n }\n }, {\n key: \"combinedRefs\",\n value: function combinedRefs(innerRef, forwardRef) {\n if (innerRef && forwardRef) {\n if (typeof forwardRef === 'function') {\n forwardRef(innerRef.current);\n } else {\n forwardRef.current = innerRef.current;\n }\n }\n }\n }, {\n key: \"removeAccents\",\n value: function removeAccents(str) {\n if (str && str.search(/[\\xC0-\\xFF]/g) > -1) {\n str = str.replace(/[\\xC0-\\xC5]/g, 'A').replace(/[\\xC6]/g, 'AE').replace(/[\\xC7]/g, 'C').replace(/[\\xC8-\\xCB]/g, 'E').replace(/[\\xCC-\\xCF]/g, 'I').replace(/[\\xD0]/g, 'D').replace(/[\\xD1]/g, 'N').replace(/[\\xD2-\\xD6\\xD8]/g, 'O').replace(/[\\xD9-\\xDC]/g, 'U').replace(/[\\xDD]/g, 'Y').replace(/[\\xDE]/g, 'P').replace(/[\\xE0-\\xE5]/g, 'a').replace(/[\\xE6]/g, 'ae').replace(/[\\xE7]/g, 'c').replace(/[\\xE8-\\xEB]/g, 'e').replace(/[\\xEC-\\xEF]/g, 'i').replace(/[\\xF1]/g, 'n').replace(/[\\xF2-\\xF6\\xF8]/g, 'o').replace(/[\\xF9-\\xFC]/g, 'u').replace(/[\\xFE]/g, 'p').replace(/[\\xFD\\xFF]/g, 'y');\n }\n return str;\n }\n }, {\n key: \"isEmpty\",\n value: function isEmpty(value) {\n return value === null || value === undefined || value === '' || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && _typeof(value) === 'object' && Object.keys(value).length === 0;\n }\n }, {\n key: \"isNotEmpty\",\n value: function isNotEmpty(value) {\n return !this.isEmpty(value);\n }\n }, {\n key: \"sort\",\n value: function sort(value1, value2) {\n var order = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var locale = arguments.length > 3 ? arguments[3] : undefined;\n var nullSortOrder = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;\n var result = ObjectUtils.compare(value1, value2, locale, order);\n var finalSortOrder = order;\n\n // nullSortOrder == 1 means Excel like sort nulls at bottom\n if (ObjectUtils.isEmpty(value1) || ObjectUtils.isEmpty(value2)) {\n finalSortOrder = nullSortOrder === 1 ? order : nullSortOrder;\n }\n return finalSortOrder * result;\n }\n }, {\n key: \"compare\",\n value: function compare(value1, value2, locale) {\n var order = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;\n var result = -1;\n var emptyValue1 = ObjectUtils.isEmpty(value1);\n var emptyValue2 = ObjectUtils.isEmpty(value2);\n if (emptyValue1 && emptyValue2) result = 0;else if (emptyValue1) result = order;else if (emptyValue2) result = -order;else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, locale, {\n numeric: true\n });else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;\n return result;\n }\n }]);\n return ObjectUtils;\n}();\n\nfunction _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 for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar IconUtils = /*#__PURE__*/function () {\n function IconUtils() {\n _classCallCheck(this, IconUtils);\n }\n _createClass(IconUtils, null, [{\n key: \"getJSXIcon\",\n value: function getJSXIcon(icon) {\n var iconProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var content = null;\n if (icon !== null) {\n var iconType = _typeof(icon);\n var className = classNames(iconProps.className, iconType === 'string' && icon);\n content = /*#__PURE__*/React.createElement(\"span\", _extends({}, iconProps, {\n className: className\n }));\n if (iconType !== 'string') {\n var defaultContentOptions = _objectSpread({\n iconProps: iconProps,\n element: content\n }, options);\n return ObjectUtils.getJSXElement(icon, defaultContentOptions);\n }\n }\n return content;\n }\n }]);\n return IconUtils;\n}();\n\nvar lastId = 0;\nfunction UniqueComponentId() {\n var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pr_id_';\n lastId++;\n return \"\".concat(prefix).concat(lastId);\n}\n\nfunction handler() {\n var zIndexes = [];\n var generateZIndex = function generateZIndex(key, autoZIndex) {\n var baseZIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 999;\n var lastZIndex = getLastZIndex(key, autoZIndex, baseZIndex);\n var newZIndex = lastZIndex.value + (lastZIndex.key === key ? 0 : baseZIndex) + 1;\n zIndexes.push({\n key: key,\n value: newZIndex\n });\n return newZIndex;\n };\n var revertZIndex = function revertZIndex(zIndex) {\n zIndexes = zIndexes.filter(function (obj) {\n return obj.value !== zIndex;\n });\n };\n var getCurrentZIndex = function getCurrentZIndex(key, autoZIndex) {\n return getLastZIndex(key, autoZIndex).value;\n };\n var getLastZIndex = function getLastZIndex(key, autoZIndex) {\n var baseZIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n return _toConsumableArray(zIndexes).reverse().find(function (obj) {\n return autoZIndex ? true : obj.key === key;\n }) || {\n key: key,\n value: baseZIndex\n };\n };\n var getZIndex = function getZIndex(el) {\n return el ? parseInt(el.style.zIndex, 10) || 0 : 0;\n };\n return {\n get: getZIndex,\n set: function set(key, el, autoZIndex, baseZIndex) {\n if (el) {\n el.style.zIndex = String(generateZIndex(key, autoZIndex, baseZIndex));\n }\n },\n clear: function clear(el) {\n if (el) {\n revertZIndex(ZIndexUtils.get(el));\n el.style.zIndex = '';\n }\n },\n getCurrent: function getCurrent(key, autoZIndex) {\n return getCurrentZIndex(key, autoZIndex);\n }\n };\n}\nvar ZIndexUtils = handler();\n\nexport { ConnectedOverlayScrollHandler, DomHandler, EventBus, IconUtils, ObjectUtils, UniqueComponentId, ZIndexUtils, classNames, mask };\n","import { ObjectUtils } from 'primereact/utils';\n\nvar FilterMatchMode = Object.freeze({\n STARTS_WITH: 'startsWith',\n CONTAINS: 'contains',\n NOT_CONTAINS: 'notContains',\n ENDS_WITH: 'endsWith',\n EQUALS: 'equals',\n NOT_EQUALS: 'notEquals',\n IN: 'in',\n LESS_THAN: 'lt',\n LESS_THAN_OR_EQUAL_TO: 'lte',\n GREATER_THAN: 'gt',\n GREATER_THAN_OR_EQUAL_TO: 'gte',\n BETWEEN: 'between',\n DATE_IS: 'dateIs',\n DATE_IS_NOT: 'dateIsNot',\n DATE_BEFORE: 'dateBefore',\n DATE_AFTER: 'dateAfter',\n CUSTOM: 'custom'\n});\n\nvar FilterOperator = Object.freeze({\n AND: 'and',\n OR: 'or'\n});\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar FilterService = {\n filter: function filter(value, fields, filterValue, filterMatchMode, filterLocale) {\n var filteredItems = [];\n if (!value) {\n return filteredItems;\n }\n var _iterator = _createForOfIteratorHelper(value),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var item = _step.value;\n if (typeof item === 'string') {\n if (this.filters[filterMatchMode](item, filterValue, filterLocale)) {\n filteredItems.push(item);\n continue;\n }\n } else {\n var _iterator2 = _createForOfIteratorHelper(fields),\n _step2;\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var field = _step2.value;\n var fieldValue = ObjectUtils.resolveFieldData(item, field);\n if (this.filters[filterMatchMode](fieldValue, filterValue, filterLocale)) {\n filteredItems.push(item);\n break;\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return filteredItems;\n },\n filters: {\n startsWith: function startsWith(value, filter, filterLocale) {\n if (filter === undefined || filter === null || filter.trim() === '') {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n var filterValue = ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);\n var stringValue = ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);\n return stringValue.slice(0, filterValue.length) === filterValue;\n },\n contains: function contains(value, filter, filterLocale) {\n if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n var filterValue = ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);\n var stringValue = ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);\n return stringValue.indexOf(filterValue) !== -1;\n },\n notContains: function notContains(value, filter, filterLocale) {\n if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n var filterValue = ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);\n var stringValue = ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);\n return stringValue.indexOf(filterValue) === -1;\n },\n endsWith: function endsWith(value, filter, filterLocale) {\n if (filter === undefined || filter === null || filter.trim() === '') {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n var filterValue = ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);\n var stringValue = ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);\n return stringValue.indexOf(filterValue, stringValue.length - filterValue.length) !== -1;\n },\n equals: function equals(value, filter, filterLocale) {\n if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n if (value.getTime && filter.getTime) return value.getTime() === filter.getTime();else return ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale) === ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);\n },\n notEquals: function notEquals(value, filter, filterLocale) {\n if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {\n return true;\n }\n if (value === undefined || value === null) {\n return true;\n }\n if (value.getTime && filter.getTime) return value.getTime() !== filter.getTime();else return ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale) !== ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);\n },\n \"in\": function _in(value, filter) {\n if (filter === undefined || filter === null || filter.length === 0) {\n return true;\n }\n for (var i = 0; i < filter.length; i++) {\n if (ObjectUtils.equals(value, filter[i])) {\n return true;\n }\n }\n return false;\n },\n between: function between(value, filter) {\n if (filter == null || filter[0] == null || filter[1] == null) {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n if (value.getTime) return filter[0].getTime() <= value.getTime() && value.getTime() <= filter[1].getTime();else return filter[0] <= value && value <= filter[1];\n },\n lt: function lt(value, filter) {\n if (filter === undefined || filter === null) {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n if (value.getTime && filter.getTime) return value.getTime() < filter.getTime();else return value < filter;\n },\n lte: function lte(value, filter) {\n if (filter === undefined || filter === null) {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n if (value.getTime && filter.getTime) return value.getTime() <= filter.getTime();else return value <= filter;\n },\n gt: function gt(value, filter) {\n if (filter === undefined || filter === null) {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n if (value.getTime && filter.getTime) return value.getTime() > filter.getTime();else return value > filter;\n },\n gte: function gte(value, filter) {\n if (filter === undefined || filter === null) {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n if (value.getTime && filter.getTime) return value.getTime() >= filter.getTime();else return value >= filter;\n },\n dateIs: function dateIs(value, filter) {\n if (filter === undefined || filter === null) {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n return value.toDateString() === filter.toDateString();\n },\n dateIsNot: function dateIsNot(value, filter) {\n if (filter === undefined || filter === null) {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n return value.toDateString() !== filter.toDateString();\n },\n dateBefore: function dateBefore(value, filter) {\n if (filter === undefined || filter === null) {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n return value.getTime() < filter.getTime();\n },\n dateAfter: function dateAfter(value, filter) {\n if (filter === undefined || filter === null) {\n return true;\n }\n if (value === undefined || value === null) {\n return false;\n }\n return value.getTime() > filter.getTime();\n }\n },\n register: function register(rule, fn) {\n this.filters[rule] = fn;\n }\n};\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\n\nfunction _toPropertyKey(arg) {\n var key = _toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\n\nfunction _defineProperty(obj, key, value) {\n key = _toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar PrimeReact$1 = /*#__PURE__*/_createClass(function PrimeReact() {\n _classCallCheck(this, PrimeReact);\n});\n_defineProperty(PrimeReact$1, \"ripple\", false);\n_defineProperty(PrimeReact$1, \"inputStyle\", 'outlined');\n_defineProperty(PrimeReact$1, \"locale\", 'en');\n_defineProperty(PrimeReact$1, \"appendTo\", null);\n_defineProperty(PrimeReact$1, \"cssTransition\", true);\n_defineProperty(PrimeReact$1, \"autoZIndex\", true);\n_defineProperty(PrimeReact$1, \"nonce\", null);\n_defineProperty(PrimeReact$1, \"nullSortOrder\", 1);\n_defineProperty(PrimeReact$1, \"zIndex\", {\n modal: 1100,\n overlay: 1000,\n menu: 1000,\n tooltip: 1100,\n toast: 1200\n});\n_defineProperty(PrimeReact$1, \"filterMatchModeOptions\", {\n text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],\n numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],\n date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]\n});\n_defineProperty(PrimeReact$1, \"changeTheme\", function (currentTheme, newTheme, linkElementId, callback) {\n var _linkElement$parentNo;\n var linkElement = document.getElementById(linkElementId);\n var cloneLinkElement = linkElement.cloneNode(true);\n var newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme);\n cloneLinkElement.setAttribute('id', linkElementId + '-clone');\n cloneLinkElement.setAttribute('href', newThemeUrl);\n cloneLinkElement.addEventListener('load', function () {\n linkElement.remove();\n cloneLinkElement.setAttribute('id', linkElementId);\n if (callback) {\n callback();\n }\n });\n (_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 ? void 0 : _linkElement$parentNo.insertBefore(cloneLinkElement, linkElement.nextSibling);\n});\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar locales = {\n en: {\n startsWith: 'Starts with',\n contains: 'Contains',\n notContains: 'Not contains',\n endsWith: 'Ends with',\n equals: 'Equals',\n notEquals: 'Not equals',\n noFilter: 'No Filter',\n filter: 'Filter',\n lt: 'Less than',\n lte: 'Less than or equal to',\n gt: 'Greater than',\n gte: 'Greater than or equal to',\n dateIs: 'Date is',\n dateIsNot: 'Date is not',\n dateBefore: 'Date is before',\n dateAfter: 'Date is after',\n custom: 'Custom',\n clear: 'Clear',\n close: 'Close',\n apply: 'Apply',\n matchAll: 'Match All',\n matchAny: 'Match Any',\n addRule: 'Add Rule',\n removeRule: 'Remove Rule',\n accept: 'Yes',\n reject: 'No',\n choose: 'Choose',\n upload: 'Upload',\n cancel: 'Cancel',\n dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n today: 'Today',\n weekHeader: 'Wk',\n firstDayOfWeek: 0,\n dateFormat: 'mm/dd/yy',\n weak: 'Weak',\n medium: 'Medium',\n strong: 'Strong',\n passwordPrompt: 'Enter a password',\n emptyFilterMessage: 'No available options',\n emptyMessage: 'No results found',\n aria: {\n trueLabel: 'True',\n falseLabel: 'False',\n nullLabel: 'Not Selected',\n pageLabel: 'Page',\n firstPageLabel: 'First Page',\n lastPageLabel: 'Last Page',\n nextPageLabel: 'Next Page',\n previousPageLabel: 'Previous Page',\n selectLabel: 'Select',\n unselectLabel: 'Unselect',\n expandLabel: 'Expand',\n collapseLabel: 'Collapse'\n }\n }\n};\nfunction locale(locale) {\n locale && (PrimeReact$1.locale = locale);\n return {\n locale: PrimeReact$1.locale,\n options: locales[PrimeReact$1.locale]\n };\n}\nfunction addLocale(locale, options) {\n locales[locale] = _objectSpread(_objectSpread({}, locales['en']), options);\n}\nfunction updateLocaleOption(key, value, locale) {\n localeOptions(locale)[key] = value;\n}\nfunction updateLocaleOptions(options, locale) {\n var _locale = locale || PrimeReact$1.locale;\n locales[_locale] = _objectSpread(_objectSpread({}, locales[_locale]), options);\n}\nfunction localeOption(key, locale) {\n var _locale = locale || PrimeReact$1.locale;\n try {\n return localeOptions(_locale)[key];\n } catch (error) {\n throw new Error(\"The \".concat(key, \" option is not found in the current locale('\").concat(_locale, \"').\"));\n }\n}\nfunction ariaLabel(key) {\n var _locale = PrimeReact$1.locale;\n try {\n return localeOptions(_locale)['aria'][key];\n } catch (error) {\n throw new Error(\"The \".concat(key, \" option is not found in the current locale('\").concat(_locale, \"').\"));\n }\n}\nfunction localeOptions(locale) {\n var _locale = locale || PrimeReact$1.locale;\n return locales[_locale];\n}\n\nvar MessageSeverity = Object.freeze({\n SUCCESS: 'success',\n INFO: 'info',\n WARN: 'warn',\n ERROR: 'error'\n});\n\nvar PrimeIcons = Object.freeze({\n ALIGN_CENTER: 'pi pi-align-center',\n ALIGN_JUSTIFY: 'pi pi-align-justify',\n ALIGN_LEFT: 'pi pi-align-left',\n ALIGN_RIGHT: 'pi pi-align-right',\n AMAZON: 'pi pi-amazon',\n ANDROID: 'pi pi-android',\n ANGLE_DOUBLE_DOWN: 'pi pi-angle-double-down',\n ANGLE_DOUBLE_LEFT: 'pi pi-angle-double-left',\n ANGLE_DOUBLE_RIGHT: 'pi pi-angle-double-right',\n ANGLE_DOUBLE_UP: 'pi pi-angle-double-up',\n ANGLE_DOWN: 'pi pi-angle-down',\n ANGLE_LEFT: 'pi pi-angle-left',\n ANGLE_RIGHT: 'pi pi-angle-right',\n ANGLE_UP: 'pi pi-angle-up',\n APPLE: 'pi pi-apple',\n ARROW_CIRCLE_DOWN: 'pi pi-arrow-circle-down',\n ARROW_CIRCLE_LEFT: 'pi pi-arrow-circle-left',\n ARROW_CIRCLE_RIGHT: 'pi pi-arrow-circle-right',\n ARROW_CIRCLE_UP: 'pi pi-arrow-circle-up',\n ARROW_DOWN: 'pi pi-arrow-down',\n ARROW_DOWN_LEFT: 'pi pi-arrow-down-left',\n ARROW_DOWN_RIGHT: 'pi pi-arrow-down-right',\n ARROW_LEFT: 'pi pi-arrow-left',\n ARROW_RIGHT: 'pi pi-arrow-right',\n ARROW_UP: 'pi pi-arrow-up',\n ARROW_UP_LEFT: 'pi pi-arrow-up-left',\n ARROW_UP_RIGHT: 'pi pi-arrow-up-right',\n ARROWS_H: 'pi pi-arrows-h',\n ARROWS_V: 'pi pi-arrows-v',\n AT: 'pi pi-at',\n BACKWARD: 'pi pi-backward',\n BAN: 'pi pi-ban',\n BARS: 'pi pi-bars',\n BELL: 'pi pi-bell',\n BOLT: 'pi pi-bolt',\n BOOK: 'pi pi-book',\n BOOKMARK: 'pi pi-bookmark',\n BOOKMARK_FILL: 'pi pi-bookmark-fill',\n BOX: 'pi pi-box',\n BRIEFCASE: 'pi pi-briefcase',\n BUILDING: 'pi pi-building',\n CALENDAR: 'pi pi-calendar',\n CALENDAR_MINUS: 'pi pi-calendar-minus',\n CALENDAR_PLUS: 'pi pi-calendar-plus',\n CALENDAR_TIMES: 'pi pi-calendar-times',\n CAMERA: 'pi pi-camera',\n CAR: 'pi pi-car',\n CARET_DOWN: 'pi pi-caret-down',\n CARET_LEFT: 'pi pi-caret-left',\n CARET_RIGHT: 'pi pi-caret-right',\n CARET_UP: 'pi pi-caret-up',\n CHART_BAR: 'pi pi-chart-bar',\n CHART_LINE: 'pi pi-chart-line',\n CHART_PIE: 'pi pi-chart-pie',\n CHECK: 'pi pi-check',\n CHECK_CIRCLE: 'pi pi-check-circle',\n CHECK_SQUARE: 'pi pi-check-square',\n CHEVRON_CIRCLE_DOWN: 'pi pi-chevron-circle-down',\n CHEVRON_CIRCLE_LEFT: 'pi pi-chevron-circle-left',\n CHEVRON_CIRCLE_RIGHT: 'pi pi-chevron-circle-right',\n CHEVRON_CIRCLE_UP: 'pi pi-chevron-circle-up',\n CHEVRON_DOWN: 'pi pi-chevron-down',\n CHEVRON_LEFT: 'pi pi-chevron-left',\n CHEVRON_RIGHT: 'pi pi-chevron-right',\n CHEVRON_UP: 'pi pi-chevron-up',\n CIRCLE: 'pi pi-circle',\n CIRCLE_FILL: 'pi pi-circle-fill',\n CLOCK: 'pi pi-clock',\n CLONE: 'pi pi-clone',\n CLOUD: 'pi pi-cloud',\n CLOUD_DOWNLOAD: 'pi pi-cloud-download',\n CLOUD_UPLOAD: 'pi pi-cloud-upload',\n CODE: 'pi pi-code',\n COG: 'pi pi-cog',\n COMMENT: 'pi pi-comment',\n COMMENTS: 'pi pi-comments',\n COMPASS: 'pi pi-compass',\n COPY: 'pi pi-copy',\n CREDIT_CARD: 'pi pi-credit-card',\n DATABASE: 'pi pi-database',\n DESKTOP: 'pi pi-desktop',\n DIRECTIONS: 'pi pi-directions',\n DIRECTIONS_ALT: 'pi pi-directions-alt',\n DISCORD: 'pi pi-discord',\n DOLLAR: 'pi pi-dollar',\n DOWNLOAD: 'pi pi-download',\n EJECT: 'pi pi-eject',\n ELLIPSIS_H: 'pi pi-ellipsis-h',\n ELLIPSIS_V: 'pi pi-ellipsis-v',\n ENVELOPE: 'pi pi-envelope',\n EURO: 'pi pi-euro',\n EXCLAMATION_CIRCLE: 'pi pi-exclamation-circle',\n EXCLAMATION_TRIANGLE: 'pi pi-exclamation-triangle',\n EXTERNAL_LINK: 'pi pi-external-link',\n EYE: 'pi pi-eye',\n EYE_SLASH: 'pi pi-eye-slash',\n FACEBOOK: 'pi pi-facebook',\n FAST_BACKWARD: 'pi pi-fast-backward',\n FAST_FORWARD: 'pi pi-fast-forward',\n FILE: 'pi pi-file',\n FILE_EXCEL: 'pi pi-file-excel',\n FILE_PDF: 'pi pi-file-pdf',\n FILTER: 'pi pi-filter',\n FILTER_FILL: 'pi pi-filter-fill',\n FILTER_SLASH: 'pi pi-filter-slash',\n FLAG: 'pi pi-flag',\n FLAG_FILL: 'pi pi-flag-fill',\n FOLDER: 'pi pi-folder',\n FOLDER_OPEN: 'pi pi-folder-open',\n FORWARD: 'pi pi-forward',\n GITHUB: 'pi pi-github',\n GLOBE: 'pi pi-globe',\n GOOGLE: 'pi pi-google',\n HASHTAG: 'pi pi-hashtag',\n HEART: 'pi pi-heart',\n HEART_FILL: 'pi pi-heart-fill',\n HISTORY: 'pi pi-history',\n HOME: 'pi pi-home',\n ID_CARD: 'pi pi-id-card',\n IMAGE: 'pi pi-image',\n IMAGES: 'pi pi-images',\n INBOX: 'pi pi-inbox',\n INFO: 'pi pi-info',\n INFO_CIRCLE: 'pi pi-info-circle',\n INSTAGRAM: 'pi pi-instagram',\n KEY: 'pi pi-key',\n LINK: 'pi pi-link',\n LINKEDIN: 'pi pi-linkedin',\n LIST: 'pi pi-list',\n LOCK: 'pi pi-lock',\n LOCK_OPEN: 'pi pi-lock-open',\n MAP: 'pi pi-map',\n MAP_MARKER: 'pi pi-map-marker',\n MICROSOFT: 'pi pi-microsoft',\n MINUS: 'pi pi-minus',\n MINUS_CIRCLE: 'pi pi-minus-circle',\n MOBILE: 'pi pi-mobile',\n MONEY_BILL: 'pi pi-money-bill',\n MOON: 'pi pi-moon',\n PALETTE: 'pi pi-palette',\n PAPERCLIP: 'pi pi-paperclip',\n PAUSE: 'pi pi-pause',\n PAYPAL: 'pi pi-paypal',\n PENCIL: 'pi pi-pencil',\n PERCENTAGE: 'pi pi-percentage',\n PHONE: 'pi pi-phone',\n PLAY: 'pi pi-play',\n PLUS: 'pi pi-plus',\n PLUS_CIRCLE: 'pi pi-plus-circle',\n POUND: 'pi pi-pound',\n POWER_OFF: 'pi pi-power-off',\n PRIME: 'pi pi-prime',\n PRINT: 'pi pi-print',\n QRCODE: 'pi pi-qrcode',\n QUESTION: 'pi pi-question',\n QUESTION_CIRCLE: 'pi pi-question-circle',\n REDDIT: 'pi pi-reddit',\n REFRESH: 'pi pi-refresh',\n REPLAY: 'pi pi-replay',\n REPLY: 'pi pi-reply',\n SAVE: 'pi pi-save',\n SEARCH: 'pi pi-search',\n SEARCH_MINUS: 'pi pi-search-minus',\n SEARCH_PLUS: 'pi pi-search-plus',\n SEND: 'pi pi-send',\n SERVER: 'pi pi-server',\n SHARE_ALT: 'pi pi-share-alt',\n SHIELD: 'pi pi-shield',\n SHOPPING_BAG: 'pi pi-shopping-bag',\n SHOPPING_CART: 'pi pi-shopping-cart',\n SIGN_IN: 'pi pi-sign-in',\n SIGN_OUT: 'pi pi-sign-out',\n SITEMAP: 'pi pi-sitemap',\n SLACK: 'pi pi-slack',\n SLIDERS_H: 'pi pi-sliders-h',\n SLIDERS_V: 'pi pi-sliders-v',\n SORT: 'pi pi-sort',\n SORT_ALPHA_DOWN: 'pi pi-sort-alpha-down',\n SORT_ALPHA_ALT_DOWN: 'pi pi-sort-alpha-alt-down',\n SORT_ALPHA_UP: 'pi pi-sort-alpha-up',\n SORT_ALPHA_ALT_UP: 'pi pi-sort-alpha-alt-up',\n SORT_ALT: 'pi pi-sort-alt',\n SORT_ALT_SLASH: 'pi pi-sort-slash',\n SORT_AMOUNT_DOWN: 'pi pi-sort-amount-down',\n SORT_AMOUNT_DOWN_ALT: 'pi pi-sort-amount-down-alt',\n SORT_AMOUNT_UP: 'pi pi-sort-amount-up',\n SORT_AMOUNT_UP_ALT: 'pi pi-sort-amount-up-alt',\n SORT_DOWN: 'pi pi-sort-down',\n SORT_NUMERIC_DOWN: 'pi pi-sort-numeric-down',\n SORT_NUMERIC_ALT_DOWN: 'pi pi-sort-numeric-alt-down',\n SORT_NUMERIC_UP: 'pi pi-sort-numeric-up',\n SORT_NUMERIC_ALT_UP: 'pi pi-sort-numeric-alt-up',\n SORT_UP: 'pi pi-sort-up',\n SPINNER: 'pi pi-spinner',\n STAR: 'pi pi-star',\n STAR_FILL: 'pi pi-star-fill',\n STEP_BACKWARD: 'pi pi-step-backward',\n STEP_BACKWARD_ALT: 'pi pi-step-backward-alt',\n STEP_FORWARD: 'pi pi-step-forward',\n STEP_FORWARD_ALT: 'pi pi-step-forward-alt',\n STOP: 'pi pi-stop',\n STOP_CIRCLE: 'pi pi-stop-circle',\n SUN: 'pi pi-sun',\n SYNC: 'pi pi-sync',\n TABLE: 'pi pi-table',\n TABLET: 'pi pi-tablet',\n TAG: 'pi pi-tag',\n TAGS: 'pi pi-tags',\n TELEGRAM: 'pi pi-telegram',\n TH_LARGE: 'pi pi-th-large',\n THUMBS_DOWN: 'pi pi-thumbs-down',\n THUMBS_UP: 'pi pi-thumbs-up',\n TICKET: 'pi pi-ticket',\n TIMES: 'pi pi-times',\n TIMES_CIRCLE: 'pi pi-times-circle',\n TRASH: 'pi pi-trash',\n TWITTER: 'pi pi-twitter',\n UNDO: 'pi pi-undo',\n UNLOCK: 'pi pi-unlock',\n UPLOAD: 'pi pi-upload',\n USER: 'pi pi-user',\n USER_EDIT: 'pi pi-user-edit',\n USER_MINUS: 'pi pi-user-minus',\n USER_PLUS: 'pi pi-user-plus',\n USERS: 'pi pi-users',\n VIDEO: 'pi pi-video',\n VIMEO: 'pi pi-vimeo',\n VOLUME_DOWN: 'pi pi-volume-down',\n VOLUME_OFF: 'pi pi-volume-off',\n VOLUME_UP: 'pi pi-volume-up',\n WALLET: 'pi pi-wallet',\n WHATSAPP: 'pi pi-whatsapp',\n WIFI: 'pi pi-wifi',\n WINDOW_MAXIMIZE: 'pi pi-window-maximize',\n WINDOW_MINIMIZE: 'pi pi-window-minimize',\n YOUTUBE: 'pi pi-youtube'\n});\n\nvar SortOrder = Object.freeze({\n DESC: -1,\n UNSORTED: 0,\n ASC: 1\n});\n\nvar PrimeReact = PrimeReact$1;\n\nexport { FilterMatchMode, FilterOperator, FilterService, MessageSeverity, PrimeIcons, SortOrder, addLocale, ariaLabel, PrimeReact as default, locale, localeOption, localeOptions, updateLocaleOption, updateLocaleOptions };\n","import * as React from 'react';\nimport { DomHandler, ObjectUtils } from 'primereact/utils';\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\n\nvar usePrevious = function usePrevious(newValue) {\n var ref = React.useRef(undefined);\n React.useEffect(function () {\n ref.current = newValue;\n });\n return ref.current;\n};\n\n/* eslint-disable */\nvar useUnmountEffect = function useUnmountEffect(fn) {\n return React.useEffect(function () {\n return fn;\n }, []);\n};\n/* eslint-enable */\n\n/* eslint-disable */\nvar useEventListener = function useEventListener(_ref) {\n var _ref$target = _ref.target,\n target = _ref$target === void 0 ? 'document' : _ref$target,\n type = _ref.type,\n listener = _ref.listener,\n options = _ref.options,\n _ref$when = _ref.when,\n when = _ref$when === void 0 ? true : _ref$when;\n var targetRef = React.useRef(null);\n var listenerRef = React.useRef(null);\n var prevOptions = usePrevious(options);\n var bind = function bind() {\n var bindOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n if (ObjectUtils.isNotEmpty(bindOptions.target)) {\n unbind();\n (bindOptions.when || when) && (targetRef.current = DomHandler.getTargetElement(bindOptions.target));\n }\n if (!listenerRef.current && targetRef.current) {\n listenerRef.current = function (event) {\n return listener && listener(event);\n };\n targetRef.current.addEventListener(type, listenerRef.current, options);\n }\n };\n var unbind = function unbind() {\n if (listenerRef.current) {\n targetRef.current.removeEventListener(type, listenerRef.current, options);\n listenerRef.current = null;\n }\n };\n React.useEffect(function () {\n if (when) {\n targetRef.current = DomHandler.getTargetElement(target);\n } else {\n unbind();\n targetRef.current = null;\n }\n }, [target, when]);\n React.useEffect(function () {\n if (listenerRef.current && (listenerRef.current !== listener || prevOptions !== options)) {\n unbind();\n when && bind();\n }\n }, [listener, options]);\n useUnmountEffect(function () {\n unbind();\n });\n return [bind, unbind];\n};\n/* eslint-enable */\n\nvar useClickOutside = function useClickOutside(ref, callback) {\n var isOutsideClicked = function isOutsideClicked(event) {\n if (!ref.current || ref.current.contains(event.target)) {\n return;\n }\n callback(event);\n };\n var _useEventListener = useEventListener({\n type: 'mousedown',\n listener: isOutsideClicked\n }),\n _useEventListener2 = _slicedToArray(_useEventListener, 2),\n bindMouseDownListener = _useEventListener2[0],\n unbindMouseDownListener = _useEventListener2[1];\n var _useEventListener3 = useEventListener({\n type: 'touchstart',\n listener: isOutsideClicked\n }),\n _useEventListener4 = _slicedToArray(_useEventListener3, 2),\n bindTouchStartListener = _useEventListener4[0],\n unbindTouchStartListener = _useEventListener4[1];\n React.useEffect(function () {\n if (!ref.current) {\n return;\n }\n bindMouseDownListener();\n bindTouchStartListener();\n return function () {\n unbindMouseDownListener();\n unbindTouchStartListener();\n };\n });\n return [ref, callback];\n};\n\nvar useCounter = function useCounter() {\n var initialValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n step: 1\n };\n var _React$useState = React.useState(initialValue),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n count = _React$useState2[0],\n setCount = _React$useState2[1];\n var increment = function increment() {\n if (options.max && count >= options.max) {\n return;\n }\n setCount(count + options.step);\n };\n var decrement = function decrement() {\n if (options.min || options.min === 0 && count <= options.min) {\n return null;\n }\n setCount(count - options.step);\n };\n var reset = function reset() {\n setCount(0);\n };\n return {\n count: count,\n increment: increment,\n decrement: decrement,\n reset: reset\n };\n};\n\n/* eslint-disable */\nvar useTimeout = function useTimeout(fn) {\n var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var when = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n var timeout = React.useRef(null);\n var savedCallback = React.useRef(null);\n var clear = React.useCallback(function () {\n return clearTimeout(timeout.current);\n }, [timeout.current]);\n React.useEffect(function () {\n savedCallback.current = fn;\n });\n React.useEffect(function () {\n function callback() {\n savedCallback.current();\n }\n if (when) {\n timeout.current = setTimeout(callback, delay);\n return clear;\n } else {\n clear();\n }\n }, [delay, when]);\n useUnmountEffect(function () {\n clear();\n });\n return [clear];\n};\n/* eslint-enable */\n\nvar useDebounce = function useDebounce(initialValue, delay) {\n var _React$useState = React.useState(initialValue),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n inputValue = _React$useState2[0],\n setInputValue = _React$useState2[1];\n var _React$useState3 = React.useState(initialValue),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n debouncedValue = _React$useState4[0],\n setDebouncedValue = _React$useState4[1];\n useTimeout(function () {\n setDebouncedValue(inputValue);\n }, delay, inputValue !== debouncedValue);\n return [inputValue, debouncedValue, setInputValue];\n};\n\nvar TYPE_MAP = {\n ico: 'image/x-icon',\n png: 'image/png',\n svg: 'image/svg+xml',\n gif: 'image/gif'\n};\nvar useFavicon = function useFavicon() {\n var newIcon = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var rel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'shortcut icon';\n React.useLayoutEffect(function () {\n if (newIcon) {\n var linkElements = document.querySelectorAll(\"link[rel*='icon']\");\n linkElements.forEach(function (linkEl) {\n document.head.removeChild(linkEl);\n });\n var link = document.createElement('link');\n link.setAttribute('type', TYPE_MAP[newIcon.split('.').pop()]);\n link.setAttribute('rel', rel);\n link.setAttribute('href', newIcon);\n document.head.appendChild(link);\n }\n }, [newIcon, rel]);\n};\n\nvar useIntersectionObserver = function useIntersectionObserver(ref) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n isElementVisible = _React$useState2[0],\n setIsElementVisible = _React$useState2[1];\n React.useEffect(function () {\n if (!ref.current) return;\n var observer = new IntersectionObserver(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n entry = _ref2[0];\n setIsElementVisible(entry.isIntersecting);\n }, options);\n observer.observe(ref.current);\n return function () {\n observer.disconnect();\n };\n }, [options, ref]);\n return isElementVisible;\n};\n\n/* eslint-disable */\nvar useInterval = function useInterval(fn) {\n var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var when = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n var timeout = React.useRef(null);\n var savedCallback = React.useRef(null);\n var clear = React.useCallback(function () {\n return clearInterval(timeout.current);\n }, [timeout.current]);\n React.useEffect(function () {\n savedCallback.current = fn;\n });\n React.useEffect(function () {\n function callback() {\n savedCallback.current();\n }\n if (when) {\n timeout.current = setInterval(callback, delay);\n return clear;\n } else {\n clear();\n }\n }, [delay, when]);\n useUnmountEffect(function () {\n clear();\n });\n return [clear];\n};\n/* eslint-enable */\n\nvar useMatchMedia = function useMatchMedia(query) {\n var when = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n matches = _React$useState2[0],\n setMatches = _React$useState2[1];\n var matchMedia = React.useRef(null);\n var handleChange = function handleChange(e) {\n return setMatches(e.matches);\n };\n var bind = function bind() {\n return matchMedia.current && matchMedia.current.addEventListener('change', handleChange);\n };\n var unbind = function unbind() {\n return matchMedia.current && matchMedia.current.removeEventListener('change', handleChange) && (matchMedia.current = null);\n };\n React.useEffect(function () {\n if (when) {\n matchMedia.current = window.matchMedia(query);\n setMatches(matchMedia.current.matches);\n bind();\n }\n return unbind;\n }, [query, when]);\n return matches;\n};\n/* eslint-enable */\n\n/* eslint-disable */\nvar useMountEffect = function useMountEffect(fn) {\n return React.useEffect(fn, []);\n};\n/* eslint-enable */\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\n\nfunction _toPropertyKey(arg) {\n var key = _toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\n\nfunction _defineProperty(obj, key, value) {\n key = _toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nfunction ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar useMouse = function useMouse() {\n var _React$useState = React.useState({\n x: 0,\n y: 0\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n position = _React$useState2[0],\n setPosition = _React$useState2[1];\n var ref = React.useRef(null);\n var handleMouseMove = React.useCallback(function (event) {\n var x, y;\n if (ref.current) {\n var rect = event.currentTarget.getBoundingClientRect();\n x = event.pageX - rect.left - (window.pageXOffset || window.scrollX);\n y = event.pageY - rect.top - (window.pageYOffset || window.scrollY);\n } else {\n x = event.clientX;\n y = event.clientY;\n }\n setPosition({\n x: Math.max(0, Math.round(x)),\n y: Math.max(0, Math.round(y))\n });\n }, []);\n var _useEventListener = useEventListener({\n target: ref,\n type: 'mousemove',\n listener: handleMouseMove\n }),\n _useEventListener2 = _slicedToArray(_useEventListener, 2),\n bindMouseMoveEventListener = _useEventListener2[0],\n unbindMouseMoveEventListener = _useEventListener2[1];\n var _useEventListener3 = useEventListener({\n type: 'mousemove',\n listener: handleMouseMove\n }),\n _useEventListener4 = _slicedToArray(_useEventListener3, 2),\n bindDocumentMoveEventListener = _useEventListener4[0],\n unbindDocumentMoveEventListener = _useEventListener4[1];\n var reset = function reset() {\n return setPosition({\n x: 0,\n y: 0\n });\n };\n React.useEffect(function () {\n bindMouseMoveEventListener();\n if (!ref.current) {\n bindDocumentMoveEventListener();\n }\n return function () {\n unbindMouseMoveEventListener();\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n if (!ref.current) {\n unbindDocumentMoveEventListener();\n }\n };\n }, [bindDocumentMoveEventListener, bindMouseMoveEventListener, unbindDocumentMoveEventListener, unbindMouseMoveEventListener]);\n return _objectSpread$1(_objectSpread$1({\n ref: ref\n }, position), {}, {\n reset: reset\n });\n};\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction useMove(_ref) {\n var _ref$mode = _ref.mode,\n mode = _ref$mode === void 0 ? 'both' : _ref$mode,\n _ref$initialValue = _ref.initialValue,\n initialValue = _ref$initialValue === void 0 ? {\n x: 0,\n y: 0\n } : _ref$initialValue;\n var _React$useState = React.useState(initialValue),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n positions = _React$useState2[0],\n setPositions = _React$useState2[1];\n var _React$useState3 = React.useState(false),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n active = _React$useState4[0],\n setActive = _React$useState4[1];\n var isMounted = React.useRef(false);\n var isSliding = React.useRef(false);\n var ref = React.useRef(null);\n var onMouseMove = function onMouseMove(event) {\n return updateMousePosition({\n x: event.clientX,\n y: event.clientY\n });\n };\n var handlePositionChange = function handlePositionChange(_ref2) {\n var clampedX = _ref2.clampedX,\n clampedY = _ref2.clampedY;\n if (mode === 'vertical') {\n setPositions({\n y: 1 - clampedY\n });\n } else if (mode === 'horizontal') {\n setPositions({\n x: clampedX\n });\n } else if (mode === 'both') {\n setPositions({\n x: clampedX,\n y: clampedY\n });\n }\n };\n var onMouseDown = function onMouseDown(event) {\n startScrubbing();\n event.preventDefault();\n onMouseMove(event);\n };\n var stopScrubbing = function stopScrubbing() {\n if (isSliding.current && isMounted.current) {\n isSliding.current = false;\n setActive(false);\n unbindListeners();\n }\n };\n var onTouchMove = function onTouchMove(event) {\n if (event.cancelable) {\n event.preventDefault();\n }\n updateMousePosition({\n x: event.changedTouches[0].clientX,\n y: event.changedTouches[0].clientY\n });\n };\n var onTouchStart = function onTouchStart(event) {\n if (event.cancelable) {\n event.preventDefault();\n }\n startScrubbing();\n onTouchMove(event);\n };\n var _useEventListener = useEventListener({\n type: 'mousemove',\n listener: onMouseMove\n }),\n _useEventListener2 = _slicedToArray(_useEventListener, 2),\n bindDocumentMouseMoveListener = _useEventListener2[0],\n unbindDocumentMouseMoveListener = _useEventListener2[1];\n var _useEventListener3 = useEventListener({\n type: 'mouseup',\n listener: stopScrubbing\n }),\n _useEventListener4 = _slicedToArray(_useEventListener3, 2),\n bindDocumentMouseUpListener = _useEventListener4[0],\n unbindDocumentMouseUpListener = _useEventListener4[1];\n var _useEventListener5 = useEventListener({\n type: 'touchmove',\n listener: onTouchMove\n }),\n _useEventListener6 = _slicedToArray(_useEventListener5, 2),\n bindDocumentTouchMoveListener = _useEventListener6[0],\n unbindDocumentTouchMoveListener = _useEventListener6[1];\n var _useEventListener7 = useEventListener({\n type: 'touchend',\n listener: stopScrubbing\n }),\n _useEventListener8 = _slicedToArray(_useEventListener7, 2),\n bindDocumentTouchEndListener = _useEventListener8[0],\n unbindDocumentTouchEndListener = _useEventListener8[1];\n var _useEventListener9 = useEventListener({\n target: ref,\n type: 'mousedown',\n listener: onMouseDown\n }),\n _useEventListener10 = _slicedToArray(_useEventListener9, 2),\n bindMouseDownListener = _useEventListener10[0],\n unbindMouseDownListener = _useEventListener10[1];\n var _useEventListener11 = useEventListener({\n target: ref,\n type: 'touchstart',\n listener: onTouchStart,\n options: {\n passive: false\n }\n }),\n _useEventListener12 = _slicedToArray(_useEventListener11, 2),\n bindTouchStartListener = _useEventListener12[0],\n unbindTouchStartListener = _useEventListener12[1];\n var clamp = function clamp(value, min, max) {\n return Math.min(Math.max(value, min), max);\n };\n var clampPositions = function clampPositions(_ref3) {\n var x = _ref3.x,\n y = _ref3.y;\n return {\n clampedX: clamp(x, 0, 1),\n clampedY: clamp(y, 0, 1)\n };\n };\n var bindListeners = function bindListeners() {\n bindDocumentMouseMoveListener();\n bindDocumentMouseUpListener();\n bindDocumentTouchMoveListener();\n bindDocumentTouchEndListener();\n };\n var unbindListeners = function unbindListeners() {\n unbindDocumentMouseMoveListener();\n unbindDocumentMouseUpListener();\n unbindDocumentTouchMoveListener();\n unbindDocumentTouchEndListener();\n };\n var reset = function reset() {\n setPositions(initialValue);\n };\n React.useEffect(function () {\n isMounted.current = true;\n }, []);\n var startScrubbing = function startScrubbing() {\n if (!isSliding.current && isMounted.current) {\n isSliding.current = true;\n setActive(true);\n bindListeners();\n }\n };\n var updateMousePosition = function updateMousePosition(_ref4) {\n var x = _ref4.x,\n y = _ref4.y;\n if (isSliding.current) {\n var rect = ref.current.getBoundingClientRect();\n var _clampPositions = clampPositions({\n x: (x - rect.left) / rect.width,\n y: (y - rect.top) / rect.height\n }),\n clampedX = _clampPositions.clampedX,\n clampedY = _clampPositions.clampedY;\n handlePositionChange({\n clampedX: clampedX,\n clampedY: clampedY\n });\n }\n };\n React.useEffect(function () {\n if (ref.current) {\n bindMouseDownListener();\n bindTouchStartListener();\n }\n return function () {\n if (ref.current) {\n unbindMouseDownListener();\n unbindTouchStartListener();\n }\n };\n }, [bindMouseDownListener, bindTouchStartListener, positions, unbindMouseDownListener, unbindTouchStartListener]);\n return _objectSpread(_objectSpread({\n ref: ref\n }, positions), {}, {\n active: active,\n reset: reset\n });\n}\n\n/* eslint-disable */\nvar useOverlayScrollListener = function useOverlayScrollListener(_ref) {\n var target = _ref.target,\n listener = _ref.listener,\n options = _ref.options,\n _ref$when = _ref.when,\n when = _ref$when === void 0 ? true : _ref$when;\n var targetRef = React.useRef(null);\n var listenerRef = React.useRef(null);\n var scrollableParents = React.useRef([]);\n var prevOptions = usePrevious(options);\n var bind = function bind() {\n var bindOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n if (ObjectUtils.isNotEmpty(bindOptions.target)) {\n unbind();\n (bindOptions.when || when) && (targetRef.current = DomHandler.getTargetElement(bindOptions.target));\n }\n if (!listenerRef.current && targetRef.current) {\n var nodes = scrollableParents.current = DomHandler.getScrollableParents(targetRef.current);\n listenerRef.current = function (event) {\n return listener && listener(event);\n };\n nodes.forEach(function (node) {\n return node.addEventListener('scroll', listenerRef.current, options);\n });\n }\n };\n var unbind = function unbind() {\n if (listenerRef.current) {\n var nodes = scrollableParents.current;\n nodes.forEach(function (node) {\n return node.removeEventListener('scroll', listenerRef.current, options);\n });\n listenerRef.current = null;\n }\n };\n React.useEffect(function () {\n if (when) {\n targetRef.current = DomHandler.getTargetElement(target);\n } else {\n unbind();\n targetRef.current = null;\n }\n }, [target, when]);\n React.useEffect(function () {\n if (listenerRef.current && (listenerRef.current !== listener || prevOptions !== options)) {\n unbind();\n when && bind();\n }\n }, [listener, options]);\n useUnmountEffect(function () {\n unbind();\n });\n return [bind, unbind];\n};\n/* eslint-enable */\n\nvar useResizeListener = function useResizeListener(_ref) {\n var listener = _ref.listener,\n _ref$when = _ref.when,\n when = _ref$when === void 0 ? true : _ref$when;\n return useEventListener({\n target: 'window',\n type: 'resize',\n listener: listener,\n when: when\n });\n};\n\nvar useOverlayListener = function useOverlayListener(_ref) {\n var target = _ref.target,\n overlay = _ref.overlay,\n _listener = _ref.listener,\n _ref$when = _ref.when,\n when = _ref$when === void 0 ? true : _ref$when;\n var targetRef = React.useRef(null);\n var overlayRef = React.useRef(null);\n\n /**\n * The parameters of the 'listener' method in the following event handlers;\n * @param {Event} event A click event of the document.\n * @param {string} options.type The custom type to detect event.\n * @param {boolean} options.valid It is controlled by PrimeReact. It is determined whether it is valid or not according to some custom validation.\n */\n var _useEventListener = useEventListener({\n type: 'click',\n listener: function listener(event) {\n _listener && _listener(event, {\n type: 'outside',\n valid: event.which !== 3 && isOutsideClicked(event)\n });\n }\n }),\n _useEventListener2 = _slicedToArray(_useEventListener, 2),\n bindDocumentClickListener = _useEventListener2[0],\n unbindDocumentClickListener = _useEventListener2[1];\n var _useResizeListener = useResizeListener({\n listener: function listener(event) {\n _listener && _listener(event, {\n type: 'resize',\n valid: !DomHandler.isTouchDevice()\n });\n }\n }),\n _useResizeListener2 = _slicedToArray(_useResizeListener, 2),\n bindWindowResizeListener = _useResizeListener2[0],\n unbindWindowResizeListener = _useResizeListener2[1];\n var _useEventListener3 = useEventListener({\n target: 'window',\n type: 'orientationchange',\n listener: function listener(event) {\n _listener && _listener(event, {\n type: 'orientationchange',\n valid: true\n });\n }\n }),\n _useEventListener4 = _slicedToArray(_useEventListener3, 2),\n bindWindowOrientationChangeListener = _useEventListener4[0],\n unbindWindowOrientationChangeListener = _useEventListener4[1];\n var _useOverlayScrollList = useOverlayScrollListener({\n target: target,\n listener: function listener(event) {\n _listener && _listener(event, {\n type: 'scroll',\n valid: true\n });\n }\n }),\n _useOverlayScrollList2 = _slicedToArray(_useOverlayScrollList, 2),\n bindOverlayScrollListener = _useOverlayScrollList2[0],\n unbindOverlayScrollListener = _useOverlayScrollList2[1];\n var isOutsideClicked = function isOutsideClicked(event) {\n return targetRef.current && !(targetRef.current.isSameNode(event.target) || targetRef.current.contains(event.target) || overlayRef.current && overlayRef.current.contains(event.target));\n };\n var bind = function bind() {\n bindDocumentClickListener();\n bindWindowResizeListener();\n bindWindowOrientationChangeListener();\n bindOverlayScrollListener();\n };\n var unbind = function unbind() {\n unbindDocumentClickListener();\n unbindWindowResizeListener();\n unbindWindowOrientationChangeListener();\n unbindOverlayScrollListener();\n };\n React.useEffect(function () {\n if (when) {\n targetRef.current = DomHandler.getTargetElement(target);\n overlayRef.current = DomHandler.getTargetElement(overlay);\n } else {\n unbind();\n targetRef.current = overlayRef.current = null;\n }\n }, [target, overlay, when]);\n React.useEffect(function () {\n unbind();\n }, [when]);\n useUnmountEffect(function () {\n unbind();\n });\n return [bind, unbind];\n};\n/* eslint-enable */\n\n/**\n * Hook to wrap around useState that stores the value in the browser local/session storage.\n *\n * @param {any} initialValue the initial value to store\n * @param {string} key the key to store the value in local/session storage\n * @param {string} storage either 'local' or 'session' for what type of storage\n * @returns a stateful value, and a function to update it.\n */\nvar useStorage = function useStorage(initialValue, key) {\n var storage = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'local';\n // Since the local storage API isn't available in server-rendering environments,\n // we check that typeof window !== 'undefined' to make SSR and SSG work properly.\n var storageAvailable = typeof window !== 'undefined';\n\n // subscribe to window storage event so changes in one tab to a stored value\n // are properly reflected in all tabs\n var _useEventListener = useEventListener({\n target: 'window',\n type: 'storage',\n listener: function listener(event) {\n var area = storage === 'local' ? window.localStorage : window.sessionStorage;\n if (event.storageArea === area && event.key === key) {\n setStoredValue(event.newValue || undefined);\n }\n }\n }),\n _useEventListener2 = _slicedToArray(_useEventListener, 2),\n bindWindowStorageListener = _useEventListener2[0],\n unbindWindowStorageListener = _useEventListener2[1];\n var _React$useState = React.useState(undefined),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n storedValue = _React$useState2[0],\n setStoredValue = _React$useState2[1];\n var setValue = function setValue(value) {\n try {\n // Allow value to be a function so we have same API as useState\n var valueToStore = value instanceof Function ? value(storedValue) : value;\n setStoredValue(valueToStore);\n if (storageAvailable) {\n var serializedValue = JSON.stringify(valueToStore);\n storage === 'local' ? window.localStorage.setItem(key, serializedValue) : window.sessionStorage.setItem(key, serializedValue);\n }\n } catch (error) {\n throw new Error(\"PrimeReact useStorage: Failed to serialize the value at key: \".concat(key));\n }\n };\n React.useEffect(function () {\n if (!storageAvailable) {\n setStoredValue(initialValue);\n }\n try {\n var item = storage === 'local' ? window.localStorage.getItem(key) : window.sessionStorage.getItem(key);\n setStoredValue(item ? JSON.parse(item) : initialValue);\n } catch (error) {\n // If error also return initialValue\n setStoredValue(initialValue);\n }\n bindWindowStorageListener();\n return function () {\n return unbindWindowStorageListener();\n };\n }, []);\n return [storedValue, setValue];\n};\n\n/**\n * Hook to wrap around useState that stores the value in the browser local storage.\n *\n * @param {any} initialValue the initial value to store\n * @param {string} key the key to store the value in local storage\n * @returns a stateful value, and a function to update it.\n */\nvar useLocalStorage = function useLocalStorage(initialValue, key) {\n return useStorage(initialValue, key, 'local');\n};\n\n/**\n * Hook to wrap around useState that stores the value in the browser session storage.\n *\n * @param {any} initialValue the initial value to store\n * @param {string} key the key to store the value in session storage\n * @returns a stateful value, and a function to update it.\n */\nvar useSessionStorage = function useSessionStorage(initialValue, key) {\n return useStorage(initialValue, key, 'session');\n};\n/* eslint-enable */\n\n/* eslint-disable */\nvar useUpdateEffect = function useUpdateEffect(fn, deps) {\n var mounted = React.useRef(false);\n return React.useEffect(function () {\n if (!mounted.current) {\n mounted.current = true;\n return;\n }\n return fn && fn();\n }, deps);\n};\n/* eslint-enable */\n\nexport { useClickOutside, useCounter, useDebounce, useEventListener, useFavicon, useIntersectionObserver, useInterval, useLocalStorage, useMatchMedia, useMountEffect, useMouse, useMove, useOverlayListener, useOverlayScrollListener, usePrevious, useResizeListener, useSessionStorage, useStorage, useTimeout, useUnmountEffect, useUpdateEffect };\n","import * as React from 'react';\nimport PrimeReact from 'primereact/api';\nimport { useMountEffect, useUpdateEffect, useUnmountEffect } from 'primereact/hooks';\nimport { DomHandler } from 'primereact/utils';\n\nvar Ripple = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function () {\n var inkRef = React.useRef(null);\n var targetRef = React.useRef(null);\n var getTarget = function getTarget() {\n return inkRef.current && inkRef.current.parentElement;\n };\n var bindEvents = function bindEvents() {\n if (targetRef.current) {\n targetRef.current.addEventListener('mousedown', onMouseDown);\n DomHandler.isTouchDevice() && targetRef.current.addEventListener('touchstart', onTouchStart);\n }\n };\n var unbindEvents = function unbindEvents() {\n if (targetRef.current) {\n targetRef.current.removeEventListener('mousedown', onMouseDown);\n DomHandler.isTouchDevice() && targetRef.current.removeEventListener('touchstart', onTouchStart);\n }\n };\n var onTouchStart = function onTouchStart(event) {\n var offset = DomHandler.getOffset(targetRef.current);\n var offsetX = event.targetTouches[0].pageX - offset.left + document.body.scrollTop - DomHandler.getWidth(inkRef.current) / 2;\n var offsetY = event.targetTouches[0].pageY - offset.top + document.body.scrollLeft - DomHandler.getHeight(inkRef.current) / 2;\n activateRipple(offsetX, offsetY);\n };\n var onMouseDown = function onMouseDown(event) {\n if (DomHandler.isTouchDevice()) {\n // already started ripple with onTouchStart\n return;\n }\n var offset = DomHandler.getOffset(targetRef.current);\n var offsetX = event.pageX - offset.left + document.body.scrollTop - DomHandler.getWidth(inkRef.current) / 2;\n var offsetY = event.pageY - offset.top + document.body.scrollLeft - DomHandler.getHeight(inkRef.current) / 2;\n activateRipple(offsetX, offsetY);\n };\n var activateRipple = function activateRipple(offsetX, offsetY) {\n if (!inkRef.current || getComputedStyle(inkRef.current, null).display === 'none') {\n return;\n }\n DomHandler.removeClass(inkRef.current, 'p-ink-active');\n if (!DomHandler.getHeight(inkRef.current) && !DomHandler.getWidth(inkRef.current)) {\n var d = Math.max(DomHandler.getOuterWidth(targetRef.current), DomHandler.getOuterHeight(targetRef.current));\n inkRef.current.style.height = d + 'px';\n inkRef.current.style.width = d + 'px';\n }\n inkRef.current.style.top = offsetY + 'px';\n inkRef.current.style.left = offsetX + 'px';\n DomHandler.addClass(inkRef.current, 'p-ink-active');\n };\n var onAnimationEnd = function onAnimationEnd(event) {\n DomHandler.removeClass(event.currentTarget, 'p-ink-active');\n };\n useMountEffect(function () {\n if (inkRef.current) {\n targetRef.current = getTarget();\n bindEvents();\n }\n });\n useUpdateEffect(function () {\n if (inkRef.current && !targetRef.current) {\n targetRef.current = getTarget();\n bindEvents();\n }\n });\n useUnmountEffect(function () {\n if (inkRef.current) {\n targetRef.current = null;\n unbindEvents();\n }\n });\n return PrimeReact.ripple ? /*#__PURE__*/React.createElement(\"span\", {\n role: \"presentation\",\n ref: inkRef,\n className: \"p-ink\",\n onAnimationEnd: onAnimationEnd\n }) : null;\n}));\nRipple.displayName = 'Ripple';\n\nexport { Ripple };\n","import * as React from 'react';\nimport PrimeReact from 'primereact/api';\nimport { useEventListener, useMountEffect, useUpdateEffect, useUnmountEffect } from 'primereact/hooks';\nimport { ObjectUtils, classNames, IconUtils, DomHandler, ZIndexUtils } from 'primereact/utils';\nimport { Ripple } from 'primereact/ripple';\n\nfunction _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 for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\n\nvar MenubarBase = {\n defaultProps: {\n __TYPE: 'Menubar',\n id: null,\n model: null,\n style: null,\n className: null,\n start: null,\n end: null,\n children: undefined\n },\n getProps: function getProps(props) {\n return ObjectUtils.getMergedProps(props, MenubarBase.defaultProps);\n },\n getOtherProps: function getOtherProps(props) {\n return ObjectUtils.getDiffProps(props, MenubarBase.defaultProps);\n }\n};\n\nvar MenubarSub = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _React$useState = React.useState(null),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n activeItemState = _React$useState2[0],\n setActiveItemState = _React$useState2[1];\n var _useEventListener = useEventListener({\n type: 'click',\n listener: function listener(event) {\n if (ref && ref.current && !ref.current.contains(event.target)) {\n setActiveItemState(null);\n }\n }\n }),\n _useEventListener2 = _slicedToArray(_useEventListener, 1),\n bindDocumentClickListener = _useEventListener2[0];\n var onItemMouseEnter = function onItemMouseEnter(event, item) {\n if (item.disabled || props.mobileActive) {\n event.preventDefault();\n return;\n }\n if (props.root) {\n if (activeItemState || props.popup) {\n setActiveItemState(item);\n }\n } else {\n setActiveItemState(item);\n }\n };\n var onItemClick = function onItemClick(event, item) {\n if (item.disabled) {\n event.preventDefault();\n return;\n }\n if (!item.url) {\n event.preventDefault();\n }\n if (item.command) {\n item.command({\n originalEvent: event,\n item: item\n });\n }\n if (item.items) activeItemState && item === activeItemState ? setActiveItemState(null) : setActiveItemState(item);else onLeafClick();\n };\n var onItemKeyDown = function onItemKeyDown(event, item) {\n var listItem = event.currentTarget.parentElement;\n switch (event.which) {\n //down\n case 40:\n if (props.root) item.items && expandSubmenu(item, listItem);else navigateToNextItem(listItem);\n event.preventDefault();\n break;\n\n //up\n case 38:\n !props.root && navigateToPrevItem(listItem);\n event.preventDefault();\n break;\n\n //right\n case 39:\n if (props.root) {\n var nextItem = findNextItem(listItem);\n nextItem && nextItem.children[0].focus();\n } else {\n item.items && expandSubmenu(item, listItem);\n }\n event.preventDefault();\n break;\n\n //left\n case 37:\n props.root && navigateToPrevItem(listItem);\n event.preventDefault();\n break;\n }\n props.onKeyDown && props.onKeyDown(event, listItem);\n };\n var onChildItemKeyDown = function onChildItemKeyDown(event, childListItem) {\n if (props.root) {\n //up\n if (event.which === 38 && childListItem.previousElementSibling == null) {\n collapseMenu(childListItem);\n }\n } else {\n //left\n if (event.which === 37) {\n collapseMenu(childListItem);\n }\n }\n };\n var expandSubmenu = function expandSubmenu(item, listItem) {\n setActiveItemState(item);\n setTimeout(function () {\n listItem.children[1].children[0].children[0].focus();\n }, 50);\n };\n var collapseMenu = function collapseMenu(listItem) {\n setActiveItemState(null);\n listItem.parentElement.previousElementSibling.focus();\n };\n var navigateToNextItem = function navigateToNextItem(listItem) {\n var nextItem = findNextItem(listItem);\n nextItem && nextItem.children[0].focus();\n };\n var navigateToPrevItem = function navigateToPrevItem(listItem) {\n var prevItem = findPrevItem(listItem);\n prevItem && prevItem.children[0].focus();\n };\n var findNextItem = function findNextItem(item) {\n var nextItem = item.nextElementSibling;\n return nextItem ? DomHandler.hasClass(nextItem, 'p-disabled') || !DomHandler.hasClass(nextItem, 'p-menuitem') ? findNextItem(nextItem) : nextItem : null;\n };\n var findPrevItem = function findPrevItem(item) {\n var prevItem = item.previousElementSibling;\n return prevItem ? DomHandler.hasClass(prevItem, 'p-disabled') || !DomHandler.hasClass(prevItem, 'p-menuitem') ? findPrevItem(prevItem) : prevItem : null;\n };\n var onLeafClick = function onLeafClick() {\n setActiveItemState(null);\n props.onLeafClick && props.onLeafClick();\n };\n useMountEffect(function () {\n bindDocumentClickListener();\n });\n useUpdateEffect(function () {\n !props.parentActive && setActiveItemState(null);\n }, [props.parentActive]);\n var createSeparator = function createSeparator(index) {\n var key = 'separator_' + index;\n return /*#__PURE__*/React.createElement(\"li\", {\n key: key,\n className: \"p-menu-separator\",\n role: \"separator\"\n });\n };\n var createSubmenu = function createSubmenu(item) {\n if (item.items) {\n return /*#__PURE__*/React.createElement(MenubarSub, {\n menuProps: props.menuProps,\n model: item.items,\n mobileActive: props.mobileActive,\n onLeafClick: onLeafClick,\n onKeyDown: onChildItemKeyDown,\n parentActive: item === activeItemState\n });\n }\n return null;\n };\n var createMenuitem = function createMenuitem(item, index) {\n if (item.visible === false) {\n return null;\n }\n var key = item.label + '_' + index;\n var className = classNames('p-menuitem', {\n 'p-menuitem-active': activeItemState === item\n }, item.className);\n var linkClassName = classNames('p-menuitem-link', {\n 'p-disabled': item.disabled\n });\n var iconClassName = classNames('p-menuitem-icon', item.icon);\n var submenuIconClassName = classNames('p-submenu-icon pi', {\n 'pi-angle-down': props.root,\n 'pi-angle-right': !props.root\n });\n var icon = IconUtils.getJSXIcon(item.icon, {\n className: 'p-menuitem-icon'\n }, {\n props: props.menuProps\n });\n var label = item.label && /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-menuitem-text\"\n }, item.label);\n var submenuIcon = item.items && /*#__PURE__*/React.createElement(\"span\", {\n className: submenuIconClassName\n });\n var submenu = createSubmenu(item);\n var content = /*#__PURE__*/React.createElement(\"a\", {\n href: item.url || '#',\n role: \"menuitem\",\n className: linkClassName,\n target: item.target,\n \"aria-haspopup\": item.items != null,\n onClick: function onClick(event) {\n return onItemClick(event, item);\n },\n onKeyDown: function onKeyDown(event) {\n return onItemKeyDown(event, item);\n }\n }, icon, label, submenuIcon, /*#__PURE__*/React.createElement(Ripple, null));\n if (item.template) {\n var defaultContentOptions = {\n onClick: function onClick(event) {\n return onItemClick(event, item);\n },\n onKeyDown: function onKeyDown(event) {\n return onItemKeyDown(event, item);\n },\n className: linkClassName,\n labelClassName: 'p-menuitem-text',\n iconClassName: iconClassName,\n submenuIconClassName: submenuIconClassName,\n element: content,\n props: props\n };\n content = ObjectUtils.getJSXElement(item.template, item, defaultContentOptions);\n }\n return /*#__PURE__*/React.createElement(\"li\", {\n key: key,\n role: \"none\",\n id: item.id,\n className: className,\n style: item.style,\n onMouseEnter: function onMouseEnter(event) {\n return onItemMouseEnter(event, item);\n }\n }, content, submenu);\n };\n var createItem = function createItem(item, index) {\n return item.separator ? createSeparator(index) : createMenuitem(item, index);\n };\n var createMenu = function createMenu() {\n return props.model ? props.model.map(createItem) : null;\n };\n var role = props.root ? 'menubar' : 'menu';\n var className = classNames({\n 'p-submenu-list': !props.root,\n 'p-menubar-root-list': props.root\n });\n var submenu = createMenu();\n return /*#__PURE__*/React.createElement(\"ul\", {\n ref: ref,\n className: className,\n role: role\n }, submenu);\n}));\nMenubarSub.displayName = 'MenubarSub';\n\nvar Menubar = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {\n var props = MenubarBase.getProps(inProps);\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n mobileActiveState = _React$useState2[0],\n setMobileActiveState = _React$useState2[1];\n var elementRef = React.useRef(null);\n var rootMenuRef = React.useRef(null);\n var menuButtonRef = React.useRef(null);\n var _useEventListener = useEventListener({\n type: 'click',\n listener: function listener(event) {\n if (mobileActiveState && isOutsideClicked(event)) {\n setMobileActiveState(false);\n }\n }\n }),\n _useEventListener2 = _slicedToArray(_useEventListener, 2),\n bindDocumentClickListener = _useEventListener2[0],\n unbindDocumentClickListener = _useEventListener2[1];\n var toggle = function toggle(event) {\n event.preventDefault();\n setMobileActiveState(function (prevMobileActive) {\n return !prevMobileActive;\n });\n };\n var onLeafClick = function onLeafClick() {\n setMobileActiveState(false);\n };\n var isOutsideClicked = function isOutsideClicked(event) {\n return rootMenuRef.current !== event.target && !rootMenuRef.current.contains(event.target) && menuButtonRef.current !== event.target && !menuButtonRef.current.contains(event.target);\n };\n useUpdateEffect(function () {\n if (mobileActiveState) {\n ZIndexUtils.set('menu', rootMenuRef.current, PrimeReact.autoZIndex, PrimeReact.zIndex['menu']);\n bindDocumentClickListener();\n } else {\n unbindDocumentClickListener();\n ZIndexUtils.clear(rootMenuRef.current);\n }\n }, [mobileActiveState]);\n useUnmountEffect(function () {\n ZIndexUtils.clear(rootMenuRef.current);\n });\n React.useImperativeHandle(ref, function () {\n return {\n props: props,\n toggle: toggle,\n useCustomContent: useCustomContent,\n getElement: function getElement() {\n return elementRef.current;\n },\n getRootMenu: function getRootMenu() {\n return rootMenuRef.current;\n },\n getMenuButton: function getMenuButton() {\n return menuButtonRef.current;\n }\n };\n });\n var createStartContent = function createStartContent() {\n if (props.start) {\n var _start = ObjectUtils.getJSXElement(props.start, props);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-menubar-start\"\n }, _start);\n }\n return null;\n };\n var createEndContent = function createEndContent() {\n if (props.end) {\n var _end = ObjectUtils.getJSXElement(props.end, props);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-menubar-end\"\n }, _end);\n }\n return null;\n };\n var createMenuButton = function createMenuButton() {\n if (props.model && props.model.length < 1) {\n return null;\n }\n /* eslint-disable */\n var button = /*#__PURE__*/React.createElement(\"a\", {\n ref: menuButtonRef,\n href: '#',\n role: \"button\",\n tabIndex: 0,\n className: \"p-menubar-button\",\n onClick: toggle\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"pi pi-bars\"\n }));\n /* eslint-enable */\n\n return button;\n };\n var otherProps = MenubarBase.getOtherProps(props);\n var className = classNames('p-menubar p-component', {\n 'p-menubar-mobile-active': mobileActiveState\n }, props.className);\n var start = createStartContent();\n var end = createEndContent();\n var menuButton = createMenuButton();\n var submenu = /*#__PURE__*/React.createElement(MenubarSub, {\n ref: rootMenuRef,\n menuProps: props,\n model: props.model,\n root: true,\n mobileActive: mobileActiveState,\n onLeafClick: onLeafClick\n });\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n id: props.id,\n className: className,\n style: props.style\n }, otherProps), start, menuButton, submenu, end);\n}));\nMenubar.displayName = 'Menubar';\n\nexport { Menubar };\n","import React from 'react';\nimport { Menubar } from 'primereact/menubar';\nimport 'primereact/resources/themes/lara-light-indigo/theme.css'; //theme\nimport 'primereact/resources/primereact.min.css'; //core css\nimport 'primeicons/primeicons.css'; //icons\nimport '../../src/assets/styles/menuHeader.css';\nimport cctetLogo from '../../src/assets/img/cctetLogo.png';\nimport iconoInstagram from '../../src/icons/instagram.png';\nimport iconoFacebook from '../../src/icons/facebook.png';\n\n\n\nexport const MenuHeader = ( { lottie }\n \n ) => {\n\n const submenuClass = 'submenu-left'; // Se define el estilo CSS para ajustar el texto del submenú a la izquierda \n \n // CREAMOS EL MENÚ DE NAVEGACIÓN\n const items =[\n {\n label: 'Inicio',\n command: () =>{\n window.location.href = '/inicio';\n }\n },\n {\n label: 'Sobre Nosotros', \n \n items:[\n {\n label:'Nuestra historia',\n command: () => {\n window.location.href = '/historia';\n }, \n },\n {\n label:'Nuestro propósito',\n command: () =>{\n window.location.href = '/proposito';\n }\n \n },\n {\n label:'Equipo CCTET',\n command: () => {\n window.location.href = '/equipo-cctet';\n }\n },\n \n {\n label:'Régimen TE',\n command: () => {\n window.location.href = '/rte';\n }\n }, \n ],\n className: submenuClass, \n },\n \n // {separator:true},\n // {\n // label:'OEL edtech',\n\n //items:[\n // {\n // label:'Curso de diseño web adaptativo \"HTML y CSS\"'\n // },\n // {\n // label:'Curso de Algoritmos de Javascript y estructuras de datos'\n // },\n // {\n // label:'Cursos de IoT y electrónica'\n // },\n // {\n // label:'Curso de Programación por bloques'\n // },\n // {\n // label: 'Cursos de robótica educativa'\n\n // },\n // {\n // label: 'Curso de matemáticas generales'\n // },\n // {\n // label:'Curso de física básica'\n // },\n // {\n // label: 'Oportunidades laborales'\n // }\n // ]\n // },\n {separator:true},\n {\n label:'Plataforma Univeritaria de Asesoría Mundial (PUAM)',\n /*\n items: [\n {\n label: 'Orientación profesional'\n },\n {\n label: 'Fortalecimiento ICFES'\n },\n {\n label: 'Test de nivelación y seguimiento'\n },\n {\n label: 'Acompañamiento y apoyo universitario'\n },\n {\n label:'Solicitar asesoria universitaria',\n }\n ]\n */\n },\n //{separator:true},\n //{\n //label:'Tienda online',\n //},\n /*{\n label:'Registrarse'\n \n },*/\n {\n label:'Donar',\n command: () => {\n window.location.href = '/donar';\n }\n \n }\n ]\n\n \n \n return(\n\n PRIVACIDAD
\n LUGARES DE OPERACIÓN
\n OFICINA PRINCIPAL
\n ENTIDAD
\n PRIVACIDAD
\n// LUGARES DE OPERACIÓN
\n// OFICINA PRINCIPAL
\n// ENTIDAD
\n// Hello
: null}\n * Nuestra historia
\n
\n\n La visión de CCTET no se detuvo ahí. En el año 2021, decidieron \n dar un salto tecnológico y adentrarse en el fascinante mundo de \n la robótica, llevando a cabo procesos formativos en el mismo municipio de \n Timbiquí. {/*Sin embargo, esto era solo el inicio de un viaje hacia el progreso\n y la innovación. */}\n \n
\n
\n
\n
\n
\n\n Pero la misión de CCTET no se detenía en Timbiquí.\n Con el proyecto Valle del Naidí, un curso de programación \n y robótica, extendieron sus brazos de conocimiento hacia los \n municipios de Timbiquí y Guapi, en el departamento del Cauca.\n Aquí, el objetivo era claro: capacitar a 180 niños y adolescentes,\n inspirándolos a soñar en grande y explorar nuevas fronteras tecnológicas.
\n
\n\n CCTET, con sigla de pasión y dedicación, se posiciona como \n un referente en el Pacífico Caucano, inspirando a las generaciones \n venideras a alcanzar sus sueños y materializar sus metas. Un legado\n que perdurará en el tiempo y continuará trazando un camino hacia el \n desarrollo y la excelencia en la región.\n
\n
\n
\n
\n\n\n \n\n {/*MISIÓN*/}\n\n\n Misión
\n \n
\n \n Buscamos estimular el compromiso y la participación activa de las\n comunidades en su propio proceso de aprendizaje. Nuestro enfoque se centra en empoderar a\n niños/niñas, jóvenes y colectivos étnicos, brindándoles las herramientas y conocimientos necesarios\n para comprender y enfrentar los desafíos de su entorno.\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Visión
\n
\n \n Nuestro enfoque se centra en empoderar a\n niños/niñas, jóvenes y colectivos étnicos, brindándoles las herramientas y conocimientos necesarios\n para comprender y enfrentar los desafíos de su entorno.\n {title}
\n {title}
\n {subtitle}
{/*Se definen los estilos de h2 */}\n \n
{count}
\n Ellos confían en nosotros
\n \n
\n
\n
\n
\n
\n
\n
\n
Ellos confían en nosotros
\n// \n//
\n//
\n//
\n//
\n//
\n//
\n//
\n//
Quienes somos
\n
\n\n Además, promueve el conocimiento en ciencias sociales y ambientales, \n abordando desafíos actuales. A través de programas educativos y proyectos\n de investigación, busca una ciudadanía activa y comprometida en la resolución \n de problemas sociales y ambientales.\n \n
Nuestro propósito
\n \n
\n \n \"Ya sea que desee descubrir los secretos del universo o quiera\n seguir una carrera en el siglo XXI, la programación básica de \n computadoras es una habilidad esencial para aprender.\" - Stephen Hawking\n \n
Aún estamos trabajanViviana Gahona Gutierrezdo en la construcción de este sitio web
\n \n CCTET, TRANFORMAMOS VIDAS E INSPIRAMOS MENTES
\n\n Viviana Gahona Gutierrez
\n Presidenta
\n Isabel C. Sanchez Medina
\n Vicepresidenta
\n Klever Arrechea Castillo
\n CTO
\n Irne Fernando Hinestroza
\n Gerente Financiero
\n jeison Pantoja Andino
\n Director de Programación y Robótica
\n Aún estamos trabajando en la construcción de este sitio web
\n \n \n
\n Con tu aporte ayudas al fortalecimiento de este programa\n
\n\n
\n\n Si crees en lo que hacemos y quieres ayudar, únete. Cada aporte suma e impacta positivamente en\n nuestro proceso.
\n\n Realiza tu donación en el botón de abajo.\n