UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

1,156 lines (1,154 loc) 55 kB
/** * DOM class * @dynamic */ export class Dom { static getElementProperties(element, properties) { if (MsftSme.isNullOrUndefined(properties)) { properties = { isForm: Dom.isForm(element), withinForm: false, isTrap: Dom.isTrap(element), withinTrap: false, isZone: Dom.isZone(element), withinZone: false, withinZoneWithinForm: false, currentZone: null, currentTrap: null, currentForm: null }; } if (element === null) { return properties; } if (!properties.withinForm && Dom.isForm(element)) { properties.withinForm = true; properties.currentForm = element; if (properties.withinZone) { properties.withinZoneWithinForm = true; } } if (!properties.withinTrap && Dom.isTrap(element)) { properties.withinTrap = true; properties.currentTrap = element; } if (!properties.withinZone && !properties.isZone && Dom.isZone(element)) { properties.withinZone = true; properties.currentZone = element; } const parentElement = element.tagName === 'HTML' ? Dom.getParentIframe(element) : element.parentElement; return Dom.getElementProperties(parentElement, properties); } static allowCustomArrowKeyFunctionality(properties) { return !properties.withinForm || properties.withinZoneWithinForm; } static allowCustomHomeEndKeyFunctionality(element, properties) { return !Dom.isSearchBox(element) && !Dom.isTextBoxInComboBox(element) && (!properties.withinForm || properties.withinZoneWithinForm); } /** * gets all body elements on the page */ static getAllBodys() { const root = Dom.getRootElement(); return Dom.getAllElements(root, Dom.isBody); } /** * Gets a CSS property value * @param element The Element * @param property - The CSS property name * @returns The value of the CSS property (type depends on property retrieved) */ static getStyle(element, property) { if (!element) { return null; } // first try to get the value directly from the element const value = element.style[property]; if (!MsftSme.isNullOrWhiteSpace(value)) { return value; } // otherwise get the computed style return getComputedStyle(element)[property]; } /** * Gets the classes applied to an element * @param element The Element * @returns The classes currently applied to the element */ static getClasses(element) { if (element) { const classes = element.className.trim(); if (!MsftSme.isNullOrWhiteSpace(classes)) { return classes.split(' '); } } return []; } /** * Determines is an element is disabled via the 'disabled' attribute * @param element The element to start from. */ static isDisabled(element) { if (!element) { return false; } return !!element['disabled']; } /** * Determines is an element is hidden via css with "display: none" * @param element The element to start from. */ static isNotDisplayed(element) { if (!element) { return false; } return Dom.getStyle(element, 'display') === 'none'; } /** * Determines is an element is hidden via css with "visibility: hidden" * @param element The element to start from. */ static isHidden(element) { if (!element) { return false; } return Dom.getStyle(element, 'visibility') === 'hidden' || element['hidden']; } /** * Returns the first element in the current elements ancestory that is focusable. * * 'Focusable' is defined as the following: * - input, select, textarea, button, object * - anchor with href * - have a non-negative tab index * * An element is not focusable if any of the following is true (even if it meets a condition above) * - negative tab index * - disabled * - display: none * - visibility: hidden * * @param element The element to start from. * @return true if focus possible */ static isFocusable(element, includeNegativeTabIndex = false) { return Dom.checkFocusableConditions(element, includeNegativeTabIndex); } /** * Returns true if the element could be focusable. * * An element that can be focused is the following: * - input, select, textarea, button, object * - anchor with href * - have a non-negative tab index * * This method will determine if the element has one of these conditions even if the the element * is not displayed, visible, enabled, or having a positive z-index. * * @param element The element to start from. * @return true if focus possible. */ static isFocusPossible(element, includeNegativeTabIndex = false) { return Dom.checkFocusableConditions(element, includeNegativeTabIndex, true); } static checkFocusableConditions(element, includeNegativeTabIndex, skipDisabledHiddenOrNotDisplayed = false) { if (!element) { return false; } // if the element or its ancestor is disabled or 'not displayed'/hidden, it is not focusable if (!skipDisabledHiddenOrNotDisplayed && Dom.getDisabledHiddenOrNotDisplayedAncestor(element)) { return false; } // if the tab index is set, let it determine focusability // have to check has attribute because // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4365703/ if (element.hasAttribute('tabindex') && !MsftSme.isNullOrUndefined(element.tabIndex)) { return element.tabIndex >= 0 || (includeNegativeTabIndex && !element.classList.contains('sme-hidden-focus')); } // https://react.fluentui.dev/?path=/docs/preview-components-infobutton--default // The info bubble is focusable if (element.className.includes('sme-info-bubble')) { return true; } // anchors with an href are also focusable if (element.tagName === 'A' && element.hasAttribute('href')) { return true; } // Otherwise only naturally focusable elements can receive focus const focusableTags = ['INPUT', 'SELECT', 'TEXTAREA', 'BUTTON', 'OBJECT']; return focusableTags.some(tag => tag === element.tagName); } /** * Returns the first element in the current elements ancestry that is focusable. * Will return the element itself if it is focusable * @param element The element to start from. * @return the first focusable ancestor of the element */ static getFocusableAncestor(element) { if (!element) { return null; } return Dom.isFocusable(element) ? element : Dom.getFocusableAncestor(element.parentElement); } /** * find an element in a particular position with a specific condition relative to input element * Does a DFS for this element relative the ancestor zone of input element * @param element The current element * @param condition The function to check the kind of element we are looking for * @param position The ElementPosition of the desired element relative to input element */ static findElementFromAncestorZoneDFS(element, condition, position) { const ancestor = Dom.getAncestorZone(element); const allElements = Dom.getAllElements(ancestor, condition); return Dom.getElement(allElements, element, position); } /** * find an element in a particular position with a specific condition relative to input element * Does a DFS for this element relative the ancestor trap of input element * @param element The current element * @param condition The function to check the kind of element we are looking for * @param position The ElementPosition of the desired element relative to input element */ static findElementFromAncestorTrapDFS(element, condition, position) { const ancestor = Dom.getAncestorTrap(element); const allElements = Dom.getAllElements(ancestor, condition); return Dom.getElement(allElements, element, position); } /** * find an element in a particular position with a specific condition relative to input element * Does a DFS for this element relative the root of the graph * @param element The current element * @param condition The function to check the kind of element we are looking for * @param position The ElementPosition of the desired element relative to input element */ static findElementFromRootDFS(element, condition, position) { const root = Dom.getRootElement(); const allElements = Dom.getAllElements(root, condition); return Dom.getElement(allElements, element, position); } /** * find an element in a particular position with a specific condition relative to input element * Does a DFS for this element relative the input element * @param element The current element * @param condition The function to check the kind of element we are looking for * @param position The ElementPosition of the desired element relative to input element */ static findChildElementDFS(element, condition, position) { const allElements = Dom.getAllElements(element, condition); return Dom.getElement(allElements, element, position); } /** * gets a element from a list of elements in the position relative to the current element * @param elements the list of elements * @param currentElement the current element * @param position the ElementPosition we want relative to the current element */ static getElement(elements, currentElement, position) { if (elements && elements.length > 0) { let currentIndex = 0; switch (position) { case ElementPosition.Next: currentIndex = elements.findIndex(x => x.isSameNode(currentElement)); return currentIndex + 1 < elements.length ? elements[currentIndex + 1] : currentElement; case ElementPosition.Previous: currentIndex = elements.findIndex(x => x.isSameNode(currentElement)); return currentIndex - 1 >= 0 ? elements[currentIndex - 1] : currentElement; case ElementPosition.First: return elements.first(); case ElementPosition.Last: return elements.last(); default: return currentElement; } } return null; } static getAllElements(element, condition) { return Dom.searchAllElements(element, condition); } /** * gets the first element that meets a condition * @param rootElement the element we start with * @param condition the condition we want to find an element meeting * @param stopLookingCondition a condition used to stop looking down a certain path * (ie stop looking down a particular path once we hit a zone) * @param includeRootElement a condition to include the root element in the search */ static getFirstElement(rootElement, condition, stopLookingCondition, includeRootElement = true) { const firstElements = Dom.searchAllElements(rootElement, condition, stopLookingCondition, true, includeRootElement); // return first element return MsftSme.first(firstElements); } /** * finds all elements starting at the input element that meet the given condition * @param rootElement the element from which to start the depth first search * @param condition the function that determines whether the desired condition has been met * @param stopLookingCondition a condition used to stop looking down a certain path * @param includeRootElement a condition to include the root element in the search */ static searchAllElements(rootElement, condition, stopLookingCondition, stopAtFirstResult = false, includeRootElement = true) { if (!rootElement) { return null; } // depth first search starting at the root element const allElements = []; const conditionalElements = []; allElements.push(rootElement); while (allElements.length > 0) { const currentElement = allElements.pop(); if (currentElement.tagName !== 'SVG' && currentElement.tagName !== 'svg') { if (condition(currentElement)) { // If root element meets the condition, add to conditionalElements if ((currentElement === rootElement && includeRootElement) || currentElement !== rootElement) { conditionalElements.push(currentElement); if (stopAtFirstResult) { return conditionalElements; } } } if (currentElement === rootElement || !stopLookingCondition || !stopLookingCondition(currentElement)) { for (let i = currentElement.childElementCount - 1; i >= 0; i--) { const child = currentElement.children.item(i); allElements.push(child); } } // if the current element is an iframe, start traversing the iframe's body try { if (currentElement.contentDocument && currentElement.contentDocument.body) { allElements.push(currentElement.contentDocument.body); } } catch (error) { // if we can't grab the content document, then we are very likely sideloading a tool in chrome // you can disable same origin security policy to test accessibility or try in edge // if this happens, we want to just get as much information as we can about the available elements // TODO: log this when this code is moved to different file } } } // we need to reverse to get the actual order of elements on the page return conditionalElements; } /** * returns the root of the DOM graph */ static getRootElement() { // we want to try to grab the document body from the window because document.body gives us the body of the current iframe only try { if (window.parent && window.parent.document && window.parent.document.body) { return window.parent.document.body; } } catch (error) { // if we can't grab the document from the window, then we are very likely sideloading a tool in chrome // you can disable same origin security policy to test accessibility or try in edge // if this happens, we want to just get as much information as we can about the available elements // TODO: log this when this code is moved to different file } return document.body; } /** * Finds the next zone * @param element the current zone or an element in the current zone */ static getNextZone(element) { return Dom.findElementFromRootDFS(Dom.getAncestorZone(element) || element, Dom.isZone, ElementPosition.Next); } /** * gets the first focusable element in the next zone * if a zone has no focusable elements, it is skipped * @param element the current element */ static getNextZoneElement(element) { if (!element) { return null; } // we are at the end of the page const nextZone = Dom.getNextZone(element); if (element.isSameNode(nextZone)) { return null; } const firstFocusableElement = Dom.getFirstFocusableDescendent(nextZone); return firstFocusableElement ? firstFocusableElement : Dom.getNextZoneElement(nextZone); } /** * Finds the previous zone * @param element the current zone or an element in the current zone */ static getPreviousZone(element) { return Dom.findElementFromRootDFS(Dom.getAncestorZone(element), Dom.isZone, ElementPosition.Previous); } /** * gets the first focusable element in the previous zone * if a zone has no focusable elements, it is skipped * @param element the current element * @param originalElement the element from which we begin the search. Set automatically if unset by user */ static getPreviousZoneElement(element, originalElement) { if (!element) { return null; } // save the first element we see so we can skip empty zones later on if (!originalElement) { return Dom.getPreviousZoneElement(element, element); } // we are at the beginning of the page const previousZone = Dom.getPreviousZone(element); if (element.isSameNode(previousZone)) { return null; } const firstFocusableElement = Dom.getFirstFocusableDescendent(previousZone); return firstFocusableElement && firstFocusableElement !== originalElement ? firstFocusableElement : Dom.getPreviousZoneElement(previousZone, originalElement); } /** * gets the first ancestor that is disabled * @param element the element */ static getAncestor(element, condition) { if (!element) { return null; } if (condition(element)) { return element; } if (element.tagName === 'HTML') { const iFrameElement = Dom.getParentIframe(element); return iFrameElement ? Dom.getAncestor(iFrameElement, condition) : null; } return Dom.getAncestor(element.parentElement, condition); } static getParentIframe(element) { const elementFrameName = element && element.getAttribute('sme-frame-name'); if (!elementFrameName) { return null; } // we want to try to grab the document body from the window because document.body gives us the body of the current iframe only try { const iFrames = MsftSme.isShell() ? Array.from(document.getElementsByTagName('iframe')) : Array.from(window.parent.document.getElementsByTagName('iframe')); let iFrameElement; if (iFrames && elementFrameName) { iFrameElement = iFrames.first(frame => frame.id === elementFrameName); } return iFrameElement || null; } catch (error) { // if we can't grab the document from the window, then we are very likely side-loading a tool in chrome or chromium edge // you can disable same origin security policy to test accessibility or try in edge // if this happens, we want to just get as much information as we can about the available elements return null; } } /** * gets all ancestors that match a given condition * @param element the element */ static getAllAncestors(element, condition) { if (!element) { return []; } const ancestor = Dom.getAncestor(element, condition); if (!ancestor) { return []; } return [ancestor].concat(Dom.getAllAncestors(ancestor.parentElement, condition)); } /** * gets the zone that the current element is in * @param element the element */ static getAncestorZone(element) { return Dom.getAncestor(element, e => Dom.isZone(e)); } /** * determine if an element is in a trap, if so return the trap element * @param element HTML element to check */ static getAncestorTrap(element) { return Dom.getAncestor(element, e => Dom.isTrap(e)); } /** * gets the ancestor form of an element * @param element the element */ static getAncestorForm(element) { return Dom.getAncestor(element, e => Dom.isForm(e)); } /** * Find ancestors that are disabled, hidden, or not displayed * @param element the element */ static getDisabledHiddenOrNotDisplayedAncestor(element) { return Dom.getAncestor(element, x => Dom.isDisabled(x) || Dom.isNotDisplayed(x) || Dom.isHidden(x)); } /** * gets the first ancestor that is disabled * @param element the element */ static getDisabledAncestor(element) { return Dom.getAncestor(element, e => Dom.isDisabled(e)); } /** * returns ancestor table of current element * @param element the current element */ static getAncestorTable(element) { return Dom.getAncestor(element, e => e.tagName === 'TABLE'); } /** * gets the next child zone of the current zone * @param element the current zone or an element in the current zone */ static getDescendentZone(element) { // if there is no parent zone, just look from the current element forward return Dom.findChildElementDFS(Dom.getAncestorZone(element) || element, Dom.isZone, ElementPosition.First); } /** * gets the first focusable descendent of the current element * @param element the current element */ static getFirstFocusableDescendent(element) { if (!element) { return null; } return Dom.isFocusable(element) ? element : Dom.getFirstFocusableDescendent(Dom.findChildElementDFS(element, Dom.isFocusable || Dom.isZone, ElementPosition.First)); } /** * gets the last element in a zone * @param element the element */ static getLastElementInZone(element) { return Dom.findElementFromAncestorZoneDFS(element, Dom.isFocusable, ElementPosition.Last); } /** * gets the first element in a zone * @param element the element */ static getFirstElementInZone(element) { return Dom.findElementFromAncestorZoneDFS(element, Dom.isFocusable, ElementPosition.First); } /** * gets the next focusable element in the current zone * @param element the current element */ static getNextFocusableElement(element) { return Dom.findElementFromAncestorZoneDFS(element, Dom.isFocusable, ElementPosition.Next); } /** * gets the previous focusable element in the current zone * @param element the current element */ static getPreviousFocusableElement(element) { return Dom.findElementFromAncestorZoneDFS(element, Dom.isFocusable, ElementPosition.Previous); } /** * gets the ancestor of an element that has overflow * @param element the current element */ static getOverflowAncestor(element) { if (!element) { return null; } return element.clientHeight < element.scrollHeight || element.clientWidth < element.scrollWidth ? element : Dom.getOverflowAncestor(element.offsetParent); } /** * gets the ancestor of an element that meets the specified condition * @param element the current element * @param condition the function that will check if element meets the desired condition */ static getSpecificAncestor(element, condition) { if (!element) { return null; } return condition(element) ? element : Dom.getSpecificAncestor(element.parentElement, condition); } /** * gets the next focusable element in the current trap * @param element the current element */ static getNextFocusableElementInTrap(element) { return Dom.findElementFromAncestorTrapDFS(element, Dom.isFocusable, ElementPosition.Next); } /** * gets the previous focusable element in the current trap * @param element the current element */ static getPreviousFocusableElementInTrap(element) { return Dom.findElementFromAncestorTrapDFS(element, Dom.isFocusable, ElementPosition.Previous); } /** * true if given element is a body element * @param element the element */ static isBody(element) { return element.tagName === 'BODY'; } /** * true if the given element is a zone * @param element the element */ static isZone(element) { if (!element) { return false; } return Dom.hasZoneRole(element) || Dom.isSmeFocusZone(element) || Dom.hasZoneTag(element) || Dom.isGrowlWithChild(element) || (Dom.isFocusableFormElement(element) && !Dom.isInZoneWithinForm(element)); } /** * true if the element is a focusable element that is not a zone * @param element the element */ static isFocusableNonZone(element) { return !Dom.isZone(element) && Dom.isFocusable(element); } /** * true if the element is an input, select, or textarea without a form parent * @param element the element */ static isInputWithoutForm(element) { const inputTags = ['INPUT', 'SELECT', 'TEXTAREA']; return inputTags.some(tag => tag === element.tagName) && Dom.getAncestorForm(element) === null; } /** * true if the element has a role that qualifies as a zone * @param element the element */ static hasZoneRole(element) { const role = element.getAttribute('role'); const zoneRoles = ['grid', 'tablist', 'table', 'menubar', 'navigation', 'dialog']; return zoneRoles.some(zoneRole => zoneRole === role); } /** * true if the element has class="sme-focus-zone" * @param element the element */ static isSmeFocusZone(element) { return element.classList.contains('sme-focus-zone'); } /** * true if the element has a tag that is a zone * @param element the element */ static hasZoneTag(element) { // TODO: utilities should not know about specific sme tags. // These tags should instead use the appropriate roles to identify them as focus zones. const tag = element.tagName; const zoneTags = ['SME-BREADCRUMB-HEADER', 'SME-DETAILS', 'SME-SETTINGS-FOOTER']; return zoneTags.some(zoneTag => zoneTag === tag); } /** * true if element has role 'tablist' * @param element the html element */ static isTablist(element) { if (!element) { return false; } const role = element.getAttribute('role'); return role === 'tablist'; } /** * Returns true if element is active * An element is active if it aria-selected attribute is set as true or has active or sme-active classes * @param element the html element */ static isActiveOrSelected(element) { const ariaSelected = element.getAttribute('aria-selected') === 'true'; const activeClasses = ['active', 'sme-active']; return ariaSelected || activeClasses.some(className => element.classList.contains(className)); } /** * Returns first active or selected descendant or null if none is found * @param element the html element */ static getFirstActiveOrSelectedDescendant(element) { return Dom.findChildElementDFS(element, Dom.isActiveOrSelected, ElementPosition.First); } /** * true if the element is a growl with a child * @param element the element */ static isGrowlWithChild(element) { return element.classList.contains('sme-layout-notification-popup-list') && element.childElementCount > 0; } /** * true if element is focusable element within a form * @param element the element */ static isFocusableFormElement(element) { return !!Dom.getAncestorForm(element) && Dom.isFocusable(element); } /** * true is element is within a zone that is within a form * @param element the element */ static isInZoneWithinForm(element) { return Dom.getAncestorForm(Dom.getAncestorZone(element.parentElement)) !== null; } /** * true is element is within a trap that is within a form * @param element the element */ static isInTrapWithinForm(element) { return Dom.getAncestorForm(Dom.getAncestorTrap(element.parentElement)) !== null; } /** * true if the given element is a trap * @param element the element */ static isTrap(element) { if (!element) { return false; } const role = element.getAttribute('role'); const trapRoles = ['dialog', 'alertdialog']; return trapRoles.some(trapRole => trapRole === role) || element.classList.contains('sme-focus-trap'); } /** * return true if element is a form * @param element the element */ static isForm(element) { if (!element) { return false; } return element.tagName === 'FORM'; } /** * return true if we are inside a search box that has its own arrow key controls * @param element the element * @param isRightArrow the right arrow was clicked */ static useArrowKeysWithinSearchbox(element, isRightArrow) { if (!element) { return false; } if (Dom.isSearchBox(element)) { const inputElement = element; const innerTextLength = inputElement.value ? inputElement.value.length : 0; return (!isRightArrow && inputElement.selectionStart !== null && inputElement.selectionStart > 0) || (isRightArrow && inputElement.selectionEnd !== null && inputElement.selectionEnd < innerTextLength); } return false; } /** * true if given element is a search box * @param element the element */ static isSearchBox(element) { if (!element) { return false; } const inputElement = element; return element.tagName === 'INPUT' && inputElement && inputElement.type === 'search'; } /** * true if given element is a textbox in a combobox * @param element the element */ static isTextBoxInComboBox(element) { if (!element) { return false; } return !!(Dom.getAncestor(element, htmlElement => { return htmlElement.classList.contains('sme-combobox-header'); })); } /** * returns the next row in the current table * @param element the current element */ static getNextRowInTable(element) { return Dom.findElementFromAncestorZoneDFS(element, Dom.isTableRow, ElementPosition.Next); } /** * returns the previous row in the current table * @param element the current element */ static getPreviousRowInTable(element) { return Dom.findElementFromAncestorZoneDFS(element, Dom.isTableRow, ElementPosition.Previous); } /** * returns true if the current element is a table row * @param element the current element */ static isTableRow(element) { return element.tagName === 'TR'; } /** * returns true if the current element is a table cell * @param element the current element */ static isTableCell(element) { return element.tagName === 'TD'; } /** * returns true if the current element is inside a table cell * @param element the current element */ static isInTableCell(element) { if (!element) { return false; } return Dom.isTableCell(element) ? true : Dom.isInTableCell(element.parentElement); } /** * Gets the first action bar on the screen. * @param element The HTML element. * @returns The first action bar on the screen. */ static getFirstActionBar(element) { return this.getActionBar(element, ElementPosition.First); } /** * Gets the next action bar on the screen. * @param element The HTML element. * @returns The first action bar on the screen. */ static getNextActionBar(element) { return this.getActionBar(element, ElementPosition.Next); } /** * Gets a specified action bar. * @param element The HTML element. * @param position The position of the desired action bar. * @returns The specified action bar, if possible. */ static getActionBar(element, position) { const actionBar = Dom.findElementFromRootDFS(Dom.getAncestorZone(element), (x) => Dom.isActionBar(x) && !MsftSme.isNullOrUndefined(Dom.getFirstFocusableDescendent(x)), position); return Dom.getFirstFocusableDescendent(actionBar); } /** * Determines if the HTML element is inside of an action bar. * @param element The HTML element. * @returns True if the HTML element is in an action bar and false if not. */ static isInActionBar(element) { return MsftSme.isNullOrUndefined(Dom.getSpecificAncestor(element, (x) => Dom.isActionBar(x))) ? false : true; } /** * Determines if the HTML element is an action bar. * @param element The HTML element. * @returns True if the element is an action bar and false if not. */ static isActionBar(element) { return MsftSme.isNullOrUndefined(element) ? false : element.getAttribute('role') === 'menubar' && !MsftSme.isNullOrUndefined(element.parentElement) && element.parentElement.tagName === 'SME-ACTION-BAR'; } /** * Determines if we should treat enter as click for a certain element * @param element The HTML element to check */ static shouldTreatEnterAsClick(element) { if (!element) { return false; } const inputElement = element; // TODO: More types of elements may be added here const isFileUploadControl = element.tagName === 'INPUT' && inputElement && inputElement.type === 'file'; const isInDataTable = !!Dom.getAncestor(element, e => e.tagName === 'SME-DATA-TABLE'); return isFileUploadControl || isInDataTable; } /** * Check tab list aria-selected with active status */ static checkActiveTab() { const tablists = document.querySelectorAll('[role=\'tablist\']'); for (const tablist of Array.from(tablists)) { // As all controls should, the <sme-pivot> handles accessibility internally. if (tablist.parentElement.tagName !== 'SME-PIVOT') { Dom.updateAriaSelect(tablist, false); } } } /** * Update tab aria-selected status * @param element The HTML element. * @param isActive The HTML element is active or inactive. */ static updateAriaSelect(currentElement, isActive) { if (!currentElement) { return; } if (currentElement.classList.contains('active') || currentElement.classList.contains('sme-active')) { isActive = true; } if (currentElement.getAttribute('aria-selected') && !isActive) { currentElement.setAttribute('aria-selected', 'false'); } if (currentElement.getAttribute('role') === 'tab' && isActive) { currentElement.setAttribute('aria-selected', 'true'); } for (const childElement of Array.from(currentElement.children)) { Dom.updateAriaSelect(childElement, isActive); } } /** * @param element Element whose focus origin we are trying to determine * @returns The element to focus on */ static getFocusOrigin(element) { if (!element) { return; } if (Dom.isFocusable(element)) { return element; } // return previous focusable element in zone if it exist return Dom.getPreviousFocusableElement(element) || // return next focusable element in zone if it exists and there is no previous element Dom.getNextFocusableElement(element) || // return the first focusable element in the previous zone if it exists and there is not a next zone Dom.getPreviousZoneElement(element) || // return the first focusable element in the next zone if it exists Dom.getNextZoneElement(element); } } /** * describes the position of the desired element in a list of elements */ export var ElementPosition; (function (ElementPosition) { ElementPosition[ElementPosition["First"] = 0] = "First"; ElementPosition[ElementPosition["Previous"] = 1] = "Previous"; ElementPosition[ElementPosition["Next"] = 2] = "Next"; ElementPosition[ElementPosition["Last"] = 3] = "Last"; })(ElementPosition || (ElementPosition = {})); //# sourceMappingURL=dom.js.map // SIG // Begin signature block // SIG // MIIoKAYJKoZIhvcNAQcCoIIoGTCCKBUCAQExDzANBglg // SIG // hkgBZQMEAgEFADB3BgorBgEEAYI3AgEEoGkwZzAyBgor // SIG // BgEEAYI3AgEeMCQCAQEEEBDgyQbOONQRoqMAEEvTUJAC // SIG // AQACAQACAQACAQACAQAwMTANBglghkgBZQMEAgEFAAQg // SIG // EOOPTcedAFfIKSoJDZk84ZKzE25+eXSLMt+YcolWaDyg // SIG // gg12MIIF9DCCA9ygAwIBAgITMwAABARsdAb/VysncgAA // SIG // AAAEBDANBgkqhkiG9w0BAQsFADB+MQswCQYDVQQGEwJV // SIG // UzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMH // SIG // UmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBv // SIG // cmF0aW9uMSgwJgYDVQQDEx9NaWNyb3NvZnQgQ29kZSBT // SIG // aWduaW5nIFBDQSAyMDExMB4XDTI0MDkxMjIwMTExNFoX // SIG // DTI1MDkxMTIwMTExNFowdDELMAkGA1UEBhMCVVMxEzAR // SIG // BgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1v // SIG // bmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv // SIG // bjEeMBwGA1UEAxMVTWljcm9zb2Z0IENvcnBvcmF0aW9u // SIG // MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA // SIG // tCg32mOdDA6rBBnZSMwxwXegqiDEUFlvQH9Sxww07hY3 // SIG // w7L52tJxLg0mCZjcszQddI6W4NJYb5E9QM319kyyE0l8 // SIG // EvA/pgcxgljDP8E6XIlgVf6W40ms286Cr0azaA1f7vaJ // SIG // jjNhGsMqOSSSXTZDNnfKs5ENG0bkXeB2q5hrp0qLsm/T // SIG // WO3oFjeROZVHN2tgETswHR3WKTm6QjnXgGNj+V6rSZJO // SIG // /WkTqc8NesAo3Up/KjMwgc0e67x9llZLxRyyMWUBE9co // SIG // T2+pUZqYAUDZ84nR1djnMY3PMDYiA84Gw5JpceeED38O // SIG // 0cEIvKdX8uG8oQa047+evMfDRr94MG9EWwIDAQABo4IB // SIG // czCCAW8wHwYDVR0lBBgwFgYKKwYBBAGCN0wIAQYIKwYB // SIG // BQUHAwMwHQYDVR0OBBYEFPIboTWxEw1PmVpZS+AzTDwo // SIG // oxFOMEUGA1UdEQQ+MDykOjA4MR4wHAYDVQQLExVNaWNy // SIG // b3NvZnQgQ29ycG9yYXRpb24xFjAUBgNVBAUTDTIzMDAx // SIG // Mis1MDI5MjMwHwYDVR0jBBgwFoAUSG5k5VAF04KqFzc3 // SIG // IrVtqMp1ApUwVAYDVR0fBE0wSzBJoEegRYZDaHR0cDov // SIG // L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj // SIG // Q29kU2lnUENBMjAxMV8yMDExLTA3LTA4LmNybDBhBggr // SIG // BgEFBQcBAQRVMFMwUQYIKwYBBQUHMAKGRWh0dHA6Ly93 // SIG // d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvY2VydHMvTWlj // SIG // Q29kU2lnUENBMjAxMV8yMDExLTA3LTA4LmNydDAMBgNV // SIG // HRMBAf8EAjAAMA0GCSqGSIb3DQEBCwUAA4ICAQCI5g/S // SIG // KUFb3wdUHob6Qhnu0Hk0JCkO4925gzI8EqhS+K4umnvS // SIG // BU3acsJ+bJprUiMimA59/5x7WhJ9F9TQYy+aD9AYwMtb // SIG // KsQ/rst+QflfML+Rq8YTAyT/JdkIy7R/1IJUkyIS6srf // SIG // G1AKlX8n6YeAjjEb8MI07wobQp1F1wArgl2B1mpTqHND // SIG // lNqBjfpjySCScWjUHNbIwbDGxiFr93JoEh5AhJqzL+8m // SIG // onaXj7elfsjzIpPnl8NyH2eXjTojYC9a2c4EiX0571Ko // SIG // mhENF3RtR25A7/X7+gk6upuE8tyMy4sBkl2MUSF08U+E // SIG // 2LOVcR8trhYxV1lUi9CdgEU2CxODspdcFwxdT1+G8YNc // SIG // gzHyjx3BNSI4nOZcdSnStUpGhCXbaOIXfvtOSfQX/UwJ // SIG // oruhCugvTnub0Wna6CQiturglCOMyIy/6hu5rMFvqk9A // SIG // ltIJ0fSR5FwljW6PHHDJNbCWrZkaEgIn24M2mG1M/Ppb // SIG // /iF8uRhbgJi5zWxo2nAdyDBqWvpWxYIoee/3yIWpquVY // SIG // cYGhJp/1I1sq/nD4gBVrk1SKX7Do2xAMMO+cFETTNSJq // SIG // fTSSsntTtuBLKRB5mw5qglHKuzapDiiBuD1Zt4QwxA/1 // SIG // kKcyQ5L7uBayG78kxlVNNbyrIOFH3HYmdH0Pv1dIX/Mq // SIG // 7avQpAfIiLpOWwcbjzCCB3owggVioAMCAQICCmEOkNIA // SIG // AAAAAAMwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYT // SIG // AlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH // SIG // EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29y // SIG // cG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBSb290 // SIG // IENlcnRpZmljYXRlIEF1dGhvcml0eSAyMDExMB4XDTEx // SIG // MDcwODIwNTkwOVoXDTI2MDcwODIxMDkwOVowfjELMAkG // SIG // A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAO // SIG // BgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m // SIG // dCBDb3Jwb3JhdGlvbjEoMCYGA1UEAxMfTWljcm9zb2Z0 // SIG // IENvZGUgU2lnbmluZyBQQ0EgMjAxMTCCAiIwDQYJKoZI // SIG // hvcNAQEBBQADggIPADCCAgoCggIBAKvw+nIQHC6t2G6q // SIG // ghBNNLrytlghn0IbKmvpWlCquAY4GgRJun/DDB7dN2vG // SIG // EtgL8DjCmQawyDnVARQxQtOJDXlkh36UYCRsr55JnOlo // SIG // XtLfm1OyCizDr9mpK656Ca/XllnKYBoF6WZ26DJSJhIv // SIG // 56sIUM+zRLdd2MQuA3WraPPLbfM6XKEW9Ea64DhkrG5k // SIG // NXimoGMPLdNAk/jj3gcN1Vx5pUkp5w2+oBN3vpQ97/vj // SIG // K1oQH01WKKJ6cuASOrdJXtjt7UORg9l7snuGG9k+sYxd // SIG // 6IlPhBryoS9Z5JA7La4zWMW3Pv4y07MDPbGyr5I4ftKd // SIG // gCz1TlaRITUlwzluZH9TupwPrRkjhMv0ugOGjfdf8NBS // SIG // v4yUh7zAIXQlXxgotswnKDglmDlKNs98sZKuHCOnqWbs // SIG // YR9q4ShJnV+I4iVd0yFLPlLEtVc/JAPw0XpbL9Uj43Bd // SIG // D1FGd7P4AOG8rAKCX9vAFbO9G9RVS+c5oQ/pI0m8GLhE // SIG // fEXkwcNyeuBy5yTfv0aZxe/CHFfbg43sTUkwp6uO3+xb // SIG // n6/83bBm4sGXgXvt1u1L50kppxMopqd9Z4DmimJ4X7Iv // SIG // hNdXnFy/dygo8e1twyiPLI9AN0/B4YVEicQJTMXUpUMv // SIG // dJX3bvh4IFgsE11glZo+TzOE2rCIF96eTvSWsLxGoGyY // SIG // 0uDWiIwLAgMBAAGjggHtMIIB6TAQBgkrBgEEAYI3FQEE // SIG // AwIBADAdBgNVHQ4EFgQUSG5k5VAF04KqFzc3IrVtqMp1 // SIG // ApUwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYD // SIG // VR0PBAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0j // SIG // BBgwFoAUci06AjGQQ7kUBU7h6qfHMdEjiTQwWgYDVR0f // SIG // BFMwUTBPoE2gS4ZJaHR0cDovL2NybC5taWNyb3NvZnQu // SIG // Y29tL3BraS9jcmwvcHJvZHVjdHMvTWljUm9vQ2VyQXV0 // SIG // MjAxMV8yMDExXzAzXzIyLmNybDBeBggrBgEFBQcBAQRS // SIG // MFAwTgYIKwYBBQUHMAKGQmh0dHA6Ly93d3cubWljcm9z // SIG // b2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0MjAx // SIG // MV8yMDExXzAzXzIyLmNydDCBnwYDVR0gBIGXMIGUMIGR // SIG // BgkrBgEEAYI3LgMwgYMwPwYIKwYBBQUHAgEWM2h0dHA6 // SIG // Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvZG9jcy9w // SIG // cmltYXJ5Y3BzLmh0bTBABggrBgEFBQcCAjA0HjIgHQBM // SIG // AGUAZwBhAGwAXwBwAG8AbABpAGMAeQBfAHMAdABhAHQA // SIG // ZQBtAGUAbgB0AC4gHTANBgkqhkiG9w0BAQsFAAOCAgEA // SIG // Z/KGpZjgVHkaLtPYdGcimwuWEeFjkplCln3SeQyQwWVf // SIG // Liw++MNy0W2D/r4/6ArKO79HqaPzadtjvyI1pZddZYSQ // SIG // fYtGUFXYDJJ80hpLHPM8QotS0LD9a+M+By4pm+Y9G6XU // SIG // tR13lDni6WTJRD14eiPzE32mkHSDjfTLJgJGKsKKELuk // SIG // qQUMm+1o+mgulaAqPyprWEljHwlpblqYluSD9MCP80Yr // SIG // 3vw70L01724lruWvJ+3Q3fMOr5kol5hNDj0L8giJ1h/D // SIG // Mhji8MUtzluetEk5CsYKwsatruWy2dsViFFFWDgycSca // SIG // f7H0J/jeLDogaZiyWYlobm+nt3TDQAUGpgEqKD6CPxNN // SIG // ZgvAs0314Y9/HG8VfUWnduVAKmWjw11SYobDHWM2l4bf // SIG // 2vP48hahmifhzaWX0O5dY0HjWwechz4GdwbRBrF1HxS+ // SIG // YWG18NzGGwS+30HHDiju3mUv7Jf2oVyW2ADWoUa9WfOX // SIG // pQlLSBCZgB/QACnFsZulP0V3HjXG0qKin3p6IvpIlR+r // SIG // +0cjgPWe+L9rt0uX4ut1eBrs6jeZeRhL/9azI2h15q/6 // SIG // /IvrC4DqaTuv/DDtBEyO3991bWORPdGdVk5Pv4BXIqF4 // SIG // ETIheu9BCrE/+6jMpF3BoYibV3FWTkhFwELJm3ZbCoBI // SIG // a/15n8G9bW1qyVJzEw16UM0xghoKMIIaBgIBATCBlTB+ // SIG // MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3Rv // SIG // bjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj // SIG // cm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYDVQQDEx9NaWNy // SIG // b3NvZnQgQ29kZSBTaWduaW5nIFBDQSAyMDExAhMzAAAE // SIG // BGx0Bv9XKydyAAAAAAQEMA0GCWCGSAFlAwQCAQUAoIGu // SIG // MBkGCSqGSIb3DQEJAzEMBgorBgEEAYI3AgEEMBwGCisG // SIG // AQQBgjcCAQsxDjAMBgorBgEEAYI3AgEVMC8GCSqGSIb3 // SIG // DQEJBDEiBCAwoTeworNLlDzO9HJikfv5K7gKg1Z8R0Xw // SIG // OXDeSV6G4TBCBgorBgEEAYI3AgEMMTQwMqAUgBIATQBp // SIG // AGMAcgBvAHMAbwBmAHShGoAYaHR0cDovL3d3dy5taWNy // SIG // b3NvZnQuY29tMA0GCSqGSIb3DQEBAQUABIIBAIeDcyJe // SIG // wEofPo0RDHBEVwwhpXLHX75GFMnUvnU/SkH1axxtIHgI // SIG // S7tv9OQmyQ5kqGmD8aJh37M206iMQphxKYCH2guRLlY7 // SIG // mtHuvSYIFn5M/s6VxpdAE8HyALwXGO0lQDRz4y2RLuO/ // SIG // zXlVn1MZyj2zV8mWsyQZjR6ZYE+mcbNFqNsMGC/vlyLi // SIG // ejcWyuWgLoB7J7V1mkSGdnqmA6G42EwWhDlrOErh+O4z // SIG // EUiL9gY6F8k8rvZv6EotnnjLAlOOHCNWN+v5r1ey2L4h // SIG // v0PL1aVmoIdEqd/NM/OwX4kJEjLSS6ljog8zFzLdAdXF // SIG // NF15jbLDU1Dk5Vauz8cmGX8BkZChgheUMIIXkAYKKwYB // SIG // BAGCNwMDATGCF4Awghd8BgkqhkiG9w0BBwKgghdtMIIX // SIG // aQIBAzEPMA0GCWCGSAFlAwQCAQUAMIIBUgYLKoZIhvcN // SIG // AQkQAQSgggFBBIIBPTCCATkCAQEGCisGAQQBhFkKAwEw // SIG // MTANBglghkgBZQMEAgEFAAQgJ0WNZfQUN3whn2JYie+z // SIG // ZVk1/Jt+m0XzOvB1mHUI6G8CBmet2ujCwRgTMjAyNTAy // SIG // MjAxNTI4MzguNDAxWjAEgAIB9KCB0aSBzjCByzELMAkG // SIG // A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAO // SIG // BgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m // SIG // dCBDb3Jwb3JhdGlvbjElMCMGA1UECxMcTWljcm9zb2Z0 // SIG // IEFtZXJpY2EgT3BlcmF0aW9uczEnMCUGA1UECxMeblNo // SIG // aWVsZCBUU1MgRVNOOkE5MzUtMDNFMC1EOTQ3MSUwIwYD // SIG // VQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl // SIG // oIIR6jCCByAwggUIoAMCAQICEzMAAAHpD3Ewfl3xEjYA // SIG // AQAAAekwDQYJKoZIhvcNAQELBQAwfDELMAkGA1UEBhMC // SIG // VVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcT // SIG // B1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw // SIG // b3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUt // SIG // U3RhbXAgUENBIDIwMTAwHhcNMjMxMjA2MTg0NTI2WhcN // SIG // MjUwMzA1MTg0NTI2WjCByzELMAkGA1UEBhMCVVMxEzAR // SIG // BgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1v // SIG // bmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv // SIG // bjElMCMGA1UECxMcTWljcm9zb2Z0IEFtZXJpY2EgT3Bl // SIG // cmF0aW9uczEnMCUGA1UECxMeblNoaWVsZCBUU1MgRVNO // SIG // OkE5MzUtMDNFMC1EOTQ3MSUwIwYDVQQDExxNaWNyb3Nv // SIG // ZnQgVGltZS1TdGFtcCBTZXJ2aWNlMIICIjANBgkqhkiG // SIG // 9w0BAQEFAAOCAg8AMIICCgKCAgEArJqMMUEVYKeE0nN5 // SIG // 02usqwDyZ1egO2mWJ08P8sfdLtQ0h/PZ730Dc2/uX5gS // SIG // vKaR++k5ic4x1HCJnfOOQP6b2WOTvDwgbuxqvseV3uqZ // SIG // ULeMcFVFHECE8ZJTmdUZvXyeZ4fIJ8TsWnsxTDONbAyO // SIG // yzKSsCCkDMFw3LWCrwskMupDtrFSwetpBfPdmcHGKYiF // SIG // cdy09Sz3TLdSHkt+SmOTMcpUXU0uxNSaHJd9DYHAYiX6 // SIG // pzHHtOXhIqSLEzuAyJ//07T9Ucee1V37wjvDUgofXcbM // SIG // r54NJVFWPrq6vxvEERaDpf+6DiNEX/EIPt4cmGsh7CPc // SIG // Lbwxxp099Da+Ncc06cNiOmVmiIT8DLuQ73ZBBs1e72E9 // SIG // 7W/bU74mN6bLpdU+Q/d/PwHzS6mp1QibT+Ms9FSQUhlf // SIG // oeumXGlCTsaW0iIyJmjixdfDTo5n9Z8A2rbAaLl1lxSu // SIG // xOUtFS0cqE6gwsRxuJlt5qTUKKTP1NViZ47LFkJbivHm // SIG // /jAypZPRP4TgWCrNin3kOBxu3TnCvsDDmphn8L5CHu3Z // SIG // Mpc5vAXgFEAvC8awEMpIUh8vhWkPdwwJX0GKMGA7cxl6 // SIG // hOsDgE3ihSN9LvWJcQ08wLiwytO93J3TFeKmg93rlwOs // SIG // VDQqM4O64oYh1GjONwJm/RBrkZdNtvsj8HJZspLLJN9G // SIG // uEad7/UCAwEAAaOCAUkwggFFMB0GA1UdDgQWBBSRfjOJ // SIG // xQh2I7iI9Frr/o3I7QfsTjAfBgNVHSMEGDAWgBSfpxVd // SIG // AF5iXYP05dJlpxtTNRnpcjBfBgNVHR8EWDBWMFSgUqBQ // SIG // hk5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3Bz // SIG // L2NybC9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENB // SIG // JTIwMjAxMCgxKS5jcmwwbAYIKwYBBQUHAQEEYDBeMFwG // SIG // CCsGAQUFBzAChlBodHRwOi8vd3d3Lm1pY3Jvc29mdC5j // SIG // b20vcGtpb3BzL2NlcnRzL01pY3Jvc29mdCUyMFRpbWUt // SIG // U3RhbXAlMjBQQ0ElMjAyMDEwKDEpLmNydDAMBgNVHRMB // SIG // Af8EAjAAMBYGA1UdJQEB/wQMMAoGCCsGAQUFBwMIMA4G // SIG // A1UdDwEB/wQEAwIHgDANBgkqhkiG9w0BAQsFAAOCAgEA // SIG // VrEqfq5rMRS3utQBPdCnp9lz4EByQ4kuEmy4b831Ywzw // SIG // 5jnURO+bkKIWIRTHRsBym1ZiytJR1dQKc/x3ImaKMnqA // SIG // L5B0Gh5i4cARpKMgAFcXGmlJxzSFEvS73i9ND8JnEgy4 // SIG // DdFfxcpNtEKRwxLpMCkfJH2gRF/NwMr0M5X/26AzaFih // SIG // IKXQLC/Esws1xS5w6M8wiRqtEc8EIHhAa/BOCtsENlly // SIG // P2ScWUv/ndxXcBuBKwRc81Ikm1dpt8bDD93KgkRQ7SdQ // SIG // t/yZ41zAoZ5vWyww9cGie0z6ecGHb9DpffmjdLdQZjsw // SIG // o/A5qirlMM4AivU47cOSlI2jukI3oB853V/7Wa2O/dnX // SIG // 0QF6+XRqypKbLCB6uq61juD5S9zkvuHIi/5fKZvqDSV1 // SIG // hl2CS+R+izZyslyVRMP9RWzuPhs/lOHxRcbNkvFML6wW // SIG // 2HHFUPTvhZY+8UwHiEybB6bQL0RKgnPv2Mc4SCpAPPEP // SIG // EISSlA7Ws2rSR+2TnYtCwisIKkDuB/NSmRg0i5LRbzUY // SIG // YfGQQHp59aVvuVARmM9hqYHMVVyk9QrlGHZR0fQ+ja1Y // SIG // RqnYRk4OzoP3f/KDJTxt2I7qhcYnYiLKAMNvjISNc16y // SIG // IuereiZCe+SevRfpZIfZsiSaTZMeNbEgdVytoyVoKu1Z // SIG // Qbj9Qbl42d6oMpva9cL9DLUwggdxMIIFWaADAgECAhMz // SIG // AAAAFcXna54Cm0mZAAAAAAAVMA0GCSqGSIb3DQEBCwUA // SIG // MIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGlu // SIG // Z3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMV // SIG // TWljcm9zb2Z0IENvcnBvcmF0aW9uMTIwMAYDVQQDEylN // SIG // aWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3Jp // SIG // dHkgMjAxMDAeFw0yMTA5MzAxODIyMjVaFw0zMDA5MzAx // SIG // ODMyMjVaMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpX // SIG // YXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYD // SIG // VQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV // SIG // BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEw // SIG // MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA // SIG // 5OGmTOe0ciELeaLL1yR5vQ7VgtP97pwHB9KpbE51yMo1 // SIG // V/YBf2xK4OK9uT4XYDP/XE/HZveVU3Fa4n5KWv64NmeF // SIG // RiMMtY0Tz3cywBAY6GB9alKDRLemjkZrBxTzxXb1hlDc // SIG // wUTIcVxRMTegCjhuje3XD9gmU3w5YQJ6xKr9cmmvHaus // SIG // 9ja+NSZk2pg7uhp7M62AW36MEBydUv626GIl3GoPz130 // SIG // /o5Tz9bshVZN7928jaTjkY+yOSxRnOlwaQ3KNi1wjjHI // SIG // NSi947SHJMPgyY9+tVSP3PoFVZhtaDuaRr3tpK56KTes // SIG // y+uDRedGbsoy1cCGMFxPLOJiss254o2I5JasAUq7vnGp // SIG // F1tnYN74kpEeHT39IM9zfUGaRnXNxF803RKJ1v2lIH1+ // SIG // /NmeRd+2ci/bfV+AutuqfjbsNkz2K26oElHovwUDo9Fz // SIG // pk03dJQcNIIP8BDyt0cY7afomXw/TNuvXsLz1dhzPUNO // SIG // wTM5TI4CvEJoLhDqhFFG4tG9ahhaYQFzymeiXtcodgLi // SIG // Mxhy16cg8ML6EgrXY28MyTZki1ugpoMhXV8wdJGUlNi5 // SIG // UPkLiWHzNgY1GIRH29wb0f2y1BzFa/ZcUlFdEtsluq9Q // SIG // BXpsxREdcu+N+VLEhReTwDwV2xo3xwgVGD94q0W29R6H // SIG // XtqPnhZyacaue7e3PmriLq0CAwEAAaOCAd0w