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AQpK,WAAaoK,EAAQpK,UAAUmW,SAAW,IAAM,IAAMnW,KADxR,IAAkBoK,EAASpK,KDoOpCuX,CAAU5hB,EAAMqK,KAIpB+C,EAAO4T,cAAgB,SAAuBhhB,EAAMyE,GAClD,IAAIod,EAAwBxtB,KAAKwsB,eAAepc,GAC5C8c,EAAgBM,EAAsBC,KACtCN,EAAkBK,EAAsBrC,OACxCiC,EAAgBI,EAAsBE,KAC1C1tB,KAAKwsB,eAAepc,GAAQ,GAExB8c,GACFrB,EAAYlgB,EAAMuhB,GAGhBC,GACFtB,EAAYlgB,EAAMwhB,GAGhBC,GACFvB,EAAYlgB,EAAMyhB,IAItBrU,EAAOI,OAAS,WACd,IAAIqS,EAAcxrB,KAAKiV,MAEnBA,GADIuW,EAAYwB,YACR,OAA8BxB,EAAa,CAAC,gBAExD,OAAoB,gBAAoB,GAAY,OAAS,GAAIvW,EAAO,CACtEuV,QAASxqB,KAAKwqB,QACdD,UAAWvqB,KAAKuqB,UAChBE,WAAYzqB,KAAKyqB,WACjBG,OAAQ5qB,KAAK4qB,OACbC,UAAW7qB,KAAK6qB,UAChBC,SAAU9qB,KAAK8qB,aAIZsB,EAtLwB,CAuL/B,aAEFA,EAAcvZ,aAAe,CAC3Bma,WAAY,IAEdZ,EAAcxZ,UAiIT,GACL","sources":["webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-global-store/esm/ModalStore.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-global-store/esm/GlobalStore.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-global-store/esm/index.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-mq/esm/utils.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-mq/esm/useMatchMedia.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-mq/esm/Component.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-portal/esm/utils.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-portal/esm/Component.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-stack/esm/context.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-stack/esm/component.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/utils/freeze.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/utils/element.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/utils/global.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/utils/process.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/utils/scheduler.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/ResizeObservation.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/ResizeObserverController.js","webpack://assr-alfaleasing/./node_modules/@juggle/resize-observer/lib/ResizeObserver.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/constants.js","webpack://assr-alfaleasing/./node_modules/use-callback-ref/dist/es2015/useMergeRef.js","webpack://assr-alfaleasing/./node_modules/use-callback-ref/dist/es2015/useRef.js","webpack://assr-alfaleasing/./node_modules/use-callback-ref/dist/es2015/assignRef.js","webpack://assr-alfaleasing/./node_modules/react-focus-lock/dist/es2015/FocusGuard.js","webpack://assr-alfaleasing/./node_modules/use-sidecar/dist/es2015/medium.js","webpack://assr-alfaleasing/./node_modules/react-focus-lock/dist/es2015/medium.js","webpack://assr-alfaleasing/./node_modules/react-focus-lock/dist/es2015/Lock.js","webpack://assr-alfaleasing/./node_modules/react-clientside-effect/lib/index.es.js","webpack://assr-alfaleasing/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/is.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/correctFocus.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/firstFocus.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/solver.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/array.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/tabOrder.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/tabUtils.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/tabbables.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/DOMutils.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/all-affected.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/auto-focus.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/getActiveElement.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/safe.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/utils/parenting.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/focusMerge.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/setFocus.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/index.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/focusInside.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/focusables.js","webpack://assr-alfaleasing/./node_modules/react-focus-lock/dist/es2015/util.js","webpack://assr-alfaleasing/./node_modules/react-focus-lock/dist/es2015/Trap.js","webpack://assr-alfaleasing/./node_modules/focus-lock/dist/es2015/focusIsHidden.js","webpack://assr-alfaleasing/./node_modules/react-focus-lock/dist/es2015/Combination.js","webpack://assr-alfaleasing/./node_modules/react-focus-lock/dist/es2015/index.js","webpack://assr-alfaleasing/./node_modules/react-merge-refs/dist/react-merge-refs.esm.js","webpack://assr-alfaleasing/./node_modules/dom-helpers/esm/removeClass.js","webpack://assr-alfaleasing/./node_modules/react-transition-group/esm/config.js","webpack://assr-alfaleasing/./node_modules/react-transition-group/esm/TransitionGroupContext.js","webpack://assr-alfaleasing/./node_modules/react-transition-group/esm/utils/reflow.js","webpack://assr-alfaleasing/./node_modules/react-transition-group/esm/Transition.js","webpack://assr-alfaleasing/./node_modules/react-transition-group/esm/CSSTransition.js","webpack://assr-alfaleasing/./node_modules/dom-helpers/esm/addClass.js","webpack://assr-alfaleasing/./node_modules/dom-helpers/esm/hasClass.js"],"sourcesContent":["var ModalStore = /** @class */ (function () {\n function ModalStore() {\n var _this = this;\n this.getRestoreStyles = function () { return _this.restoreStyles; };\n this.restoreStyles = [];\n }\n return ModalStore;\n}());\n\nexport { ModalStore };\n","import { ModalStore } from './ModalStore.js';\n\nvar GlobalStore = /** @class */ (function () {\n function GlobalStore() {\n var _this = this;\n this.getModalStore = function () { return _this.modalStore; };\n this.modalStore = new ModalStore();\n }\n return GlobalStore;\n}());\n\nexport { GlobalStore };\n","import { GlobalStore } from './GlobalStore.js';\nimport './ModalStore.js';\n\nvar getCoreComponentsStore = function () {\n if (!window.coreComponentsStore) {\n window.coreComponentsStore = new GlobalStore();\n return window.coreComponentsStore;\n }\n return window.coreComponentsStore;\n};\nvar getModalStore = function () { return getCoreComponentsStore().getModalStore(); };\n\nexport { getModalStore };\n","var MqList = {\n\t\"--mobile-xs\": \"(min-width: 320px)\",\n\t\"--mobile-s\": \"(min-width: 360px)\",\n\t\"--mobile-m\": \"(min-width: 375px)\",\n\t\"--mobile-l\": \"(min-width: 412px)\",\n\t\"--mobile\": \"(max-width: 599px)\",\n\t\"--tablet-s\": \"(min-width: 600px)\",\n\t\"--tablet-m\": \"(min-width: 768px)\",\n\t\"--tablet\": \"(min-width: 600px) and (max-width: 1023px)\",\n\t\"--desktop-s\": \"(min-width: 1024px)\",\n\t\"--desktop-m\": \"(min-width: 1280px)\",\n\t\"--desktop-l\": \"(min-width: 1440px)\",\n\t\"--desktop-xl\": \"(min-width: 1920px)\",\n\t\"--desktop\": \"(min-width: 1024px)\"\n};\n\n// TODO: перенести в alfalab/utils\nvar pool = {};\nvar refCounters = {};\n/**\n * Возвращает MediaQueryList для заданного media-выражения.\n *\n * @param queryProp media выражение или кастомный запрос из `mq.json`, например `--mobile`.\n */\nfunction getMatchMedia(queryProp) {\n var query = MqList[queryProp] || queryProp;\n if (pool[query]) {\n refCounters[query] += 1;\n }\n else {\n pool[query] = window.matchMedia(query);\n refCounters[query] = 1;\n }\n return pool[query];\n}\n/**\n * Удаляет MediaQueryList.\n *\n * @param queryProp media выражение или кастомный запрос из `mq.json`, например `--mobile`.\n */\nfunction releaseMatchMedia(queryProp) {\n var query = MqList[queryProp] || queryProp;\n refCounters[query] -= 1;\n if (pool[query] && refCounters[query] === 0) {\n delete pool[query];\n delete refCounters[query];\n }\n}\n/**\n * Возвращает `true`, если есть поддержка `Pointer Events`\n */\nfunction isPointerEventsSupported() {\n return 'PointerEvent' in window || 'msPointerEnabled' in window.navigator;\n}\n/**\n * Возвращает `true`, если есть поддержка `Touch Events`\n */\nfunction isTouchSupported() {\n return ('ontouchstart' in window ||\n window.navigator.maxTouchPoints > 0 ||\n // eslint-disable-next-line\n window.navigator.msMaxTouchPoints > 0);\n}\n\nexport { getMatchMedia, isPointerEventsSupported, isTouchSupported, releaseMatchMedia };\n","import { useState } from 'react';\nimport { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';\nimport { getMatchMedia, releaseMatchMedia } from './utils.js';\n\n/**\n * Хук для медиа запросов.\n * @param query media выражение или кастомный запрос из `mq.json`, например `--mobile`.\n * @param defaultValue Значение по-умолчанию.\n */\nvar useMatchMedia = function (query, defaultValue) {\n if (defaultValue === void 0) { defaultValue = false; }\n var _a = useState(defaultValue), matches = _a[0], setMatches = _a[1];\n useLayoutEffect_SAFE_FOR_SSR(function () {\n var mql = getMatchMedia(query);\n var handleMatchChange = function () { return setMatches(mql.matches); };\n handleMatchChange();\n if (mql.addListener) {\n mql.addListener(handleMatchChange);\n }\n else {\n mql.addEventListener('change', handleMatchChange);\n }\n return function () {\n if (mql.removeListener) {\n mql.removeListener(handleMatchChange);\n }\n else {\n mql.removeEventListener('change', handleMatchChange);\n }\n releaseMatchMedia(query);\n };\n }, [query]);\n return [matches];\n};\n\nexport { useMatchMedia };\n","import React, { useEffect, Fragment } from 'react';\nimport { useMatchMedia } from './useMatchMedia.js';\nimport { isPointerEventsSupported, isTouchSupported } from './utils.js';\nimport '@alfalab/hooks';\n\nvar IS_BROWSER = typeof window !== 'undefined';\nvar SUPPORTS_TOUCH = IS_BROWSER && (isPointerEventsSupported() || isTouchSupported());\nvar Mq = function (_a) {\n var children = _a.children, _b = _a.query, query = _b === void 0 ? '' : _b, touch = _a.touch, onMatchChange = _a.onMatchChange;\n var queryMatches = useMatchMedia(query)[0];\n var touchPass = touch === undefined ? true : touch === SUPPORTS_TOUCH;\n var matches = touchPass && (!query || queryMatches);\n useEffect(function () {\n if (onMatchChange) {\n onMatchChange(matches);\n }\n }, [matches, onMatchChange]);\n // eslint-disable-next-line react/jsx-no-useless-fragment\n return React.createElement(Fragment, null, matches && IS_BROWSER ? children : null);\n};\n\nexport { Mq };\n","var PORTAL_CONTAINER_ATTRIBUTE = 'alfa-portal-container';\nfunction createPortalContainer() {\n var portalContainer = document.createElement('div');\n portalContainer.setAttribute(PORTAL_CONTAINER_ATTRIBUTE, '');\n document.body.appendChild(portalContainer);\n return portalContainer;\n}\nvar getDefaultPortalContainer = function () {\n return document.querySelector(\"[\".concat(PORTAL_CONTAINER_ATTRIBUTE, \"]\")) || createPortalContainer();\n};\nfunction setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n // eslint-disable-next-line no-param-reassign\n ref.current = value;\n }\n}\n\nexport { PORTAL_CONTAINER_ATTRIBUTE, getDefaultPortalContainer, setRef };\n","import { forwardRef, useState, useEffect } from 'react';\nimport { createPortal } from 'react-dom';\nimport { setRef, getDefaultPortalContainer } from './utils.js';\n\nvar Portal = forwardRef(function (_a, ref) {\n var _b = _a.getPortalContainer, getPortalContainer = _b === void 0 ? getDefaultPortalContainer : _b, _c = _a.immediateMount, immediateMount = _c === void 0 ? false : _c, children = _a.children;\n var _d = useState(function () {\n return typeof window !== 'undefined' && immediateMount ? getPortalContainer() : null;\n }), mountNode = _d[0], setMountNode = _d[1];\n useEffect(function () {\n setMountNode(getPortalContainer());\n }, [getPortalContainer]);\n useEffect(function () {\n if (mountNode) {\n setRef(ref, mountNode);\n return function () {\n setRef(ref, null);\n };\n }\n return function () { return null; };\n }, [ref, mountNode]);\n return mountNode ? createPortal(children, mountNode) : mountNode;\n});\n\nexport { Portal };\n","import { createContext } from 'react';\n\n/**\n * Набор констант для z-index соответствующих классов компонентов.\n * Значения выбраны по приоритету.\n */\nvar stackingOrder = {\n /**\n * Для компонентов с возможностью фокуса: кнопки, поля ввода\n */\n FOCUSED: 2,\n /**\n * Значение по-умолчанию\n */\n DEFAULT: 10,\n /**\n * Компоненты, которые управляют своей позицией, например, поповер, тултип\n */\n POPOVER: 50,\n /**\n * Для модальных окон с оверлеем\n */\n MODAL: 100,\n /**\n * Для тостов и нотификаций\n */\n TOAST: 1000,\n};\nvar StackingContext = createContext(stackingOrder.DEFAULT);\n\nexport { StackingContext, stackingOrder };\n","import React, { useContext } from 'react';\nimport { stackingOrder, StackingContext } from './context.js';\n\nvar Stack = function (_a) {\n var children = _a.children, _b = _a.value, value = _b === void 0 ? stackingOrder.DEFAULT : _b;\n var previousValue = useContext(StackingContext);\n var currentValue = Math.max(value, previousValue);\n var nextValue = currentValue + 1;\n return (React.createElement(StackingContext.Provider, { value: nextValue }, children(currentValue)));\n};\n\nexport { Stack };\n","var resizeObservers = [];\nexport { resizeObservers };\n","var ResizeObserverBoxOptions;\n(function (ResizeObserverBoxOptions) {\n ResizeObserverBoxOptions[\"BORDER_BOX\"] = \"border-box\";\n ResizeObserverBoxOptions[\"CONTENT_BOX\"] = \"content-box\";\n ResizeObserverBoxOptions[\"DEVICE_PIXEL_CONTENT_BOX\"] = \"device-pixel-content-box\";\n})(ResizeObserverBoxOptions || (ResizeObserverBoxOptions = {}));\nexport { ResizeObserverBoxOptions };\n","var msg = 'ResizeObserver loop completed with undelivered notifications.';\nvar deliverResizeLoopError = function () {\n var event;\n if (typeof ErrorEvent === 'function') {\n event = new ErrorEvent('error', {\n message: msg\n });\n }\n else {\n event = document.createEvent('Event');\n event.initEvent('error', false, false);\n event.message = msg;\n }\n window.dispatchEvent(event);\n};\nexport { deliverResizeLoopError };\n","export var freeze = function (obj) { return Object.freeze(obj); };\n","var trigger;\nvar callbacks = [];\nvar notify = function () { return callbacks.splice(0).forEach(function (cb) { return cb(); }); };\nvar queueMicroTask = function (callback) {\n if (!trigger) {\n var toggle_1 = 0;\n var el_1 = document.createTextNode('');\n var config = { characterData: true };\n new MutationObserver(function () { return notify(); }).observe(el_1, config);\n trigger = function () { el_1.textContent = \"\".concat(toggle_1 ? toggle_1-- : toggle_1++); };\n }\n callbacks.push(callback);\n trigger();\n};\nexport { queueMicroTask };\n","import { freeze } from './utils/freeze';\nvar ResizeObserverSize = (function () {\n function ResizeObserverSize(inlineSize, blockSize) {\n this.inlineSize = inlineSize;\n this.blockSize = blockSize;\n freeze(this);\n }\n return ResizeObserverSize;\n}());\nexport { ResizeObserverSize };\n","import { freeze } from './utils/freeze';\nvar DOMRectReadOnly = (function () {\n function DOMRectReadOnly(x, y, width, height) {\n this.x = x;\n this.y = y;\n this.width = width;\n this.height = height;\n this.top = this.y;\n this.left = this.x;\n this.bottom = this.top + this.height;\n this.right = this.left + this.width;\n return freeze(this);\n }\n DOMRectReadOnly.prototype.toJSON = function () {\n var _a = this, x = _a.x, y = _a.y, top = _a.top, right = _a.right, bottom = _a.bottom, left = _a.left, width = _a.width, height = _a.height;\n return { x: x, y: y, top: top, right: right, bottom: bottom, left: left, width: width, height: height };\n };\n DOMRectReadOnly.fromRect = function (rectangle) {\n return new DOMRectReadOnly(rectangle.x, rectangle.y, rectangle.width, rectangle.height);\n };\n return DOMRectReadOnly;\n}());\nexport { DOMRectReadOnly };\n","var isSVG = function (target) { return target instanceof SVGElement && 'getBBox' in target; };\nvar isHidden = function (target) {\n if (isSVG(target)) {\n var _a = target.getBBox(), width = _a.width, height = _a.height;\n return !width && !height;\n }\n var _b = target, offsetWidth = _b.offsetWidth, offsetHeight = _b.offsetHeight;\n return !(offsetWidth || offsetHeight || target.getClientRects().length);\n};\nvar isElement = function (obj) {\n var _a;\n if (obj instanceof Element) {\n return true;\n }\n var scope = (_a = obj === null || obj === void 0 ? void 0 : obj.ownerDocument) === null || _a === void 0 ? void 0 : _a.defaultView;\n return !!(scope && obj instanceof scope.Element);\n};\nvar isReplacedElement = function (target) {\n switch (target.tagName) {\n case 'INPUT':\n if (target.type !== 'image') {\n break;\n }\n case 'VIDEO':\n case 'AUDIO':\n case 'EMBED':\n case 'OBJECT':\n case 'CANVAS':\n case 'IFRAME':\n case 'IMG':\n return true;\n }\n return false;\n};\nexport { isSVG, isHidden, isElement, isReplacedElement };\n","export var global = typeof window !== 'undefined' ? window : {};\n","import { ResizeObserverBoxOptions } from '../ResizeObserverBoxOptions';\nimport { ResizeObserverSize } from '../ResizeObserverSize';\nimport { DOMRectReadOnly } from '../DOMRectReadOnly';\nimport { isSVG, isHidden } from '../utils/element';\nimport { freeze } from '../utils/freeze';\nimport { global } from '../utils/global';\nvar cache = new WeakMap();\nvar scrollRegexp = /auto|scroll/;\nvar verticalRegexp = /^tb|vertical/;\nvar IE = (/msie|trident/i).test(global.navigator && global.navigator.userAgent);\nvar parseDimension = function (pixel) { return parseFloat(pixel || '0'); };\nvar size = function (inlineSize, blockSize, switchSizes) {\n if (inlineSize === void 0) { inlineSize = 0; }\n if (blockSize === void 0) { blockSize = 0; }\n if (switchSizes === void 0) { switchSizes = false; }\n return new ResizeObserverSize((switchSizes ? blockSize : inlineSize) || 0, (switchSizes ? inlineSize : blockSize) || 0);\n};\nvar zeroBoxes = freeze({\n devicePixelContentBoxSize: size(),\n borderBoxSize: size(),\n contentBoxSize: size(),\n contentRect: new DOMRectReadOnly(0, 0, 0, 0)\n});\nvar calculateBoxSizes = function (target, forceRecalculation) {\n if (forceRecalculation === void 0) { forceRecalculation = false; }\n if (cache.has(target) && !forceRecalculation) {\n return cache.get(target);\n }\n if (isHidden(target)) {\n cache.set(target, zeroBoxes);\n return zeroBoxes;\n }\n var cs = getComputedStyle(target);\n var svg = isSVG(target) && target.ownerSVGElement && target.getBBox();\n var removePadding = !IE && cs.boxSizing === 'border-box';\n var switchSizes = verticalRegexp.test(cs.writingMode || '');\n var canScrollVertically = !svg && scrollRegexp.test(cs.overflowY || '');\n var canScrollHorizontally = !svg && scrollRegexp.test(cs.overflowX || '');\n var paddingTop = svg ? 0 : parseDimension(cs.paddingTop);\n var paddingRight = svg ? 0 : parseDimension(cs.paddingRight);\n var paddingBottom = svg ? 0 : parseDimension(cs.paddingBottom);\n var paddingLeft = svg ? 0 : parseDimension(cs.paddingLeft);\n var borderTop = svg ? 0 : parseDimension(cs.borderTopWidth);\n var borderRight = svg ? 0 : parseDimension(cs.borderRightWidth);\n var borderBottom = svg ? 0 : parseDimension(cs.borderBottomWidth);\n var borderLeft = svg ? 0 : parseDimension(cs.borderLeftWidth);\n var horizontalPadding = paddingLeft + paddingRight;\n var verticalPadding = paddingTop + paddingBottom;\n var horizontalBorderArea = borderLeft + borderRight;\n var verticalBorderArea = borderTop + borderBottom;\n var horizontalScrollbarThickness = !canScrollHorizontally ? 0 : target.offsetHeight - verticalBorderArea - target.clientHeight;\n var verticalScrollbarThickness = !canScrollVertically ? 0 : target.offsetWidth - horizontalBorderArea - target.clientWidth;\n var widthReduction = removePadding ? horizontalPadding + horizontalBorderArea : 0;\n var heightReduction = removePadding ? verticalPadding + verticalBorderArea : 0;\n var contentWidth = svg ? svg.width : parseDimension(cs.width) - widthReduction - verticalScrollbarThickness;\n var contentHeight = svg ? svg.height : parseDimension(cs.height) - heightReduction - horizontalScrollbarThickness;\n var borderBoxWidth = contentWidth + horizontalPadding + verticalScrollbarThickness + horizontalBorderArea;\n var borderBoxHeight = contentHeight + verticalPadding + horizontalScrollbarThickness + verticalBorderArea;\n var boxes = freeze({\n devicePixelContentBoxSize: size(Math.round(contentWidth * devicePixelRatio), Math.round(contentHeight * devicePixelRatio), switchSizes),\n borderBoxSize: size(borderBoxWidth, borderBoxHeight, switchSizes),\n contentBoxSize: size(contentWidth, contentHeight, switchSizes),\n contentRect: new DOMRectReadOnly(paddingLeft, paddingTop, contentWidth, contentHeight)\n });\n cache.set(target, boxes);\n return boxes;\n};\nvar calculateBoxSize = function (target, observedBox, forceRecalculation) {\n var _a = calculateBoxSizes(target, forceRecalculation), borderBoxSize = _a.borderBoxSize, contentBoxSize = _a.contentBoxSize, devicePixelContentBoxSize = _a.devicePixelContentBoxSize;\n switch (observedBox) {\n case ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:\n return devicePixelContentBoxSize;\n case ResizeObserverBoxOptions.BORDER_BOX:\n return borderBoxSize;\n default:\n return contentBoxSize;\n }\n};\nexport { calculateBoxSize, calculateBoxSizes };\n","import { calculateBoxSizes } from './algorithms/calculateBoxSize';\nimport { freeze } from './utils/freeze';\nvar ResizeObserverEntry = (function () {\n function ResizeObserverEntry(target) {\n var boxes = calculateBoxSizes(target);\n this.target = target;\n this.contentRect = boxes.contentRect;\n this.borderBoxSize = freeze([boxes.borderBoxSize]);\n this.contentBoxSize = freeze([boxes.contentBoxSize]);\n this.devicePixelContentBoxSize = freeze([boxes.devicePixelContentBoxSize]);\n }\n return ResizeObserverEntry;\n}());\nexport { ResizeObserverEntry };\n","import { isHidden } from '../utils/element';\nvar calculateDepthForNode = function (node) {\n if (isHidden(node)) {\n return Infinity;\n }\n var depth = 0;\n var parent = node.parentNode;\n while (parent) {\n depth += 1;\n parent = parent.parentNode;\n }\n return depth;\n};\nexport { calculateDepthForNode };\n","import { resizeObservers } from '../utils/resizeObservers';\nimport { ResizeObserverEntry } from '../ResizeObserverEntry';\nimport { calculateDepthForNode } from './calculateDepthForNode';\nimport { calculateBoxSize } from './calculateBoxSize';\nvar broadcastActiveObservations = function () {\n var shallowestDepth = Infinity;\n var callbacks = [];\n resizeObservers.forEach(function processObserver(ro) {\n if (ro.activeTargets.length === 0) {\n return;\n }\n var entries = [];\n ro.activeTargets.forEach(function processTarget(ot) {\n var entry = new ResizeObserverEntry(ot.target);\n var targetDepth = calculateDepthForNode(ot.target);\n entries.push(entry);\n ot.lastReportedSize = calculateBoxSize(ot.target, ot.observedBox);\n if (targetDepth < shallowestDepth) {\n shallowestDepth = targetDepth;\n }\n });\n callbacks.push(function resizeObserverCallback() {\n ro.callback.call(ro.observer, entries, ro.observer);\n });\n ro.activeTargets.splice(0, ro.activeTargets.length);\n });\n for (var _i = 0, callbacks_1 = callbacks; _i < callbacks_1.length; _i++) {\n var callback = callbacks_1[_i];\n callback();\n }\n return shallowestDepth;\n};\nexport { broadcastActiveObservations };\n","import { resizeObservers } from '../utils/resizeObservers';\nimport { calculateDepthForNode } from './calculateDepthForNode';\nvar gatherActiveObservationsAtDepth = function (depth) {\n resizeObservers.forEach(function processObserver(ro) {\n ro.activeTargets.splice(0, ro.activeTargets.length);\n ro.skippedTargets.splice(0, ro.skippedTargets.length);\n ro.observationTargets.forEach(function processTarget(ot) {\n if (ot.isActive()) {\n if (calculateDepthForNode(ot.target) > depth) {\n ro.activeTargets.push(ot);\n }\n else {\n ro.skippedTargets.push(ot);\n }\n }\n });\n });\n};\nexport { gatherActiveObservationsAtDepth };\n","import { hasActiveObservations } from '../algorithms/hasActiveObservations';\nimport { hasSkippedObservations } from '../algorithms/hasSkippedObservations';\nimport { deliverResizeLoopError } from '../algorithms/deliverResizeLoopError';\nimport { broadcastActiveObservations } from '../algorithms/broadcastActiveObservations';\nimport { gatherActiveObservationsAtDepth } from '../algorithms/gatherActiveObservationsAtDepth';\nvar process = function () {\n var depth = 0;\n gatherActiveObservationsAtDepth(depth);\n while (hasActiveObservations()) {\n depth = broadcastActiveObservations();\n gatherActiveObservationsAtDepth(depth);\n }\n if (hasSkippedObservations()) {\n deliverResizeLoopError();\n }\n return depth > 0;\n};\nexport { process };\n","import { resizeObservers } from '../utils/resizeObservers';\nvar hasActiveObservations = function () {\n return resizeObservers.some(function (ro) { return ro.activeTargets.length > 0; });\n};\nexport { hasActiveObservations };\n","import { resizeObservers } from '../utils/resizeObservers';\nvar hasSkippedObservations = function () {\n return resizeObservers.some(function (ro) { return ro.skippedTargets.length > 0; });\n};\nexport { hasSkippedObservations };\n","import { process } from './process';\nimport { global } from './global';\nimport { queueResizeObserver } from './queueResizeObserver';\nvar watching = 0;\nvar isWatching = function () { return !!watching; };\nvar CATCH_PERIOD = 250;\nvar observerConfig = { attributes: true, characterData: true, childList: true, subtree: true };\nvar events = [\n 'resize',\n 'load',\n 'transitionend',\n 'animationend',\n 'animationstart',\n 'animationiteration',\n 'keyup',\n 'keydown',\n 'mouseup',\n 'mousedown',\n 'mouseover',\n 'mouseout',\n 'blur',\n 'focus'\n];\nvar time = function (timeout) {\n if (timeout === void 0) { timeout = 0; }\n return Date.now() + timeout;\n};\nvar scheduled = false;\nvar Scheduler = (function () {\n function Scheduler() {\n var _this = this;\n this.stopped = true;\n this.listener = function () { return _this.schedule(); };\n }\n Scheduler.prototype.run = function (timeout) {\n var _this = this;\n if (timeout === void 0) { timeout = CATCH_PERIOD; }\n if (scheduled) {\n return;\n }\n scheduled = true;\n var until = time(timeout);\n queueResizeObserver(function () {\n var elementsHaveResized = false;\n try {\n elementsHaveResized = process();\n }\n finally {\n scheduled = false;\n timeout = until - time();\n if (!isWatching()) {\n return;\n }\n if (elementsHaveResized) {\n _this.run(1000);\n }\n else if (timeout > 0) {\n _this.run(timeout);\n }\n else {\n _this.start();\n }\n }\n });\n };\n Scheduler.prototype.schedule = function () {\n this.stop();\n this.run();\n };\n Scheduler.prototype.observe = function () {\n var _this = this;\n var cb = function () { return _this.observer && _this.observer.observe(document.body, observerConfig); };\n document.body ? cb() : global.addEventListener('DOMContentLoaded', cb);\n };\n Scheduler.prototype.start = function () {\n var _this = this;\n if (this.stopped) {\n this.stopped = false;\n this.observer = new MutationObserver(this.listener);\n this.observe();\n events.forEach(function (name) { return global.addEventListener(name, _this.listener, true); });\n }\n };\n Scheduler.prototype.stop = function () {\n var _this = this;\n if (!this.stopped) {\n this.observer && this.observer.disconnect();\n events.forEach(function (name) { return global.removeEventListener(name, _this.listener, true); });\n this.stopped = true;\n }\n };\n return Scheduler;\n}());\nvar scheduler = new Scheduler();\nvar updateCount = function (n) {\n !watching && n > 0 && scheduler.start();\n watching += n;\n !watching && scheduler.stop();\n};\nexport { scheduler, updateCount };\n","import { queueMicroTask } from './queueMicroTask';\nvar queueResizeObserver = function (cb) {\n queueMicroTask(function ResizeObserver() {\n requestAnimationFrame(cb);\n });\n};\nexport { queueResizeObserver };\n","import { ResizeObserverBoxOptions } from './ResizeObserverBoxOptions';\nimport { calculateBoxSize } from './algorithms/calculateBoxSize';\nimport { isSVG, isReplacedElement } from './utils/element';\nvar skipNotifyOnElement = function (target) {\n return !isSVG(target)\n && !isReplacedElement(target)\n && getComputedStyle(target).display === 'inline';\n};\nvar ResizeObservation = (function () {\n function ResizeObservation(target, observedBox) {\n this.target = target;\n this.observedBox = observedBox || ResizeObserverBoxOptions.CONTENT_BOX;\n this.lastReportedSize = {\n inlineSize: 0,\n blockSize: 0\n };\n }\n ResizeObservation.prototype.isActive = function () {\n var size = calculateBoxSize(this.target, this.observedBox, true);\n if (skipNotifyOnElement(this.target)) {\n this.lastReportedSize = size;\n }\n if (this.lastReportedSize.inlineSize !== size.inlineSize\n || this.lastReportedSize.blockSize !== size.blockSize) {\n return true;\n }\n return false;\n };\n return ResizeObservation;\n}());\nexport { ResizeObservation };\n","var ResizeObserverDetail = (function () {\n function ResizeObserverDetail(resizeObserver, callback) {\n this.activeTargets = [];\n this.skippedTargets = [];\n this.observationTargets = [];\n this.observer = resizeObserver;\n this.callback = callback;\n }\n return ResizeObserverDetail;\n}());\nexport { ResizeObserverDetail };\n","import { scheduler, updateCount } from './utils/scheduler';\nimport { ResizeObservation } from './ResizeObservation';\nimport { ResizeObserverDetail } from './ResizeObserverDetail';\nimport { resizeObservers } from './utils/resizeObservers';\nvar observerMap = new WeakMap();\nvar getObservationIndex = function (observationTargets, target) {\n for (var i = 0; i < observationTargets.length; i += 1) {\n if (observationTargets[i].target === target) {\n return i;\n }\n }\n return -1;\n};\nvar ResizeObserverController = (function () {\n function ResizeObserverController() {\n }\n ResizeObserverController.connect = function (resizeObserver, callback) {\n var detail = new ResizeObserverDetail(resizeObserver, callback);\n observerMap.set(resizeObserver, detail);\n };\n ResizeObserverController.observe = function (resizeObserver, target, options) {\n var detail = observerMap.get(resizeObserver);\n var firstObservation = detail.observationTargets.length === 0;\n if (getObservationIndex(detail.observationTargets, target) < 0) {\n firstObservation && resizeObservers.push(detail);\n detail.observationTargets.push(new ResizeObservation(target, options && options.box));\n updateCount(1);\n scheduler.schedule();\n }\n };\n ResizeObserverController.unobserve = function (resizeObserver, target) {\n var detail = observerMap.get(resizeObserver);\n var index = getObservationIndex(detail.observationTargets, target);\n var lastObservation = detail.observationTargets.length === 1;\n if (index >= 0) {\n lastObservation && resizeObservers.splice(resizeObservers.indexOf(detail), 1);\n detail.observationTargets.splice(index, 1);\n updateCount(-1);\n }\n };\n ResizeObserverController.disconnect = function (resizeObserver) {\n var _this = this;\n var detail = observerMap.get(resizeObserver);\n detail.observationTargets.slice().forEach(function (ot) { return _this.unobserve(resizeObserver, ot.target); });\n detail.activeTargets.splice(0, detail.activeTargets.length);\n };\n return ResizeObserverController;\n}());\nexport { ResizeObserverController };\n","import { ResizeObserverController } from './ResizeObserverController';\nimport { isElement } from './utils/element';\nvar ResizeObserver = (function () {\n function ResizeObserver(callback) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (typeof callback !== 'function') {\n throw new TypeError(\"Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.\");\n }\n ResizeObserverController.connect(this, callback);\n }\n ResizeObserver.prototype.observe = function (target, options) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (!isElement(target)) {\n throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n }\n ResizeObserverController.observe(this, target, options);\n };\n ResizeObserver.prototype.unobserve = function (target) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (!isElement(target)) {\n throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n }\n ResizeObserverController.unobserve(this, target);\n };\n ResizeObserver.prototype.disconnect = function () {\n ResizeObserverController.disconnect(this);\n };\n ResizeObserver.toString = function () {\n return 'function ResizeObserver () { [polyfill code] }';\n };\n return ResizeObserver;\n}());\nexport { ResizeObserver };\n","/**\n * defines a focus group\n */\nexport var FOCUS_GROUP = 'data-focus-lock';\n/**\n * disables element discovery inside a group marked by key\n */\nexport var FOCUS_DISABLED = 'data-focus-lock-disabled';\n/**\n * allows uncontrolled focus within the marked area, effectively disabling focus lock for it's content\n */\nexport var FOCUS_ALLOW = 'data-no-focus-lock';\n/**\n * instructs autofocus engine to pick default autofocus inside a given node\n * can be set on the element or container\n */\nexport var FOCUS_AUTO = 'data-autofocus-inside';\n/**\n * instructs autofocus to ignore elements within a given node\n * can be set on the element or container\n */\nexport var FOCUS_NO_AUTOFOCUS = 'data-no-autofocus';\n","import { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return