\r\n */\r\nexport function findElementsInElement(el, selector) {\r\n return el.querySelectorAll(`:scope ${selector}`);\r\n}\r\n\r\n/**\r\n * Get element value. Meant for input[type=\"hidden\"] elements.\r\n * @param {string} id The id string combined with the key to form the ID of the element to get value from.\r\n * @param {string} key The key string combined id string to form the ID of the element to get the value from.\r\n * @returns The elements value or null\r\n */\r\n export function getValueByIdAndKey(id, key) {\r\n return getElementByIdAndKey(id, key).value;\r\n}\r\n\r\n/**\r\n * Get element by id and key.\r\n * @param {string} id \r\n * @param {string} key \r\n * @returns The element or null.\r\n */\r\nexport function getElementByIdAndKey(id, key) {\r\n return document.getElementById(id + '_' + key);\r\n}\r\n\r\n/**\r\n * Has CSS class.\r\n * @param {*} el The element to check if it has the CSS class.\r\n * @param {*} className The CSS to check for on the element.\r\n * @returns A boolean. True if element has CSS class, otherwise false.\r\n */\r\nexport function hasCssClass(el, className) {\r\n return el.classList.contains(className);\r\n}\r\n\r\n/**\r\n * Empty element's inner html.\r\n * @param {*} el \r\n */\r\nexport function emptyElement(el) {\r\n if (el === null || el === undefined) {\r\n console.warn('emptyElement(): el null or undefined');\r\n return;\r\n }\r\n \r\n el.innerHTML = '';\r\n}\r\n\r\n/**\r\n * Set html of element.\r\n * @param {HTMLElement} el \r\n * @param {*} html \r\n */\r\nexport function setInnerHtml(el, html) {\r\n if (el === null || el === undefined) {\r\n console.warn('setInnerHtml(): el null or undefined');\r\n return;\r\n }\r\n\r\n el.innerHTML = html;\r\n}\r\n\r\n/**\r\n * Add CSS class to element.\r\n * @param {HTMLElement} el \r\n * @param {string} className \r\n */\r\nexport function addCssClass(el, className) {\r\n if (el.classList.contains(className) === false) {\r\n el.classList.add(className);\r\n }\r\n}\r\n\r\n/**\r\n * Remove CSS class from element.\r\n * @param {HTMLElement} el \r\n * @param {string} className \r\n */\r\nexport function removeCssClass(el, className) {\r\n if (el.classList.contains(className)) {\r\n el.classList.remove(className);\r\n }\r\n}\r\n\r\n/**\r\n * Remove element from parent.\r\n * @param {HTMLElement} el The element to remove.\r\n */\r\nexport function removeElement(el) {\r\n if (el.parentNode !== null) {\r\n el.parentNode.removeChild(el);\r\n }\r\n}\r\n\r\n/**\r\n * Is the element visible/taking up space in the DOM.\r\n * @param {*} el \r\n * @returns \r\n * @see source: https://github.com/jquery/jquery/blob/a684e6ba836f7c553968d7d026ed7941e1a612d8/src/css/hiddenVisibleSelectors.js\r\n */\r\nexport function isElementVisible(elem) {\r\n if (elem === null) return false;\r\n return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );\r\n}\r\n\r\nexport function doScrolling(elementY, duration) { \r\n const startingY = window.pageYOffset;\r\n const diff = elementY - startingY;\r\n let start;\r\n\r\n // Bootstrap our animation - it will get called right before next frame shall be rendered.\r\n window.requestAnimationFrame(function step(timestamp) {\r\n if (!start) start = timestamp;\r\n // Elapsed milliseconds since start of scrolling.\r\n const time = timestamp - start;\r\n // Get percent of completion in range [0, 1].\r\n const percent = Math.min(time / duration, 1);\r\n\r\n window.scrollTo(0, startingY + diff * percent);\r\n\r\n // Proceed with animation as long as we wanted it to.\r\n if (time < duration) {\r\n window.requestAnimationFrame(step);\r\n }\r\n })\r\n}\r\n\r\n/**\r\n * Create option and append to select dropdown list.\r\n * @param {*} value\r\n * @param {*} text\r\n * @param {*} selected\r\n * @param {*} select\r\n * @param {[{}]} htmlAttributes\r\n */\r\nexport function createOption(value, text, selected, select, htmlAttributes = null) {\r\n const option = document.createElement('option');\r\n option.setAttribute('value', value);\r\n if (selected) {\r\n option.setAttribute('selected', 'selected');\r\n select.setAttribute('data-selected-value', value);\r\n }\r\n option.innerText = text;\r\n if (htmlAttributes !== null && htmlAttributes.length > 0) {\r\n for (let i = 0; i < htmlAttributes.length; i++) {\r\n option.setAttribute(htmlAttributes[i].attribute, htmlAttributes[i].value);\r\n }\r\n }\r\n select.appendChild(option);\r\n}\r\n\r\n/**\r\n * Add or trigger event listener when DOMContentLoaded event occurs.\r\n * @param {*} callback \r\n */\r\nexport function ready(callback) {\r\n if (document.readyState !== 'loading') {\r\n callback();\r\n } else {\r\n document.addEventListener('DOMContentLoaded', callback);\r\n }\r\n}\r\n","import { getValue } from '../utils/dom';\r\n\r\n/**\r\n * Get current page id from hidden input.\r\n * @returns number or undefined\r\n */\r\nexport function getCurrentPageId() {\r\n const currentPageIdInput = document.querySelector('[name=\"current-content-id\"]');\r\n\r\n const id = currentPageIdInput !== null ? parseInt(getValue(currentPageIdInput)) : undefined;\r\n\r\n return id;\r\n}\r\n\r\n/**\r\n * Ensure element is visible. \r\n */\r\nexport function ensureVisible(element, options) {\r\n if (!element) return;\r\n\r\n options = Object.assign(\r\n {\r\n alignWithTop: false,\r\n adjustOffsetTop: -20,\r\n adjustOffsetBottom: 20,\r\n },\r\n options\r\n );\r\n\r\n var rect = element.getBoundingClientRect();\r\n var offsetTop = rect.top + window.scrollY + options.adjustOffsetTop;\r\n var offsetBottom = offsetTop + rect.height + options.adjustOffsetBottom;\r\n var scrollTop = window.scrollY;\r\n var scrollBottom = scrollTop + window.innerHeight;\r\n\r\n if (offsetTop < scrollTop || (offsetBottom > scrollBottom && options.alignWithTop)) {\r\n window.scrollTo(0, offsetTop);\r\n } else if (offsetBottom > scrollBottom) {\r\n window.scrollTo(0, offsetBottom - window.innerHeight);\r\n }\r\n\r\n return element;\r\n}\r\n\r\n/**\r\n * Excluse bind of event listener. Removes and then adds the listener to the element.\r\n */\r\nexport function exclusiveBind(element, event, fnct) {\r\n element.removeEventListener(event, fnct);\r\n element.addEventListener(event, fnct);\r\n}\r\n\r\n/**\r\n * Toggle class on element. \r\n */\r\nexport function toggleClassList(element, className) {\r\n if (element.classList.contains(className)) {\r\n element.classList.remove(className);\r\n } else {\r\n element.classList.add(className);\r\n }\r\n}\r\n","import 'core-js/stable';\r\nimport 'regenerator-runtime/runtime';\r\n\r\nimport axios from 'axios';\r\nimport { computePosition, flip, shift, offset, arrow } from '@floating-ui/dom';\r\n\r\nconst debounce = require('lodash.debounce');\r\n\r\nimport { KpnCookies } from './cookies/kpn-cookies';\r\nimport $utils from './utils/kpn-utils';\r\nimport { wrapText } from './utils/wrap-text';\r\nimport { capitalizeFirst } from './utils/string-extensions';\r\nimport { ready } from './utils/ready';\r\nimport { hasClassRecursive } from './utils/dom';\r\nimport { getCurrentPageId } from './common/common';\r\n\r\n/**\r\n * Content glossary.\r\n * @param {*} element The element to search for glossary words.\r\n * @param {*} options The options object. \r\n */\r\nconst contentGlossary = function (element, options) {\r\n const container = $utils(element);\r\n\r\n // Avbryt om ordförklaringar ej aktiverats på sidan eller om cookies är inaktiverad\r\n if (document.body.classList.contains('glossary-enabled') === false || !navigator.cookieEnabled) {\r\n return false;\r\n }\r\n\r\n const cookieKey = 'hideGlossaryFnc';\r\n\r\n let isDisabled = KpnCookies.get(cookieKey) == '1';\r\n\r\n initFunctionToggleLink(isDisabled);\r\n\r\n if (!isDisabled) {\r\n initGlossary();\r\n }\r\n\r\n /**\r\n * Initiera ordförklaringar med lista från servern.\r\n */\r\n function initGlossary() { \r\n axios.get('/api/glossary/GetGlossaryWordList', {\r\n data: '&type=json&pid=' + getCurrentPageId(),\r\n responseType: 'json',\r\n }).then(function (response) {\r\n const responseData = response.data;\r\n initCleanTooltipsFromMarkup(); \r\n initGlossaryItems(responseData);\r\n initGlossaryEventListeners();\r\n }).catch(function(err) {\r\n console.log(err.message);\r\n $utils('#toggle-glossary').remove();\r\n }); \r\n }\r\n\r\n /**\r\n * Init glossary event listeners.\r\n */\r\n function initGlossaryEventListeners() {\r\n const glossaryItems = document.querySelectorAll('.glossary-tooltip');\r\n glossaryItems.forEach((item) => {\r\n const button = item;\r\n [\r\n ['click', showTooltipOnClickOnTouchDevices],\r\n ['mouseenter', showTooltipOnMouseEnter],\r\n ['mouseleave', hideTooltipOnMouseLeave],\r\n ['focus', showTooltipOnKeyboardFocus],\r\n ['blur', hideTooltipOnKeyboardBlur],\r\n ].forEach(function([event, listener]) {\r\n button.addEventListener(event, listener);\r\n });\r\n });\r\n\r\n const glossaryTooltipContentDivs = document.querySelectorAll('.kpn-glossary-tooltip-content');\r\n glossaryTooltipContentDivs.forEach((item) => {\r\n [\r\n ['mouseenter', showTooltipOnMouseEnterOnContent],\r\n ['mouseleave', hideTooltipContentOnMouseLeave]\r\n ].forEach(function([event, listener]) {\r\n item.addEventListener(event, listener);\r\n });\r\n });\r\n\r\n document.body.addEventListener('click', hideTooltipOnClickOutside);\r\n window.addEventListener('resize', handleRepositionTooltipOnScroll);\r\n window.addEventListener('scroll', debounce(handleRepositionTooltipOnScroll, 400)); \r\n }\r\n\r\n /**\r\n * Remove classes \"glossary-tooltip\" and \"tooltipstered\" that were added from Episerver.\r\n */\r\n function initCleanTooltipsFromMarkup() {\r\n const tooltipSpans = document.querySelectorAll('span.glossary-tooltip.tooltipstered');\r\n tooltipSpans.forEach((span) => {\r\n removeClassesFromElement(span);\r\n });\r\n }\r\n\r\n /**\r\n * Handle repositioning visible tooltip on resize and scroll.\r\n */\r\n function handleRepositionTooltipOnScroll() {\r\n window.requestAnimationFrame(function() {\r\n const visibleTooltip = document.querySelector('.kpn-glossary-tooltip-content--visible');\r\n if (visibleTooltip !== null) { \r\n const triggeringButtonId = visibleTooltip.getAttribute('data-triggering-button');\r\n if (triggeringButtonId !== null) {\r\n const button = document.getElementById(triggeringButtonId);\r\n updateTooltip(button, visibleTooltip);\r\n }\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Hitta element som är mål för ordförlaring\r\n * och mappa ordlista mot innehåll i dessa\r\n * @param {*} worditemlist The word list as json.\r\n */\r\n function initGlossaryItems(worditemlist) {\r\n container.find('p').each(function () {\r\n setGlossaryItems($utils(this), worditemlist);\r\n });\r\n\r\n // Ger fel om detta körs, behövs det verkligen?:\r\n // // Sök och markera ord direkt under p-element\r\n // // (p.introductionText kan ligga utanför $$this, hantera längre ned)\r\n // container.children('p:not(.introductionText)').each(function () {\r\n // setGlossaryItems($utils(this), worditemlist);\r\n // });\r\n\r\n // // p.introductionText kan ligga utanför $$this, sök på hela sidan\r\n $utils('p.introductionText').each(function () {\r\n setGlossaryItems($utils(this), worditemlist);\r\n });\r\n\r\n // // Sök och markera ord direkt under li-element\r\n container.find('li').each(function () {\r\n setGlossaryItems($utils(this), worditemlist);\r\n });\r\n\r\n // // Sök och markera ord direkt under th resp. td i tabeller som\r\n // // dekorerats med klassen 'glossary-tr' resp. 'glossary-td'\r\n container.find('table.glossary-th th, table.glossary-td td').each(function () {\r\n setGlossaryItems($utils(this), worditemlist);\r\n });\r\n\r\n // // Sök och markera ord direkt under li/p-element under tonplattor\r\n container.find('.highlightedContent p, .highlightedContent li').each(function () {\r\n setGlossaryItems($utils(this), worditemlist);\r\n });\r\n\r\n // // Sök och markera ord direkt element dekorerade med klassen 'glossary-target'\r\n container.find('.glossary-target').each(function () {\r\n setGlossaryItems($utils(this), worditemlist);\r\n });\r\n }\r\n\r\n /**\r\n * Matchar ord i ordlista mot innehåll i element.\r\n * Påträffade ord omgärdas av span-element som senare görs om till \"tooltip button\".\r\n * @param {*} element Elementet som ska genomsökas.\r\n * @param {*} worditemlist json-object som innehåller lista med ord som ska göras till ordförklaringar.\r\n */\r\n function setGlossaryItems(element, worditemlist) {\r\n let list = worditemlist;\r\n\r\n // Add glossary tooltip container if it doesn't exist\r\n let glossaryTooltipsContainer = document.getElementById('kpnGlossaryTooltipsContainer');\r\n if (glossaryTooltipsContainer === null) {\r\n glossaryTooltipsContainer = document.createElement('div');\r\n glossaryTooltipsContainer.setAttribute('id', 'kpnGlossaryTooltipsContainer');\r\n document.body.appendChild(glossaryTooltipsContainer);\r\n glossaryTooltipsContainer = document.getElementById('kpnGlossaryTooltipsContainer');\r\n }\r\n\r\n list.forEach(function (wordItem) {\r\n const theElement = element.first().get(0);\r\n const glossaryRegExp = new RegExp('(^| )(' + wordItem.Word + ')( |[\\\\.,!()+=`,\"@$#%*-\\\\?]|$)()', 'ig');\r\n const skipElementsList = ['A'];\r\n const tooltipId = 'glossary-tooltip';\r\n\r\n // Wrap matched words in span element\r\n const hasMatch = wrapText(\r\n theElement,\r\n wordItem.Word,\r\n glossaryRegExp,\r\n skipElementsList,\r\n 'button',\r\n ['glossary-tooltip', 'kpn-button--transparent'],\r\n [\r\n { name: 'type', value: 'button' },\r\n { name: 'data-glossary-item-id', value: wordItem.WordId },\r\n { name: 'id', value: tooltipId },\r\n { name: 'data-glossary-tooltip-guid', value: '' },\r\n ]\r\n );\r\n\r\n // If the current word is a match and there is no DOM element yet, add tooltip content to DOM\r\n const hasDom = doesTooltipContentDomExist(wordItem.WordId);\r\n if (hasMatch && hasDom === false) {\r\n const tooltip = createTooltip(wordItem); \r\n glossaryTooltipsContainer.appendChild(tooltip);\r\n }\r\n });\r\n\r\n /**\r\n * Create tooltip content element.\r\n * @param {*} wordItem The word item object to use in the tooltip element.\r\n * @returns A div element with the tooltip heading and description.\r\n */\r\n function createTooltip(wordItem) {\r\n const divId = 'kpn-tooltip-content-' + wordItem.WordId;\r\n const tooltipDiv = document.createElement('div');\r\n tooltipDiv.classList.add('kpn-glossary-tooltip-content');\r\n tooltipDiv.setAttribute('data-glossary-item-id', wordItem.WordId);\r\n tooltipDiv.setAttribute('id', divId);\r\n let heading = wordItem.Word.replace('\\\\ ', ' ');\r\n heading = capitalizeFirst(heading);\r\n tooltipDiv.innerHTML = '' + heading + '
' + '' + wordItem.Description + '
';\r\n\r\n // Tooltip arrow\r\n const arrow = document.createElement('div');\r\n arrow.classList.add('kpn-glossary-tooltip-content__arrow');\r\n tooltipDiv.appendChild(arrow);\r\n\r\n return tooltipDiv;\r\n }\r\n\r\n /**\r\n * Check if the tooltip content already has been added to the DOM.\r\n * @param {string} id The id of the tooltip content. \r\n */\r\n function doesTooltipContentDomExist(id) {\r\n const tooltipId = 'kpn-tooltip-content-' + id;\r\n return document.getElementById(tooltipId) !== null;\r\n }\r\n }\r\n\r\n /**\r\n * Remove classes from element.\r\n * @param {Element} element The element to remove the classes from.\r\n */\r\n function removeClassesFromElement(element) {\r\n element.removeAttribute('class');\r\n }\r\n\r\n /**\r\n * Lägger till länk som slår av/på ordförklaringsfunktionen. Vald status sparas (x)\r\n * i cookie (hideGlossaryFnc: 0/1) och slår igenom på alla sidor där funktionen är tillgänglig.\r\n * @param {boolean} disabled Flagga som bestämmer vad som ska stå på knappen.\r\n */\r\n function initFunctionToggleLink(disabled) { \r\n const hasGlossaryToggle = document.getElementById('toggle-glossary') !== null;\r\n if (hasGlossaryToggle === false) {\r\n options.functionToggleContainer.prepend('');\r\n }\r\n\r\n var toggleGlossaryButton = $utils('#toggle-glossary');\r\n\r\n if (disabled) {\r\n toggleGlossaryButton.addClass('disabled');\r\n toggleGlossaryButton.text('Visa ordförklaringar');\r\n } else {\r\n toggleGlossaryButton.text('Dölj ordförklaringar');\r\n }\r\n\r\n toggleGlossaryButton.on('click', function (evt) {\r\n var cookieValue = disabled ? '0' : '1';\r\n KpnCookies.set(cookieKey, cookieValue, { path: '/' });\r\n window.location = window.location;\r\n });\r\n }\r\n\r\n /**\r\n * Update tooltip content positioning.\r\n * @param {HTMLButtonElement} button The button element to position the tooltip next to.\r\n * @param {HTMLDivElement} tooltip The tooltip to update.\r\n */\r\n function updateTooltip(button, tooltip) {\r\n const arrowElement = tooltip.querySelectorAll(':scope div.kpn-glossary-tooltip-content__arrow')[0];\r\n // Position tooltip\r\n computePosition(button, tooltip, {\r\n placement: 'top',\r\n middleware: [offset(0), flip(), shift({ padding: 4 }), arrow({ element: arrowElement })],\r\n }).then(({ x, y, placement, middlewareData }) => {\r\n Object.assign(tooltip.style, {\r\n left: `${x}px`,\r\n top: `${y}px`,\r\n });\r\n\r\n // Arrow position\r\n const { x: arrowX, y: arrowY } = middlewareData.arrow;\r\n\r\n const staticSide = {\r\n top: 'bottom',\r\n right: 'left',\r\n bottom: 'top',\r\n left: 'right',\r\n }[placement.split('-')[0]];\r\n\r\n Object.assign(arrowElement.style, {\r\n left: arrowX != null ? `${arrowX}px` : '',\r\n top: arrowY != null ? `${arrowY}px` : '',\r\n right: '',\r\n bottom: '',\r\n [staticSide]: '-4px',\r\n });\r\n });\r\n }\r\n\r\n /**\r\n * Hide clicked tooltips on clicking on other elements/rest of the DOM on touch devices.\r\n * @param {object} event The event object.\r\n */\r\n function hideTooltipOnClickOutside(event) {\r\n if (getInputMethod() === 'touch') {\r\n const isTooltip = isTargetTooltip(event.target);\r\n if (isTooltip !== true) {\r\n hideAllVisibleTooltips();\r\n removeClickedAttributeFromAllButtons();\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Is the event target the tooltip button or tooltip content.\r\n * @param {Element} target The target element to check\r\n * @returns boolean\r\n */\r\n function isTargetTooltip(target) { \r\n const isTooltipButton = hasClassRecursive(target, 'glossary-tooltip') === true;\r\n const isTooltipContent = hasClassRecursive(target, 'kpn-glossary-tooltip-content') === true;\r\n const isTooltip = isTooltipButton === true || isTooltipContent === true;\r\n return isTooltip;\r\n }\r\n\r\n /**\r\n * Get the tooltip element.\r\n * @param {HTMLButtonElement} button The button element to get the id of the tooltip content from.\r\n */\r\n function getTooltipContentElement(button) {\r\n const itemId = getTooltipId(button);\r\n const tooltip = getTooltipContent(itemId);\r\n return tooltip;\r\n }\r\n\r\n /**\r\n * Get the tooltip content element.\r\n * @param {string} itemId The item id of the tooltip content element. \r\n */\r\n function getTooltipContent(itemId) {\r\n return document.querySelector('div.kpn-glossary-tooltip-content[data-glossary-item-id=\"' + itemId + '\"');\r\n }\r\n\r\n /**\r\n * Get tooltip id\r\n * @param {Element} element The element to get the attribute from. \r\n */\r\n function getTooltipId(element) {\r\n return element.getAttribute('data-glossary-item-id');\r\n }\r\n\r\n /**\r\n * Show the tooltip.\r\n * @param {MouseEvent} event The event object.\r\n */\r\n function showTooltipOnMouseEnter(event) { \r\n const button = event.target;\r\n const tooltip = getTooltipContentElement(button);\r\n \r\n // Clear previous visible tooltips and clicked buttons.\r\n hideAllVisibleTooltips(tooltip);\r\n removeClickedAttributeFromAllButtons();\r\n \r\n const buttonGuid = button.getAttribute('data-glossary-tooltip-guid');\r\n const buttonId = `glossary-tooltip-${buttonGuid}`;\r\n button.setAttribute('data-kpn-triggering-button', '');\r\n document.body.setAttribute('data-kpn-showing-tooltip-id', buttonId);\r\n \r\n showTooltipContent(tooltip);\r\n tooltip.setAttribute('data-triggering-button', buttonId);\r\n\r\n\r\n tooltip.addEventListener('mouseenter', showTooltipOnMouseEnterOnContent);\r\n tooltip.addEventListener('mouseleave', hideTooltipContentOnMouseLeave);\r\n\r\n updateTooltip(button, tooltip);\r\n }\r\n\r\n /**\r\n * Show tooltip on mouse enter on tooltip content.\r\n * @param {MouseEvent} event The event object.\r\n */\r\n function showTooltipOnMouseEnterOnContent (event) { \r\n this.setAttribute('data-kpn-tooltip-keep-open', 'true');\r\n }\r\n\r\n /**\r\n * Hide tooltip content on mouse leaving it.\r\n * @param {MouseEvent} event The event object.\r\n */\r\n function hideTooltipContentOnMouseLeave(event) { \r\n const target = event.target;\r\n if (this.hasAttribute('data-triggering-button')) {\r\n this.removeAttribute('data-triggering-button');\r\n }\r\n\r\n /**\r\n * Is mouse over tooltip content.\r\n */\r\n function isMouseOverTooltipButton() {\r\n const hoveredElement = document.elementFromPoint(event.clientX, event.clientY);\r\n const isHoveredElementATooltipButton = hasClassRecursive(hoveredElement, 'glossary-tooltip');\r\n const isOverTooltip = hasClassRecursive(hoveredElement, 'kpn-glossary-tooltip-content') === true;\r\n const isSameButton = hoveredElement === target;\r\n if (isOverTooltip === false && isHoveredElementATooltipButton === false && isSameButton === false) { \r\n hideTooltipContent(target);\r\n \r\n if (target.hasAttribute('data-kpn-tooltip-keep-open')) {\r\n target.removeAttribute('data-kpn-tooltip-keep-open');\r\n } \r\n }\r\n }\r\n\r\n setTimeout(isMouseOverTooltipButton, 350);\r\n }\r\n\r\n\r\n /**\r\n * Hide the tooltip.\r\n * @param {MouseEvent} event The event object.\r\n */\r\n function hideTooltipOnMouseLeave(event) { \r\n const target = event.target; \r\n const tooltipContent = getTooltipContentElement(target);\r\n\r\n /**\r\n * Is mouse over tooltip content.\r\n */\r\n function isMouseOverTooltip() {\r\n const hoveredElement = document.elementFromPoint(event.clientX, event.clientY);\r\n const isOverTooltip = hasClassRecursive(hoveredElement, 'kpn-glossary-tooltip-content') === true;\r\n const isSameButton = hoveredElement === target;\r\n \r\n\r\n if ((isSameButton === false && isOverTooltip === false) || tooltipContent.hasAttribute('data-kpn-tooltip-keep-open') === false) { \r\n hideTooltipContent(tooltipContent);\r\n \r\n if (tooltipContent.hasAttribute('data-triggering-button')) {\r\n tooltipContent.removeAttribute('data-triggering-button');\r\n }\r\n }\r\n }\r\n\r\n setTimeout(isMouseOverTooltip, 350);\r\n }\r\n \r\n /**\r\n * Show the tooltip.\r\n * @param {object} event The event object.\r\n */\r\n function showTooltipOnKeyboardFocus(event) { \r\n const button = event.target;\r\n \r\n if (getInputMethod() === 'keyboard' && button.classList.contains('glossary-tooltip')) {\r\n const tooltip = getTooltipContentElement(button);\r\n \r\n // Clear previous visible tooltips and clicked buttons.\r\n hideAllVisibleTooltips();\r\n removeClickedAttributeFromAllButtons();\r\n\r\n const buttonGuid = button.getAttribute('data-glossary-tooltip-guid');\r\n const buttonId = `glossary-tooltip-${buttonGuid}`;\r\n \r\n tooltip.style.display = 'block';\r\n tooltip.classList.add('kpn-glossary-tooltip-content--visible');\r\n tooltip.setAttribute('data-triggering-button', buttonId);\r\n \r\n updateTooltip(button, tooltip);\r\n }\r\n }\r\n\r\n /**\r\n * Get the current input method (mouse, keyboard or touch) that what-input has set as an attribute to the html element.\r\n */\r\n function getInputMethod() {\r\n return document.querySelector('html').getAttribute('data-whatinput');\r\n }\r\n\r\n /**\r\n * Hide tooltip on keyboard blur.\r\n * @param {object} event The event object.\r\n */\r\n function hideTooltipOnKeyboardBlur(event) { \r\n const button = event.target; \r\n if (getInputMethod() === 'keyboard' && button.classList.contains('glossary-tooltip') && event.relatedTarget) { \r\n if (event.relatedTarget.classList.contains('glossary-tooltip') === false) {\r\n hideAllVisibleTooltips();\r\n removeClickedAttributeFromAllButtons();\r\n }\r\n } \r\n }\r\n\r\n /**\r\n * Show tooltip on click on touch devices.\r\n * @param {object} event The event object.\r\n */\r\n function showTooltipOnClickOnTouchDevices(event) { \r\n if (getInputMethod() === 'touch') {\r\n const button = event.target;\r\n const buttonGuid = button.getAttribute('data-glossary-tooltip-guid');\r\n const buttonId = `glossary-tooltip-${buttonGuid}`;\r\n \r\n hideAllVisibleTooltips();\r\n removeClickedAttributeFromAllButtons(buttonId);\r\n button.setAttribute('data-tooltip-clicked', 'true');\r\n \r\n const tooltip = getTooltipContentElement(button);\r\n tooltip.style.display = 'block';\r\n tooltip.classList.add('kpn-glossary-tooltip-content--visible');\r\n \r\n tooltip.setAttribute('data-triggering-button', buttonId); \r\n \r\n updateTooltip(button, tooltip);\r\n }\r\n }\r\n\r\n /**\r\n * Hide all visible tooltips.\r\n * @param {HTMLElement} current If parameter current is present then it will not be hidden.\r\n */\r\n function hideAllVisibleTooltips(current = null) {\r\n const visibleTooltips = document.querySelectorAll('.kpn-glossary-tooltip-content--visible');\r\n for (let i = 0; i < visibleTooltips.length; i++) {\r\n const tooltip = visibleTooltips[i];\r\n if (tooltip === current) {\r\n continue;\r\n }\r\n hideTooltipContent(tooltip);\r\n }\r\n }\r\n\r\n /**\r\n * Remove \"clicked\" attribute on button.\r\n * @param {HTMLButtonElement} button The element to remove the attribute from.\r\n */\r\n function setButtonNotClicked(button) {\r\n if (button.hasAttribute('data-tooltip-clicked')) {\r\n button.removeAttribute('data-tooltip-clicked');\r\n }\r\n }\r\n\r\n /**\r\n * Remove clicked attribute from all buttons.\r\n * @param {string} id The id of the button to exclude from removing the attribute from.\r\n */\r\n function removeClickedAttributeFromAllButtons(id) { \r\n const clickedButtons = document.querySelectorAll('.glossary-tooltip[data-tooltip-clicked]');\r\n if (clickedButtons.length > 0) {\r\n for (let i = 0; i < clickedButtons.length; i++) {\r\n const button = clickedButtons[i];\r\n const buttonGuid = button.getAttribute('data-glossary-tooltip-guid');\r\n const buttonId = `glossary-tooltip-${buttonGuid}`;\r\n if (id === undefined || buttonId !== id) {\r\n setButtonNotClicked(button);\r\n }\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Hide tooltip content.\r\n * @param {HTMLElement} tooltip The tooltip content to hide.\r\n */\r\n function hideTooltipContent(tooltip) {\r\n tooltip.style.display = 'none';\r\n tooltip.classList.remove('kpn-glossary-tooltip-content--visible'); \r\n }\r\n\r\n /**\r\n * Show tooltip content.\r\n * @param {HTMLElement} tooltip The tooltip content to show.\r\n */\r\n function showTooltipContent(tooltip) {\r\n tooltip.style.display = 'block'; \r\n tooltip.classList.add('kpn-glossary-tooltip-content--visible');\r\n }\r\n\r\n}\r\n\r\nready(function() {\r\n const elements = $utils('body:not(.edit-mode) .content__main, body:not(.edit-mode) .content__top-block-area');\r\n\r\n const main = $utils('main');\r\n\r\n elements.each((element) => {\r\n contentGlossary(element, {\r\n functionToggleContainer: main,\r\n });\r\n });\r\n});\r\n","import { generateGUID } from './guid';\r\n\r\n/**\r\n * Wrap text in html element.\r\n * @param {*} container \r\n * @param {*} text \r\n * @param {*} regex \r\n * @param {*} replace \r\n * @param {*} skip \r\n * @param {*} wrappingElement \r\n * @param {*} cssClass \r\n */\r\nexport function wrapText(container, text, regex, skip, wrappingElement, cssClasses, attributes) {\r\n // Construct a regular expression that matches text at the start or end of a string or surrounded by non-word characters.\r\n // Escape any special regex characters in text. \r\n var textRE = regex !== undefined ? regex : new RegExp('(^| )('+text+')( |[\\\\.,!()+=`,\"@$#%*-\\\\?]|$)()', 'ig');\r\n var nodeText;\r\n var nodeStack = [];\r\n var hasMatch = false;\r\n\r\n // Remove empty text nodes and combine adjacent text nodes.\r\n container.normalize();\r\n\r\n // Iterate through the container's child elements, looking for text nodes.\r\n var curNode = container.firstChild;\r\n\r\n while (curNode != null) {\r\n if (curNode.nodeType == Node.TEXT_NODE) {\r\n // Get node text in a cross-browser compatible fashion.\r\n if (typeof curNode.textContent == 'string') {\r\n nodeText = curNode.textContent;\r\n }\r\n else {\r\n nodeText = curNode.innerText;\r\n } \r\n\r\n // Use a regular expression to check if this text node contains the target text.\r\n var match = textRE.exec(nodeText);\r\n if (match != null) {\r\n // If text node already wrapped, continue\r\n if (curNode.parentNode.classList.contains('wrapped')) {\r\n continue;\r\n }\r\n\r\n hasMatch = true;\r\n\r\n // Create a document fragment to hold the new nodes.\r\n var fragment = document.createDocumentFragment();\r\n\r\n // Create a new text node for any preceding text.\r\n if (match.index > 0) {\r\n fragment.appendChild(document.createTextNode(match.input.substr(0, match.index)));\r\n }\r\n\r\n // Create the wrapper element and add the matched text to it.\r\n var wrapperElementName = wrappingElement !== null ? wrappingElement : 'mark';\r\n var wrapping = document.createElement(wrapperElementName);\r\n \r\n // Set CSS classes\r\n if (cssClasses !== undefined && cssClasses.length > 0) {\r\n cssClasses.forEach((cssClass) => {\r\n wrapping.classList.add(cssClass);\r\n }); \r\n }\r\n wrapping.classList.add('wrapped');\r\n\r\n // Set HTML attributes\r\n if (attributes !== undefined && attributes.length > 0) {\r\n const guid = generateGUID();\r\n attributes.forEach((attribute) => {\r\n if (attribute.name === 'id') {\r\n const idAttribute = attribute.value + '-' + guid;\r\n wrapping.setAttribute(attribute.name, idAttribute);\r\n }\r\n else if (attribute.name.indexOf('guid') !== -1) {\r\n wrapping.setAttribute(attribute.name, guid);\r\n }\r\n else {\r\n wrapping.setAttribute(attribute.name, attribute.value);\r\n }\r\n });\r\n }\r\n\r\n wrapping.appendChild(document.createTextNode(match[0]));\r\n fragment.appendChild(wrapping);\r\n\r\n // Create a new text node for any following text.\r\n if (match.index + match[0].length < match.input.length) {\r\n fragment.appendChild(document.createTextNode(match.input.substr(match.index + match[0].length)));\r\n }\r\n\r\n // Replace the existing text node with the fragment.\r\n curNode.parentNode.replaceChild(fragment, curNode);\r\n\r\n curNode = wrapping;\r\n }\r\n } else if (curNode.nodeType == Node.ELEMENT_NODE && curNode.firstChild != null && skip.findIndex(x => x === curNode.nodeName) === -1) { \r\n nodeStack.push(curNode);\r\n curNode = curNode.firstChild;\r\n // Skip the normal node advancement code.\r\n continue;\r\n }\r\n\r\n // If there's no more siblings at this level, pop back up the stack until we find one.\r\n while (curNode != null && curNode.nextSibling == null) {\r\n curNode = nodeStack.pop();\r\n }\r\n\r\n // If curNode is null, that means we've completed our scan of the DOM tree.\r\n // If not, we need to advance to the next sibling.\r\n if (curNode != null) {\r\n curNode = curNode.nextSibling;\r\n }\r\n }\r\n\r\n return hasMatch;\r\n}\r\n","/**\r\n * Capitalize first character in string.\r\n * @param {*} str The string to capitalize.\r\n * @returns The provided string with a capital first character.\r\n */\r\nexport function capitalizeFirst(str){\r\n str = str || '';\r\n\r\n // string length must be more than 1\r\n if(str.length<2){\r\n return str;\r\n }\r\n\r\n return str[0].toUpperCase()+str.slice(1);\r\n}\r\n\r\n/**\r\n * Converts number to string with thousand separator.\r\n * @param {number} value \r\n * @returns \r\n */\r\n export function numberWithThousandSeparator(value) {\r\n return value.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \" \");\r\n}\r\n","// source: https://youmightnotneedjquery.com/?support=ie11#ready\r\n/**\r\n * Run callback function when DOM is ready.\r\n * @param {*} fn The callback to run.\r\n */\r\nexport function ready(fn) {\r\n if (\r\n document.attachEvent\r\n ? document.readyState === 'complete'\r\n : document.readyState !== 'loading'\r\n ) {\r\n fn();\r\n } else {\r\n document.addEventListener('DOMContentLoaded', fn);\r\n }\r\n}\r\n"],"names":["isCallable","tryToString","$TypeError","TypeError","module","exports","argument","_typeof","obj","Symbol","iterator","constructor","prototype","$String","String","isPrototypeOf","it","Prototype","isObject","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","el","fromIndex","value","O","length","index","includes","indexOf","DESCRIPTORS","isArray","getOwnPropertyDescriptor","Object","SILENT_ON_NON_WRITABLE_LENGTH_SET","undefined","this","defineProperty","writable","error","uncurryThis","toString","stringSlice","slice","TO_STRING_TAG_SUPPORT","classofRaw","TO_STRING_TAG","wellKnownSymbol","$Object","CORRECT_ARGUMENTS","arguments","tag","result","key","tryGet","callee","hasOwn","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","target","source","exceptions","keys","f","i","createPropertyDescriptor","object","bitmap","enumerable","configurable","makeBuiltIn","defineGlobalProperty","options","simple","name","global","unsafe","nonConfigurable","nonWritable","P","fails","get","documentAll","document","all","IS_HTMLDDA","EXISTS","createElement","IndexSizeError","s","c","m","DOMStringSizeError","HierarchyRequestError","WrongDocumentError","InvalidCharacterError","NoDataAllowedError","NoModificationAllowedError","NotFoundError","NotSupportedError","InUseAttributeError","InvalidStateError","SyntaxError","InvalidModificationError","NamespaceError","InvalidAccessError","ValidationError","TypeMismatchError","SecurityError","NetworkError","AbortError","URLMismatchError","QuotaExceededError","TimeoutError","InvalidNodeTypeError","DataCloneError","getBuiltIn","match","version","userAgent","process","Deno","versions","v8","split","$Error","Error","replace","TEST","stack","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","test","dropEntries","prepareStackTrace","createNonEnumerableProperty","defineBuiltIn","copyConstructorProperties","isForced","targetProperty","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","forced","sham","exec","bind","hasOwnProperty","NATIVE_BIND","call","Function","apply","FunctionPrototype","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","fn","namespace","method","aCallable","isNullOrUndefined","V","func","check","Math","globalThis","window","self","g","toObject","a","classof","propertyIsEnumerable","setPrototypeOf","dummy","Wrapper","NewTarget","NewTargetPrototype","store","functionToString","inspectSource","set","has","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","WeakMap","state","metadata","facade","STATE","enforce","getterFor","TYPE","type","Array","$documentAll","replacement","feature","detection","data","normalize","POLYFILL","NATIVE","string","toLowerCase","USE_SYMBOL_AS_UID","$Symbol","toLength","CONFIGURABLE_FUNCTION_NAME","InternalStateModule","enforceInternalState","getInternalState","CONFIGURABLE_LENGTH","TEMPLATE","getter","setter","arity","join","ceil","floor","trunc","x","n","$default","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","propertyIsEnumerableModule","internalObjectKeys","concat","getOwnPropertyNames","getOwnPropertySymbols","push","names","$propertyIsEnumerable","NASHORN_BUG","aPossiblePrototype","CORRECT_SETTER","proto","__proto__","input","pref","val","valueOf","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","uid","SHARED","IS_PURE","mode","copyright","license","V8_VERSION","symbol","toIntegerOrInfinity","max","min","integer","IndexedObject","requireObjectCoercible","number","isSymbol","getMethod","ordinaryToPrimitive","TO_PRIMITIVE","exoticToPrim","toPrimitive","id","postfix","random","NATIVE_SYMBOL","WellKnownSymbolsStore","_Symbol","symbolFor","createWellKnownSymbol","withoutSetter","description","$","setArrayLength","doesNotExceedSafeInteger","INCORRECT_TO_LENGTH","SILENT_ON_NON_WRITABLE_LENGTH","item","len","argCount","deletePropertyOrThrow","INCORRECT_RESULT","unshift","k","to","j","anInstance","inheritIfRequired","normalizeStringArgument","DOMExceptionConstants","clearErrorStack","DOM_EXCEPTION","NativeDOMException","$DOMException","DOMExceptionPrototype","argumentsLength","message","that","ERROR_HAS_STACK","DOM_EXCEPTION_HAS_STACK","BUGGY_DESCRIPTOR","FORCED_CONSTRUCTOR","DOMException","PolyfilledDOMException","PolyfilledDOMExceptionPrototype","constant","constantName","NAN","symbolTag","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","freeGlobal","freeSelf","root","objectToString","nativeMax","nativeMin","now","Date","toNumber","isObjectLike","other","isBinary","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","remainingWait","debounced","isInvoking","leadingEdge","cancel","clearTimeout","flush","runtime","Op","desc","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","err","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","arg","GenStateSuspendedStart","GenStateSuspendedYield","GenStateExecuting","GenStateCompleted","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","__await","then","unwrapped","previousPromise","callInvokeWithMethodAndArg","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","done","methodName","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","displayName","isGeneratorFunction","genFun","ctor","mark","awrap","async","Promise","iter","reverse","pop","skipTempReset","prev","charAt","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","isConstructor","UNSCOPABLES","ArrayPrototype","S","unicode","ArrayBuffer","DataView","buffer","isExtensible","NAME","Constructor","NATIVE_ARRAY_BUFFER","defineBuiltInAccessor","Int8Array","Int8ArrayPrototype","Uint8ClampedArray","Uint8ClampedArrayPrototype","TypedArray","TypedArrayPrototype","ObjectPrototype","TYPED_ARRAY_TAG","TYPED_ARRAY_CONSTRUCTOR","NATIVE_ARRAY_BUFFER_VIEWS","opera","TYPED_ARRAY_TAG_REQUIRED","TypedArrayConstructorsList","Uint8Array","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigIntArrayConstructorsList","BigInt64Array","BigUint64Array","isTypedArray","klass","aTypedArray","aTypedArrayConstructor","C","exportTypedArrayMethod","KEY","property","ARRAY","TypedArrayConstructor","error2","exportTypedArrayStaticMethod","getTypedArrayConstructor","isView","FunctionName","defineBuiltIns","toIndex","IEEE754","arrayFill","arraySlice","setToStringTag","PROPER_FUNCTION_NAME","ARRAY_BUFFER","DATA_VIEW","PROTOTYPE","WRONG_INDEX","getInternalArrayBufferState","getInternalDataViewState","setInternalState","NativeArrayBuffer","$ArrayBuffer","ArrayBufferPrototype","$DataView","DataViewPrototype","RangeError","fill","packIEEE754","pack","unpackIEEE754","unpack","packInt8","packInt16","packInt32","unpackInt32","packFloat32","packFloat64","addGetter","view","count","isLittleEndian","intIndex","byteLength","bytes","start","byteOffset","conversion","INCORRECT_ARRAY_BUFFER_NAME","NaN","testView","$setInt8","setInt8","getInt8","setUint8","detached","bufferState","bufferLength","offset","getUint8","getInt16","getUint16","getInt32","getUint32","getFloat32","getFloat64","setInt16","setUint16","setInt32","setUint32","setFloat32","setFloat64","copyWithin","from","end","inc","endPos","$forEach","STRICT_METHOD","arrayMethodIsStrict","callbackfn","list","callWithSafeIterationClosing","isArrayIteratorMethod","createProperty","getIterator","getIteratorMethod","$Array","arrayLike","IS_CONSTRUCTOR","mapfn","mapping","step","IS_FIND_LAST_INDEX","boundFunction","findLast","findLastIndex","arraySpeciesCreate","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","specificCreate","map","filter","some","every","find","findIndex","filterReject","$lastIndexOf","lastIndexOf","NEGATIVE_ZERO","FORCED","searchElement","SPECIES","METHOD_NAME","array","foo","Boolean","IS_RIGHT","memo","left","right","fin","insertionSort","comparefn","element","merge","llength","rlength","lindex","rindex","mergeSort","middle","originalArray","arraySpeciesConstructor","A","$RangeError","relativeIndex","actualIndex","itoc","ctoi","iteratorClose","ENTRIES","ITERATOR","SAFE_CLOSING","called","iteratorWithReturn","SKIP_CLOSING","ITERATION_SUPPORT","iterate","defineIterator","createIterResultObject","setSpecies","fastKey","internalStateGetterFor","getConstructor","wrapper","CONSTRUCTOR_NAME","ADDER","first","last","size","AS_ENTRIES","previous","getEntry","removed","clear","add","setStrong","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","iterated","kind","getWeakData","ArrayIterationModule","splice","uncaughtFrozenStore","frozen","UncaughtFrozenStore","entries","findUncaughtFrozen","InternalMetadataModule","checkCorrectnessOfIteration","common","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","uncurriedNativeMethod","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","MATCH","regexp","error1","F","quot","attribute","p1","propertyKey","padStart","$isFinite","isFinite","abs","DatePrototype","nativeDateToISOString","toISOString","thisTimeValue","getTime","getUTCDate","getUTCFullYear","getUTCHours","getUTCMilliseconds","getUTCMinutes","getUTCMonth","getUTCSeconds","date","year","milliseconds","sign","hint","src","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","classList","documentCreateElement","DOMTokenListPrototype","firefox","IS_DENO","IS_NODE","Bun","UA","Pebble","navigator","webkit","CONSTRUCTOR","ERROR_STACK_INSTALLABLE","captureStackTrace","nativeErrorToString","INCORRECT_TO_STRING","regexpExec","RegExpPrototype","RegExp","SHAM","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","re","flags","uncurriedNativeRegExpMethod","methods","nativeMethod","str","arg2","forceStringMethod","$exec","flattenIntoArray","original","sourceLen","depth","mapper","targetIndex","sourceIndex","mapFn","preventExtensions","Reflect","$Function","factories","partArgs","argsLength","construct","Iterators","usingIterator","replacer","rawLength","keysLength","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","matched","position","captures","namedCaptures","tailPos","symbols","ch","capture","b","console","pow","log","LN2","mantissaLength","exponent","mantissa","exponentLength","eMax","eBias","rt","Infinity","nBits","cause","getOwnPropertyNamesExternalModule","FREEZING","REQUIRED","METADATA","setMetadata","objectID","weakData","meta","onFreeze","noop","empty","constructorRegExp","isConstructorModern","isConstructorLegacy","Number","isInteger","isRegExp","Result","stopped","ResultPrototype","unboundFunction","iterFn","IS_RECORD","IS_ITERATOR","INTERRUPTED","condition","callFn","innerResult","innerError","returnThis","IteratorConstructor","ENUMERABLE_NEXT","createIteratorConstructor","IteratorsCore","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","Iterable","DEFAULT","IS_SET","CurrentIteratorPrototype","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","PrototypeOfArrayIteratorPrototype","arrayIterator","MapPrototype","Map","remove","$expm1","expm1","exp","EPSILON","EPSILON32","MAX32","MIN32","fround","$abs","$sign","roundTiesToEven","LOG10E","log10","log1p","notify","toggle","node","promise","macrotask","Queue","IS_IOS","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","MutationObserver","WebKitMutationObserver","queueMicrotaskDescriptor","microtask","queue","parent","domain","exit","head","enter","nextTick","createTextNode","observe","characterData","PromiseCapability","$$resolve","$$reject","globalIsFinite","trim","whitespaces","$parseFloat","parseFloat","trimmedString","$parseInt","hex","radix","objectKeys","$assign","assign","B","alphabet","chr","T","activeXDocument","definePropertiesModule","enumBugKeys","html","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","_NullProtoObject","ActiveXObject","iframeDocument","iframe","JS","style","display","appendChild","contentWindow","open","Properties","defineProperties","props","$getOwnPropertyNames","windowNames","getWindowNames","CORRECT_PROTOTYPE_GETTER","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","WEBKIT","__defineSetter__","uncurryThisAccessor","objectGetPrototypeOf","IE_BUG","TO_ENTRIES","IE_WORKAROUND","NativePromiseConstructor","IS_BROWSER","NativePromisePrototype","SUBCLASSING","NATIVE_PROMISE_REJECTION_EVENT","PromiseRejectionEvent","FORCED_PROMISE_CONSTRUCTOR","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","FakePromise","REJECTION_EVENT","newPromiseCapability","promiseCapability","Target","Source","tail","R","re1","re2","regexpFlags","stickyHelpers","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeReplace","nativeExec","patchedExec","UPDATES_LAST_INDEX_WRONG","lastIndex","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","reCopy","group","raw","groups","sticky","charsAdded","strCopy","multiline","hasIndices","ignoreCase","dotAll","unicodeSets","regExpFlags","$RegExp","MISSED_STICKY","is","y","ENGINE_IS_BUN","USER_AGENT","validateArgumentsLength","WRAP","scheduler","hasTimeArg","firstParamIndex","handler","timeout","boundArgs","params","callback","SetPrototype","Set","TAG","aConstructor","defaultConstructor","charCodeAt","CONVERT_TO_STRING","pos","second","codeAt","$repeat","repeat","IS_END","maxLength","fillString","fillLen","stringFiller","intMaxLength","stringLength","fillStr","maxInt","regexNonASCII","regexSeparators","OVERFLOW_ERROR","fromCharCode","digitToBasic","digit","adapt","delta","numPoints","firstTime","baseMinusTMin","base","encode","output","counter","extra","ucs2decode","currentValue","inputLength","bias","basicLength","handledCPCount","handledCPCountPlusOne","q","t","qMinusT","baseMinusT","label","encoded","labels","$trimEnd","forcedStringTrimMethod","trimEnd","$trimStart","trimStart","ltrim","rtrim","V8","structuredClone","clone","transfer","SymbolPrototype","keyFor","$location","defer","channel","port","setImmediate","clearImmediate","Dispatch","MessageChannel","ONREADYSTATECHANGE","location","run","runner","eventListener","event","globalPostMessageDefer","postMessage","protocol","host","port2","port1","onmessage","addEventListener","importScripts","removeChild","prim","BigInt","toPositiveInteger","BYTES","TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS","ArrayBufferViewCore","ArrayBufferModule","isIntegralNumber","toOffset","typedArrayFrom","nativeDefineProperty","nativeGetOwnPropertyDescriptor","round","BYTES_PER_ELEMENT","WRONG_LENGTH","fromList","isArrayBuffer","isTypedArrayIndex","wrappedGetOwnPropertyDescriptor","wrappedDefineProperty","CLAMPED","GETTER","SETTER","NativeTypedArrayConstructor","TypedArrayConstructorPrototype","addElement","typedArrayOffset","$length","$len","arrayFromConstructorAndList","typedArraySpeciesConstructor","isBigIntArray","toBigInt","thisIsBigIntArray","speciesConstructor","url","URL","searchParams","searchParams2","URLSearchParams","pathname","toJSON","sort","href","username","hash","passed","required","path","wrappedWellKnownSymbolModule","proxyAccessor","installErrorCause","installErrorStack","FULL_NAME","IS_AGGREGATE_ERROR","STACK_TRACE_LIMIT","OPTIONS_POSITION","ERROR_NAME","OriginalError","OriginalErrorPrototype","BaseError","WrappedError","wrapErrorConstructorWithCause","AGGREGATE_ERROR","$AggregateError","errors","AggregateError","init","isInstance","AggregateErrorPrototype","errorsArray","arrayBufferModule","nativeArrayBufferSlice","viewSource","viewTarget","addToUnscopables","at","arrayMethodHasSpeciesSupport","IS_CONCAT_SPREADABLE","IS_CONCAT_SPREADABLE_SUPPORT","isConcatSpreadable","spreadable","E","$every","$filter","$findIndex","FIND_INDEX","SKIPS_HOLES","$findLastIndex","$findLast","$find","FIND","flatMap","flat","depthArg","$includes","$indexOf","nativeIndexOf","ARRAY_ITERATOR","Arguments","nativeJoin","separator","$map","of","properErrorOnNonWritableLength","$reduceRight","CHROME_VERSION","reduceRight","$reduce","reduce","nativeReverse","nativeSlice","HAS_SPECIES_SUPPORT","$some","internalSort","FF","IE_OR_EDGE","nativeSort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STABLE_SORT","code","v","itemsLength","items","arrayLength","getSortCompare","deleteCount","insertCount","actualDeleteCount","actualStart","arrayToReversed","toReversed","getVirtual","toSorted","compareFn","toSpliced","newLen","arrayWith","getYear","getFullYear","$Date","setFullYear","setYear","yi","toGMTString","toUTCString","pv","dateToPrimitive","INVALID_DATE","TO_STRING","nativeDateToString","WEB_ASSEMBLY","WebAssembly","exportGlobalErrorCauseWrapper","exportWebAssemblyErrorCauseWrapper","errorToString","ErrorPrototype","numberToString","toUpperCase","escape","HAS_INSTANCE","FUNCTION_NAME_EXISTS","nameRE","regExpExec","getReplacerFunction","$stringify","tester","low","hi","WRONG_SYMBOLS_CONVERSION","ILL_FORMED_UNICODE","stringifyWithSymbolsFix","$replacer","fixIllFormed","stringify","space","JSON","collection","$acosh","acosh","sqrt","MAX_VALUE","$asinh","asinh","$atanh","atanh","cbrt","LOG2E","clz32","$cosh","cosh","$hypot","hypot","value1","value2","div","sum","aLen","larg","$imul","imul","UINT16","xn","yn","xl","yl","log2","sinh","tanh","thisNumberValue","NUMBER","NativeNumber","PureNumberNamespace","NumberPrototype","third","maxCode","digits","NumberWrapper","primValue","toNumeric","isSafeInteger","MAX_SAFE_INTEGER","MIN_SAFE_INTEGER","nativeToExponential","toExponential","ROUNDS_PROPERLY","fractionDigits","e","d","l","w","nativeToFixed","toFixed","acc","multiply","c2","divide","dataToString","z","fractDigits","x2","nativeToPrecision","toPrecision","precision","__defineGetter__","$entries","$freeze","freeze","fromEntries","getOwnPropertyDescriptors","$getOwnPropertySymbols","nativeGetPrototypeOf","$isFrozen","isFrozen","$isSealed","isSealed","nativeKeys","__lookupGetter__","__lookupSetter__","$preventExtensions","PROTO","$seal","seal","$values","newPromiseCapabilityModule","perform","allSettled","capability","promiseResolve","remaining","alreadyCalled","status","reason","$promiseResolve","PROMISE_STATICS_INCORRECT_ITERATION","PROMISE_ANY_ERROR","any","alreadyResolved","alreadyRejected","real","onRejected","Internal","OwnPromiseCapability","nativeThen","task","hostReportErrors","PromiseConstructorDetection","PROMISE","NATIVE_PROMISE_SUBCLASSING","getInternalPromiseState","PromiseConstructor","PromisePrototype","newGenericPromiseCapability","DISPATCH_EVENT","createEvent","dispatchEvent","UNHANDLED_REJECTION","isThenable","callReaction","reaction","exited","ok","fail","rejection","onHandleUnhandled","isReject","notified","reactions","onUnhandled","initEvent","isUnhandled","emit","unwrap","internalReject","internalResolve","executor","onFulfilled","PromiseWrapper","onFinally","isFunction","race","r","PromiseConstructorWrapper","CHECK_WRAPPER","functionApply","thisArgument","argumentsList","nativeConstruct","NEW_TARGET_BUG","ARGS_BUG","newTarget","$args","attributes","deleteProperty","isDataDescriptor","receiver","objectPreventExtensions","objectSetPrototypeOf","existingDescriptor","ownDescriptor","getRegExpFlags","NativeRegExp","stringIndexOf","IS_NCG","CORRECT_NEW","BASE_FORCED","RegExpWrapper","pattern","rawFlags","handled","thisIsRegExp","patternIsRegExp","flagsAreUndefined","rawPattern","named","brackets","ncg","groupid","groupname","handleNCG","handleDotAll","INDICES_SUPPORT","calls","expected","pairs","nativeTest","$toString","nativeToString","NOT_GENERIC","INCORRECT_NAME","createHTML","forcedStringHTMLMethod","anchor","big","blink","bold","codePointAt","notARegExp","correctIsRegExpLogic","nativeEndsWith","endsWith","CORRECT_IS_REGEXP_LOGIC","searchString","endPosition","search","fixed","fontcolor","color","fontsize","$fromCodePoint","fromCodePoint","elements","isWellFormed","charCode","italics","STRING_ITERATOR","point","link","advanceStringIndex","MATCH_ALL","REGEXP_STRING","REGEXP_STRING_ITERATOR","nativeMatchAll","matchAll","WORKS_WITH_NON_GLOBAL_REGEX","$RegExpStringIterator","$global","fullUnicode","$matchAll","matcher","rx","fixRegExpWellKnownSymbolLogic","nativeMatch","maybeCallNative","res","matchStr","$padEnd","padEnd","$padStart","template","rawTemplate","literalSegments","getSubstitution","REPLACE","searchValue","replaceAll","replaceValue","IS_REG_EXP","functionalReplace","searchLength","advanceBy","endOfLastMatch","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","_","UNSAFE_SUBSTITUTE","results","accumulatedResult","nextSourcePosition","replacerArgs","sameValue","SEARCH","nativeSearch","searcher","previousLastIndex","small","callRegExpExec","MAX_UINT32","$push","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","originalExec","SPLIT","nativeSplit","internalSplit","limit","lim","lastLength","lastLastIndex","separatorCopy","splitter","unicodeMatching","p","nativeStartsWith","startsWith","strike","sub","substr","intLength","intEnd","intStart","sup","$toWellFormed","toWellFormed","TO_STRING_CONVERSION_BUG","trimLeft","trimRight","$trim","defineWellKnownSymbol","nativeObjectCreate","getOwnPropertyNamesExternal","defineSymbolToPrimitive","HIDDEN","QObject","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","USE_SETTER","findChild","setSymbolDescriptor","ObjectPrototypeDescriptor","$defineProperties","properties","IS_OBJECT_PROTOTYPE","useSetter","useSimple","NativeSymbol","EmptyStringDescriptionStore","SymbolWrapper","thisSymbolValue","symbolDescriptiveString","NATIVE_SYMBOL_REGISTRY","StringToSymbolRegistry","SymbolToStringRegistry","sym","u$ArrayCopyWithin","$fill","actualValue","fromSpeciesAndList","predicate","createTypedArrayConstructor","ArrayIterators","arrayValues","arrayKeys","arrayEntries","GENERIC","ITERATOR_IS_VALUES","typedArrayValues","$join","$set","WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS","TO_OBJECT_BUG","ACCEPT_INCORRECT_ARGUMENTS","mod","begin","beginIndex","$toLocaleString","toLocaleString","TO_LOCALE_STRING_BUG","Uint8ArrayPrototype","arrayToString","IS_NOT_ARRAY_METHOD","PROPER_ORDER","hex2","hex4","unescape","part","InternalWeakMap","collectionWeak","FROZEN","SEALED","IS_IE11","$WeakMap","WeakMapPrototype","nativeSet","nativeDelete","nativeHas","nativeGet","frozenArray","arrayIntegrityLevel","disallowed","finalEq","$atob","NO_SPACES_IGNORE","NO_ENCODING_CHECK","NO_ARG_RECEIVING_CHECK","WRONG_ARITY","atob","bs","bc","$btoa","WRONG_ARG_CONVERSION","btoa","block","DOMIterables","handlePrototype","CollectionPrototype","COLLECTION_NAME","ArrayIteratorMethods","ArrayValues","tryNodeRequire","DATA_CLONE_ERR","NativeDOMExceptionPrototype","HAS_STACK","codeFor","createGetterDescriptor","INCORRECT_CONSTRUCTOR","INCORRECT_CODE","MISSED_CONSTANTS","queueMicrotask","INCORRECT_VALUE","setTask","schedulersFix","setInterval","structuredCloneImplementation","getBuiltin","MapHelpers","SetHelpers","PROPER_TRANSFER","EvalError","ReferenceError","URIError","PerformanceMark","CompileError","LinkError","RuntimeError","mapHas","mapGet","mapSet","setAdd","thisBooleanValue","thisStringValue","PERFORMANCE_MARK","DATA_CLONE_ERROR","TRANSFERRING","checkBasicSemantic","set1","set2","checkErrorsCloning","nativeStructuredClone","FORCED_REPLACEMENT","structuredCloneFromMark","detail","nativeRestrictedStructuredClone","throwUncloneable","throwUnpolyfillable","action","tryNativeRestrictedStructuredClone","structuredCloneInternal","cloned","dataTransfer","deep","DOMQuad","p2","p3","p4","File","DataTransfer","ClipboardEvent","clipboardData","files","createDataTransfer","ImageData","width","height","colorSpace","resizable","maxByteLength","fromPoint","fromRect","fromMatrix","rawTransfer","transferredArray","transferred","canvas","OffscreenCanvas","getContext","transferFromImageBitmap","transferToImageBitmap","tryToTransfer","USE_NATIVE_URL","arraySort","URL_SEARCH_PARAMS","URL_SEARCH_PARAMS_ITERATOR","getInternalParamsState","safeGetBuiltIn","nativeFetch","NativeRequest","Headers","RequestPrototype","HeadersPrototype","decodeURIComponent","encodeURIComponent","shift","plus","sequences","percentSequence","percentDecode","sequence","deserialize","replacements","_serialize","URLSearchParamsIterator","URLSearchParamsState","parseObject","parseQuery","bindURL","update","entryIterator","entryNext","query","serialize","updateURL","URLSearchParamsConstructor","URLSearchParamsPrototype","append","$value","getAll","found","headersHas","headersSet","wrapRequestOptions","headers","body","fetch","RequestConstructor","Request","getState","$URLSearchParams","$delete","dindex","entriesLength","$has","canParse","urlString","EOF","arrayFrom","toASCII","URLSearchParamsModule","getInternalURLState","getInternalSearchParamsState","NativeURL","INVALID_SCHEME","INVALID_HOST","INVALID_PORT","ALPHA","ALPHANUMERIC","DIGIT","HEX_START","OCT","DEC","HEX","FORBIDDEN_HOST_CODE_POINT","FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT","LEADING_C0_CONTROL_OR_SPACE","TRAILING_C0_CONTROL_OR_SPACE","TAB_AND_NEW_LINE","serializeHost","compress","ignore0","ipv6","maxIndex","currStart","currLength","findLongestZeroSequence","C0ControlPercentEncodeSet","fragmentPercentEncodeSet","pathPercentEncodeSet","userinfoPercentEncodeSet","percentEncode","specialSchemes","ftp","file","http","https","ws","wss","isWindowsDriveLetter","normalized","startsWithWindowsDriveLetter","isSingleDot","segment","SCHEME_START","SCHEME","NO_SCHEME","SPECIAL_RELATIVE_OR_AUTHORITY","PATH_OR_AUTHORITY","RELATIVE","RELATIVE_SLASH","SPECIAL_AUTHORITY_SLASHES","SPECIAL_AUTHORITY_IGNORE_SLASHES","AUTHORITY","HOST","HOSTNAME","PORT","FILE","FILE_SLASH","FILE_HOST","PATH_START","PATH","CANNOT_BE_A_BASE_URL_PATH","QUERY","FRAGMENT","URLState","isBase","baseState","failure","parse","stateOverride","codePoints","bufferCodePoints","pointer","seenAt","seenBracket","seenPasswordToken","scheme","password","fragment","cannotBeABaseURL","isSpecial","includesCredentials","codePoint","encodedCodePoints","parseHost","shortenPath","numbersSeen","ipv4Piece","swaps","swap","address","pieceIndex","parseIPv6","partsLength","numbers","ipv4","parts","parseIPv4","cannotHaveUsernamePasswordPort","pathSize","setHref","getOrigin","URLConstructor","origin","getProtocol","setProtocol","getUsername","setUsername","getPassword","setPassword","getHost","setHost","getHostname","setHostname","hostname","getPort","setPort","getPathname","setPathname","getSearch","setSearch","getSearchParams","getHash","setHash","URLPrototype","accessorDescriptor","nativeCreateObjectURL","createObjectURL","nativeRevokeObjectURL","revokeObjectURL","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","loaded","__webpack_modules__","nmd","paths","children","kindOf","cache","thing","kindOfTest","typeOfTest","isUndefined","isString","isNumber","isPlainObject","isDate","isFile","isBlob","isFileList","isURLSearchParams","_temp","allOwnKeys","findKey","_key","_global","isContextDefined","isHTMLForm","_ref","prop","reduceDescriptors","reducer","descriptors","reducedDescriptors","ALPHABET","ALPHA_DIGIT","isBuffer","isFormData","FormData","isArrayBufferView","isBoolean","isStream","pipe","caseless","assignValue","targetKey","extend","_temp2","stripBOM","inherits","superConstructor","toFlatObject","sourceObj","destObj","propFilter","merged","toArray","arr","forEachEntry","pair","regExp","matches","hasOwnProp","freezeMethods","toObjectSet","arrayOrString","delimiter","toCamelCase","toFiniteNumber","defaultValue","generateString","isSpecCompliantForm","toJSONObject","visit","reducedValue","AxiosError","config","request","response","utils","fileName","lineNumber","columnNumber","customProps","axiosError","isVisitable","removeBrackets","renderKey","dots","token","predicates","formData","metaTokens","indexes","option","visitor","defaultVisitor","useBlob","Blob","convertValue","Buffer","isFlatArray","exposedHelpers","build","charMap","AxiosURLSearchParams","_pairs","toFormData","encoder","_encode","buildURL","serializeFn","serializedParams","hashmarkIndex","handlers","use","fulfilled","rejected","synchronous","runWhen","eject","h","silentJSONParsing","forcedJSONParsing","clarifyTimeoutError","isBrowser","classes","isStandardBrowserEnv","product","isStandardBrowserWebWorkerEnv","WorkerGlobalScope","protocols","buildPath","isNumericKey","isLast","arrayToObject","parsePropPath","DEFAULT_CONTENT_TYPE","defaults","transitional","transitionalDefaults","adapter","transformRequest","contentType","getContentType","hasJSONContentType","isObjectPayload","formDataToJSON","setContentType","platform","helpers","toURLEncodedForm","formSerializer","_FormData","env","rawValue","parser","stringifySafely","transformResponse","JSONRequested","responseType","strictJSONParsing","xsrfCookieName","xsrfHeaderName","maxContentLength","maxBodyLength","validateStatus","ignoreDuplicateOf","$internals","normalizeHeader","header","normalizeValue","matchHeaderValue","isHeaderNameFilter","AxiosHeaders","valueOrRewrite","rewrite","setHeader","_value","_header","_rewrite","lHeader","setHeaders","rawHeaders","parsed","line","substring","parseHeaders","tokens","tokensRE","parseTokens","delete","deleted","deleteHeader","format","char","formatHeader","_len","targets","asStrings","static","computed","_len2","_key2","accessors","defineAccessor","accessorName","arg1","arg3","buildAccessors","accessor","transformData","fns","isCancel","__CANCEL__","CanceledError","expires","secure","cookie","read","buildFullPath","baseURL","requestedURL","relativeURL","combineURLs","msie","urlParsingNode","originURL","resolveURL","setAttribute","requestURL","samplesCount","timestamps","firstSampleTS","chunkLength","startedAt","bytesCount","progressEventReducer","listener","isDownloadStream","bytesNotified","_speedometer","speedometer","total","lengthComputable","progressBytes","rate","progress","estimated","knownAdapters","xhr","XMLHttpRequest","requestData","requestHeaders","onCanceled","cancelToken","unsubscribe","signal","removeEventListener","auth","fullPath","onloadend","responseHeaders","getAllResponseHeaders","settle","responseText","statusText","paramsSerializer","onreadystatechange","readyState","responseURL","onabort","onerror","ontimeout","timeoutErrorMessage","xsrfValue","withCredentials","isURLSameOrigin","cookies","setRequestHeader","onDownloadProgress","onUploadProgress","upload","abort","subscribe","aborted","parseProtocol","send","adapters","nameOrAdapter","throwIfCancellationRequested","throwIfRequested","dispatchRequest","headersToObject","mergeConfig","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","timeoutMessage","decompress","beforeRedirect","transport","httpAgent","httpsAgent","socketPath","responseEncoding","configValue","VERSION","validators","deprecatedWarnings","validator","formatMessage","opt","opts","warn","assertOptions","schema","allowUnknown","Axios","instanceConfig","interceptors","InterceptorManager","configOrUrl","contextHeaders","boolean","function","requestInterceptorChain","synchronousRequestInterceptors","interceptor","responseInterceptorChain","chain","newConfig","getUri","generateHTTPMethod","isForm","CancelToken","resolvePromise","_listeners","onfulfilled","_resolve","HttpStatusCode","Continue","SwitchingProtocols","Processing","EarlyHints","Ok","Created","Accepted","NonAuthoritativeInformation","NoContent","ResetContent","PartialContent","MultiStatus","AlreadyReported","ImUsed","MultipleChoices","MovedPermanently","Found","SeeOther","NotModified","UseProxy","Unused","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","LengthRequired","PreconditionFailed","PayloadTooLarge","UriTooLong","UnsupportedMediaType","RangeNotSatisfiable","ExpectationFailed","ImATeapot","MisdirectedRequest","UnprocessableEntity","Locked","FailedDependency","TooEarly","UpgradeRequired","PreconditionRequired","TooManyRequests","RequestHeaderFieldsTooLarge","UnavailableForLegalReasons","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpVersionNotSupported","VariantAlsoNegotiates","InsufficientStorage","LoopDetected","NotExtended","NetworkAuthenticationRequired","axios","createInstance","defaultConfig","Cancel","promises","spread","isAxiosError","payload","formToJSON","default","o","reference","floating","u","placement","strategy","middleware","isRTL","getElementRects","initialPlacement","middlewareData","rects","top","bottom","boundary","rootBoundary","elementContext","altBoundary","padding","getClippingRect","isElement","contextElement","getDocumentElement","getOffsetParent","getScale","convertOffsetParentRelativeRectToViewportRelativeRect","rect","offsetParent","getDimensions","D","L","H","centerOffset","main","cross","mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment","flip","overflows","alignmentAxis","limiter","ownerDocument","defaultView","getComputedStyle","Node","nodeName","userAgentData","brands","brand","HTMLElement","Element","ShadowRoot","overflow","overflowX","overflowY","backdropFilter","WebkitBackdropFilter","transform","perspective","willChange","contain","offsetWidth","offsetHeight","fallback","getBoundingClientRect","visualViewport","offsetLeft","offsetTop","frameElement","clientLeft","paddingLeft","clientTop","paddingTop","documentElement","scrollLeft","scrollTop","pageXOffset","pageYOffset","assignedSlot","parentNode","W","clientWidth","clientHeight","scrollWidth","scrollHeight","direction","_c","getClientRects","api","converter","defaultAttributes","stringifiedAttributes","attributeName","jar","foundKey","withAttributes","withConverter","KpnCookies","InternalCookies","Utils","selector","getSelector","addClass","classNames","each","className","insertAdjacentHTML","attr","getAttribute","text","group1","cloneNode","closest","matchesSelector","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","parentElement","contains","child","css","setCss","cssProp","camelCase","styleSupport","innerHTML","eq","hasClass","hide","previousElementSibling","oMatchesSelector","nextElementSibling","nextAll","sibs","nextElem","firstChild","nodeType","nextSibling","off","eventNames","eventListeners","tNEventName","currentEventName","getEventNameFromId","eventName","isEventMatched","getElementEventName","box","on","events","setEventName","one","outerHeight","margin","marginTop","marginBottom","outerWidth","marginLeft","marginRight","parentsUntil","prepend","insertBefore","prevAll","previousSibling","removeAttr","attrs","removeAttribute","removeClass","show","siblings","textContent","toggleClass","trigger","Event","customEvent","CustomEvent","elParentNode","getElementById","querySelectorAll","cssProperty","vendorProp","supportedProp","capProp","prefixes","eventNamespace","uuid","eventEmitterUUID","generateUUID","getEventName","$utils","generateGUID","s4","hasClassRecursive","classname","tagName","getCurrentPageId","currentPageIdInput","querySelector","multiple","selected","debounce","require","contentGlossary","container","cookieEnabled","cookieKey","isDisabled","handleRepositionTooltipOnScroll","requestAnimationFrame","visibleTooltip","triggeringButtonId","updateTooltip","setGlossaryItems","worditemlist","glossaryTooltipsContainer","wordItem","theElement","glossaryRegExp","Word","hasMatch","regex","skip","wrappingElement","cssClasses","nodeText","textRE","nodeStack","curNode","TEXT_NODE","innerText","createDocumentFragment","wrapperElementName","wrapping","cssClass","guid","idAttribute","replaceChild","ELEMENT_NODE","wrapText","WordId","hasDom","tooltipId","doesTooltipContentDomExist","tooltip","divId","tooltipDiv","heading","Description","arrow","createTooltip","button","arrowElement","computePosition","_ref3","arrowX","arrowY","staticSide","hideTooltipOnClickOutside","getInputMethod","isTooltipButton","isTooltipContent","isTooltip","isTargetTooltip","hideAllVisibleTooltips","removeClickedAttributeFromAllButtons","getTooltipContentElement","itemId","getTooltipId","getTooltipContent","showTooltipOnMouseEnter","buttonId","showTooltipContent","showTooltipOnMouseEnterOnContent","hideTooltipContentOnMouseLeave","hasAttribute","hoveredElement","elementFromPoint","clientX","clientY","isHoveredElementATooltipButton","hideTooltipContent","hideTooltipOnMouseLeave","tooltipContent","isOverTooltip","showTooltipOnKeyboardFocus","hideTooltipOnKeyboardBlur","relatedTarget","showTooltipOnClickOnTouchDevices","visibleTooltips","setButtonNotClicked","clickedButtons","buttonGuid","disabled","functionToggleContainer","toggleGlossaryButton","evt","cookieValue","initFunctionToggleLink","responseData","span","removeClassesFromElement","_ref2","catch","attachEvent"],"sourceRoot":""}